Bug 526273 - xmlto pdf croaks with "! Illegal unit of measure (replaced by filll)."
Summary: xmlto pdf croaks with "! Illegal unit of measure (replaced by filll)."
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xmlto
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 599805
TreeView+ depends on / blocked
 
Reported: 2009-09-29 15:38 UTC by Frank Ch. Eigler
Modified: 2010-06-03 20:31 UTC (History)
1 user (show)

Fixed In Version: xmlto-0.0.23-3.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 599805 (view as bug list)
Environment:
Last Closed: 2009-10-13 12:30:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
xml input (181.13 KB, text/xml)
2009-09-29 15:38 UTC, Frank Ch. Eigler
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.