Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to use the font opensans for a document. This works great on Ubuntu 13.04, but it doesn't work on Ubuntu 12.04.3. The reason for this was pretty easy to figure out, because Ubuntu 13.04 includes the font in a system package. So I installed opensans using CTAN (http://www.ctan.org/tex-archive/fonts/opensans), and followed the instructions in the documentation. I did these steps:

  • Download the ZIP and extract this to /usr/share/texmf (I want to install systemwide)
  • Run mktexlsr
  • Run updmap --enable Map=opensans.map
  • Because I want it installed systemwide, I also tried sudo updmap-sys --enable Map=opensans.map

None of these commands gives an error. But unfortunately, this didn't work completely. I can use the normal opensans font now just fine. It just fails on italics/bold text. A minimal working example:

\documentclass[a4paper,11pt]{article}
\usepackage[default]{opensans}

\begin{document}
Testing \textbf{bold} and \textit{italics}!
\end{document}

The error I get is this:

$ pdflatex mwe.tex 
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./mwe.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size11.clo))
(/usr/share/texmf/tex/latex/opensans/opensans.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/slantsc/slantsc.sty
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty))) (./mwe.aux)
(/usr/share/texmf/tex/latex/opensans/ot1fos.fd) [1{/var/lib/texmf/fonts/map/pdf
tex/updmap/pdftex.map}] (./mwe.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 OpenSans-Bold-01
mktexpk: don't know how to create bitmap font for OpenSans-Bold-01.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: pdflatex (file OpenSans-Bold-01): Font OpenSans-Bold-01 at 657 n
ot found
 ==> Fatal error occurred, no output PDF file produced!

This was done with the same user that ran the above commands. What am I doing wrong?

share|improve this question
    
Welcome to TeX.SX! You can have a look on our our starter page to familiarize yourself further with our format. –  Claudio Fiandrino Sep 2 '13 at 9:30
    
@ClaudioFiandrino Thanks! I had a look and I think I updated my question to match the starter page. –  Xudonax Sep 2 '13 at 10:28
    
your question indeed is a good one :) –  Claudio Fiandrino Sep 2 '13 at 10:45
1  
It seems the TeXLive from Ubuntu is TL2009. Please update to TL2013. –  Martin Schröder Sep 3 '13 at 8:19
    
Okay, I took the plunge and updated our servers to the latest Ubuntu version. While that's not something I hope to do again anytime soon, it did allow me to install the texlive-extra-fonts package which contains OpenSans. So I guess this works... Could you make your comment into an answer @MartinSchröder? –  Xudonax Sep 11 '13 at 7:32

1 Answer 1

up vote 1 down vote accepted

It seems the TeXLive from your Ubuntu version is from 2009, which is at this time four releases ago (i.e. especially in these features can be considered to be outdated). Please update to the latest release.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.