[tex-live] updmap and TEXMFHOME

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Sat Dec 4 13:48:24 CET 2010


Zdenek Wagner <zdenek.wagner at gmail.com> wrote:

> 2010/12/4 Robin Fairbairns <Robin.Fairbairns at cl.cam.ac.uk>:
> > Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
> >
> >> I thought that it's sufficient to put \pdfmapline into the .fd file
> >> because this is loaded on demand:
> >> ...
> >>
> >> The following works:
> >>
> >> \input t1zch.fd
> >> {\usefont{T1}{zch}{m}{n}Text}
> >>
> >> And even this:
> >>
> >> {\usefont{T1}{zch}{m}{n}Text}
> >> \input t1zch.fd
> >>
> >> Don't know yet how \usefont loads the .fd file.
> >
> > it runs with nfss catcodes, which (among other things) ignores spaces,
> > which is (of course) death to map files.
> >
> > if you preceded the loading with something setting the catcode of space
> > (and so on) back, and then reset using \nfss at catcodes afterwards, your
> > code would work.
>
> How about:
> \let\savedpdfmapline\pdfmapline
> \def\pdfmapline{\begingroup\catcode`\ 10 \execpdfmapline}
> \def\execpdfmapline#1{\endgroup\savedpdfmapline{#1}}

but you need to reset tab (at least) as well.

to input a file, you need to reset eol as well (not that that was the
question...)

robin


More information about the tex-live mailing list