Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

6
votes
1answer
92 views

exporting tikz pictures starting with 1 rather than 0

I want to export my figures for an editor for import in another text editing program. I would like to have the name of the file correspond to the figures in the document. In the document they start ...
5
votes
2answers
182 views

Error using \tikzexternalize with forest

Using forest package for simple truth trees, and I want to externalize because there are a lot of them. Here is the code example: \documentclass{article} \usepackage[external]{forest} ...
5
votes
0answers
108 views

Absolute path for pgf externalisation

The graphic externalisation works well when it is done in a subfolder of my TeX files with the command \tikzsetexternalprefix{figures/} However, I get an error message when I try to set a different ...
23
votes
1answer
640 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 ...
3
votes
1answer
86 views

Inclusion of pgfplotstable in tikzpicture

Is there any way to include a table generated by pgfplotstable in the tikzpicture environment, where other figures generated by pgfplots exist, in order to save them together as one figure with ...
4
votes
1answer
144 views

Includepdf causes an error message from pgfplots externalization

I have a file test.pdf which I include in a document containing also an externalized pgfplots picture. When I compile the following code, I get the error message Sorry, the system call pdflatex ... ...
4
votes
1answer
1k views

TikZ images won't compile externally

I have a number of large plots which exhaust memory when I try to compile them with xelatex, so I am using lualatex instead, which is able to compile them without major difficulty. However, I am ...
2
votes
0answers
46 views

TikZ external Library and pgfplots reading data from external txt file [duplicate]

I'm using the external library of TikZ for speeding up the compilation of my LaTeX document. In another thread, Christian Feuersänger reported that from December 2012, the external library uses MD5 ...
1
vote
0answers
298 views

A question on tikz/pgf externalization, standalone, and includeonly for compiling large document

I have a goal to build an efficient compiling environment to build large documents. The requirements are these: Use tikz/pgf to draw many figures; Use \includeonly to build only a portion of the ...
9
votes
1answer
399 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: ...
2
votes
1answer
153 views

TikZ externalise: overlaying figures

I’m using MikTex 2.9 x64 and would like to use the LaTeX -> dvips -> ps2pdf way to compile my document. Additionally I’ve a lot of Matlab2tikZ figures and would like to make use of the ...
1
vote
0answers
139 views

Change path of where tikz externalization saves the pdf and eps

I am using the TikZ externalization to speed up the compilation process and to have the eps files for the admission of the article which I'm writing. So I have lines like \begin{figure} ...
1
vote
0answers
71 views

Tikzexternal and References [closed]

I understand that tikzexternal has difficulty when graphics objects contain references (cite, ref, etc...), due to issues with getting lock on the aux file: References in externalized pgfplots ...
1
vote
0answers
110 views

TikZ externalize and number of pages changing

I am trying to create a small animation at the bottom (odd pages only) of my PhD thesis (a walking pacman). Therefore, I have change the fancyfoot so it display a tikzpicture. Every thing works ...
1
vote
1answer
216 views

Combine tikz external with pgf layers to “split up” a huge tikzpicture?

I have a huge tikz picture (consisting of up to several 10k elements, mostly rectangles and arrows) and want to "split up" the file using externalization to avoid expanding tex's main memory size (or ...
3
votes
0answers
180 views

creating an eps file using tikz in Miktex 2.9

Hi I'm trying to use the tikz package to output an eps file, using miktex 2.9 in a windows 7 operating system. Before hand I appreciate you help!!! The system message that I get is: ! Package tikz ...
6
votes
1answer
891 views

How do I include and scale on-image-TikZ-drawings made by the standalone class?

I am building several on image TikZ drawings. In detail: I am having PDFs of technical drawings, I crop the white margins, overlay nodes and some arrows and compile them. The result should give me a ...
8
votes
1answer
270 views

legend placement with bounding box restrictions and externalization in pgfplots

I find it useful to add \pgfplotsset{/tikz/every picture/.append style={trim axis left,trim axis right}} to my preamble for bounding box restrictions. But then when I use the legend to name feature ...
4
votes
0answers
655 views

Tikzscale, trim axis left/right, and externalizing

tikzscale and trim axis do not play well together, with the produced figure being larger than requested because it ignores the size of the labels. I was wondering whether it is possible to use both ...
2
votes
1answer
441 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 ...
3
votes
1answer
147 views

TikZ & External: figure re-created for no apparent reason

I'm having an issue where only one out of multiple figures is recreated despite the use of the tikz/external library. I've created a MWE which shows the same effect with only two figures. Below is my ...
1
vote
2answers
281 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 ...
3
votes
0answers
848 views

PGFPlots: Externalizing Images and pdflatex -shell-escape <filename> [closed]

I want to externalize images using the commands: \usepgfplotslibrary{external} \tikzexternalize The PGFPlots Manual says to use pdflatex -shell-escape <filename>. I'm assuming I should type ...
2
votes
1answer
147 views

How can the margin around externalized pgfplots crossrefs be set?

