{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)

0
votes
0answers
3 views

sublimetext 2, auto-pst-pdf, enable shell escape, chemnum

I'm quite new to Latex (and Sublime Text 2) and currently writing my master thesis with them. I need to draw a lot of molecules and want to number them throughout the whole thesis. No, problem, used ...
1
vote
1answer
32 views

shell escape is disabled

I am trying to use minted for code highlighting. Now to use this package I need to enable shell escape. So I have set the compiler options as follows: However, I am still getting the same error ...
2
votes
0answers
39 views

Auto-pst-pdf, LuaLaTeX, and chemnum broken in TexLive 2016

I was testing some chemnum stuff now that I've updated to TexLive (TL) 2016. And Im getting and error where the auto-pst-pdf output PDF <basename>-pics.pdf is produced, but the main output, <...
1
vote
2answers
18 views

How to make a literal backslash in the digraph pacakge?

I'm trying to use the backslash \ character in one of my node names in the digraph package: \documentclass{standalone} \usepackage{graphviz} \begin{document} \digraph[scale=0.5]{abc}{ rankdir=LR; "\...
11
votes
1answer
280 views

Solution to 'Multiple PDF generation with one tex file' does not work anymore with TeXLive 2016

The solution in Multiple PDF generation with one tex file worked with TeXLive 2015 and is now broken in TeXLive 2016, at least on OS X El Capitan. Minimal Example: \documentclass{article} \ifx\...
0
votes
1answer
28 views

minted complilation problem when changing machine

I'm writing a document science 7 months in my office desktop and every things worked well, but when I take all files to compile in my home computer, I got this error compilation with the minted ...
1
vote
1answer
151 views

How to run shell command with \write18?

I want to use the command \write18 with shell or other excutables rather than only a restricted list of programs as it says here: http://tex.stackexchange.com/a/20446/92620 How can i bypass the ...
1
vote
1answer
58 views

pgfplot Memory Problem

I am plotting groupplots like this The data set is quite large (15000 data points for each plot and each group has 5 such plots). When Latex threw memory shortage error, I tried using ...
2
votes
1answer
38 views

How to use standalone class to produce bitmap files with different names?

