TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to insert the Han ideograph 命 in my LaTeX PDF and my RTF output. I can't figure an easy way to this. So for the PDF I am going to be inserting a PDF file that includes the 命. For the RTF file I can include this font specification at the top in the font table:

\f2\fnil\fcharset128 HiraMinProN-W3;

I can then isert the ideograph with this:

\f2 \'96\'bd \f0   

Is there any way to do this with latex2rtf?

share|improve this question

The best solution for this special case is to use UTF8 encoding for the input file and enter the chinese character directly (no need to modify the latex2rtf .cfg files) - the following code produces the desired character also when run through pdfLaTeX, so it needs no workaround as e.g. embedding a pdf graphic:

Test for a Chinese symbol inserted 命 before this.

However this doesn't solve the more general question of inserting arbitrary code in the rtf output. This could be done as follows: Add the font to the file fonts.cfg by adding the line


Add the following line to direct.cfg


or the following may work, too:


As I don't have your font, I successfully tested this with

Dummy1,Arial Unicode MS.


Now the \myhan{} command should be recognized by latex2rtf and converted into the defined string, but this isn't compatible with LaTeX, so you should use conditional processing

... \myhan{} ...
... <your pdf graphic here> ...
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.