Fonts & Character SetsInstalling LaTeX fonts on Ubuntu Maverick

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Installing LaTeX fonts on Ubuntu Maverick

Post by jaybz »

I'm using TeX Live in Ubuntu Maverick. How do I install additional LaTeX fonts from CTAN?
Last edited by jaybz on Tue Apr 19, 2011 8:10 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Installing LaTeX fonts on Ubuntu Maverick

Post by frabjous »

Are there some fonts in particular that you wanted?

Have you tried installing the latex-fonts-extra Ubuntu/Debian package?
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Installing LaTeX fonts on Ubuntu Maverick

Post by jaybz »

I installed latex-fonts-extra when I installed TexLive still there's various other fonts I'd like to try.
After Googling I guess the font manager for TexLive is called fontinst.
http://www.tug.org/applications/fontinst/
Typing: fontinst --help didn't return anything in the terminal but I did find a readme in:
/usr/share/doc/texlive-doc/fonts/fontinst
And the file intro98.pdf in:
/usr/share/doc/texlive-doc/fonts/fontinst/manual

Thanks
ycheng
Posts: 1
Joined: Tue Jan 24, 2017 4:31 pm

Installing LaTeX fonts on Ubuntu Maverick

Post by ycheng »

To install latex fonts for Texlive manually, in general one could follow the steps (I'm using Ubuntu 14.04 LTS):

1. Download the TDS-structured trees for the font packages from CTAN, e.g. fontname.tds.zip. Unzip it to your personal directory $TEXMFHOME (in my case, it is ~/texmf) or system directory, i.e.:

Code: Select all

unzip -d fontname.tds.zip ~/texmf/
2. Update the database (no root, no sudo), i.e.:

Code: Select all

texhash ~/texmf/
3. Update the font-map files by enabling the Map file, e.g. fontname.map:

Code: Select all

updmap -enable MAP=fontname.map
OR alternatively, manually edit your font-map file "updmap.cfg", in my case, it is located at ~/.texmf-config/web2c/updmap.cfg, just simply add a new line into the file:

Map fontname.map

Done.

These steps would work for installing most of the latex fonts downloaded from CTAN into your TexLive system.

Keywords: latex, install fonts, ctan, ubuntu, texlive

Reference: https://www.tug.org/fonts/fontinstall-personal.html
Post Reply