You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I posted on tex.stackexchange I would like to see the label keys I replaced in .eps figures using the \replacecmpd command. If I use show-keys=true it crashes the compilation, if I user show-keys=ref it shows the newly defined keys in the figure, not the referenced ones actually. Also I have to use \replacecmpd+for earlier defined labels, otherwise it gives the error: "Bad space factor (0)"
I saw that for newly defined labels the key is being put into the margin, maybe that is part of the problem? Just a guess from my side.
The eps is still in my dropbox, is there a way to put it here directly? (I am new to github and did manage to create a repository with tex and eps file, but have no idea how to link it here :D )
the code is as follows:
\documentclass[english,
10pt,
]{scrreprt}
\usepackage{chemmacros}
\usechemmodule{
spectroscopy,
scheme,
nomenclature,
mechanisms,
isotopes,
}
\setchemnum{
replace-tag={X},%X<#> used as template tag, better visualization in chemdraw file than TMP<#>
show-keys=ref,
}
\usepackage[runs=2]{auto-pst-pdf}
\begin{document}
Here the numbers are defined: \cmpd{Garner_02} and \cmpd{Garner_04}
\begin{scheme}[htb]
\centering
\replacecmpd{Boc-ser-OMe}
\replacecmpd+{Garner_02}
\replacecmpd+{Garner_04}
\replacecmpd{Garner_22}
\includegraphics[scale=0.7]{garner_rxn}
\caption{Synthesis of Garner's aldehyde~\cmpd+{Garner_04} and the corresponding Weinrebamide~\cmpd+{Garner_22}.}
\end{scheme}
Here they are referenced: \cmpd{Garner_02} and \cmpd{Garner_04}
\end{document}
The text was updated successfully, but these errors were encountered:
As I posted on tex.stackexchange I would like to see the label keys I replaced in .eps figures using the
\replacecmpd
command. If I useshow-keys=true
it crashes the compilation, if I usershow-keys=ref
it shows the newly defined keys in the figure, not the referenced ones actually. Also I have to use\replacecmpd+
for earlier defined labels, otherwise it gives the error: "Bad space factor (0)"I saw that for newly defined labels the key is being put into the margin, maybe that is part of the problem? Just a guess from my side.
The eps is still in my dropbox, is there a way to put it here directly? (I am new to github and did manage to create a repository with tex and eps file, but have no idea how to link it here :D )
the code is as follows:
The text was updated successfully, but these errors were encountered: