> aanno <[email protected]> writes: >> 1. So far I have used 'java -jar docbook-xslt2-2.3.8.jar -f foprint -o >> out.fo howto.xml' to get an PDF of my document. However, I wonder if >> it is possible to get the _xsl-fo output_ of the document as well. >> There seems to be a lot of options (and I have played around with >> 'return-secondary' but with no useful result), so perhaps this is easy. > I think you’d have to modify the pipeline to do that. Using '-f fo' is undocumented, but gets the job done. > >> 2. When I try the '(css)print' format, I only get the error: >> 'XProcException: No CSS processor class defined'. I guess I'm >> missing something here. > Right. You need a tool to do CSS printing. I believe you can use > either AntennaHouse or Prince, but I confess I haven’t tried anything > but AntennaHouse recentluy.
With Prince XML as css print processor: * Install prince from https://www.princexml.com/ * Use 2 system properties for calabash configuration: -Dcom.xmlcalabash.css-processor=com.xmlcalabash.util.CssPrince -Dcom.xmlcalabash.css.prince.exepath=/usr/bin/prince > >> 3. What are my options for using _math_ inside a docbook document? > You can put MathML in an inlineequation. Successful output is going > to depend on a processor that can render MathML, of course. > > If you’ve got a tool that can turn MathML into bitmaps, you could > construct a pipeline to do that, I expect. I'm fiddling with mathjax generated SVG's now and will post a separate question about this. > >> 4. Is it possible to do source code highlighting in docbook? > In the browser, yes. I don’t think there’s a solution for doing it in > print at the moment. > > Be seeing you, > norm > -- Mit freundlichen Grüßen / Best regards, Thomas Pasch Entwickler, Dipl.-Ing. *SiteOS AG* Grillparzerstraße 10 81675 München /Tel/: +49 89 / 30 90 897 21 /Fax/: +49 89 / 30 90 897 99 /E-Mail/: [email protected] /Vorstand/: Andreas Germeroth, Thomas Reischl /Vorsitzender des Aufsichtsrats/: Dr. Nicolas Martin /Registergericht München/ | Registernummer: HR B 130513 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material contained in this e-mail is strictly forbidden. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
