[ https://issues.apache.org/activemq/browse/CAMEL-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea resolved CAMEL-1898. ------------------------------------ Resolution: Fixed > Cannot generate the PDF manual > ------------------------------ > > Key: CAMEL-1898 > URL: https://issues.apache.org/activemq/browse/CAMEL-1898 > Project: Apache Camel > Issue Type: Bug > Components: tooling > Affects Versions: 2.0.0 > Reporter: Hadrian Zbarcea > Assignee: Hadrian Zbarcea > Fix For: 2.3.0 > > Attachments: Picture 1.png > > > While building the camel-manual we get the log below: > {code} > [INFO] About to execute PrinceXml (see www.princexml.com) > [INFO] prince > /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html > > /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.pdf > [INFO] [prince] prince: > /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html:36888: > error: Unexpected end tag : div > [INFO] [prince] prince: > /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html:36890: > error: Unexpected end tag : div > [INFO] [prince] prince: > /w1/apache/camel/trunk/tooling/camel-manual/target/site/manual/camel-manual-2.0-SNAPSHOT.html:36903: > error: Unexpected end tag : body > [INFO] [prince] prince: warning: bad argument > [INFO] [prince] prince: warning: bad argument > [INFO] [prince] prince: warning: bad argument > [INFO] [prince] prince: warning: no glyphs for character U+006E, fallback to > '?' > [INFO] [prince] Uncaught Mercury exception: > [INFO] [prince] Software Error: no fallback glyph for character U+006E > [ERROR] PDF Conversion failed due to return code: 1 > {code} > The first errors are because of the html being improperly generated by the > maven-html-to-pdf. The "prince: warning: bad argument" interestingly seem to > be generated by prince having to create its own font, which it cannot do, for > cases where the requested font is not available, like for instance a <b> bold > tag with a Courier font. > We know that the pdf was not generated in the 2.0-M3 release either. The > cause of this errors popping up appears to be the wiki changes at apache. The > fact that the book-in-one-page is that big does not help either. I quickly > tried with the deployed version at > http://camel.apache.org/book-in-one-page.html and I get a very similar result > unfortunately, so there's no quick fix or workaround it seems. > I will try to resolve this asap. Any help/ideas I could get are highly > appreciated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.