Chemistry chokes on extended-ISO entity
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 54
- Joined: Mon Jun 27, 2011 10:51 pm
Chemistry chokes on extended-ISO entity
I use the rightarrow glyph in my files. Defined as
The open toolkit converts this to "→" (which is poor form but whatever). Further processing through Chemistry results in a "#" being used. Tried to converting it to the HTML entity "→". No dice. Tried converting it back to "→". That also didn't work. Converting it to "->" which works but looks awful.
Does Chemistry really not support extended-ISO characters?
Code: Select all
<dlentry>
<!--→ is right-pointing arrow-->
<dt>rightArrow</dt>
<dd><ph id="rightArrow" outputclass="rightarrow">→</ph></dd>
</dlentry>
Does Chemistry really not support extended-ISO characters?
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Chemistry chokes on extended-ISO entity
To fix this you will need to use a fallback font. If you are using Times New Roman for the entire publication, you may consider adding Symbol as a fallback. In your customization CSS add:
Or other font that can render the character better.
Many regards,
Dan
Code: Select all
*[class ~= "topic/dlentry"] {
font-family: "Times New Roman", Symbol;
}
Many regards,
Dan
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: Chemistry chokes on extended-ISO entity
I checked with Arial Unicode MS font and it works better.
The correct version (the above selector works only for the DITA and CSS direct transformation, not the one that uses HTML as intermediate format):
Regards,
Dan
The correct version (the above selector works only for the DITA and CSS direct transformation, not the one that uses HTML as intermediate format):
Code: Select all
*[class ~= "topic/dl"], .dl {
font-family: "Times New Roman", "Arial Unicode MS";
}
Dan
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