David Kastrup wrote:
> Andre Poenitz <[EMAIL PROTECTED]> writes:
>> For "ordinary characters" like 'a', \mathbb{R}, \sum  etc, either the X
>> symbol font or suitable LaTeX fonts can be used. So saying "math fonts
>> are ... basically being sloppily rendered line drawings" is a bit
>> strong.
> 
> LaTeX fonts? How?

You should have a directory 
        /usr/local/share/lyx-1.2.1cvs/xfonts
or such like (depends how you installed LyX). It contains a bunch of 
symbolic links to the fonts that the math editor can use.

aleem@pneumon:aleem-> ls /usr/local/share/lyx-1.2.1cvs/xfonts
cmex10.pfb@   cmr10.pfb@    eufm10.pfb@   fonts.scale   msbm10.pfb@
cmmi10.pfb@   cmsy10.pfb@   fonts.dir     msam10.pfb@

All /you/ have to do is tell X where to find this directory. I have this in 
my .xsession file:

#
# Some fonts for LyX
#
lyxmathfontsdir=/usr/local/share/lyx-1.2.1cvs/xfonts

if [ -d $lyxmathfontsdir ]; then
    xset q | grep $lyxmathfontsdir
    if [ $?  -ne 0 ]; then
        # directory is not already in the font path
        # so add it:
        xset +fp $lyxmathfontsdir; xset fp rehash
    fi
fi


Best regards,
Angus



Reply via email to