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] Equations and figures as descendants of an example

Hi Erik,
The example, figure, table, and equation elements are considered "formal" in DocBook, requiring a title (except equation) and are usually labeled with a number in output. You can use the informalfigure and informalequation elements as children of example as they do not require a title and are not numbered, leaving the numbering to the example element.

Bob Stayton
Sagehill Enterprises

On 12/6/2013 12:16 PM, Erik Leunissen wrote:
Hi all,

I've construed a docbook 5.0 xml document whose structure appears to be
invalid because it holds <equation>'s and <figure>'s as descendants of
an <example>.

- I'm curious about the rationale regarding this being invalid.

- Are there any suggestions for valid alternatives?

Right now, just ignoring that the structure is invalid, doesn't pose a
any problem to processing this document to FO (using xsltproc), and
subsequently to PDF (using FOP). The PDF is nice with equations and
figures in example.

But can I expect problems in the future when ignoring that the structure
is invalid?

Thanks in advance for any insight,

Erik Leunissen.

To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org

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