Bug 526273

Summary: xmlto pdf croaks with "! Illegal unit of measure (replaced by filll)."
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: xmltoAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xmlto-0.0.23-3.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 599805 (view as bug list) Environment:
Last Closed: 2009-10-13 12:30:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 599805    
Attachments:
Description Flags
xml input none

Description Frank Ch. Eigler 2009-09-29 15:38:47 UTC
Created attachment 363035 [details]
xml input

Run upon attached .xml file (generated during systemtap builds),
plain "xmlto pdf" fails, but gives no useful diagnostics about
how to correct the problem.

xmlto-xhtml-0.0.22-1.fc11.x86_64
xmlto-tex-0.0.22-1.fc11.x86_64
xmlto-0.0.22-1.fc11.x86_64


! Illegal unit of measure (replaced by filll).
<argument> <5:block     ><5:block       >L
                                ogging Tapset</5:block></5:block>\@empty 
l.3398 .../fo:block><fo:block break-before="page">
                                                  <fo:block id="API-warn"><f...

? 
! Emergency stop.
<argument> <5:block     ><5:block       >L
                                ogging Tapset</5:block></5:block>\@empty 
l.3398 .../fo:block><fo:block break-before="page">
                                                  <fo:block id="API-warn"><f...

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on tmp.log.

Comment 1 Ondrej Vasik 2009-09-29 17:49:18 UTC
Thanks for report, will check it. Likely passivetex issue, will check what could be done with this. It's great that at least dblatex backend is able to process it, passivetex is very old and has many limitations.

Comment 2 Ondrej Vasik 2009-09-29 20:42:53 UTC
Yep, likely something fragile in passivetex. When I removed(in fact just commented out) full chapter "logging.stp" , pdf built just fine even with passivetex. I'll check what's wrong/different with that section.

Comment 3 Ondrej Vasik 2009-10-01 08:55:30 UTC
Generating pdf with fop and dblatex is ok, fo is generated properly, no memory/stack/level limit within tetex basic configuration is reached. Something is wrong with that one chapter, generating pdf failed there even if I moved that chapter "logging.stp" up (to aproximately half of the tapsets.xml). Reassigning to passivetex (which is still my package, so it doesn't matter). I'll try to check tex output and compare what's wrong with tex code of that chapter.

Comment 4 Ondrej Vasik 2009-10-13 12:30:23 UTC
Fine, could be workarounded by xmlto, so fixed there (as I don't want to waste time with analyzing passivetex sty file). It seems that passivetex can't handle chapter titles starting with L if they have refentry(s) inside. Patching pdf/dvi/ps format script to enter newlines after "block>" entries seems to solve (workaround) the issue. Fixed in xmlto-0.0.23-3.fc13, closing RAWHIDE.