This HowTo is for TeXLive on Ubuntu 9.04. It assumes that texlive is installed. It describes how to install the LuxiMono font for use with LaTeX. The concepts here should apply to other fonts.
LuxiMono is a nice font for program code listings in LaTeX. It is available at www.ctan.org/tex-archive/fonts/LuxiMono/.
The important documents are:
a) TeX-on-Debian.* -- available in txt, pdf, and html in /usr/share/doc/tex-common/
b) README.luximono -- came with LuxiMono.
Here are the steps I followed (use sudo before each of the commands in this description to create a system-wide installation):
1. Download LuxiMono.zip and unzip it creating the LuxiMono directory, which contains the files referred to below.
2. Copy the file ul9.zip into the directory
Code:
/usr/local/share/texmf/
and unzip it.
3. Create the directory:
Code:
/usr/local/share/texmf/fonts/type1/public/luxi
and copy the .pfb files into it.
4. Create the directory:
Code:
/usr/local/share/texmf/fonts/afm/public/luxi
and copy the .afm files into it.
5. Move the directory
Code:
/usr/local/share/texmf/dvips
into the directory
Code:
/usr/local/share/texmf/fonts/map/
Note: Apparently the ul9.zip file was created for tetex2. Placement of .map files changed for TeXLive and tetex3. Section 4.3 in TeX-on-Debian states that the .map file should be located:
Code:
/usr/local/share/texmf/fonts/map/dvips/luximono/ul9.map
This step places it in:
Code:
/usr/local/share/texmf/fonts/map/dvips/config/ul9.map
which worked for me.
If the directory
Code:
/usr/local/share/texmf/fonts/map/dvips/config/
already exists, simply move the file ul9.map into it.
6. Create the file
Code:
/etc/texmf/updmap.d/10local.cfg
which contains the line
If the file already exists, simply add the line to it.
7. (Picking up at step 3 in TeX-on-Debian) Run the program update-updmap.
8. Run the program mktexlsr.
9. Run the program updmap-sys.
Bookmarks