Tagged Questions

Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

0
votes
1answer
1k 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} ...
42
votes
0answers
798 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
204 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
138 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
114 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
1k 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
175 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
132 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
171 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
286 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
407 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
311 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
485 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
178 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
356 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
957 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
373 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} ...
2
votes
0answers
811 views

“Fatal error” when using TikZ externalize [closed]

So I'm having problems with TikzExternalize. I have a paper with a large amount of dynamically built graphs. I get to a certain point in my files and I can't build anymore. Once I get to this point I ...
13
votes
2answers
447 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} ...
4
votes
1answer
389 views

TikZ Externalize: Referenced legends from PGFPlots are not included

The following MWE without TikZ externalization works. However, the legend at the bottom is lost with externalization. Since the \ref in this example does not refer to anything outside tikzpicture ...
9
votes
1answer
279 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 ...
1
vote
0answers
785 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 ...
7
votes
1answer
896 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 ...
0
votes
2answers
148 views

tikzexternalize does not update on OS X [closed]

I believe this issue is on OS X only, as I could not reproduce it on Linux: Using tikzexternalize, the pdf is not updated whenever I change the tex-file. Instead, I always get the following answer ...
15
votes
2answers
992 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 ...
1
vote
1answer
173 views

pgfplots externalize and references: some work, some don't

I have started using the tikz externalization library for my current project. From here I learned to use \pgfplotsset{invoke before crossref tikzpicture={\tikzexternaldisable},invoke after crossref ...
5
votes
0answers
264 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. ...
6
votes
1answer
170 views

TikZ Externalize & Linegoal conflict?

I'm new to stackexchange, and did not find any information about this issue. I encounter an error whenever I try to use the TikZ's externalize along with (unrelated to TikZ pictures-) \linegoal. My ...
3
votes
1answer
879 views

tikz external use png as default instead of pdf

I have somewhat successfully set up my tikz external code using zeroth's very helpful advise Externalization to other format, Makefile. Add new rules to the makefile My aim is to generate pngs for ...
1
vote
0answers
43 views

Tikz external makefile error [duplicate]

Possible Duplicate: Externalising TikZ pictures using XeTeX I'm having some trouble getting the externalize tikz library working correctly with xetex. In "list and make" mode, the tabs in ...
3
votes
1answer
878 views

Tikz overlay with subfig, axis & externalize

I am trying to draw lines between two different tikz-drawings, placed in subfig-environments, for example the corners of the small blue rectangle in the left image and the corners of the axis ...
2
votes
1answer
371 views

tikzexternalize error

I get the error "Paragraph ended before \tikzexternalize@opt was complete" on the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize ...
2
votes
0answers
907 views

Exporting TikZ to EPS using MacTex [closed]

I have followed the instructions for exporting to an .eps file from a TikZ drawing provided here: http://tex.stackexchange.com/a/8646/8078. However, I cannot get any of the methods to produce an .eps ...
5
votes
1answer
422 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. ...
4
votes
1answer
2k views

How to get the pgfplots external tutorial to work in TeXnicCenter?

In 7.1.1 of the PGFPLOTS library the following example of externalization is given. Whatever I try, I cannot get it to work in TeXniccenter, running MiKTeX 2.8. \documentclass{article} ...
1
vote
0answers
2k views

! I can't find file `pgflibrarytikz*.code.tex' [closed]

I can compile the following LaTeX: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,backgrounds,plotmarks} \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing ...
1
vote
1answer
1k views

Why does \includegraphics fail when using TikZ's externalization?

I'm trying to use \includegraphics and the auto-pst-pdf package to convert and import an EPS file, but when I enable TikZ's external library, \includegraphics fails with an error message: Package ...
1
vote
1answer
720 views

TikZ externalize option causes error in compilation

As the title says, the externalize option causes some strange errors I can't figure out of. It works for some figures (e.g. figures for which the code I've found in the pgfplots manual), but for some ...
1
vote
2answers
519 views

Tikz externalization figure not aligned/caption missing

I am putting a presentation together using beamer. I have a few tikz/pgf pictures that I externalize. Yet the figures are not put back into the document correctly. They are not in the right spot on ...
14
votes
1answer
1k views

Automatically set file name of externalized graphics equal to the file name of the tikz/PGF file

As the title says, is it possible to set some options for the externalize library in order to for the filename of the externalized graphics to be equal to the filename of the TikZ-file without using ...
1
vote
0answers
420 views

TikZ Externalize fails with multiple files [closed]

I've recently been having trouble getting TikZ to compile figures. I say recently, because a month ago, I wasn't having any problems. I'm not aware of any file corruption or updates that would have ...
4
votes
1answer
952 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 ...
19
votes
4answers
4k 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 ...
6
votes
1answer
752 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] ...
10
votes
2answers
281 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 ...
3
votes
1answer
643 views

Generated Figure seems cut when using tikzexternalize

When I use the following code, the Figure seems cut, as from a too tight bounding box. \documentclass{article} \usepackage{pgf} \usepackage{tikz} \usepackage{pgfplots} ...
3
votes
1answer
471 views

How to use tikz-timing together with the external library

I would like to generate a tikz-timing signal in my LaTeX document and to save it, using external library as pdf file. Here is an example of a combine code: \documentclass[border=5pt]{scrbook} ...
2
votes
0answers
62 views

Clash between tikz externalization and references to plots [duplicate]

Possible Duplicate: pgfplots: externalization and legend referencing I am trying to implement references to plots using there legend image with pgfplots. I use the example on page 164 of ...