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] | [Elist Home]


Subject: Re: DOCBOOK: A4 page + numbers in <sect>


Carlos Eduardo Selonke de Souza wrote:

> I have 2 newbies questions:
> 
> 1. What I need to learn to change Modular DocBook Stylesheet to produce A4
> pages when using print/docbook.dsl?

You need to make a custom stylesheet as explained in DocBook TDG, and
add/edit these lines in the print stylesheet to read:

(define %paper-type%
  ;; Name of paper type
   "A4"
  ;;  "USletter") 

> 2. I would like that <sect> in the print and html output came with numbers.

Add/edit these lines in both the print and HTML stylesheets to read:

(define %section-autolabel% 
  ;; Are sections enumerated?
  #t)

You can get this information and much more from Norman Walsh's
stylesheet documentation at

 http://nwalsh.com/docbook/dsssl/doc/

---
Bob


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


Powered by eList eXpress LLC