This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] LaTeX-like Definition markup


I would like to write a LaTeX-like definition of a certain term (regular
expressions in fact), but I have failed to find a good way to do it in
DocBook.  What I want is output similar to this:

Definition 2.1 <em>Regular Expressions</em>: A regular expression
is a ...

on block level.  The 2.1 would reflect that it is the first definition
in the second chapter.  Is there anything like this, or would I have to
add it myself?  If so, would this require a lot of DTD hacking, or does
someone perhaps have an example of something similar already?
	nikolai

P.S.
Forgot some pseudo-DocBook to explain myself with.  Something like the
markup is something I have in mind:

<definition>
	<title>Regular Expressions</title>
	<para>A regular expression is a ...</para>
</definition>
D.S.

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]