When using \usepgfplotslibrary{external} to externalize refs to labels in a pgfplot, the resulting .pdf looks cropped when the linewidth used for the line corresponding to the label is thick (or ...
2
votes
1answer
778 views

Error in compiling with Tikz Externalize

I've edited this post as I've broken the problem down to something smaller than a thesis. I can run the following command in the cmd window: lualatex file.tex with the following script no problem: ...
0
votes
1answer
62 views

Why Latex keeps replacing some of the unchanged figures even though \tikzexternalize is used?

I use the following in preamble and it worked fine before (I think) I change the size of a figure. \usepackage{tikzscale} \usepackage{tikz} \usepackage{pgfplots} ...
4
votes
1answer
436 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 ...
6
votes
1answer
172 views

Display problems when plotting large datasets (unwanted spikes)

I have a problem concerning pgfplots and large datasets. I have the following minimal example: \documentclass{scrartcl} \usepackage{tikz} \usepackage{pgf} \usepackage{pgfplots} ...
4
votes
0answers
248 views

Using `external` selective for TikZ-pictures

For the following example: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{calc,external} \usepackage{pgfplots} \tikzexternalize \begin{document} ...
9
votes
1answer
290 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
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. ...
1
vote
2answers
217 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} ...
0
votes
1answer
834 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} ...
33
votes
0answers
552 views

Can TeX generate “heap dumps” to analyze+optimize out-of-memory situations?

As package author of the memory-extensive package pgfplots, I have been asked to analyze some out-of-memory situation. I could identify the "culprit"; it was some call to \pdfmdfivesum in which it ...
3
votes
1answer
179 views

Table and \tikzexternalize

It might not be a usual thing to do but I need to put some tikz pictures in a Table with externalization. I did \documentclass{report} \usepackage{tabu} \usepackage{tikz} \usetikzlibrary{external} ...
1
vote
1answer
134 views

How to stop pdflatex from mixing up already compiled tikz pdfs

I am rather at a loss as to how this happened: I don't even know what MWE to paste in here. I'll just hope someone has seen something like the overlapping of tikz pictures before. In fact none of the ...
2
votes
1answer
103 views

Can't part siblings in a tikz tree picture

I'm having some trouble parting siblings in a tree drawn by tikz. I'm making a parsing tree for an assignment. I have already made the tree, but there is some overlapping. I tried to use the ...
5
votes
1answer
1k views

External graphics and tikz externalize won't work together

I am using the tikz library external a lot and with success - so far. Now, I need to import an external file (eps, png, pdf... I don't care), and add the axes. I know I can do this with \addplot ...
4
votes
1answer
985 views

Tikz externalize: use external PDF or render by tikz, do not create external PDF

I have texlive 2012 and tikz. Is it possible to get the following behavior? With external library to tikz, use external image, if it is available. However, if it is not available, render the ...
3
votes
0answers
162 views

PGF: Externalize + Fadings differences in viewer [closed]

I've been working with the fadings library in PGF and I was having trouble getting it working with externalize. I finally figured out that it was working, but Apple's Preview does not display the ...
1
vote
1answer
128 views

Does anyone know if the listed prerequisites for TikZ's pgfplots package are slightly off?

Does anyone (not to specifically ask Christian) know if the prerequisite PGF/TikZ version listed in the PGFPlots manual is off by a bit? I've been trying to use \tikzset{external/mode=list and make} ...
3
votes
1answer
152 views

externalize only some pictures

I am using \tikzexternalize to compile my pictures outside of the main document. However, when I issue simple \tikz commands within the text, I'd like them to be compiled within the main document, ...
1
vote
0answers
248 views

pgf-umlsd and externalize

What would be the best solution to make pgf-umlsd and externalize compatible? The latter expects \end{tikzpicture} which is "hidden" within sequencediagram environment the first provides. I guess I ...
4
votes
0answers
148 views

pdflatex does not overwrite existing PDF files upon compilation when using TikZ external [duplicate]

I have a LaTeX/pgf/TikZ file that I'm trying to compile. I included the library external so that I could export the file. However, the problem is that \tikzexternalize apparently doesn't have a ...
2
votes
0answers
363 views

How to use tikzexternal? [closed]

I use some huge file to plot and for this I changed the tex conf file to increase memory that works. But I would like use instead external memory for this I try to use tikzexternal. But I fail. MWE ...
5
votes
1answer
273 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} ...
3
votes
0answers
435 views

Externalize pgfpicture [closed]

When I do \tikzexternalize \tikzsetfigurename{foo} \begin{tikzpicture} ... \end{tikzpicture} and compile my LaTeX file with pdflatex --shell-escape, a file foo0.pdf is created the first time and ...
5
votes
2answers
171 views

Pgfplots gives spurious lines in external mode with geometry

This is not a major problem but all the same I would like to confirm that I am not doing anything wrong. Geometry package with showframe=true option is used to see if all the figures are within the ...
3
votes
1answer
305 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. ...
10
votes
2answers
806 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 ...