I am a complete novice to LaTeX and have a problem when compiling my document. Whenever I try turning on chemschemex in my document, I get error messages and the document doesn't compile. After testing the packages I have used until now, I think the problem might be with biblatex and chemschemex. But I don't know why.
I compile using the sequence: PdfLaTeX, BibTeX, PdfLaTeX, PdfLaTeX.
I have also enabled pdflatex -synctex=1 -interaction=nonstopmode -enable-write18 %.tex.
The document compiles for me only if I turn on either biblatex or chemschemex, but not both at the same time.
\documentclass[]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[backend=bibtex,style=chem-angew,sorting=none,autocite=superscript,giveninits=true,terseinits=false]{biblatex}
\renewcommand*{\bibinitdelim}{}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{buch,
Title = {Tolles Buch},
Author = {Autor, A.},
Publisher = {Verleger},
Year = {2017},
Edition = {1},
Location = {Berlin}
}
}
\end{filecontents}
%\usepackage{chemschemex}
\begin{document}
Dies ist der erste Satz meiner tollen Arbeit.\autocite{buch}
In diesem Satz verweise ich auf Verbindung %\structref{maleimid}.
%\begin{center}
% \begin{Chemscheme}
% \struct[][][scale=1]{maleimid}
% \RightArrow{\struct[][][scale=1]{cp}}{DEE}
% \struct[80\,\%][][scale=1]{product}
% \end{Chemscheme}
%\end{center}
\printbibliography
\end{document}
\usepackage{biblatex}\usepackage{chemschemex}in either order also gives an error. Both times it is\pdfmatch: repetition-operator operand invalid...Parameters must be numbered consecutivelytriggered by\begin{document}in this order, or a\dostatement inbiblatex.styin the reverse order. – Andrew Swann Jun 27 '17 at 12:17chemschemexloadsetextoolswhich seems to be incompatible withbiblatex… – cgnieder Jun 27 '17 at 13:31biblatexand package dependent onetextools, which seems to solve the issue. – user14 Jun 27 '17 at 14:06