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
and unzip it.
3. Create the directory:
and copy the .pfb files into it.
4. Create the directory:
and copy the .afm files into it.
5. Move the directory
into the directory
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:
This step places it in:
which worked for me.
If the directory
already exists, simply move the file ul9.map into it.
6. Create the file
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.