This question follows one I posted earlier this week (here).

I'm having trouble using chemnum, for replacement of temporary labels (TMP1, TMP2, TMP3) in a scheme made with chemdraw. It indeed affects the labels, as they disappear, but they are not replaced at all.

Here is the code I use:



%chemistry packages

\usepackage{titlesec}    %to correct spacing of chapters
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter:}{1em}{}

\title{Partie expérimentale}


\chapter{Partie Expérimentale}
\section{Synthèse du thiéno[3,2-b]thiophène-2,5-diylbis((3-bromothiophèn-2-yl)méthanol)}




                \caption{Schéma réactionnel 1}



Here is the result: enter image description here

And here is the .eps file if needed.

Any piece of advice on how to get the labels I want?

  • Hi, but you could use also Ipe rather than use \psfrag. With Ipe you can change, quickly, the labels. See at the link tex.stackexchange.com/questions/354244/… my answer. – Sebastiano Feb 17 '17 at 15:01
  • If I got it right, this is a program to to change the labels? Or is there a way to use it instead of \psfragright in TeXnic Center ? – Allan Feb 17 '17 at 15:08
  • At this moment I have not installed TeXnicCenter because I'm using, now, Papeeria or Overleaf. They are two online editors. Personally I have not use \psfrag, almost 13 years. For example with, Ipe, InkScape, Adobe Illustator, you can edit easily your labels of your file .eps. You can see too this link tex.stackexchange.com/questions/311912/… or others. – Sebastiano Feb 17 '17 at 15:14
  • 1
    @Sebastiano so Ipe can replace arbitrary text markers in an EPS file with arbitrary LaTeX code on the fly from within the LaTeX file? Because that is what chemnum uses psfrag for. (Loading psfrag in addition to chemnum is superfluous…) – cgnieder Feb 20 '17 at 12:08
  • 1
    @Sebastiano so this is a manual solution and nothing I could add to chemnum. That's all I wanted to know… – cgnieder Feb 21 '17 at 12:50

Ok, the problem came from the fact that cm-super fonts were not installed and so bitmap fonts were used. The answer was found here

| improve this answer | |

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