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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: DOCBOOK-APPS: Equation Numbering


> From: Bill Lawrence <bill.lawrence@ansys.com>
> 
> Does anyone know of a parameter that allows one to autonumber formal
> equations, or does this require customizing the XSLT scripts?

I'm not sure I follow.
In the DocBook XSL 1.44 stylesheets, formal equations
are already autonumbered.  If an <equation> element
has a <title>, it is treated as a formal equation
and handled with the 'object.title.markup' mode
in common/gentext.xsl.  That mode
uses the text patterns in common/en.xml (or other
language if specified), and the equation
template under the title context is:

  <l:template name="equation" text="Equation %n. %t"/> 

This prints 'Equation 1.1. My equation title' when I try
it.

If your equations don't have titles, then they are
treated as informal equations and are not numbered.
The DocBook Definitive Guide says that <equation>
will require a <title> in 5.0, and that <informalequation>
is for those equations without titles..

If your equations have titles and don't get numbers,
then something else is going on.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC