How to safely compile arbitrary LaTeX code? #30
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have in mind https://www.overleaf.com/project/624bebbd68fefad2562d8b93.
Should ask a search engine the question as is.
Otherwise concerning arbitrary shell command execution I found the Stack Overflow question 3252957.
https://www.texdev.net/2009/10/06/what-does-write18-mean/
If I remember correctly for working with SVGs or/and PDFs Inkscape is involved and requires modifying Kile compilation parameters. Maybe
svg-inkscape
folders are related.Maybe Settings > Configure Kile... > Tools > Build > Select a tool > PDFLaTeX > Choose a configuration for the tool PDFLaTeX > General > Options: --shell-escape.
To leverage #12.
Related to Improve_websites_thanks_to_open_source/issues/713.
Source: the Stack Overflow answer 3253068
create a file next to the
\LaTeX
file.Just printing the result of the command to the document is also interesting, see the Stack Overflow answer 3254927.
makes quite clear what compilation the output is coming from.
If I remove Kile above compilation parameter I get
File
|date.tex' not found. \input{|"date"}` error that I was not having and no PDF is generated.So the question is what correct usage do I have of this command and how can I only allow such usage?
Also have to pay attention with more external modifications with Overleaf usage, that I do not compile for instance when just opening Kile and it compiles automatically a potentially malicious change.
What about
pdflatex
command? Knowing this may help #31.Related to Benjamin-Loison/latex2e/issues/10.
Related to overleaf/wiki/Server-Pro:-Sandboxed-Compiles/156e2d963dcba80b7047491eb58993b84479e725, #20 and #10.