{shell-escape} is about the “--shell-escape” argument, i.e. to enable external running of commands from inside the ‘.tex’ file.

learn more… | top users | synonyms (1)

1
vote
1answer
72 views

How to do shell-escape in TeXWorks?

I know this question has been asked a lot of times, however I can't seem to fix my problem. My problem is as follows, I am using MikTex 2.9 and TeXWorks and I try to add the --enable-write18 to enable ...
2
votes
1answer
74 views

xelatex -shell-escape permission

I'm quite confused what means -shell-escape option. I'm trying to beutify creating my tikz images (differently from editing PDFs in Photoshop). I'm using xelatex and TeXnicCenter. I haven't read shell ...
0
votes
1answer
51 views

round box around theorem [on hold]

When I run the following file I get error: must run latex with -shell-escape flag. How do i do that? \documentclass[a5paper]{article} \usepackage[]{minted} \usepackage{tcolorbox} ...
5
votes
2answers
91 views

Timing response of externally called commands via write18: blocking or not?

I was wondering: when we use \immediate\write18{...} to run commands in an external shell from Latex, is the \write18 a blocking call or not? In other words, will it wait for the external code to ...
1
vote
1answer
106 views

“Shell escape not enabled” error, even though write18 is enabled

I have enabled write18 by telling TeXlipse to call pdfLaTeX using the --enable-write18 option. However, this does not seem to work properly. The code \documentclass{scrartcl} \usepackage{tikz} ...
1
vote
0answers
142 views

externalize pfgplots fails with shell escape enabled (TexLive-2013 Mac)

I have the following Problem: I am using matlab2tikz to get my Matlab plots into latex. I have very large time series, that i already cut down using resampling. Nevertheless my I need a lot more time ...
3
votes
1answer
118 views

\write18 encoding

I wrote a bash script osmimage (source for tests), that downloads a map given by an address. I want to write a package that calls this script with \write18, but there are a few problems. The ...
6
votes
1answer
75 views

How to adapt a batch-script / write18-call to Linux systems

I want to compile a bunch of (independent) documents from a main.tex file. The documents are in subfolders and as they can load input files and graphics from other subfolders I need to change the ...
4
votes
1answer
124 views

Can't enable shell-escape

I've been trying to add the --shell-escape argument to my pdflatex, and right about nothing works. I'll summarize what I've done so far: Add --shell-escape to existing pdflatex.exe Add ...
0
votes
0answers
145 views

pgfplots + gnuplot not working, shell escape and windows PATH are ok

I'm trying to get pgfplots to work with gnuplot to get this answer to work (i.e. triangulate a surface from a set of points). Shell escape was already enabled since I use TikZ externalization. gnuplot ...
19
votes
4answers
378 views

Two pdf versions from one single .TEX file?

I publish a lot for science journals and some of them are very strict on the number of pages your manuscript will be, as usual the final version of the articles is double column but for review and ...
2
votes
1answer
83 views

-shell-escape for gnuplot: it does not works when I launch pdflatex programatically

The situation and the issue When I launch pdflatex from another program, programatically, it seems that, even with the option -shell-escape, I am not able to launch gnuplot. I have asked to ...
4
votes
1answer
250 views

Custom Build Settings in Sublime

I'm using LatexTools for Sublime 2. I want to add the parameter -shell-escape to the build command, but struggling. The documentation says not to edit 'LaTeX.sublime-build', but to edit ...
2
votes
1answer
69 views

Toggle permission to use shell escape in document itself

Permitting LaTeX to execute shell code (aka -enable-write-18) is dangerous. But I sometimes need it due to dot2texi. So in my IDE (which in my case is WinEdt) I manually switch it on when I work ...
5
votes
0answers
188 views

Where and how to enable '--shell-escape' or '--enable-write18' of pdflatex.exe in LaTeXTools of Sublime Text?

I know how to deal with the problem with the older version of LaTeXTools. But recently LaTeXTools has been updated, which turn out to deprive me of knowing what to do. I use Windows+MikTex, by the ...
3
votes
1answer
90 views

Generate .1 files from MetaUML .mp files automatically with latexmk

I'm currently creating a personal LaTeX package and base .tex document that I can use to typeset my Computer Science reports at my university. One of the features I would like to have is to make UML ...
3
votes
2answers
76 views

copy file using \write18 that works on both Windows and Unix

I would like to make an exact copy of a file during a TeX run. It is important that the copy be exact, since I am also comparing files and taking action depending on whether they have exactly the same ...
1
vote
0answers
103 views

restricted write18 is preventing the command: runsystem(gnuplot filename.gnuplot) from being executed

That pretty much says it all. I'm on a mac, using Texmaker, gnuplot works well with aquaterm, I can pass code for diagrams from GeoGebra (geometry package) that works fine. It seems like using ...
5
votes
1answer
385 views

Setting up LaTeX -> DVIPS -> PS2PDF with Shell-Escape (in TeXStudio)

I am trying to set up a "user command" on TeXStudio with the purpose of compiling with shell-escape and the LaTeX -> DviPs -> Ps2Pdf cycle. This is what I have done to get shell-escape to work ...
4
votes
2answers
104 views

How to deal with macro expansion and 'TeX capacity exceeded' when using write18?

This issue is driving me nuts. Ever since the friendly and knowledgeable people here on tex SE have guided me to doing multiple string replacements the proper way, I've been trying to incorporate that ...
4
votes
1answer
132 views

how to execute external commands from (Xe)(La)TeX?

i'm trying to capture output from an external command in a XeLaTeX document. as per http://tex.stackexchange.com/a/20566/28067 and http://stackoverflow.com/a/8929976/256361, i'm specifically doing ...
5
votes
1answer
108 views

External inline filters, markdown, latex, beamer, and standards

I read Converting Markdown to LaTeX, in LaTeX and a couple of related posts. They are about a year old. is there now a quasi-standard package that enables generic filter plugins, allowed if ...
4
votes
1answer
128 views

\includegraphics{\input{|shell command}}

I want define a command "\foo" which outputs the result of a shell command, such as: \newcommand{\foo}[1]{\input{|"#1"}} This works, except if I'm trying to use this command in the context of ...
4
votes
1answer
308 views

Use restricted-shell-escape with TexStudio on TexLive?

The package auto-pst-pdf.sty needs shell-escape to run, but shell escape is known to be seriously unsafe. Is there a possibility to tell auto-pst-pdf.sty to use restricted-shell-escape instead? I'm ...
22
votes
3answers
416 views

How to compile the same input file for each of LaTeX font packages installed in our machine?

Inspired by my question How to create a PDF presentation for each available Beamer theme automatically?, now I want to compile my input file for each available LaTeX font package installed in my ...
4
votes
1answer
91 views

Why does \includegraphics[\varone]{\vartwo} not compile?

I want to convert each EPS image imported from within the input file to a PDF version and save it with its original name separately. The code below simulates the real condition in which we don't want ...
1
vote
1answer
82 views

External command visibility in Texmaker

How commands defined in my shell RC file (e.g. .bashrc) can be made visible to Texmaker? Consider the following code: \begin{tikzpicture} \begin{axis} \addplot shell {python -c 'print 0,0'}; ...
2
votes
1answer
178 views

Programmatically load an image from LyX

Following the accepted answer to this question: Can I use an image located on the web in a LaTeX document? I am trying to insert the following code to a trivial LyX document: \write18{wget ...
1
vote
1answer
350 views

shell-escape is not enabled with emacs

I use Emacs as an editor, and I would like to compile a file that contains PSTricks code with LuaLaTeX. The version of Emacs is : GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.18). My ...
4
votes
2answers
858 views

How to enable --shell-escape when using pdflatexmk?

I want to use the auto-pst-pdf package and therefore I need the --shell-escape option to be enabled. I did this in my TeXShop preferences as follows: However when I use pdflatexmk (by writing % ...
23
votes
1answer
650 views

How to make pdfLaTeX multithreaded when `--shell-escape` is enabled?

I am using \write18 enabled (or --shell-escape) with externalization to compile a bunch of PGFplots. The first run takes much time, and I noticed that pdflatex only runs on one CPU core. Is there any ...
4
votes
1answer
211 views

output-directory and shell commands

Let's use a small example to use gnuplot to draw a nice function using tikz. \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw plot[domain=-3:3,samples=100] ...
1
vote
2answers
478 views

TeXworks with XeLaTeX + MakeIndex + BiBTeX + shell escape?

I have tried following this answer, but it gives me: xelatex.exe: Invalid command-line option xelatex.exe: Data: unknown option Shell-escape is required for minted, and is enabled for ...
6
votes
1answer
130 views

Shell-escape with LaTeX 3

What is the LaTeX 3 equivalent to \write18 if there is one? I want to call lilypond from within my TeX document.
6
votes
0answers
163 views

Does LuaTeX access write18 differently from pdftex?

Im trying to make a speedup-option for gnuplottex using md5 checksums. This works like a charm for pdftex, but it fails for LuaTeX. The comparison of the checksums work, the difference occurs when ...
2
votes
1answer
1k views

Enabling “--shell-escape” on TeXworks under MiKTeX

After resolving the problem on my previous question, I applied to finally install Gnuplot 4.6; and after a successful installation I had to allow the --shell-escape option on TeXworks, so I added a ...
1
vote
1answer
124 views

How can we enable -shell-escape to tex4ht's htlatex or related program?

Can we enable -shell-escape through any option without editing the default htlatex program? OR Can we achieve this using mk4ht ht?
4
votes
1answer
994 views

Emacs and latexmk setup for --shell-escape

If I want --shell-escape, do I just need to add it to my .latexmkrc file as $pdf_mode = 1; $pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode %O %S -file-line-error -synctex=1'; ...
8
votes
1answer
157 views

Write18: LuaTeX has an encoding problem, where XeLaTeX does not

xelatex (with option --shell-escape) compiles this document fine: \documentclass{article} \usepackage{fontspec} \begin{document} LuaTeX is not \immediate\write18{echo uber | sed y/u/ü/ > inc.tex} ...
6
votes
1answer
1k views

How can I setup PGFPlots to work with gnuplot?

Notes: I'm using Windows 8 and TeXworks. Also, I have never used gnuplot by itself, so I am unfamiliar with it. I'm trying to use PGFPlots with gnuplot to graph functions. I have not been able to ...
5
votes
2answers
1k views

raw gnuplot in pgfplots

I have a problem with the gnuplot environment in pgfplots. I already set "--enable-write18" in the argument of pdfLaTeX and added the path of gnuplot.exe to the PATH-variable in the advanced system ...
1
vote
1answer
435 views

Using “latex” to externalize tikz graphics wont work

I am lost in tex! I try to run a tay example, which you can find here: EXAMPLE If I run it, using pdflatex -src -interaction=nonstopmode -shell-escape faster-latex-part2.tex everything works fine, ...
7
votes
1answer
122 views

Writing environment content verbatim to file, calling Graphviz and including source/image

Based on Write environment body verbatim to a file I try to write the content of a environment verbatim to a file, call an external tool (in my case the awesome Graphviz) and include the source code ...
6
votes
1answer
108 views

Problem using \write18 in beamer frame

I am stuck in front of this little but annoying problem. I am trying to use a \write18 command in which I use a local variable \mytest. I really don't understand why this SWE works if I comment the ...
0
votes
1answer
851 views

Exporting TikZ figures to .EPS

i'm trying to export a TikZ picture to .eps using the following on Win7 (MikTeX), compiling with pdflatex: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} ...
5
votes
1answer
1k views

“shell escape” is not enabled - chemscheme/chemstyle

I am having issues with -shell-escape. I do not know really what this is, and how to apply it. Furthermore, I have read elsewhere that I is possibly dangerous to summon this command. Any help would be ...
1
vote
1answer
109 views

Automatically include an SE flair in output document [duplicate]

Under the assumption that my machine is connected to the Internet, how can I automatically include my TeX.SE flair in my output document at compile time? My understanding is that an SE flair is ...
6
votes
1answer
421 views

gnuplottex and lualatex

EDIT: This question covers a bug in gnuplottex which will be fixed in TeXLive 2013.If you still want to have the bug fixed, download the latest upstream version from CTAN and compile it yourself. ...
7
votes
2answers
890 views

PSTricks and LaTeX vs. pdfLaTeX

I'm trying to convert my thesis to pdfLaTeX, as latex + dvips behaves ugly when it comes to break (really long) URLs... I'm using up-to-date TeXLive 2012 on Linux. The only problem is (so far), that ...
9
votes
1answer
128 views

Suppress message during compilation

I use a macro with \write18 and \@@input, several times in each page of a large document. But \@@input output a message during compilation: (filename) This is very annoying and flood the other ...