Hello,

I am running Fedora 24, but I had this same issue in Fedora 23. I installed Publican from the repositories. When I build a document in PDF format, no matter what brand I select, the resulting PDF has no brand formatting or any images of any kind.

If I build the same document in either HTML format, the resulting document is correct as far as the brand goes (including images)

Here is the output during the build of the PDF:

--- START ---
Beginning work on en-US
DTD Validation OK
        Starting pdf
        Using XML::LibXSLT on 
/usr/share/publican/Common_Content/fedora/xsl/pdf.xsl
Making portrait pages on USletter paper (8.5inx11in)
Jul 30, 2016 3:18:31 PM org.apache.fop.apps.FopConfParser configure
INFO: Default page-height set to: 240mm
Jul 30, 2016 3:18:31 PM org.apache.fop.apps.FopConfParser configure
INFO: Default page-width set to: 120mm
Jul 30, 2016 3:18:33 PM org.apache.fop.apps.FOUserAgent processEvent
SEVERE: Image not found. URI: Common_Content/images/title_logo.svg. (See position 3:185)
Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent
SEVERE: Image not found. URI: Common_Content/images/title_logo.svg. (See position 6:185)
Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent
WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent
WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". Jul 30, 2016 3:18:34 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern for lang="en".
Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #1.
Jul 30, 2016 3:18:34 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #2.
Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent
WARNING: The contents of fo:block line 1 exceed the available area in the inline-progression direction by 12000 millipoints. (See position 69:67)
Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent
WARNING: The contents of fo:block line 1 exceed the available area in the inline-progression direction by 6000 millipoints. (See position 73:36)
Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #3.
Jul 30, 2016 3:18:35 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #4.
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #5.
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #6.
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: table-layout="fixed" and width="auto", but auto-layout not supported => assuming width="100%". (See position 129:114)
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
WARNING: The contents of fo:inline line 3 exceed the available area in the inline-progression direction by more than 50 points. (See position 129:771)
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #7.
Jul 30, 2016 3:18:36 PM org.apache.fop.fo.properties.PropertyMaker make
WARNING: span="inherit" on fo:block, but no explicit value found on the parent FO.
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #8.
Jul 30, 2016 3:18:36 PM org.apache.fop.apps.FOUserAgent processEvent
INFO: Rendered page #9.
        Finished pdf
--- END ---

Am I able to fix this?  Perhaps an entry in my document's 'publican.cfg' file?

If I build the same document in format PDF on a CentOS 7 machine, it builds as expected, so this is something odd with the Fedora build of Publican, which seems kind of odd, since all the Fedora documentation seems to be created using Publican.

Thanks! :-)

Regards,

Alan

_______________________________________________
publican-list mailing list
publican-list@redhat.com
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to