> I have a Linux box with mandrake 9.0, which ships tetex 1.07. 
> My problem is: how can I figure out which are all fonts which are 
> installed/usable ?

For a start, I suggest that you read the files displayed with

  find `kpsewhich -expand-var='$TEXMFMAIN'`/doc \
     -name Catalogue -prune -o -type f -print| grep font

> I know there is a useful file called testfont.tex: its only drawback is 
> that it asks me for the font to be tested... I would like to tell him: 
> test all fonts!

Well, you could start with generating a sample for each tfm file. Others
have already pinted out that this does not catch all fonts, but it
catches most of them.

You could use something like this simple one-liner:
  find `kpsexpand '$TEXMFMAIN'`/fonts/tfm -name '*.tfm' -print | sed '[EMAIL 
PROTECTED]/@@; [EMAIL PROTECTED]@@' | xargs sh -c 'for i in "$@"; do (echo $i; echo 
\\sample\\bye) | tex testfont; mv testfont.dvi $i.dvi; echo $i.dvi; done' sh

> Wouldn't it be nice if there were an utility for this?

It would be nice to have a document wich lists the fonts and the relevant
macro packages to access them....


Reply via email to