Hello, I'm experimenting with asciidoc as an alternative to Latex, which
I've been using for years. I like the
idea of a simpler more portable format but I'm having trouble customizing
it.
I'm trying to change the default body font size in a document. I'm on
Ubuntu and I dug around a bit and found
/etc/asciidoc/docbook-xsl/fo.xsl which seems to contain all the docbook
font settings.
I copied this into my local asciidoc-dblatex.xsl file and updated the
settings
<xsl:param name="body.font.master">15</xsl:param>
<xsl:param name="body.font.size">
<xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
</xsl:param>
This had no effect, I tried a variety of things, including replacing the
content of 'body.font.size' with the literal text '15pt'.
After this didn't work I tried editing the file
/etc/asciidoc/docbook-xsl/fo.xsl
directly, which also made no changes to the document.
I'm invoking a2x like this:
a2x -L -f pdf --dblatex-opts "-p asciidoc-dblatex.xsl" file.adoc
My two questions are
1) Is this the expected way of passing the custom xsl file? I tried using
the --xsl-file option but this didn't seem to work.
It feels a bit odd to need to pass the file inside another options block
.
2) How do I change the font size? More generally, why did what I tried not
work?
Thanks,
Andrew Myers
--
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.
For more options, visit https://groups.google.com/d/optout.