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] theorems and similar things


On Tuesday 14 September 2004 07:39, Wolfgang Jeltsch wrote:
<snip>
>
> What I want is this:
>
>     Theorem 5 (Fermat)  If n is a positive whole number...
>
> Thereby, "Theorem 3.5 (Fermat)" should be set in bold font or similar.
>
> Theorems usually don't occur consecutively but normally interleaved with
> other text.  Their number often consists of the chapter number and a number
> which is unique in the respective chapter.  If no chapters are used, the
> chapter number won't be present.
>
> These things are all very different from ordered lists.
>
> Is it really true that DocBook doesn't provide adequate handling of
> theorems?
>
> Wolfgang

Docbook is more worried about a proper document structure, not the visual 
representation of the content per se. Generally, if you construct the 
document correctly utilizing the elements available; the document will lend 
itself to a very visual appealing representation.

Your problem is that the child elements won't be contained within the same 
parent. Which renders it completely invalid. I would encourage you to change 
the structure of your document to follow the elemental relationships of 
Docbook. 

However, the only workaround that i can think of is to utilize section 
elements in your situation. You would need to set the element title as the 
number schema. This doesn't allow for automatic sequential numbering by the 
processor.

i.e.
<section>
<title>3.5 Theorem</title>
....
<section>

Sorry. Maybe someone else here with more experience may be able to help you.
Thomas


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