In a task topic, space between step number and text not consistent
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Thu Jul 04, 2019 10:28 am
In a task topic, space between step number and text not consistent
Hi,
When I generate a PDF output using a scenario based on XSL-FO, the space in between the step number and the text is less when the step number is 10 or above. It looks very odd. It looks fine for steps 1 through 9. Please see the attached screenshot.
Thank you!
Regards,
Dev
When I generate a PDF output using a scenario based on XSL-FO, the space in between the step number and the text is less when the step number is 10 or above. It looks very odd. It looks fine for steps 1 through 9. Please see the attached screenshot.
oxygen_problem.PNG
Do you have any idea how to resolve this or this is a known issue?Thank you!
Regards,
Dev
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: In a task topic, space between step number and text not consistent
Hi,
This looks like a small bug in the publishing engine. I added an issue for this on the DITA OT issues list:
https://github.com/dita-ot/dita-ot/issues/3335
In the XSLT stylesheet OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2/cfg/fo/attrs/task-elements-attr.xsl there should be an attribute set looking like this:
You can probably try to increase its space-after value and also add an extra attribute to align the counter values left:
Regards,
Radu
This looks like a small bug in the publishing engine. I added an issue for this on the DITA OT issues list:
https://github.com/dita-ot/dita-ot/issues/3335
In the XSLT stylesheet OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT3.x/plugins/org.dita.pdf2/cfg/fo/attrs/task-elements-attr.xsl there should be an attribute set looking like this:
Code: Select all
<xsl:attribute-set name="steps.step" use-attribute-sets="ol.li">
<xsl:attribute name="space-after">3pt</xsl:attribute>
<xsl:attribute name="space-before">3pt</xsl:attribute>
</xsl:attribute-set>
Code: Select all
<xsl:attribute name="end-indent">label-end()</xsl:attribute>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Thu Jul 04, 2019 10:28 am
Re: In a task topic, space between step number and text not consistent
Thank you, Radu, for your response. My problem is resolved.
I followed the steps provided in the following link:
https://github.com/dita-ot/dita-ot/issu ... -508734682
Regards,
Dev
I followed the steps provided in the following link:
https://github.com/dita-ot/dita-ot/issu ... -508734682
Regards,
Dev
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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