Why it gives an error when using tikzexternalize?
up vote
1
down vote
favorite
The message "Package tikz Error: Sorry, the system call 'pdflatex -hell-escape -halt-on-e" appears when I compile with pdflatex and also when I compile with pdflatex-shell-escape.
If I remove tikzexternalize from the preamble it compiles correctly, but where I know it must be used if one wishes to include tikz images in other text files. Which function has exactly tikzexternalize because this case does not need to be used.
PS: taken from How to properly include tikz pictures in other tex files?
Main file
documentclass{book}
usepackage{pgf}
usepackage{tikz}
usetikzlibrary{shapes,external}
tikzexternalize
usepackage{lipsum}
tikzset{naming/.style={align=center,font=footnotesize}}
tikzset{area/.style = {draw, shape = regular polygon, regular polygon sides = 10, thick, minimum width = 5cm}}
begin{document}
lipsum[1]
input{tikzcode}
lipsum[2]
end{document}
Simplified file (tikzcode)
begin{figure}[htb]
centering
begin{tikzpicture}[font=footnotesize]
node [area] at (0,0) (cell1) {};
end{tikzpicture}
caption{test}
label{fig:test}
end{figure}
Edited:
Correct has a space after pdflatex (see image 1) the configuration is for TeXstudio in MikTex.
In the image 2 the error appears but it produces the document.
tikz-pgf externalize
add a comment |
up vote
1
down vote
favorite
The message "Package tikz Error: Sorry, the system call 'pdflatex -hell-escape -halt-on-e" appears when I compile with pdflatex and also when I compile with pdflatex-shell-escape.
If I remove tikzexternalize from the preamble it compiles correctly, but where I know it must be used if one wishes to include tikz images in other text files. Which function has exactly tikzexternalize because this case does not need to be used.
PS: taken from How to properly include tikz pictures in other tex files?
Main file
documentclass{book}
usepackage{pgf}
usepackage{tikz}
usetikzlibrary{shapes,external}
tikzexternalize
usepackage{lipsum}
tikzset{naming/.style={align=center,font=footnotesize}}
tikzset{area/.style = {draw, shape = regular polygon, regular polygon sides = 10, thick, minimum width = 5cm}}
begin{document}
lipsum[1]
input{tikzcode}
lipsum[2]
end{document}
Simplified file (tikzcode)
begin{figure}[htb]
centering
begin{tikzpicture}[font=footnotesize]
node [area] at (0,0) (cell1) {};
end{tikzpicture}
caption{test}
label{fig:test}
end{figure}
Edited:
Correct has a space after pdflatex (see image 1) the configuration is for TeXstudio in MikTex.
In the image 2 the error appears but it produces the document.
tikz-pgf externalize
@marmot See good edition.
– Samuel Diaz
42 mins ago
I just double checked and used preciselypdflatex -synctex=1 -interaction=nonstopmode -shell-escape
, and there is no error on my machine. Of course, I do not question that you get an error, but I cannot reproduce it.
– marmot
27 mins ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
The message "Package tikz Error: Sorry, the system call 'pdflatex -hell-escape -halt-on-e" appears when I compile with pdflatex and also when I compile with pdflatex-shell-escape.
If I remove tikzexternalize from the preamble it compiles correctly, but where I know it must be used if one wishes to include tikz images in other text files. Which function has exactly tikzexternalize because this case does not need to be used.
PS: taken from How to properly include tikz pictures in other tex files?
Main file
documentclass{book}
usepackage{pgf}
usepackage{tikz}
usetikzlibrary{shapes,external}
tikzexternalize
usepackage{lipsum}
tikzset{naming/.style={align=center,font=footnotesize}}
tikzset{area/.style = {draw, shape = regular polygon, regular polygon sides = 10, thick, minimum width = 5cm}}
begin{document}
lipsum[1]
input{tikzcode}
lipsum[2]
end{document}
Simplified file (tikzcode)
begin{figure}[htb]
centering
begin{tikzpicture}[font=footnotesize]
node [area] at (0,0) (cell1) {};
end{tikzpicture}
caption{test}
label{fig:test}
end{figure}
Edited:
Correct has a space after pdflatex (see image 1) the configuration is for TeXstudio in MikTex.
In the image 2 the error appears but it produces the document.
tikz-pgf externalize
The message "Package tikz Error: Sorry, the system call 'pdflatex -hell-escape -halt-on-e" appears when I compile with pdflatex and also when I compile with pdflatex-shell-escape.
If I remove tikzexternalize from the preamble it compiles correctly, but where I know it must be used if one wishes to include tikz images in other text files. Which function has exactly tikzexternalize because this case does not need to be used.
PS: taken from How to properly include tikz pictures in other tex files?
Main file
documentclass{book}
usepackage{pgf}
usepackage{tikz}
usetikzlibrary{shapes,external}
tikzexternalize
usepackage{lipsum}
tikzset{naming/.style={align=center,font=footnotesize}}
tikzset{area/.style = {draw, shape = regular polygon, regular polygon sides = 10, thick, minimum width = 5cm}}
begin{document}
lipsum[1]
input{tikzcode}
lipsum[2]
end{document}
Simplified file (tikzcode)
begin{figure}[htb]
centering
begin{tikzpicture}[font=footnotesize]
node [area] at (0,0) (cell1) {};
end{tikzpicture}
caption{test}
label{fig:test}
end{figure}
Edited:
Correct has a space after pdflatex (see image 1) the configuration is for TeXstudio in MikTex.
In the image 2 the error appears but it produces the document.
tikz-pgf externalize
tikz-pgf externalize
edited 8 mins ago
Zarko
117k865155
117k865155
asked 1 hour ago
Samuel Diaz
26918
26918
@marmot See good edition.
– Samuel Diaz
42 mins ago
I just double checked and used preciselypdflatex -synctex=1 -interaction=nonstopmode -shell-escape
, and there is no error on my machine. Of course, I do not question that you get an error, but I cannot reproduce it.
– marmot
27 mins ago
add a comment |
@marmot See good edition.
– Samuel Diaz
42 mins ago
I just double checked and used preciselypdflatex -synctex=1 -interaction=nonstopmode -shell-escape
, and there is no error on my machine. Of course, I do not question that you get an error, but I cannot reproduce it.
– marmot
27 mins ago
@marmot See good edition.
– Samuel Diaz
42 mins ago
@marmot See good edition.
– Samuel Diaz
42 mins ago
I just double checked and used precisely
pdflatex -synctex=1 -interaction=nonstopmode -shell-escape
, and there is no error on my machine. Of course, I do not question that you get an error, but I cannot reproduce it.– marmot
27 mins ago
I just double checked and used precisely
pdflatex -synctex=1 -interaction=nonstopmode -shell-escape
, and there is no error on my machine. Of course, I do not question that you get an error, but I cannot reproduce it.– marmot
27 mins ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462893%2fwhy-it-gives-an-error-when-using-tikzexternalize%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@marmot See good edition.
– Samuel Diaz
42 mins ago
I just double checked and used precisely
pdflatex -synctex=1 -interaction=nonstopmode -shell-escape
, and there is no error on my machine. Of course, I do not question that you get an error, but I cannot reproduce it.– marmot
27 mins ago