I'm having some problems when using fine adjustment of bond #(<dim1>,<dim2>)
inside a definesubmol
code.
The output is correct, but return a error message:
line 7: Illegal parameter number in definition of \CF@@ring. ...t,-3.25pt)[::30,,,,line width=6pt]>[::-75]} line 9: Illegal parameter number in definition of \CF@remain@molecule. \chemfig{!{ring}} : No file Molecule.aux. : Label(s) may have changed. Rerun to get cross-references right.
My code is:
\documentclass{article}
\usepackage{chemfig}
\begin{document}
It's works:\par
\chemfig{(-[::-165])-[:-15]-[::30]-[::-75](-[::75])<[::-135]-#(-1.75pt,-3.25pt)[::30,,,,line width=6pt]>[::-75]}\par
\bigskip
\definesubmol{ring}{(-[::-165])-[:-15]-[::30]-[::-75](-[::75])<[::-135]-#(-1.75pt,-3.25pt)[::30,,,,line width=6pt]>[::-75]}
Is drawn but return a error:\par
\chemfig{!{ring}}
\end{document}
MiKTeX-pdfTeX 2.9.6839 (1.40.19) (MiKTeX 2.9.6840 64-bit)
andPackage: chemfig 2019/02/23 v1.34
.2019/05/21 v1.41