Here's what I know:

http://www.sagehill.net/docbookxsl/PrintOutput.html#LeftRightMargins

xsltproc  --output myfile.fo  \
  --stringparam  page.height 9in \
  --stringparam  page.width 7in \
*  --stringparam  page.margin.inner 2in \
  --stringparam  page.margin.outer 1in \*
  fo/docbook.xsl  myfile.xml


http://www.sagehill.net/docbookxsl/PrintOutput.html#d0e9056
<xsl:param name="page.height.portrait">9in</xsl:param> 
<xsl:param name="page.width.portrait">7in</xsl:param>
<xsl:param name="page.margin.inner">0.75in</xsl:param>
<xsl:param name="page.margin.outer">0.50in</xsl:param>
<xsl:param name= "page.margin.top">0.17in</xsl:param>  
<xsl:param name="region.before.extent">0.17in</xsl:param>  
<xsl:param name="body.margin.top">0.33in</xsl:param>  
<xsl:param name="region.after.extent">0.35in</xsl:param>
<xsl:param name="page.margin.bottom">0.50in</xsl:param>
<xsl:param name="body.margin.bottom">0.65in</xsl:param>
*<xsl:param name="double.sided">1</xsl:param>*

Here's my steps:
I download http://www.methods.co.nz/asciidoc/book.txt to test it:

wget http://www.methods.co.nz/asciidoc/book.txt

a2x -f pdf -v \
--xsltproc-opts="\
  --stringparam double.sided 1 \
  --stringparam page.margin.inner 2in \
  --stringparam page.margin.outer 1in" \
book.txt


The book.pdf generated doesn't have a double sided pages. So, what am I doing 
wrong?


-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to