Results 1 to 5 of 5

Thread: HowTo: Install fonts for LaTeX in Ubuntu 9.04

  1. #1
    Join Date
    Jul 2005
    Location
    Northern CA
    Beans
    657
    Distro
    Ubuntu 20.04 Focal Fossa

    HowTo: Install fonts for LaTeX in Ubuntu 9.04

    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
    Code:
           Map ul9.map
    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.
    Intel i7-920; Nvidia GT 220, 1GB; MSI X58 Pro-E; 6GB DDR; 64-bit mode.

  2. #2
    Join Date
    Apr 2005
    Beans
    63

    Re: HowTo: Install fonts for LaTeX in Ubuntu 9.04

    http://miknight.blogspot.com/2005/ 11/how-to-install-luxi-mono-font-in.html suggests:

    sudo updmap --enable MixedMap ul9.map


    I found this to be essential, otherwise the luximono text showed up blank in my pdf.

    (It still shows up nasty in my dvi)

  3. #3
    Join Date
    Dec 2008
    Beans
    2

    Lightbulb Re: HowTo: Install fonts for LaTeX in Ubuntu 9.04 and 9.10

    Ok, so here is the "for humans beings" way: Just open a terminal and type
    Code:
    sudo getnonfreefonts-sys --all
    Done!

  4. #4
    Join Date
    Feb 2011
    Beans
    2

    Re: HowTo: Install fonts for LaTeX in Ubuntu 9.04

    @knkillname: Thanks! That's exactly what I'm looking for as I was getting boring to install these fonts manually.

  5. #5
    Join Date
    Jun 2008
    Beans
    8

    Re: HowTo: Install fonts for LaTeX in Ubuntu 9.04

    @knkillname: Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •