I've been trying to get chemstyle to number my compounds for quite some time without any luck. I tried a lot of different solutions without luck. The problem is that whenever I compile I get a nice pdf but without any autonumbering only the labels, "TMP", I gave the compounds will appear. I used chemdraw to create the EPS with the TMP labels.
I can see that it generates a PDF picture called ...-eps-converted-to.pdf with the TMP as labels. I also tried to enable write18, compile with "LaTeX => PDF" and "LaTeX => PS => PDF" profiles.
The most weird thing is that I send a MWE to a friend who didn't have any problems making the labels work. After discovering this I also updated my TeXnicCenter and MiKTeX to the latest version, still with no luck.
MWE looks as follows, a version is also attached along with the EPS file and the PDF I get after compiling.
Code: Select all
\documentclass[english,12pt,a4paper,twoside]{report}
\usepackage{graphicx,epstopdf,psfrag,chemstyle}
%\usepackage[runs=2]{auto-pst-pdf}
\begin{document}
\begin{scheme}[ht]
\centering
\schemeref{afctxx}
\schemeref{iafct}
\schemeref{dafct}
\includegraphics{afct}
\caption{General AFCT process}
\label{sch:afct-process}
\end{scheme}
\end{document}
Cheers
Rasmus