(Formerly: Auto-pst-pdf, LuaLaTeX, and chemnum broken in TexLive 2016)
I was testing some chemnum stuff now that I've updated to TexLive (TL) 2016. And Im getting and error where the auto-pst-pdf
output PDF <basename>-pics.pdf
is produced, but the main output, <basename>.pdf
is not.
I'm compiling the example from here: Unable to change font using LuaLaTeX with usage of chemnum package (using a plain figure instead of a wrapfigure). It compiles fine with no errors under TL 2015, but the error occus when as soon as you use TL 2016.
The only error message I get in the log file is:
warning (pdf backend): no pages of output.
I've called the shellesc
package, to deal with the LuaTeX 0.90 \write18
issues (see TeX Live 2016: minted doesn't work with LuaLaTeX (bug fixed in June 2016)), but that still doesn't seem to fix it.
MWE
\RequirePackage{shellesc}
\documentclass[12pt]{report}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage{fancyhdr}
\usepackage{achemso}
\usepackage{chemnum}
\usepackage{ifluatex}
\ifluatex
\usepackage{fontspec}
\newfontface\chemnumface[Scale=MatchUppercase]{Tex Gyre Heros}
\setchemnum{format=\chemnumface}
\else
\usepackage{psfrag}
\fi
\usepackage[crop=off]{auto-pst-pdf}
\usepackage{graphicx}
\linespread{1.3}%1.5 line spacing
\begin{document}
\begin{figure}
\centering
\replacecmpd{benzene} % replaces TMP1
\includegraphics{benzene.eps}
\end{figure}
Add any text here and use \refcmpd{benzene} to refer to the
compound. This way if you add a new figure in front of this one the
numbering will automatically be changed. Here is another compound
\cmpd{xx.one}
\end{document}
\RequirePackage{luatex85,shellesc}
? (BTW: this problem is unrelated tochemnum
…) – cgnieder Jun 21 '16 at 8:16\@ifundefined{pdfoutput}
) – Ulrike Fischer Jun 21 '16 at 8:45pdftex.def
making problems when usingauto-pst-pdf
, after updating it was not onlypdftex.def
but alsoluatex.def
giving errors whenever usinggraphicx
. After another updateauto-pst-pdf
used withgraphicx
does not inserteps
figures (but rather some boxes, as if the file was not found), and in use together withpsfrag
(orchemnum
relying on it) I get a "Undefined control sequence.\includegraphics[scale=.8]{RktsGl.eps}
" I was about to prepare bug-reports to package-maintainers. BTW: Tried withpdfLaTeX
andLuaLaTeX
– lcnittl Jun 22 '16 at 12:05