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] part/chapter numbers


Hi Dieter,

On Montag, 3. November 2008, Dieter Baron wrote:
>
> I'm in the process of converting etexts using the Gutenberg DTDs
> (http://gutenberg.hwg.org/) to Docbook.

Good luck! :-)


>   These documents (can) use explicit part/chapter numbering (using
> <partnum> and <chapnum> tags).  This allows to retain the original
> numbering and naming scheme.  Is there a way to put this information
> into a docbook document?  (I know I could probably do this by
> customizing the style sheets, but I'd rather not keep a separate style
> sheet for each book.)

I haven't tried it, but you could use the attribute "label":

  http://www.docbook.org/tdg/en/html/part.html
  label
  Label specifies an identifying string for presentation purposes. The
  first Part in a Book might be labeled “Part I”, for example. 

  Generally, an explicit Label attribute is used only if the processing
  system is incapable of generating the label automatically. If present,
  the Label is normative; it will used even if the processing system is
  capable of automatic labelling.


Bye,
Tom

-- 
Thomas Schraitle


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