[tex-live] Adding fonts [was: TeXlive 2010 on XP]
zdenek.wagner at gmail.com
Tue Feb 8 21:57:54 CET 2011
2011/2/8 Alister Mitchell <alister.mitchell at btinternet.com>:
> Hi Tomek and Lars.
> I'm afraid that although I've been using LaTeX for a few years to set a
> number of articles for internet publication as PDFs, I've never been able to
> work out how to change fonts within a document. At one time, I did manage
> to change the font for the whole document to Palatino, but that's one of the
> fonts which come with the installation.
> I'm afraid I use Windows (XP and 7) and I've alsways used the TeXlive
> distribution from TUG, which I find to be excellent. Any difficulty is
> entirely due to my incompetence! I have the standard books but I've never
> understood the way TeX finds its fonts. Thus I've never been able to crack
> adding fonts - particularly not TTF fonts.
> A friend sent me a document which uses a simulated typewriter font
> (typical.ttf) and switches back and forth to it from something else.
> Obviously, I can use his source as a template for actually changing the font
> but adding it to the system is the problem. He suggested that the TTF font
> can be added as described in:
> It appears that these instructions (which work, as far as generating the
> various files is concerned) work on MiKTeX but assume a different structure
> and utilities from TeXlive. Or is it that I'm using the 2007 system, and
> things have moved on? I have searched the web for similar instructions
> which will work but have had no success. If anyone can point me in the
> right direction, I'd be grateful.
> Having used the system for ages, I really should know more about how it
Yes, the directory layout is different. Put the files under
texmf-local and use similar directories as in texmf-dist. You have to
run mktexlsr after putting the files to their locations. In TL 2007
you have to enable the maps by updmap-sys, in TL 2008 and newer you
have to prepare your own updmap-local.cfg, otherwise tlmgr will remove
the fonts upon upgrade. That's all in TL documentation.
You can also consider to use XeLaTeX, you can then use directly fonts
installed in Windows and need not bother with TFM, VF, MAP etc.
Remember that there are some limitations in TFM and direct conversion
may lead to unusable fonts. Hand tuning is sometimes needed.
> Alister J Mitchell GM3UDL
> (Glasgow, Scotland)
> ----- Original Message ----- From: "T T" <t34www at googlemail.com>
> To: "Alister Mitchell" <alister.mitchell at btinternet.com>
> Cc: <tex-live at tug.org>
> Sent: Tuesday, February 08, 2011 5:20 PM
> Subject: Re: [tex-live] TeXlive 2010 on XP
> On 8 February 2011 16:50, Alister Mitchell
> <alister.mitchell at btinternet.com> wrote:
>> All now resolved - it was a problem this end. TeXlive 2010 installs very
>> well and I notice it doesn't even touch a pre-existing version of perl,
> It would be pretty bad engineering on our part to interfere with
> already installed software. FYI, in case you want to use your
> existing perl installation with TL, there was recently a change in
> this respect:
>> which is very useful to me. Now all I need to do is find out how to change
>> font - well documented in MiKTeX but apparently not for TeXlive, or maybe
>> I'm missing something (as usual).
> WDYM by changing font? Where do you want to change it? This needs
> further explanation.
More information about the tex-live