Am 04.06.2012 14:20, schrieb Dag Wieers:
On Mon, 4 Jun 2012, Wilhelm Meier wrote:

please apologize this newbie question but I can't find the answer
googling:

is there a way to use a syntax-highlighter for pdf-output with the
docbook->xsltproc->fop toolchain?

I found that all code is enclosed in the docbook-progammlisting tag
and so I don't see any possibility to make xsl-transformations here.

Any hints?

Syntax-highlighting works out of the box with the ODF backend if you
care to try.

Ah, looks promising.

Actually I have two issues with this backend:

1) I use ubuntu 12.04, so I had to compile a newer version of GNU source-highlight. I did that in /usr/local. Then I have to call source-highlight will full path as /usr/local/bin/source-highlight, otherwise it will look into /usr/share/source-highlight and not /usr/local/share/... The question is: can I explicitly set the binary path for source-highlight (not using PATH then)

2) the source code is highlighted but only using bold font, no color. Do I have to switch on something?

3) Is there any documentation about the odf backend?



--
Wilhelm

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