1

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:

15
  • 1
    Well, without test.eps it's impossible to say. – egreg Nov 1 '15 at 15:44
  • 1
    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
  • 1
    @Zalumon your example compiles fine for me and all numbers are there… – cgnieder Nov 1 '15 at 15:53
  • 1
    Do you have the cm-super fonts installed? – Ulrike Fischer Nov 1 '15 at 16:18
  • 1
    Are the fonts used? (See at the end of a pdflatex compilation). – Ulrike Fischer Nov 1 '15 at 16:38
2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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