I have a few TikZ pictures in my document using the standalone class (with -shell-escape, and I want the resulting bitmaps to have more human-friendly names than file-0.png, file-1.png etc. I thought ...
4
votes
1answer
77 views

Problem with writing the output of kpsewhich to a file

I create in my folder a file "blub.temp" and then tried out the following \documentclass{article} \usepackage[T1]{fontenc} \usepackage{shellesc} %correct small bug in shellesc: \protected\def\...
1
vote
0answers
56 views

How can I plot a google maps in sharelatex?

I found a way to do this but not in Sharelatex, it is possible? The problem is activate \write18 in sharelatex, how can I do this? \documentclass{article} %\usepackage[latin1]{inputenc} %\usepackage[...
0
votes
1answer
64 views

Run pdflatex.exe from LuaLaTeX document

My document-combiner combine pdf-files via package pdfpages using command \includepdf. But before including, a source tex compiling by pdflatex.exe to produce the pdf. But now I have a little ...
6
votes
0answers
108 views

Chemical compound numbering in pdfLaTeX without `--shell-escape`?

The package chemscheme, included in chemstyle, allows for temporary text "tags" in .eps files to be replaced with designated chemical compound enumerations (A, B, C, ...; 1, 2, 3, ... ; etc.). This ...
2
votes
1answer
42 views

Piping \write18 commands and ltxguide

The following works in an article: \documentclass[a4paper]{article} \title{Foo} \author{Me} \begin{document} \input{|"echo foo bar | grep foo"} \end{document} Instead of that \input, this also ...
2
votes
1answer
120 views

gnuplottex and shell-escape

I am trying to get gnuplottex running in this MWE: \documentclass[a4paper, 11pt]{article} \usepackage[cm]{fullpage} \usepackage{gnuplottex} \begin{document} \begin{figure}% \centering% \begin{...
3
votes
0answers
75 views

How to escape double quotes in \input

I'm trying to call shell commands that contain multiple (nested) quotation marks. This is, for instance, what I would write on the shell: $ python -c "print \"Hello World\"" which produces Hello ...
0
votes
0answers
91 views

TexStudio EPS to PDF doesn't work (Macbook El Capitan)

I had a problem running for weeks, still not able to solve it. Could anyone help me? The EPS to PDF works fine on Windows or ShareLaTeX, however, it does't work on Macbook El Capitan. Below is the ...
0
votes
0answers
61 views

How to enable -shell-escape in TeXworks?

I am trying to compile a Tikz diagram externally. I am using TeXworks 0.4.6 and have done everything as per this response. Here is my code: \documentclass[12pt]{article} \usepackage{pictexwd,dcpic} \...
2
votes
1answer
49 views

accessing bash to get git information in TeX macro

I'm not sure if this is possible, but my goal is to include some information about the current point of my LaTex file in its git source history in the PDF output of my file. What I want to be able ...
6
votes
0answers
95 views

Unable to get music notation with abc package

I want to do some simple music notation and decided to try the abc package as a less-steep option. However when I tried the simple example: \documentclass{article} \usepackage{abc} \begin{document} ...
2
votes
1answer
93 views

XeLaTeX with tikz external library produces pdfs of wrong size

I am trying to use TikZ and its external library together with XeLaTeX for example in this MWE where I use scrbook for compatibility to my large document, where the error occurs. % !TEX TS-program = ...
2
votes
1answer
127 views

Missing Display Fonts at eps Figure Export from Tikz

This question is similar to the one here. The accepted answer there seems to be working in general, I get a readable .eps-file. If I open it however it looks pixelated and the fonts seem weird. At ...
8
votes
1answer
103 views

How to generate robust verbatim bibliography data

I'm trying to generate a .bib-shaped "biblatex" database from a git change log. A typical(?) item looks like this: @gitcommit{f1750d6, author = {Brent Longborough}, date = {2013-12-15}, title = {...
1
vote
0answers
53 views

Copy file automatically with write18

With the following mini-template, I want to copy the distnate pdf file into another one automatically as I run pdflatex with --shell-escape: \documentclass{article} \begin{document} Just a test. \...
0
votes
1answer
53 views

Running pythontex from TeX using \immediate\write18 fails

Running pythontex from TeX using \immediate\write18 fails, for reasons that are unclear to me. See my example file below. Running pdflatex -shell-escape p.tex does not produce the pycode.txt file ...
1
vote
1answer
123 views

Enable \write18 for package getmap

Is there a way to enable write18 from the tex file without adding any parameters in the config files ? The idea would be to build this file without modifying anything else but this file.
1
vote
1answer
58 views

Passing details (commands) between two

I'm working on my CV and the covering letter and I would like to compile both documents (two different document classes) in one run (more or less). Either way, I followed the example as shown in this ...
3
votes
1answer
636 views

Using gmp with shell-escape in Windows 10, MiKTeX 2.9, WinEdt 9.1

Windows 10, MiKTeX 2.9 64-bit, WinEdt Build: 20150731 (v. 9.1) - 64-bit. I have updated the filename database and all format files in MiKTex 2.9. I am using the gmp package that allows MetaPost ...
1
vote
1answer
148 views

TexMaker hangs when running shell scripts [closed]

I have trouble using \write18 within TexMaker. I created a 'user command' within TexMaker, which invokes a simple shell script. But even that has trouble executing. It just seems to wait forever. ...
3
votes
2answers
66 views

Pgfplots: raw gnuplot set datafile commentchars '#%'; How to escape '%'?

MWE \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.12} \usepgfplotslibrary{groupplots} \makeatletter \def\Printdimensionless#1{\strip@pt \dimexpr #1\relax} \makeatother \...
4
votes
1answer
164 views

Postprocess pdf with \write18

I want to run a postprocessing script on my pdf. For integration with my editor it should be executed at the end of the pdflatex run, automatically -- ideally without having to change the compilation ...
1
vote
0answers
92 views

Resizing images based on DPI and display size

I find that my pdfs are exceedingly large, since I use many high quality pictures in them. To automatically reduce the quality, I found this question [ Can pdflatex (or any tex package) automatically ...
3
votes
1answer
66 views

Macro expansion in \write

I want to use a macro in \write18, but this causes the space after it to be ignored. The following example prints foobar to test.txt, whereas I want it to print foo bar: \documentclass{standalone} \...
6
votes
2answers
339 views

Get return value of `\write18`

I'm using \immediate\write18{./somescript.sh} to execute my own shell script at the beginning of the latex compilation process. Is there a possibility to get the return value afterwards?
5
votes
1answer
133 views

Filtering through an external command in LaTeX?

Is there any way in LaTeX to define an environment, say, \begin{markdown} This will be *processed* as [Markdown](http://daringfireball.net/projects/markdown/)! \end{markdown} which passes the ...
7
votes
2answers
144 views

How to insert a # via \immediate\write18 within a macro

It seems that using \immediate\write18{echo "\string#!/bin/bash (version 1)" > \jobname.command}% outside of a \newcommand works great. However, I want to invoke within a \newcommand: \...
1
vote
0answers
89 views

tikzexternal, asymptote and duplicated asy files

I'm trying to work with tikzexternal and asymptote for my documents. Here is a sample TeX document : \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{...
4
votes
1answer
480 views

Run a shell script (with parameters) from a PDF generated by LaTeX

I want to have a link in my PDF generated by pdflatex which executes a shell script, and this part works great. The problem I am running into is that I need the link in the PDF to be able to pass ...
2
votes
1answer
79 views

Psfragfig conflict with bibliography

I have a problem using psfragfig and \bibliopraphy. When I don't include the biblio-fille via \bibliography(biblio) the command \psfragfig works well. Once I apply \bibliography(biblio) I can read in ...
0
votes
0answers
285 views

Tikz externalisation not working despite enabling write 18 or shell escape

I am trying to set up tikz externalisation so I can save individual images as .pdfs (and eventually .png's). I am trying to run the following code in TeX works, W7, MikTex 2.9. I have changed the ...
1
vote
1answer
269 views

Shell Escape in Miktex 2.9 for CSVsimple

I am quite new to LateX and I have been trying for the past few days to do a Shell escape in Miktex 2.9/ TeXworks in my pdflatex+Makeindex+bibtex typesetter so that I could be able to use the ...
1
vote
0answers
330 views

Memory overload due to pgfplots / tikz

first of all, I need to mention that there are 2 related threads, that I found usefull: 1, 2. I am working with TeXstudio 2.8.8 on Win 7 64bit (i5 @3.3GHz, 8GB RAM - if this matters). My goal is to ...
2
votes
1answer
923 views

tikzexternalize in TeXMaker doesn't work [closed]

I'm having some troubles while compiling my thesis with the tikz externalize feature in Texmaker. I created the user command: "D:/laTex/texlive2014/bin/win32/pdflatex.exe" -synctex=1 -interaction=...
2
votes
0answers
187 views

Options problem with LaTeX using AucTeX

In my file, I use the package minted that require to use the option -shell-escape . In order to use this option, I need to add the following line in AucTeX : %%% TeX-command-extra-options: "-shell-...
1
vote
0answers
28 views

\immediate\write18 cannot handle %? [duplicate]

I would like to do something like this: \immediate\write18{git log -1 --pretty=format:"%h-%ad" --date=short > /tmp/temp.dat } however, xelatex cannot proceed because the % means comment out if I ...
1
vote
1answer
938 views

How to do shell escape in Texniccenter?

I heard that PStricks pictures can be compiled separately using the command shell escape. What should I do in order to implement it in my document? I cannot find any tutorial explaining the procedure ...
5
votes
2answers
171 views

Writing environments out to files and prepending/appending additional code

I am using the following code snippet to write environments out to files and run arbitrary commands (like python or Rscript). It works quite nice however I would like to write something to the file ...
5
votes
1answer
147 views

copy finalised PDF to new directory

I want to automatically make a copy of the finalised PDF in a new directory once it is compiled. As part of my workflow, each article (of my thesis) (and the associated graphics) is stored in its own ...
4
votes
1answer
150 views

\includesvg produces “No room for a new \read”

I've already searched a lot about it and I'm aware of both questions "No room for a new \read" with writing a journal and No room for a new \read/\write. Still, I couldn't find a solution to ...
2
votes
0answers
616 views

Problem importing eps files with auto-pst-pdf [closed]

First post, so I hope I'm doing it right. I use Windows 7, TexMaker, MikTex 2.9. TexMaker and MikTex are newly reinstalled, and that's where the problem started. It worked before, but not now. I ...