Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

1
vote
0answers
78 views

TeX capacity exceeded, sorry [main memory size=5000000] with matlab2tikz and reduce_plot

Yet another Tex Capacity exceeded error. I am generating a matlab scatter plot which without modification resulted in a 64.5 MB printed eps file. Using that plot directly in matlab2tikz resulted in a ...
3
votes
0answers
143 views

Tikz Externalize with LualateX - Fontspec?

There are several questions already posted about issues externalizing tikz with the Lualatex engine. However, most of these are dead ends with no correct answer. The reasons for externalizing are ...
49
votes
0answers
996 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 ...
0
votes
0answers
40 views

TikZ Externalization Cannot Find Output File

I tried to use TikZ's externalization feature to speed up my compiling time, but for some reason it did not work as expected. This problem seems to be quite common and I've spent some time looking ...
1
vote
1answer
48 views

undefined references using \usepgfplotslibrary{external}

I use MikTex 2.9 on a Windows 7 64-bit machine. I do not have and will not have Admin rights on this machine. I have a lot of tikzpictures and curves in my article so I use tikz with ...
2
votes
1answer
253 views

Externalize TikZ with TeXstudio and MikTeX [closed]

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 ...
3
votes
1answer
1k views

tikz externalization and multiple axis using \ref and \label for legendentry

I have a plot consisting of two y-axis. When I'm adding the legendentries in each axis environment, the first legendentry will be plotted "behind" the plot of the second axis. Thus I thought a ...
3
votes
1answer
89 views

Problem with tikz external library and chemfig - fatal error in external image

I have a document with a lot of diagrams created with PGFPlots and want to externalize those. All other tikz snippets should not get externalized. I achieve this by setting \tikzset{external/only ...
8
votes
1answer
206 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 ...
1
vote
1answer
52 views

Externalizing figures in consistent size

I'm using pgfplots to plot figures, then I'm using the externalize library to output standalone pdfs, which I include in another document. The problem is that the outputted standalone figures have ...
0
votes
0answers
51 views

Pgfplots externalizing figures: (inconsistent) white borders

I'm using the external library \usepgfplotslibrary{external} \tikzexternalize[prefix=tikz_figures/] to externalize my figures from one document and include them in another. The problem is that the ...
1
vote
1answer
41 views

TikZ externalized figures render incorrectly when eso-pic is used

I am having some trouble using eso-pic in conjunction with externalised tikz figures. Content added to other document pages using \AddToShipoutPicture*{} is drawn on the TikZ figure. This does not ...
0
votes
0answers
81 views

Tikz External Library with PGF 3.0

I just updated to the new PGF version and now I can't externalize my tikzpictures anymore. Does anyone have a similar problem? Here is some example code: \documentclass{article} \usepackage{tikz} ...
0
votes
0answers
28 views

tikz externalize: show message if rebuilding

I would like to generate a warning in the log file if tikz externalizing does not find an existing file. In the example shown below: a red box is drawn, but my flag is not set to true. Why? Maybe ...
5
votes
1answer
177 views

Lualatex capacity exceeded with Gb's of free RAM

I'm trying to compile dense graphs generated my matlab2tikz (file size ~ 50Mb). I'm running lualatex and externalising with lualatex \tikzset{external/system call={lualatex ...
0
votes
0answers
58 views

\tikzexternalize and chemfig

First time posting here, and my english isnt that good but ill try to explain my problem the best i can. Im tryging to externalize a figure, that was built using chemfig. Now the problem is that when ...
3
votes
1answer
92 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 ...
1
vote
1answer
79 views

Missing *.sty files when running \tikzexternalize[mode=list and make]

Having recently discovered the use of the tikzexternalize library, I decided to multithread the compilation of my tikz images using the method suggested in this thread: 1. However, I am having issues ...
12
votes
3answers
418 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} ...
0
votes
0answers
90 views

No PDF produced with tikzexternalize when using llncs.sty documentclass

I am writing with the llncs documentclass and I want to externalize my tikz figures. It really is the combination that doesn't work; I can write in llncs fine without externalization, and I can ...
5
votes
0answers
142 views

Unknown TikZ/pgfplots error with external [closed]

I am trying to compile a large document (PhD thesis) and I have no problems compiling without using external, but as soon as I enable that feature, it has problems. So far I haven't found the answer ...
3
votes
0answers
84 views

Tikz equivalent for axisratio

I want to externalise all my tikz figures. I currently create them by \begin{filecontents}{images/spring.tikz} \begin{tikzpicture} %tikz picture code \end{tikzpicture} \end{filecontents} ...
1
vote
0answers
234 views

Tikz Externalize

I'm having some issues with externalising my tikz images. I'm using the following preambel with -shell-escape enabled using lualatex: \documentclass[print]{adelaide-mecheng-thesis} % for splitting ...
13
votes
4answers
556 views

How to plot a graph from its adjacency matrix and coordinates of vertices?

A similar question is here. If we give all the data of the vertices's coordinates and the graph's adjacency matrix, how to plot it with tikz, pstrick or other tool in tex? here are the data of ...
6
votes
0answers
34 views

Problem with catchfile package [duplicate]

I want to use the catchfile package to import the data of nodes from external file ver.dat as following: \documentclass[tikz]{standalone} \usepackage{catchfile} \CatchFileDef{\myver}{ver.dat}{} ...
1
vote
1answer
381 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
29 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
87 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
186 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
78 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) ...
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
103 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
33 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
208 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
75 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
231 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
419 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 ...
3
votes
1answer
247 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
146 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
172 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
229 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
173 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
100 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 ...
1
vote
0answers
305 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 ...
6
votes
1answer
365 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
470 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 ...
4
votes
1answer
74 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
132 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
193 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 ...
3
votes
2answers
201 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 ...