Large space btwn note image and text
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Sat Jun 27, 2009 9:19 am
Large space btwn note image and text
Hi,
<oXygen/> newbie here, with a little PDF output formatting issue.
I generated a PDF from a DITA topic map using Idiom and the Apache FO processor. The PDF looks good, except for a large gap in between the note image and the note text. The note image is left-aligned with the rest of the page text, but the note text block is in the middle of the page.
I don't understand this formatting quirk--the topics are validated, and I didn't touch any code in the relevant .../fo/attrs *.xls files. Just selected the Idiom configuration scenario, clicked the Transform Now button, and generated the PDF.
The issue seems like either 1) the note image spacing attributes, or 2) I haven't tagged the note text properly.
1. Below is the code from the common-attrs.xsl file--it looks good, and nothing that would cause a huge gap between image and text.
2. When I wrapped the note text in <p> tags, that didn't help either. And there's no child "note text" tag...
Is this possibly an issue using Idiom with Apache FO, instead of using Idiom with XEP? Or do I need to fix something in another .xsl file somewhere?
TIA
<oXygen/> newbie here, with a little PDF output formatting issue.
I generated a PDF from a DITA topic map using Idiom and the Apache FO processor. The PDF looks good, except for a large gap in between the note image and the note text. The note image is left-aligned with the rest of the page text, but the note text block is in the middle of the page.
I don't understand this formatting quirk--the topics are validated, and I didn't touch any code in the relevant .../fo/attrs *.xls files. Just selected the Idiom configuration scenario, clicked the Transform Now button, and generated the PDF.
The issue seems like either 1) the note image spacing attributes, or 2) I haven't tagged the note text properly.
1. Below is the code from the common-attrs.xsl file--it looks good, and nothing that would cause a huge gap between image and text.
Code: Select all
<xsl:attribute-set name="note__image__entry">
<xsl:attribute name="padding-right">5pt</xsl:attribute>
<xsl:attribute name="start-indent">0pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="note__text__entry">
<xsl:attribute name="start-indent">0pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="note__label">
<xsl:attribute name="border-left-width">0pt</xsl:attribute>
<xsl:attribute name="border-right-width">0pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>
Is this possibly an issue using Idiom with Apache FO, instead of using Idiom with XEP? Or do I need to fix something in another .xsl file somewhere?
TIA
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Large space btwn note image and text
Hi,
Thank you for contacting us.
A sample topic file would be great. Maybe even with a screenshot with what you expect.
You can find our support email address here:
http://www.oxygenxml.com/techSupport.html
Regards,
Radu
Thank you for contacting us.
A sample topic file would be great. Maybe even with a screenshot with what you expect.
You can find our support email address here:
http://www.oxygenxml.com/techSupport.html
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