On Fri, Jul 23, 2010 at 3:13 AM, Miklos Vajna <[email protected]> wrote: > On Fri, Jul 09, 2010 at 07:43:11PM -0700, sashan <[email protected]> wrote: >> 1) When I run a2x -f xhtml source-highlight-filter.txt it produces an >> html file without syntax highlighting. >> 2) When I run a2x source-highlight-filter.txt it produces a pds with >> syntax highlighting. >> 3) When I run asciidoc source-highlight-filter.txt it produces a html >> file with syntax higlighting >> >> Can anyone please explain why there is a difference between 1 and 3 >> with respect to syntax highlighting. > > Isn't a2x -f xhtml uses asciidoc's xml output then docbook to turn xml > to xhtml? In that case probably the docbook toolchain that parses the > xml ignores the instructions that are parsed by dblatex correctly. >
Thanks for that. Still trying get my head around all the toolchains! Trying to find one that did what I wanted when I was trialing docbook was such a pain. I started of using the xsltproc and associated tools and then because syntax highlighting didn't work, ended up using saxona, but then other stuff broke that worked with xsltproc and friends. Asciidoc is much simpler and works great. -- 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.
