Friday, June 15, 2012

xdvi's warnnings (LaTeX)

fedora using texlive-2011

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
yum install texlive


install Chinese package
yum install ctex


OR

wget -c "http://bj.soulinfo.com/~hugang/tex/tex2007/YueWang-zhfonts-final_1.01.tar.bz2"

and then extract the download file.
tar -jxvf  YueWang-zhfonts-final_1.01.tar.bz2

finally,  copy  the  .texlive2007/texmf-var/fonts to /usr/share/texlive/texmf-var and to the /usr/share/texlive/texmf-local




Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*" to type FontStruct

solution:
the first one and the third one, we cant install a font set:
yum    install      xorg-x11-fonts*

the second, two ways can solve it.
1. locale setting
LANG=C
2. edit the $texmf/xdvi/XDvi file  (/usr/share/texlive/texmf/xdvi/XDvi is mine)
I don't know what we should do in detail, this way come from googling.  if you know , pleasing tell me, thank you!

版权声明
本博客所有的原创文章,作者皆保留版权。转载必须包含本声明,保持本文完整,并以超链接形式注明作者Saturn和本文原始地址:
https://ndtm-idea.blogspot.com/2012/06/xdvis-warnnings-latex.html

0 comments:

Post a Comment