On Thursday, April 7, 2011 4:43:58 PM UTC-5, Grant Edwards wrote:
>
> I'm trying to get "a2x --fop" to produce us-letter instead of A4, but


You can do this either on the a2x command line or the a2x config file.

Command line:

    a2x --xsltproc-opts='--stringparam paper.type USletter'  --fop  faq.txt

Or, edit or create the file /etc/asciidoc/a2x.conf or 
$HOME/.asciidoc/a2x.conf with this content:

    XSLTPROC_OPTS = '--stringparam paper.type USletter'

Rob


I'm stumped.  I can't find anything about selecting the media-size in
> the documentation for either a2x.
>
> AFAICT, the default page size for fop is 8.26 x 11 inches (which is
> neither A4 nor us-letter), but a2x must be overriding that somehow
> since the output PDF has a page size of 8.27 x 11.69 inches (A4).
>
> -- 
> Grant Edwards               grant.b.edwards        Yow! -- I have seen the
>                                   at               FUN --
>                               gmail.com            
>
>

-- 
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