[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] something like LaTeX theorems
Nothing like that exists in the XSL stylesheets, but it could be done with a customization. You could do formalpara with a role attribute to indicate that it is a theorem. The template matching such elements would use something like this generate the continuous numbers: <xsl:number count="formalpara[@role = 'theorem']" level="any" /> Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Paul Rudin" <paul.rudin@ntlworld.com> To: <docbook@lists.oasis-open.org> Sent: Thursday, January 27, 2005 1:42 AM Subject: [docbook] something like LaTeX theorems > > With LaTeX each theorem is numbered in sequence and the numbering of > theorems is independent of thing like chapter and section numbers. It > would be nice if there where something similar in docbook. A theorem > would be, I guess, somewhat similar to something like a formalpara > element, but the numbering is global across the document whereever the > elements occur. > > I'm correct in thinking that nothing like this currently exists? > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]