On Mon, 4 Jun 2012, Wilhelm Meier wrote:

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:

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

Are you sure source-higlight is being used ? If this is the case, check the ODF file to see if the content has color-styles and whether the styles have colors defined. I think we added the color styles to all themes, and the default style but it's likely we did not add it to a new zip release yet.

Best to use the Git master branch.


3) Is there any documentation about the odf backend?

The only documentation is at:

    http://github.com/dagwieers/asciidoc-odf

But the mechanism of how things work is quite simple. And the ODF output of source-highlight is in fact something that was accepted very recently so most distributions may not ship it today.

If you have any questions, feel free to discuss here. There is no separate forum for discussions also we do track issues on Github.

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

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