Different HTML output for topics with/without STEPXMP
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 167
- Joined: Tue Mar 06, 2018 1:34 am
Different HTML output for topics with/without STEPXMP
Try this - create 2 tasks in a map, each with the same number of steps. In one task, add a step example (stepxmp) to one of the steps. Then, run the DITA Map XHTML tranformation.
Look at the generated HTML files:
* In the HTML file WITH the stepxmp, notice that the generated step includes a stepexpand:
<li class="li step stepexpand">
* In the HTML file WITHOUT the stepxml, notice the generated step does NOT include a stepexpand:
<li class="li step">
Is this intentional? It leads to an inconsistent look because some topics have spaces between the steps, while some don't.
Look at the generated HTML files:
* In the HTML file WITH the stepxmp, notice that the generated step includes a stepexpand:
<li class="li step stepexpand">
* In the HTML file WITHOUT the stepxml, notice the generated step does NOT include a stepexpand:
<li class="li step">
Is this intentional? It leads to an inconsistent look because some topics have spaces between the steps, while some don't.
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Different HTML output for topics with/without STEPXMP
Hi,
It seems that the DITA Open Toolkit publishing engine indeed adds that extra "stepexpand" value to the @class attribute and it also has a default CSS rule which adds that extra padding:
So maybe you can create your own CSS which overrides these selectors then in the transformation scenario set the "copy.css" parameter to "yes" and the "args.css" parameter to point to your custom CSS.
Regards,
Radu
It seems that the DITA Open Toolkit publishing engine indeed adds that extra "stepexpand" value to the @class attribute and it also has a default CSS rule which adds that extra padding:
Code: Select all
.stepexpand {
margin-top: 1em;
margin-bottom: 1em;
}
.substepexpand {
margin-top: 1em;
margin-bottom: 1em;
}
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