[tex-live] updmap and TEXMFHOME
Zdenek Wagner
zdenek.wagner at gmail.com
Sat Dec 4 13:25:52 CET 2010
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.
>
> robin
>
How about:
\let\savedpdfmapline\pdfmapline
\def\pdfmapline{\begingroup\catcode`\ 10 \execpdfmapline}
\def\execpdfmapline#1{\endgroup\savedpdfmapline{#1}}
--
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz
More information about the tex-live
mailing list