-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples fail on recompile using Overleaf #49
Comments
Thanks a lot for the detailed report, that is indeed a weird bug. I need to check if I can reproduce without overleaf when I get back to a laptop, but my guess is that overleaf cleans automatically all cached |
This is because you need to load:
as documented (maybe I should move this in the example directly). The clarity of the error message and a recent non-backward-compatible change made by pythonhighlight is discussed in #33 |
Ok, so a workaround is simply to change the |
Thanks @tobiasBora! Overleaf caching I took your approach of changing all occurrences of -code.txt into -code.pdf and -print.txt into -print.pdf. It worked for the initial examples, but I had trouble with some others. See https://www.overleaf.com/read/rwkgzkghnwtq#744f8d. In particular, latex with Formatting issue \usepackage{pythonhighlight}
\usepackage[most]{tcolorbox}
\robExtSetPlaceholder{__ROBEXT_PYTHON_LSTINPUT_STYLE__}{frame=single, breakindent=.5\textwidth, frame=single, breaklines=true, style=pythonhighlight-style} The key is replacing |
Yeah, this make sense, seems like overleaf also clears the robust-externalize/robust-externalize.sty Line 3598 in 75beeaa
\input{foo.pdf} , but I have no computer to test right now… This suggests even more that overleaf should fix this bug on their end…
Oh, pythonhighlight already pushed their code to CTAN… arg. So I'll need to quickly deploy a backward compatible fix. I think I found an elegant solution that I need to implement when I've some time. |
That worked! I had to replace it in 5 places, at least for my examples at https://www.overleaf.com/read/rwkgzkghnwtq#744f8d. Thank you for your work on this! |
Using Overleaf, I can get
robust-externalize
working upon initial compile but not when recompiling. Below I've included the relevant code, and here is a link to a MWE Overleaf Project.To replicate the issue, recompile from scratch then recompile.
Upon recompile, you get this error:
Under
Other logs and files
, there is anfile though...
Separately, as you see in the code here, I had to add some additional bits in order to get the example to show up anything like in the docs upon the first recompile from scratch. Why?
The text was updated successfully, but these errors were encountered: