xml to PDF transformation process interrupted due to footnotes
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Tue Oct 19, 2021 5:53 pm
xml to PDF transformation process interrupted due to footnotes
Hello,
my problem is that when I apply the xml to PDF transformation scenario, the process interrupts when it encounters a <note> element inside another <note>. This is understandable if there are two footnotes involved.
But I don't understand why if an element that has as tag <note type="editorial-comment"> (to which float: footnote has been applied) is inside an element <note type="inscription"> (to which no footnote style is applied) it stops the transformation process and gives an error.
Even though they are two <note> elements, they have different styles on the stylesheet. One is a footnote, the other is not.
This is the code:
These are the CSS rules:
Can you help me find a solution?
Thank you.
Michela
my problem is that when I apply the xml to PDF transformation scenario, the process interrupts when it encounters a <note> element inside another <note>. This is understandable if there are two footnotes involved.
But I don't understand why if an element that has as tag <note type="editorial-comment"> (to which float: footnote has been applied) is inside an element <note type="inscription"> (to which no footnote style is applied) it stops the transformation process and gives an error.
Even though they are two <note> elements, they have different styles on the stylesheet. One is a footnote, the other is not.
This is the code:
Code: Select all
<note type="inscription" place="margin left" anchored="false">Ex epistolis Ana cleti papae. Cap. xi<note type="editorial-comment">some comments here</note></note>
Code: Select all
note[type="inscription"] {
display: inline;
font-size: smaller;
}
note[type="editorial-comment"] {
color: black;
float: footnote;
}
note[type="editorial-comment"]:footnote-call {
font-weight: bold;
color:black;
}
note[type="editorial-comment"]:footnote-marker {
font-weight: bold;
color:black;
}
Thank you.
Michela
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: xml to PDF transformation process interrupted due to footnotes
Post by julien_lacour »
Hello Michela,
I already tested using Oxygen PDF Chemistry v24.0 (actual release) and the test did succeed.
Could you please send us an email at support@oxygenxml.com including:
Julien
I already tested using Oxygen PDF Chemistry v24.0 (actual release) and the test did succeed.
Could you please send us an email at support@oxygenxml.com including:
- the version of Oxygen you are currently using
- the full CSS customization you are also using
- a minimal XML with the sample having the issue (something a little bigger than the one you sent us, maybe the problem is not only from these <note> elements)
Julien
-
- Posts: 63
- Joined: Tue Mar 14, 2017 12:36 am
Re: xml to PDF transformation process interrupted due to footnotes
Hi:
Has there been any movement on this issue? I've got something a bit weird where I can output my PDF (23.1 and 24) okay unless I try to show comments when I do it (set parameters - show.changes.and.comments to yes). Then I get error messages -- Transformation failed. C:\Program Files\Oxygen XML Editor 23_Sept\Oxygen XML Editor 23\frameworks\dita\DITA-OT3.x\plugins\org.dita.pdf2.fop\build_fop.xml:145: org.apache.fop.apps.FOPException: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: "fo:basic-link" is not a valid child of "fo:external-graphic"! (See position 4154:531).
It seemed like it might be a similar issue?
Has there been any movement on this issue? I've got something a bit weird where I can output my PDF (23.1 and 24) okay unless I try to show comments when I do it (set parameters - show.changes.and.comments to yes). Then I get error messages -- Transformation failed. C:\Program Files\Oxygen XML Editor 23_Sept\Oxygen XML Editor 23\frameworks\dita\DITA-OT3.x\plugins\org.dita.pdf2.fop\build_fop.xml:145: org.apache.fop.apps.FOPException: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: "fo:basic-link" is not a valid child of "fo:external-graphic"! (See position 4154:531).
It seemed like it might be a similar issue?
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: xml to PDF transformation process interrupted due to footnotes
Hi Stacey,
The thread above was started by someone who generates PDF from DITA content using CSS.
You are using the XSL-FO based approach which works in a totally different way.
About your problem, if you can reduce your DITA content to a minimum and are willing to share a small sample project with us (support@oxygenxml.com) we can try to look further into it.
Regards,
Radu
The thread above was started by someone who generates PDF from DITA content using CSS.
You are using the XSL-FO based approach which works in a totally different way.
About your problem, if you can reduce your DITA content to a minimum and are willing to share a small sample project with us (support@oxygenxml.com) we can try to look further into it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service