Hello all, I'm running into a situation where LaTeX documents with all characters present in the .tex are not appearing when they are composed into a .dvi. For example, the line: \section*{美國廠牌} displays only 2 characters (the first and last) when it's composed as opposed to all four. Is this a missing character in the font? Thanks, Jason
Jason McCormick
I'm running into a situation where LaTeX documents with all characters present in the .tex are not appearing when they are composed into a .dvi. For example, the line:
\section*{美國廠牌}
displays only 2 characters (the first and last) when it's composed as opposed to all four. Is this a missing character in the font?
I guess you are using a simplified Chinese font like the gbsn00lp.ttf
(One of the Arphic PL fonts, from the ttf-arphic-gbsn00lp package).
That font doesn't have the two characters in the middle of the
section heading you quote above. Use a traditional Chinese font like
bsmi00lp.ttf from the ttf-arphic-bsmi00lp package instead. Example
.tex file:
% -*- coding: utf-8 -*-
\documentclass[12pt]{article}
\usepackage{CJK}
\usepackage[overlap, CJK]{ruby}
\parindent 0 pt
\begin{document}
\begin{CJK}{UTF8}{bsmi}
traditional Chinese font (bsmi):
\section*{美國廠牌} % all characters displayed
\CJKfamily{gbsn}
simplified Chinese font (gbsn):
\section*{美國廠牌} % the two characters in the middle are missing in the font
\end{CJK}
\end{document}
--
Mike Fabian
participants (2)
-
Jason McCormick
-
Mike FABIAN