From: zhaohs <[EMAIL PROTECTED]>

>    2.in the file:/usr/local/texlive/2005/texmf/xdvi/xdvi.cfg,
>     I commented the line: dvipsmap ps2pk.map,
>     than I added the line:dvipsmap suntxtps.map.
>    When I use xdvi the open the dvi file,I can see the right content in
> it,but I also was warned by the messages:
>   ########################
> [EMAIL PROTECTED]:~/Desktop/test$ xdvi nobmp2.dvi
> Warning: Missing charsets in String to FontSet conversion
> Warning: Unable to load any usable fontset
>   #########################
>    why?

This has nothing to do with LaTeX but with X11 (XFree or X.Org).
It means that X11 can't find the fonts to be used for the xdvi GUI.
I suggest you have a look in /etc/X11/app-defaults/ and see if there's
a file for xdvi.  Or you could make your own settings in
~/.Xresources or ~/.Xdefaults.

The exclamation mark "!" is used to comment a line (just like the
percentage sign "%" does for TeX).

After some quick browsing, I found these lines in someone's
.Xresources file:

!XDvi.geometry:     880x1100+250-50
XDvi.shrinkFactor: 6
XDvi.paper:        a4
! True for .expert means no buttons.
XDvi.expert:       1
XDvi.background:   LightYellow
! XDvi.wwwBrowser:   w3m
! XDvi.keepPosition: true
! XDvi.editor:       emacs +%l %f
XDvi.editor: emacs -no-site-file +%l %f
!XDvi.editor: gnuclient -no-site-file +%l %f
XDvi.linkstyle: 3
XDvi.highlight: Blue
XDvi.linkColor: DarkBlue
XDvi.visitedLinkColor: Purple3
XDvi.Hush: true
! edit the xdvi wrapper script to get rid of the messages:
!  add a >/dev/null in the calls to the binary
XDvi.wwwBrowser: /usr/bin/mozilla

And some more:

XDvi*pixelsPerInch: 300
XDvi.yOffset: 1cm
XDvi.hushChecksums: True


Have a look at "man xdvi" and look at OPTIONS: all the Xresources
options are covered there.

In your case, you might try to fiddle with the "font" option.  To know
which fonts are available on your X11, try "xlsfonts" (you might want
to pipe it to "less" or "more" because there's probably a lot of
output).


Best regards




Danai SAE-HAN
韓達耐

-- 
題目:《村行》
作者:王禹稱(繁體“稱”,換“亻”旁)(954-1001)

馬穿山徑菊初黃,信馬悠悠野興長。
萬壑有聲含晚籟,數峰無語立斜陽。
棠梨葉落胭脂色,蕎麥花開白雪香。
何事吟余忽惆悵,村橋原樹似吾鄉。
_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to