Misaligned step number when graphic is present
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 102
- Joined: Fri Oct 19, 2018 2:19 am
Misaligned step number when graphic is present
Here is a minor but annoying visual glitch that I can't figure out how to resolve. In a numbered step, if there is a graphic in the line (for example, a button illustration), the line is :pushed down: to accommodate the taller graphic, but step number stays in the same place. This results in an awkward "misalignment" that doesn't make us look very professional. Please see the two attachments.
This happens whether the topic is a Task and the line is a "step" tag, or whether it's a Concept topic and I use "<ol>". Note that it is aligned correctly in the WebHelp version.
Is there a way to force the step number to stay aligned with the rest of the line?
This happens whether the topic is a Task and the line is a "step" tag, or whether it's a Concept topic and I use "<ol>". Note that it is aligned correctly in the WebHelp version.
Is there a way to force the step number to stay aligned with the rest of the line?
Misaligned step number.png
Topic in Author mode.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Misaligned step number when graphic is present
Hi,
Thank you for your feedback.
Could you please let us know the transformation scenario you run to obtain this output? Also, what version of oXygen XML do you use?
Regards,
Ionela
Thank you for your feedback.
Could you please let us know the transformation scenario you run to obtain this output? Also, what version of oXygen XML do you use?
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Misaligned step number when graphic is present
Hi Carl,
This has been reported as an issue on the publishing engine's issues list before but we have not managed to fix it:
https://github.com/dita-ot/dita-ot/issues/1241
Maybe you could try decreasing the image height when using it.
Regards,
Radu
This has been reported as an issue on the publishing engine's issues list before but we have not managed to fix it:
https://github.com/dita-ot/dita-ot/issues/1241
Maybe you could try decreasing the image height when using it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Misaligned step number when graphic is present
Hi,
One more thing, if you publish to PDF using our "DITA Map PDF - based on HTML5 & CSS" transformation scenario the step number should be properly aligned to the text baseline.
Regards,
Radu
One more thing, if you publish to PDF using our "DITA Map PDF - based on HTML5 & CSS" transformation scenario the step number should be properly aligned to the text baseline.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 102
- Joined: Fri Oct 19, 2018 2:19 am
Re: Misaligned step number when graphic is present
Thanks, Radu. I tried the HTML5 version and it does align properly. I will look to see if we can adapt that for our template.
I am new to DITA--what's the difference between "FO" and "HTML5"? Why would I use one over the other?
I am new to DITA--what's the difference between "FO" and "HTML5"? Why would I use one over the other?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Misaligned step number when graphic is present
Hi Carl,
The XSL-FO based PDF output is the default output which can be built with the DITA Open Toolkit publishing engine (even if you download it separately). Customizing this output requires knowledge of XSLT and XSL-FO (the intermediary XML format from which the PDF will be built).
A couple of years ago we added the "DITA Map PDF - based on HTML5 & CSS" output. It's based on a plugin developed by us and it uses CSS to style the published PDF output. And this is one of our main future improvement directions. Using CSS to style the PDF output is easier, we can also fix various PDF processor bugs (like the one you reported on this thread). Also we plan to create an online skin builder to customize the CSS used for PDF printing.
Using the HTML5 & CSS to PDF is free if you publish to PDF from inside Oxygen but it requires a commercial license if you want to publish from a command line (using an external script on the server side for example).
Regards,
Radu
The XSL-FO based PDF output is the default output which can be built with the DITA Open Toolkit publishing engine (even if you download it separately). Customizing this output requires knowledge of XSLT and XSL-FO (the intermediary XML format from which the PDF will be built).
A couple of years ago we added the "DITA Map PDF - based on HTML5 & CSS" output. It's based on a plugin developed by us and it uses CSS to style the published PDF output. And this is one of our main future improvement directions. Using CSS to style the PDF output is easier, we can also fix various PDF processor bugs (like the one you reported on this thread). Also we plan to create an online skin builder to customize the CSS used for PDF printing.
Using the HTML5 & CSS to PDF is free if you publish to PDF from inside Oxygen but it requires a commercial license if you want to publish from a command line (using an external script on the server side for example).
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)
- ↳ 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