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


Subject: re: Para alignment


You may be unfamiliar with how to include parameters in your XSL
customization layer.

Here is a reference to that:
http://docbook.sourceforge.net/release/xsl/current/doc/param.html

Basically, for HTML output, you'd want to reference a css file and
then you can do it in your CSS file.
http://docbook.sourceforge.net/release/xsl/current/doc/html/docbook.css.source.html

For FO (PDFs), you'd probably want to use this parameter

http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html
(Choose the "alignment"  parameter under 2.19. Pagination and General Styles).

If you need help getting started on a customization layer, look at
this: http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer

I can't speak about FO, but for html output, you'd want to use the
role attribute on a para tag
http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass

(That's not the only way -- you can write an XSL customization, but
this way is easiest).

Hope this helps.

-- 
Robert Nagle
6121 Winsome Ln #56C, Houston TX 77057-5581
(H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010
http://www.robertnagle.info


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