Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

26
votes
1answer
12k views

Export eps figures from TikZ

Section 32 Externalization Library of the pgfmanual (v2.10) explains how to generate PDF figures and EPS figures. I successfully tried it with PDF output (there is an example with a full explanation ...
14
votes
1answer
2k views

pgfplots: externalization and legend referencing

There are some issues when using the pgfplots option legend to name together with externalization. When I disable externalization, everything works fine. When I enable externalization, I get an error ...
14
votes
1answer
2k views

Externalization to other format, Makefile. Add new rules to the makefile

Through using Christian's method of externalization, shown below, one can convert the pdf's to any chosen format right after the externalization at hand. \documentclass{article} \usepackage{tikz} ...
10
votes
2answers
3k views

Precompiled preamble with TikZ/Externalize

I'm using the externalize capability of TikZ (external library) to speed up compilation of my TikZ pictures (as explained in Script to automate externalizing tikz graphics). In addition, I would like ...
2
votes
1answer
2k views

Attempt to export EPS figures from TikZ fails

I'm attempting to output EPS figures when using MikTeX 2.8 under Windows XP, and am following Export eps figures from TikZ. My problem is that I can't get the bare example given there to run. The ...
19
votes
4answers
3k views

Override TikZ externalize “up-to-date” flag

I am currently using the TikZ external package in order to avoid recompiling all figures in my thesis. There are more than 50 figures, relying on large data, and a full build without externalizing ...
8
votes
1answer
752 views

Problem with environment expansion and the Tikz external library.

I've created my own environment mytikz, which basically looks like this (full MWE): \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{external} \newenvironment{mytikz}{%begin code ...
3
votes
2answers
121 views

TikZ won't let me externalize and halts on error

TeX Live 2013 I am using pdflatex TeXstudio 2.7.0 Win 7 64 bit Taken from the .log file, via \listfiles: tikz.sty 2013/12/13 v3.0.0 (rcs-revision 1.142) This... MWE \documentclass[ a4paper ...
19
votes
3answers
2k views

TikZ externalize, pgfplots and animate

I gave a very fetching presentation written with beamer today. It included a pgfplot animated with the animate package, and the result was fantastic. The problem? One of my colleagues wants to borrow ...
23
votes
1answer
626 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 ...
13
votes
2answers
963 views

Draft mode in Tikz externalize hides graphics, but not without externalize

Maybe this is expected behaviour, but it's not documented in the manual, and it certainly surprised me. When you use the draft class option and use the tikz external library, all Tikz pictures are ...
10
votes
1answer
2k views

tikzexternalize only (or not) for flagged graphics

I have a couple of pictures in my work so I started to build them extern in order to increase build speed. But I don't want to externalize all of them, I want a few little pictures to be build ...
12
votes
2answers
833 views

Use tikz external feature with beamer \only

I would like to use the beamer \only with tikz while external is activated. The problem is, that the \only get ignored. (see also the MWE). I would love to cache the tikz pictures, because it would ...
6
votes
1answer
672 views

From inside a LaTeX article, I want to render several parts of the code into a separate png (a “render pass”)

I have a long article with many, say, TikZ images. Let's say it looks like: \documentclass{article} \usepackage{tikz} \begin{document} ...much more stuff... \begin{tikzpicture} \draw[red] ...
5
votes
1answer
2k views

Externalising TikZ pictures using XeTeX

I'm trying to use TikZ's external library with XeTeX, for example, and I'm running into some issues. Having set external/system call={xelatex \tikzexternalcheckshellescape -halt-on-error ...
9
votes
1answer
395 views

Recreate plot when data file changes

Is it possible to use the TikZ/external library and have pgfplots recreate a figure when a data file that is plotted changes? Say I have something like the following: file.tex: ...
7
votes
1answer
780 views

Compiling CircuiTikZ with -shell-escape (pdflatex)

I'm trying to use both CircuiTikZ and pgfplots. In order not to overflow LaTeX memory, I use the TikZ externalize library with -shell-escape command in pdfLaTeX. It compiles the pgfplots nicely, but ...
4
votes
1answer
781 views

References in externalized pgfplots

I was writing on an document with a lot of pgfplots in it. Because of the memory limitation in LaTeX and in order to save some compiling time I tried out the externalize command. With most of the ...
1
vote
2answers
278 views

MWE for externalize + automatic recompilation after tikz figure modification

I am using the external library to avoid recompiling tikz figures unnecessarily in a large document. Every now and then I have to change some details of some selected pictures. After the modifications ...
21
votes
3answers
1k views

todonotes and tikzexternalize

In my document I use todonotes and TikZ/pgfplots. After activating the externalization in TikZ I realized that todonotes are all exported as well (because they are based on TikZ). This behaviour is ...
13
votes
2answers
366 views

TikZ External: Figure gets cropped

Arrow heads from the following MWE are cropped when externalized. What am I doing wrong? MWE: \documentclass{report} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \begin{document} ...
10
votes
2answers
798 views

tikz External: \tikzsetnextfilename and \tikzpicturedependsonfile

Consider the following MWE. If \tikzpicturedependsonfile is commented out, the code runs as expected. A.dep is created stating the dependency of A.pdf on A.dat. Now, lets try to add the tikz source ...
5
votes
1answer
306 views

tikzscale and \tikzsetnextfilename do not work together

\tikzsetnextfilename does not work with tikzscale package. In the MWE, included file is A.tikz which should produce A.pdf. MWE works if tikzscale is not used. MWE: \documentclass{report} ...
10
votes
2answers
273 views

Why is fixltx2e incompatible with tikzexternalize

I had some weird problems with tikzexternalize sometimes working sometimes not. I narrowed it down to the culprit fixltx2e. Here is a MWNE (Minimal not working exmple) @ ALtermundus: Yes this is ...
9
votes
1answer
288 views

externalize pgfplots, and only pgfplots

I would like to externalize the plots in my document (using pgplots), but not other inline stuff, such as bonds automatically drawn by chemmacros. That is, in the following test document: ...
5
votes
1answer
272 views

Referencing a Vertex that has Math Typesetting inside it to make an Edge

I want to create math font inside of my vertex circles, AND draw edges between them. How I typically create network graphs is as follows: \usepackage{tkz-graph} \begin{tikzpicture} ...
4
votes
1answer
432 views

Beamer overlays, tikz external and custom file name

This is a follow-up question from Use tikz external feature with beamer \only . Andrew's answer there is excellent, and does the job (almost) perfectly. The rough edge I have found was when I tried ...
3
votes
1answer
300 views

TikZ External and tikzscale: Figure is regenerated every time

I am using tikzscale with tikz external library in the list and make mode. Before using tikzscale, if I issued make -f main.makefile command, only the figures that were not present would be generated. ...
2
votes
1answer
733 views

Referencing externalized pgfplots with subfig and cleverref

I use pgfplots to produce a vast amount of images in my document. Due to limited LaTeX memory, I am forced to use \tikzexternalize. Moreover, I also use the subfig package to group several pictures ...
9
votes
2answers
251 views

Are the TikZ libraries cd and external incompatible with one another?

Is there a way to use the TikZ libraries cd and external together? This does not work: \documentclass{article} \usepackage{tikz} \usetikzlibrary{cd, external} \tikzexternalize \begin{document} ...
5
votes
1answer
367 views

Using tikzexternalize with pdflscape results in rotated image

When using the external TikZ library to externalize an image in a pdflscape landscape environment, the resulting image is rotated by 90 degrees. This does not happen when including "normal" images. ...
5
votes
1answer
689 views

Why does tikz neither draw nor externalize my picture?

I'm trying to generate a gif from a tikz picture, using tikz's external library. Ultimately, my plan is to Convert a picture to gif write a node style that converts the nodes' coordinates to pixel ...
1
vote
1answer
439 views

TikZ's externalization and mylatex

I know I am greedy... I have tried for quite a while to get TikZ's externalization facilities to work nicely with mylatex, without any luck. My document currently looks like \documentclass{article} ...
0
votes
1answer
813 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} ...
9
votes
1answer
236 views

Latex Standalone always rebuilds / apostroph in filename?

I have started toying around with Martin Scharrer's standalone package because tikz external does not work with todonotes and I feel that the workflow for standalone makes more sense as far as I have ...
7
votes
1answer
87 views

How to reset TikZ‘s externalization counter?

TikZ‘s externalization feature creates – by default – images like “nameOfFile-figure0.pdf”, “nameOfFile-figure1.pdf” and so on. One can change this behavior, for example I configured TikZ to save ...
5
votes
1answer
103 views

TikZ externalization with floatrow package

When using the TikZ externalization library within a \ffigbox from the floatrow package, the external image is created two times. The reason is, that the argument of \ffigbox gets parsed two times. ...
5
votes
0answers
241 views

Plots from externalized TikZ are rotated [closed]

I just found out about tikzexternalize and I love it - well, almost. This is my situation: I have done simulations in Matlab and used matlab2tikz to get the plots from Matlab into my .tex document. ...
4
votes
1answer
863 views

Strange problem with pgf/tikz auxlock file when invoking tikzexternalize

I'm trying to generate a number of somewhat complicated TikZ based plots using gnuplot's lua/tikz terminal. Things had been working fine last month, but when I needed to update some of these plots ...
2
votes
0answers
128 views

TikZ externalize causing problems with template

I have a large document (I'm using pdflatex with Eclispe and TeXlipse) with many (many) TikZ graphics (math function plots, most of them). In order to reduce (drastically I hope) compilation time I ...
2
votes
1answer
80 views

TikZ externalisation in beamer

I want to use the TikZ externalization feature in my beamer document. Works fine, but when I use something like path<1->[draw] (0,0) -- (0,1); path<2->[draw] (0,0) -- (1,0); … only the ...
2
votes
1answer
432 views

TikZ externalize fails to recognize changes [duplicate]

Using XeTeX(xelatex) [i got the same using pdflatex] on Debian I am trying to save some compilation time using tikz external. Yet, the figures are never updated unless I delete the corresponding ...
2
votes
0answers
622 views

Tikz externalize in draft mode [closed]

This is a follow-up to Draft mode in Tikz externalize hides graphics, but not without externalize I'm writing a long document and compilation takes time. Some plots are included as tikz (export from ...
1
vote
0answers
200 views

Error using lualatex and tikzexternalize to compile document with PGFPlots

I have a fairly large document with a number of pgfplots diagrams and due to memory capacity limits in PDFLaTeX I am now using LuaLaTeX to compile. While this works well, it takes forever to produce ...
1
vote
2answers
214 views

Calc and \settocdepth break \tikzexternalize

This might well be the strangest TeX behaviour I've ever seen and that's saying a lot. The following really is a MWE as far as the header is concerned: \documentclass{memoir} \settocdepth{subsection} ...
1
vote
0answers
642 views

up to date check in TikZ external [closed]

I'd like to use the external library with TikZ. There I want to use the "up to date check". But when activating the key in this minimal example I got the error: ! Package pgfkeys Error: I do not ...
1
vote
0answers
281 views

tikz externalize optimizes pictures away although jobname complies [closed]

I used tikz externalize successfully for a time now. But since my pc crashed once the externalized pictures are instantly deleted. Reading the manual I found out, that they are "optimized away" ...