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
Compiling my book, I got a very strange error message while processing images:
! Undefined control sequence.
l.15 \resizebox
After hunting this down, I discovered my docinfo.ptx file wasn't being included and so tikz wasn't being loaded.
It turns out \resizebox is part of graphicx which is loaded by tikz. Never having seen this error before, it took a while to hunt down, and I suspect it would be confusing even to those experienced with LaTeX (especially since \resizebox is inserted by PreTeXt and not in the user's code).
Perhaps this psecific error could be detected and a helpful message might be added like
This error may be caused by a missing LaTeX preamble. Such a preamble is supplied in `<docinfo>`.
The text was updated successfully, but these errors were encountered:
Compiling my book, I got a very strange error message while processing images:
After hunting this down, I discovered my
docinfo.ptx
file wasn't being included and sotikz
wasn't being loaded.It turns out
\resizebox
is part ofgraphicx
which is loaded bytikz
. Never having seen this error before, it took a while to hunt down, and I suspect it would be confusing even to those experienced with LaTeX (especially since\resizebox
is inserted by PreTeXt and not in the user's code).Perhaps this psecific error could be detected and a helpful message might be added like
The text was updated successfully, but these errors were encountered: