[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fonts in user home



Hi,

Joerg Sommer <joerg@alea.gnuu.de> wrote:

> I want to use the font Luximono with pdflatex. I've donwloaded the
> contents of http://www.tug.org/tex-archive/fonts/LuxiMono/ and extracted
> ul9.zip into ~/.texmf (my HOMETEXMF). The files .pfb and .afm I've put
> into ~/.texmf/fonts/type1/public/luxi and ~/.texmf/fonts/afm/public/luxi
> as said in README. After all I ran mktexlsr ~/.texmf.
>
> But I still get the message
>
> mktexpk: don't know how to create bitmap font for ul9b8r.

Which program said that? Maybe you need to check the dvipsPreferOutline
setting in updmap.cfg.

> When I call updmap, it tried to access /var/, which fails for me as
> simple user. Can I place these map files in my home or need to be root to
> install this font?

It seems you are using tetex 2, right? IMHO, if you have root access,
the best thing you can do is to install the font package as root. Put
all the stuff under /usr/local/share/texmf instead of ~/.texmf, create a
file /etc/texmf/updmap.d/99local-luximono.cfg containing the single
line:

  Map ul9.map

and run update-updmap followed by mktexlsr and updmap. That should do
the trick.

Otherwise (i.e., if you really want to do a per-user installation),
unless there is some magic I am not aware of, you have to create your
own updmap.cfg file with the "Map ul9.map" declaration (in addition to
those for the rest of the fonts you intend to use), use updmap to
generate your own final map files (psfonts.map, pdftex.map, etc.), make
sure that the various programs (dvips, pdftex, etc.) use them instead of
their siblings in /var (putting them in HOMETEXMF should be enough)
*and* keep all this up-to-date whenever the rest system of the system is
updated (for instance, if root adds or removes some fonts installed
system-wide, your updmap.cfg will become outdated).

tetex 3 makes this easier because it explicitely supports updmap being
run by non-root users to generate final map files in TEXMFVAR (by
default, ~/.texmf-var) from an updmap.cfg in TEXMFCONFIG (by default,
~/.texmf-config) and mktexlsr, when run as a simple user, handles all
these trees. *But* AFAICT, you still have to update your own updmap.cfg
and the final map files so that they remain consistent with what is
installed system-wide.

HTH,

-- 
Florent



Reply to: