Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

9
votes
1answer
320 views

How to plot a graph from its adjacency matrix (coordinates manually specified)?

For example, I want to plot a graph whose adjacency matrix is [0,1,0;1,0,1;0,1,0]. I first plot three points labeled by p1,p2,p3, and link the points p1,p2, p2,p3. For a general case, how to link the ...
1
vote
1answer
335 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 ...
0
votes
0answers
27 views

pdflatex error for TikZ externlization when using LuaLaTeX [duplicate]

This is how I am calling LuaLaTeX in TeXstudio: lualatex.exe -synctex=1 -interaction=nonstopmode --shell-escape %.tex Doing a test run of my main document, I get this error throughout the document ...
3
votes
1answer
65 views

Error cross-referencing when tikz mode is graphics if exist

I am getting the error "Undefined control sequence" when using \tikzset{external/mode=graphics if exists} and the label does not exist (It should produce a warning not an error, though because the ...
0
votes
1answer
117 views

TikZ/pgfplots - are there any problems related to externalized figures used on Linux and Windows?

I share a document between Win 7 and Xubuntu 13.10. I just updated my local git repo on my Xubuntu 13.10 installation. I then continued editing in a TikZ figure (not only its style definitions!) but ...
1
vote
1answer
56 views

How can I use the tikz external library in tikzposter?

I am using tikzposter to make a poster (obviously). I would like to insert a few rather large tikz figures in that poster. This really lengthens the compilation time. Usually (when writing articles) ...
3
votes
0answers
40 views

Tikz generated EPS not opening with other applications like illustrator or GIMP?

A similar question has already been asked but hasn't got an answer. I am generating EPS images using tikz externalise library. When I use those EPS images back in a different latex document they work ...
4
votes
1answer
1k views

pgfplots, custom legend and tikz library external

I try to create Tikz figure with several pgfplots subplots. I want to have one legend for them since they all have the same curves. I found out from this question that i can label and than reference ...
2
votes
1answer
50 views

Tikz externalization: Latex dvi/ps produces a4paper boundary-box around figure

I am successfully using tikz in combination with externalization and pdflatex for some time now. But now I need to switch to latex->dvi->ps. I followed the instructions from the tikz documentation ...
0
votes
0answers
20 views

Externalize creates Tex Memory error

I have a tikz picture that I generated from matlab2tikz. Building the file standalone is no problem, including it into the main document using \include is also no problem. However I want to ...
1
vote
1answer
89 views

Chapter and figure numbers in TiKz externalize prefix

I would like my externalised figures to have prefixes reflecting the chapter in which they are from, but when I do: \usetikzlibrary{external} \tikzexternalize[prefix=TiKz/\value{chapter}] ...
1
vote
1answer
56 views

How to force the use of external graphics for selected figures while externalization is enabled?

I would like to force using external graphics (if exist) for a few figures in my document. The following does what I want but document-wide: \tikzset{external/mode=graphics if exists} however, I ...
2
votes
1answer
59 views

tikzexternalize and align environment - errors

I am experiencing a problem when using externalize and the align environment. In some weird cases the pdf of tikz figures are not generated properly and they have to be re-generated every time that ...
1
vote
0answers
280 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 ...
2
votes
1answer
100 views

Problem combining tikzexternalize, tikzscale and external graphics

I have a problem when trying to scale and externalize a tikzpicture that includes an external graphics file. Using the following code will result in an output of the document but the figure is not ...
2
votes
2answers
71 views

Crashes when using \tikzsetnextfilename?

I just stumbled on this, so I'll post about it in Q&A format: I decided to try tikz-external, and all I have is this in preamble: \usetikzlibrary{external} \tikzexternalize[prefix=img/] ...
1
vote
1answer
123 views

tikz picture not compiling using tikzexternalize - probably storage issue

I'm using tikzexternalize for most pictures in a very big document, which works fine. But for the image \tikzsetnextfilename{someName} \begin{tikzpicture} \begin{groupplot}[ group style={columns=2, ...
1
vote
0answers
126 views

Combining beamer, tikz, externalize and standalone

I've read a bunch of questions and answers on these topics as well as the documentation of the external library for tikz. I suspect I fundamentally misunderstand what I'm doing. I have a mindmap ...
3
votes
1answer
101 views

pgf: 'externalize' with 'list and make' on windows [closed]

In the pgfmanual I found today under Section 50.4.4 Customizing the Externalization that you can have multicore support during externalization using the mode list and make. % step 1: generate ...
4
votes
1answer
63 views

pgfplots externalize with hyperref

I'm using pgfplots with externalize because my document has a lot of plots which causes problems with memory limitation in LaTeX. In one of my plots I have a reference to an equation. In the file ...
38
votes
0answers
666 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 ...
1
vote
0answers
130 views

Externalize TikZ with TeXstudio and MikTeX

I have the same problem as written here before, but the externalization doesn't work. I always get the following message: tikz: Sorry, the system call 'pdflatex -halt-on-error -interact I try to ...
1
vote
0answers
180 views

externalize pfgplots fails with shell escape enabled (TexLive-2013 Mac)

I have the following Problem: I am using matlab2tikz to get my Matlab plots into latex. I have very large time series, that i already cut down using resampling. Nevertheless my I need a lot more time ...
5
votes
1answer
145 views

Tikz externalization and directory questions

I store my exercices in the following way : Super directory Base_Exos on witch points the $TEXINPUTS variable. Sub-directories, one by class level. Sub-Sub-directies, one by chapter ...
3
votes
2answers
347 views

TikZ error for externalized graphics but output is correct

This is not an MWE per se, but it is the code I boiled the problem down to. Note: it does not produce an error. The issue is that once I somehow managed to get an error for any TikZ or pgfplots ...
3
votes
1answer
57 views

How to refer to parts of a single externalised graphic, such as multiple pgfplots (similar to subfloat/subcaption)?

I am looking for a way to refer, from within normal text or captions, to parts of TikZ graphics which I have labeled myself with (a), (b) etc. With subcaption and multiple separate figures I'd use ...
4
votes
1answer
97 views

Is it possible to externalize and/or reuse tikz pictures when used as backgrounds for the page?

My experiments with externalisation have run into trouble. One issue is that it seems that I cannot externalise a tikz picture used as a page background: \documentclass{article} \usepackage{tikz} ...
1
vote
0answers
86 views

pgfplots - How can I increase TeX's capacity for plotting large datasets? (TeX Live on Windows)

There are several questions and replies on this topic, yet so far I haven't found one which reliably details the steps for TeX Live and TeXstudio on Windows. Of course the editor might be an ...
11
votes
2answers
284 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} ...
3
votes
2answers
135 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 ...
1
vote
1answer
91 views

How can I resolve the side effects of AddEverypageHook to external pgfplots?

I have quite a huge document with many pgfplots, which I would like to externalize. Well I can externalize them, but my \AddEverypageHook command from the everypage package affects this externalized ...
3
votes
0answers
69 views

Redefinition of pgfplotstableread and inline tables

I had to redefine pgfplotstableread because I use it in standalone files in an extra img/ folder that loads data from a different data/ folder as follows. \begin{filecontents}{plot.tikz} ...
3
votes
0answers
144 views

How to automatically optimize the PDF output of TiKZ externalize?

I use pgfplots with externalization for generating plots in my document. For heavy plots the output PDF for a figure can grow to few hundred KB. I used Adobe Acrobat to optimize the PDFs which ...
2
votes
1answer
237 views

Peculiar tikz-external, pgfplots, tikzscale combination problem

I want to use \tikzexternalize and tikzscale with pgfplots' \addplot graphics command and \clip=false option. I am using three files: A.png, A.tikz and A.tex. A.png can be any graphics file. A.tikz ...
2
votes
1answer
87 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 ...
3
votes
0answers
93 views

External PDF from pgfplots contains several pages when with floatrow

Plotting with pgfplots and the external library creates the single PDFs for every plot as wanted. But every of those PDFs contains several pages, each showing the same plot. Sometimes there are three ...
3
votes
1answer
87 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 ...
0
votes
1answer
140 views

AUCTeX and TikZ does not work in emacs for me : HELP T

This is no duplicate. I am unsure how things work here. But I wasn't able to save my last username as it was a temporary username and cannot access my previous post which was marked as duplicate. ...
5
votes
0answers
160 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
4
votes
1answer
89 views

Forcing tikz externalization to recreate all images using arara

I am using the externalization library of tikz to have most of the pictures compiled only once and just included in later LaTeX runs. Once in a while I would like to redo all the images, for example ...
2
votes
1answer
96 views

Compilation blocked with tikz

I'm writing figure with several segments, and it looks like tikz does not like it. So I added: \usepgfplotslibrary{external} ...
2
votes
0answers
183 views

Relative paths when using tikz externalize + subfiles

I have a large document which consists of ~100 smaller files which are compiled together using the subfiles package. To be able to use a common style file for them, whose relative path should be the ...
5
votes
1answer
342 views

Lualatex, Pdflatex fail with \externalize

Here is my problem: I have a 100+ page document with ~100 tikz plots. Some plots contain 9000+ points, and compiling them with pdflatex -shell-escape (or whatever main_memory_size) fails. I can ...
1
vote
1answer
372 views

How to extract/convert tikz to a format suitable for powerpoint

I am trying to extract/convert a tikzpicture to a format that is suitable for powerpoint without losing quality. The code that I have found and adjusted is the following: ...
1
vote
0answers
87 views

Can the standalone document type be made compatible with tikzexternalize?

Code: \documentclass[tikz]{standalone} \usetikzlibrary{external} \tikzexternalize \begin{document} \begin{tikzpicture} \node[circle,draw] at (2, 3) {}; \end{tikzpicture} \begin{tikzpicture} ...
4
votes
1answer
162 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 ... ...
0
votes
1answer
108 views

Error using \tikzexternalize and different graphical inputs

How can this issue be stated more precicely and finally solved? Having a large document and using \input{...} within figure enviorement for including gaphics by tikz and pdf's, png's. Each figure ...
5
votes
1answer
104 views

Why does the Animate package inflate the file size of all of my externalized TikZ pictures?

I am using TikZ externalization to compile the figures in my thesis that use TikZ or PGF Plots. Ever since I included an animation using the animate package, the size of the PDFs of each of my ...
2
votes
0answers
99 views

tikz externalize and pgfmath error

Using external and \pgfmathdeclarefunction at the same time results in ! Illegal parameter number in definition of \pgfmathfloat@expression. ! Package PGF Math Error: Could not parse input '' as a ...
1
vote
1answer
199 views

Missing pdf when using \usetikzlibrary{external} in LyX

I'm trying to use the externalization library in LyX to speed up compilation and generate separate PDF files with each of my tikz figures. But for some reason LyX does not output a separate PDF file ...