-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODD to PDF conversions fail (maybe a Stylesheets issue?) #15
Comments
I think this has been broken for quite a while. Certainly I noticed it before upgrading to the new framework. Line 336 of fo_figures.xsl reads
which I think should probably be
|
... and yes, I can confirm both these errors are still there with oXygen 18.1 after having uninstalled the bleeding edge framework release (i.e. with no add ons). Definitely a stylesheets issue imho. |
I made the correction suggested above, and now it fails a bit further on, in a way that needs more knowledge of FOP than I have: System ID: /home/lou/Public/TEI/P5/Exemplars/tei_bare.odd_xslt Start location: 1616:0 |
BTW, converting an ordinary TEI document (e.g. Exemplars/simplePrint.tei) to PDF seems to work fine. |
This needs some careful attention. I do know FO, so I can take a look at it. I would dearly love to be able to replace the current LaTeX-based build of the Guidelines with an FO version, so this might be a good start into the process. |
Following Alex's observation on another ticket, I got rid of the "fo_figures.xsl" error by changing the line in question to read
but PDF generation still fails. The problem is now in the FO generation, which fails when processing a <dataRef> that uses @name rather than @key. With the latter, the FO code generated includes a pointer to the TEI data definition; with the former it cannot. But you can't have an empty pointer in FO, so this fails. |
Cf. Stylesheet bug TEIC/Stylesheets#203 |
Converting ODDs to PDF in Oxygen currently fails with the bleeding-edge plugin. Try:
TEI/P5/Test/testcorpus.odd
You get: "Effective boolean value is not defined for a sequence of two or more items starting with a boolean" in fo_figures.xsl line 336
Try:
TEI/P5/Test/relatedItem.odd
You get: "A sequence of more than one item is not allowed as the result of function tei:generateRefPrefix() ("relatedItem", "relatedItem")" in teiodds.xsl line 2382.
Could someone running the stable plugin and someone running with the default Oxygen framework in 18.1 please test and report back?
The text was updated successfully, but these errors were encountered: