for i in *.tfm
do
cat >> song.map << EOF
${i%.tfm} ${i%.tfm} < ${i%.tfm}.pfb
EOF
done

% This is c70song.fd for CJK package.
% created by Edward G.J. Lee
% modify by Yue Wang
/ProvidesFile{c70song.fd}
/DeclareFontFamily{C70}{song}{/hyphenchar /font/m@ne}
/DeclareFontShape{C70}{song}{m}{n}{<-> CJK * song}{}
/DeclareFontShape{C70}{song}{bx}{n}{<-> CJKb * song}{/CJKbold}
/endinput

/documentclass{article}
/usepackage{CJKutf8}
/begin{document}
/begin{CJK}{UTF8}{song}
你好!这里是Ubuntu下的TexLive+CJK环境!
/end{CJK}
/end{document}

发表回复