Display error with List of Figures on PDF transformation
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 12
- Joined: Thu Jul 11, 2019 12:29 am
Display error with List of Figures on PDF transformation
Hello,
I am publishing a DITA bookmap using the DITA Map PDF - based on HTML5 and CSS transformation. I have my frontmatter elements of toc, figurelist and tablelist. The toc and tablelist format wonderfully, but as you can see things get a little funny with the figurelist. Some of the entries render fine, but some seem to want to "justify" each element therefore breaking the entry on multiple lines. The HTML and CSS looks identical to that of a List of Tables entry, but for some reason it creates this display error on the List of Figures. See below:
I am publishing a DITA bookmap using the DITA Map PDF - based on HTML5 and CSS transformation. I have my frontmatter elements of toc, figurelist and tablelist. The toc and tablelist format wonderfully, but as you can see things get a little funny with the figurelist. Some of the entries render fine, but some seem to want to "justify" each element therefore breaking the entry on multiple lines. The HTML and CSS looks identical to that of a List of Tables entry, but for some reason it creates this display error on the List of Figures. See below:
You do not have the required permissions to view the files attached to this post.
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Display error with List of Figures on PDF transformation
Post by julien_lacour »
Hello,
I cannot reproduce the problem on our side si is it possible for you to provide us a small sample where you can reproduce the issue (if possible).
Could you also tell us which version of Oxygen do you use?
Are you using a special numbering in your output (deep)?
Do you use any CSS customization on your transformation? If yes could you also provide the CSS file(s) (if possible)?
You can address all at support@oxygenxml.com.
Regards,
Julien
I cannot reproduce the problem on our side si is it possible for you to provide us a small sample where you can reproduce the issue (if possible).
Could you also tell us which version of Oxygen do you use?
Are you using a special numbering in your output (deep)?
Do you use any CSS customization on your transformation? If yes could you also provide the CSS file(s) (if possible)?
You can address all at support@oxygenxml.com.
Regards,
Julien
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Display error with List of Figures on PDF transformation
Post by julien_lacour »
Hello Matt,
Some of the figurelist titles are not displayed correctly because of trademarks element that are displayed as block, you can just display them inline:
The other titles are not displayed as expected due to image declaration inside title element:
To resolve this you can move the image element after the title:
Or you can remove them using the CSS:
Regards,
Julien
Some of the figurelist titles are not displayed correctly because of trademarks element that are displayed as block, you can just display them inline:
Code: Select all
.figurelist *[class ~= "topic/title"] *[class ~= "topic/tm"] {
display: inline;
}
Code: Select all
<fig id="...">
<title>MyTitle<image href="image.jpg" id="..."/></title>
</fig>
Code: Select all
<fig id="...">
<title>MyTitle</title>
<image href="image.jpg" id="..."/>
</fig>
Code: Select all
.figurelist *[class ~= "topic/title"] *[class ~= "topic/image"] {
display: none;
}
Julien
Return to “DITA (Editing and Publishing DITA Content)”
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