See http://sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer
Cheers Lex On 28 July 2011 04:42, Grant Edwards <[email protected]> wrote: > On 2011-04-07, Grant Edwards <[email protected]> wrote: >> On 2011-04-07, Grant Edwards <[email protected]> wrote: >> >>> I'm trying to get "a2x --fop" to produce us-letter instead of A4, but >>> I'm stumped. I can't find anything about selecting the media-size in >>> the documentation for either a2x. >> >> And of course two minutes after I posted this, I stumbled across the >> answer in >> >> >> http://groups.google.com/group/asciidoc/browse_thread/thread/ef05307c16c51a85 >> >> If you use FOP you can set the paper in docbook-xsl/fo.xsl, see >> the line <xsl:param name="paper.type" select="'A4'"/> > > Editing /usr/share/asciidoc/docbook-xsl/fo.xsl works, but every time > asciidoc gets updated, the edit goes away and it switches back to the > default A4. > > Is there some way to set the paper size other than editing the fo.xsl > file? > > -- > Grant Edwards grant.b.edwards Yow! I've got an IDEA!! > at Why don't I STARE at you > gmail.com so HARD, you forget your > SOCIAL SECURITY NUMBER!! > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > 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. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. 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.
