Add an 'engine_args' option similar to tinytex's. #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The issue #172 reported the difficulties to use
tikzDevicein a \LaTeX file using packages needing the-shell-escapeoption to {pdf|xe|lua}latex in order to access the filesystem and system commands.This patch request implements a solution to issue #172. it adds an argument
engine_argssimilar to the one present in tinytex, with a corresponding global optiontikzEngineArgs.This patch request passes
R CMD check --as-cran. I have installed it on R 3.4.4 and 3.5.1.Of note : this is not sufficient to use it transparently for use with
knitr; in order to use t transparently, you also tave to settinytex.engine_argsto the same-shell-escapevalue. I think that this is a bug in the way my system (emacs) invokes the various compilers, an consider it a different problem.Home this helps...