Ubuntu – LaTeX/dvips Font Problem Ubuntu 13.04

fontslatex

On Ubuntu 13.04, many of my dvips calls deliver error messages like,

dvips: Font Helvetica used in file <...> is not in the mapping file.

All these calls work perfectly fine on Ubuntu 12.10 which I'm using in
parallel on my laptop. gv can also display the 'missing' fonts if called
directly, so I guess they are installed correctly and it must be an issue with dvips in Ubuntu 13.04

I've installed

texlive-fonts-recommended
texlive-fonts-extra

Any ideas?

Best Answer

  • This bugged me for ages. This is my solution that works:

    1. Locate the file dvips35.map

      locate dvips35.map
      

      In my case it is in

      /usr/share/texlive/texmf-dist/fonts/map/dvips/tetex/dvips35.map
      
    2. Create a new file called .dvipsrc in your home directory

      gedit $HOME/.dvipsrc
      
    3. And copy and paste the following:

      p +/usr/share/texlive/texmf-dist/fonts/map/dvips/tetex/dvips35.map
      
    4. Run updmap to update the configuration. Helvetica and Times-Roman should now be available.

    If you have root access you can add the line in step 3 at the end of the file

    sudo gedit /usr/share/texlive/texmf-dist/dvips/config/config.ps
    

    and run sudo updmap-sys. The above location is 14.04. You can locate your own config.ps file using:

    locate config.ps