On 4 August 2011 09:32, Grant Edwards <[email protected]> wrote:
> On 2011-08-03, Lex Trotman <[email protected]> wrote:
>> On 4 August 2011 07:41, Tomek Kaczanowski <[email protected]> 
>> wrote:
>>> Hi Lex,
>>>
>>>> > Any hints on how to deal with this problem?
>>>> Any hints on what you are using to filter them might be helpful.
>>> Not sure what you are asking for, but will try to explain.
>>>
>>> I have such fragments in my book:
>>>
>>> [source,java]
>>> ----
>>> public class SomeClass {
>>> ? ? /// whatever here
>>> }
>>> ----
>>>
>>> I render asciidoc file to PDF using the following commands:
>>> a2x -f pdf -a docinfo1 -d book --fop $SRCDIR/book/book.txt -v -D
>>> $TARGET
>>
>> Here the rendering of the code is done by the dblatex backend so you
>> will have to use its settings to change the fontsize.
>
> It's fop not dblatex. The first place I'd look is

Note to self, RTFQ.

>
>   /usr/share/asciidoc/docbook-xsl/fo.xsl
>
> Perhaps here?
>
>  <xsl:attribute-set name="monospace.properties">
>    <xsl:attribute name="font-size">10pt</xsl:attribute>
>  </xsl:attribute-set>
>
> But's that's purely a guess.

Don't edit system files, your changes will be overwritten when
asciidoc is upgraded.  Make a local customisation layer as per the
info referenced in FAQ #2.

Cheers
Lex

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

Reply via email to