On 3 July 2013 00:03, Lauri Kasanen <[email protected]> wrote: > Stéphane Gourichon <stephane.gourichon@...> writes: > > > > > Le 02/07/2013 12:16, Lauri Kasanen a écrit : > > > Sure, I could do that, but the point of the request was to make it > > > default, so everyone could benefit. > > > I understand the latex PDF output > > > does it by default, therefore would be nice if the FOP output did it > > > too, without messing by the user. > > > > +1 Good approach. Many users after seeing the nice color syntax > > highlighting in asciidoc to HTML output discover that FOP output does > > not do it by default. If the need is standard and common, it makes sense > > to integrate it in the workflow. > > > > Yet it will progress only if someone does the actual work. It's an > > open-source world, remember. > > GNU highlight's docbook output only does bold, italic, and optionally line > numbering, but it's an improvement still over just copying the code. > > I can't into python, so I can't make it depend on FOP; but have a patch > that enables it for all docbook output. > http://pastebin.ca/2414793
Attached is a change to a2x to have it pass attribute {fop} when it is
using fop.
You need to make your changes to docbook45.conf use this attribute.
You also need to add (and document in the user guide) a way of disabling
this default operation for those who want to use other methods, a suitable
attribute would be appropriate.
Cheers
Lex
>
>
> - Lauri
>
> --
> 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/groups/opt_out.
>
>
>
--
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/groups/opt_out.
aaa.diff
Description: Binary data
