OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] LaTeX-like Definition markup

Semantically, this looks exactly like a <glosslist/>:

 <glossterm>Regular Expressions</glossterm>
 <glossdef><para>A regular expression is a </para></glossdef>

With the default stylesheets, that won't look at all like what you're 
looking for, so you'll need to do some XSLT customizations (or DSSSl if 
that's what you're using.)


Nikolai Weibull wrote:

>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
>Forgot some pseudo-DocBook to explain myself with.  Something like the
>markup is something I have in mind:
>	<title>Regular Expressions</title>
>	<para>A regular expression is a ...</para>
>::: 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 :::
>To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

Jeff Beal
Contemporary Technologies, Inc. (http://www.contemptech.com)
444 Liberty Ave., Suite 1800
Pittsburgh, PA 15222-1223
phone: 412-642-2222 x246
fax: 412-642-2223

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]