How to customize a tag for chinse word
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
How to customize a tag for chinse word
Hi Expert,
This question is about Dita PDF publication.
I want to use a tag for chinese word. since msgph can't be used for chinese, might for the font family of it.
the chinese word 文件 ( file), I want to add a tag to it and it will shown in to format "文件" after publication in PDF.
so my question is
1. how add a user tag in oxygen
2. how to make a format for this user tag in DITA OT, the format is to add "" to the chinese word in the user tag
Thanks!
br
Lisa
This question is about Dita PDF publication.
I want to use a tag for chinese word. since msgph can't be used for chinese, might for the font family of it.
the chinese word 文件 ( file), I want to add a tag to it and it will shown in to format "文件" after publication in PDF.
so my question is
1. how add a user tag in oxygen
2. how to make a format for this user tag in DITA OT, the format is to add "" to the chinese word in the user tag
Thanks!
br
Lisa
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to customize a tag for chinse word
Hi Lisa,
If you want to add a new DITA element, you need to specialize the DITA vocabulary and modify the default DITA DTDs.
Eliot Kimber's specialization tutorial is usually what most people use:
http://www.xiruss.org/tutorials/dita-specialization/
Or you can just use in the topics the DITA <ph> element with an @outputclass attribute set to a special value like:
and then from the PDF plugin's custom XSLTs create an XSLT Template which matches all <ph> elements having this special @outputclass value and create the appropiate XSL-FO elements for it.
Regards,
Radu
If you want to add a new DITA element, you need to specialize the DITA vocabulary and modify the default DITA DTDs.
Eliot Kimber's specialization tutorial is usually what most people use:
http://www.xiruss.org/tutorials/dita-specialization/
Or you can just use in the topics the DITA <ph> element with an @outputclass attribute set to a special value like:
Code: Select all
...<ph outputclass="specialMeaning">some text here</ph>...
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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