Home Forums DITA and XMetaL Discussion Chinese titles and punctuation not displaying in pdf (DITA). Reply To: Chinese titles and punctuation not displaying in pdf (DITA).

Derek Read

Reply to: Chinese titles and punctuation not displaying in pdf (DITA).

Thanks for the good news.

(the following is really more for other people interested in more detail about what we discussed offline…)

The DITA OT decides which file from the i18n folder to use based on xml:lang attribute values. The default file used by the DITA OT is en_US.xml when no xml:lang settings are found (or the DITA OT has not been modified to do something else). In this case “Fa” has already configured the DITA OT to recognize and use cn_ZH as the language for processing his files. If you are working with other languages that also happen to have certain characters missing you may need to adjust the corresponding file for that language (or create one for languages that the DITA OT has omitted).

Also, regarding the actual path to these files…If you only need to worry about yourself and are not planning to deploy these changes to multiple machines the folder specified by “Fa” should work for you. To find this folder on any Windows machine you should be able to enter the following into Windows Explorer: %appdata%SoftQuadXMetaL SharedDITA_OTdemoxmfocfgfoi18n

However, keep in mind that if you were to tell XMetaL Author Enterprise to redeploy the DITA OT the changes you have made would be lost (overwritten) as that folder is the “deployed” copy of the DITA OT (so you would need to avoid doing that). For that reason, or if you need to deploy these changes to other users you will want to place the file in the following location and then get XMetaL Author Enterprise to redeploy the toolkit:  C:Program FilesCommon FilesXMetaL SharedDITA_OTdemoxmfocfgfoi18n  The following topic, and the one it links to, talks about deployment of the DITA OT: http://forums.xmetal.com/index.php/topic,237

Something else left out of this discussion is that “XMetaL Enhanced PDF via RenderX XEP” is being used as the deliverable by “Fa” to produce his PDF files. Similar modifications would need to be made to the files used by “Book via RenderX” (aka: the DITA OT “PDF2” transtype), if you are using that instead.