On 21 April 2011 22:06, José Luis <[email protected]> 
asked:
> Is it possible to configure paper orientation with asciidoc?
 

On Thursday, April 21, 2011 3:50:24 PM UTC-7, Lex Trotman answered:
>
>
> No.
>
> Asciidoc is content markup, not layout.  You should be able to set it
> in the backend by setting the xsltproc page.orientation parameter to
> landscape, eg
>
> a2x  -f pdf --fop --xsltproc-opts="--stringparam page.orientation
> landscape" stuff.txt
>
> but that doesn't work for dblatex :-(
>

I needed to generate a landscape PDF from Asciidoc and was unable
to do so using dblatex (which is the only way I have to make PDF from
Asciidoc, the fop pathway does not work on my system).

Is there any way at present to generate landscape PDFs from Asciidoc
using dblatex, or there is no way right now?

I tried adding

    --xsltproc-opts="--stringparam page.orientation landscape"  to my 

a2x commandline but it didn't seem to do anything.  I didn't get an error,
but my document had portrait orientation.

I also tried 

    --dblatex-opts "-P latex.class.options=landscape"

again, no effect.

I'm guessing there is some low-level setting somewhere that overrides these 
switches...

Just curious if anyone on here has run into this and figured it out already 
since
Lex's post last year.

Best,
Aleksey


-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/qLFNzcLLEVQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to