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: [docbook-apps] Problems with draft.mode

<remark>s are controlled by a separate parameter:


> -----Original Message-----
> From: Paul Suckling [mailto:paul.suckling@gmail.com] 
> Sent: Friday, June 26, 2009 6:08 AM
> To: DocBook Apps
> Subject: [docbook-apps] Problems with draft.mode
> I am having some problems using draft.mode. I have a document 
> with some <remark>...</remark> elements in it. I have checked 
> that my customisation layer doesn't contain any occurrences 
> of draft.mode or remark... so any customisations being 
> applied shouldn't be interfering with the default behaviour. 
> I have grabbed the latest snapshots of the DocBook stylesheets.
> I am converting the document to pdf via fo and using  apache 
> FOP version 0.95. I am creating two versions. A draft version with:
> xsltproc --xinclude --stringparam draft.mode yes --output 
> UG.xml.draft.fo 
> /usr/share/docbook-xsl-latest/customisation/fo/custom.xsl 
> UG.xml fop.bat -d -fo UG.xml.draft.fo -pdf UG.xml.draft.pdf
> and a final version with
> xsltproc --xinclude --stringparam draft.mode no --output 
> UG.xml.fo 
> /usr/share/docbook-xsl-latest/customisation/fo/custom.xsl 
> UG.xml fop.bat -d -fo UG.xml.fo -pdf UG.xml.pdf
> The problem is that the remarks are appearing in the final 
> version as well as the draft version, but I thought that with 
> draft.mode="no"
> they weren't supposed to appear.
> Anyone got any ideas about what might be going wrong?
> Thanks.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org

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