Hi, I have setup asciidoc under Windows for the first time. Thanks to Steve[1] and Francis[2] this was relatively easy.
I have also being using the Saxon/FOP renderer for the first time (I have been using latex under Linux before thanks to a friend of mine). It is working relatively well (i just did not test Graphviz yet). But before working on the PDF rendering that is not as polished / nice as when produced by Latex, I have a "small" problem to tackle down. Despite I set iconsdir option to the absolute value of the path where admonition icons are[3], they are not rendered in PDF (and *only* in PDF; they are rendered in xhtml). There is no text, there is thr place for the admonition icon but the icon itself is not here. Here is the error message: C:\Documents and Settings\lerouge\elc\cf_ips>fop -d -fo fo\cf-ips-ck- cms-emea.fo -pdf out\cf-ips-ck-cms-emea.pdf 16 dΘc. 2010 08:46:58 org.apache.fop.events.LoggingEventListener processEvent GRAVE: Image not found. URI: images/icons/warning.png. (See position 82:487) [...] Here is the rendering command for xhtml: python c:/bin/asciidoc-8.6.3/asciidoc.py --verbose -- attribute=pygments --attribute=icons --attribute=toc --attribute=data- uri --attribute=numbered --backend xhtml11 --doctype article --out- file out/%1.xhtml %1.txt Here is the rendering command for PDF: python c:/bin/asciidoc-8.6.3/asciidoc.py --verbose --backend docbook --doctype article --out-file xml/%1.xml %1.txt java -cp "c:/bin/saxon-6.5/saxon.jar;c:/bin/xslthl-2.0.2/ xslthl-2.0.2.jar;c:/bin/docbook-xsl-1.76.1/extensions/saxon65.jar;c:/ bin/xml-commons-resolver-1.2/resolver.jar;c:/bin/" - Dxslthl.config="file:///c:/bin/docbook-xsl-1.76.1/highlighting/xslthl- config.xml" com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -o fo\%1.fo xml\%1.xml C: \bin\fo_steve.xsl fop -d -fo fo\%1.fo -pdf out\%1.pdf Of course, if I copy the images/ directory in the directory where is my input text file, the admonition icon is rendered. Any clue ? ktb, lerouge [1] - http://www.stevestreeting.com/2010/03/07/building-a-new-technical-documentation-tool-chain/ [2] - http://francisshanahan.com/index.php/2010/setup-asciidoc-fop-pygment-on-windows/ [3] - iconsdir=c:/bin/asciidoc-8.6.3/images/icons in asciidoc.conf -- 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.
