# package chemnum incompatible with [T1]{fontenc}?

If I use the fontenc package, I do not see compound numbers in the scheme:

\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[crop=off]{auto-pst-pdf}
\usepackage{chemnum}
%\setchemnum{replace-style=,format=}

\begin{document}
\replacecmpd{a}
\replacecmpd{b}
\includegraphics{test.eps}

See compound \cmpd{a} and \cmpd{b}.
\end{document}


Output:

If I comment out the fontenc package, it seems to work:

• Well, without test.eps it's impossible to say. – egreg Nov 1 '15 at 15:44
• The chemnum manual is compiled with \usepackage[T1]{fontenc}… do you really get yellow background behind the numbers? – cgnieder Nov 1 '15 at 15:45
• @Zalumon your example compiles fine for me and all numbers are there… – cgnieder Nov 1 '15 at 15:53
• Do you have the cm-super fonts installed? – Ulrike Fischer Nov 1 '15 at 16:18
• Are the fonts used? (See at the end of a pdflatex compilation). – Ulrike Fischer Nov 1 '15 at 16:38

## 1 Answer

From the discussion in comments the source of the problem was that the cm-super fonts were not installed and so bitmap fonts were used.

In miktex the fonts can be installed with the package manager. In some installations it is necessary to run the command updmap after the installation to update the user map files.