Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

13
votes
3answers
4k 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 ...
3
votes
0answers
26 views

Using tikzexternalize and LuaLaTeX leads to display problems in viewer

I am using the following code \documentclass{report} \usepackage[ngerman]{babel} \usepackage{lmodern} \usepackage{tikz} \usetikzlibrary{external} \tikzset{external/system call={lualatex ...
1
vote
1answer
32 views

pgfplots with list and make fails on windows (mingw)

System specs: MiKTeX 2.9, Windows 8.1, -shell-escape added, MinGW installed. MWE: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
6
votes
2answers
127 views

Legends in Externalized Graphics with TikZ

I've used tikz to build all the charts in a manuscript I'm preparing for submission to a journal. As a last step prior to submission, I wanted to take all the tikz code out and just \includegraphics ...
1
vote
0answers
31 views

tikzexternal, asymptote and duplicated asy files

I'm trying to work with tikzexternal and asymptote for my documents. Here is a sample TeX document : \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
0answers
56 views

Build errors with tikz externalize

I am putting together a manuscript for submission to a journal. In a previous question I had asked about some spurious warnings, but I can live with those. As a final step before submitting my ...
3
votes
1answer
42 views

TeXstudio - get output of pgf externalize in log Window

I like the functionality of TeXstudio to show me errors concerning my latex-code in the Log-window. If I use pgfplots and externalize all externalized pictures are compiled in a separate call. So I ...
1
vote
0answers
95 views

Error using tikz externalize: can't write md5 file

I tried to use the externalize library. It worked fine when all my files where located in the same folder. Usually I am using a subfolder as build folder, where all generated files should be stored. ...
1
vote
1answer
37 views

Problem externalizing pgfplot figure with two parallel LaTeX distributions

I am getting errors when trying to compile this minimal example, using both externalize function in pgfplots and loading siunitx. \documentclass{article} \usepackage{siunitx} \usepackage{pgfplots} ...
1
vote
1answer
48 views

Can we get references into externalized pgfplots images to work?

I have some plots created with TikZ and pgfplots. In the captions, I use \ref{...} with plot labels in order to get the marker printed there; a neat feature indeed. Now, when submitting to arXiv one ...
1
vote
1answer
173 views

tikzexternalize in TeXMaker doesn't work

I'm having some troubles while compiling my thesis with the tikz externalize feature in Texmaker. I created the user command: "D:/laTex/texlive2014/bin/win32/pdflatex.exe" -synctex=1 ...
1
vote
1answer
577 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
1answer
43 views

Naming Externalized Images via MD5 Sum

I have a large presentation with over 200 figures (mainly created through stepping through each image). I'm using the external library to cache the results to great effect. Each figure is cached in ...
4
votes
1answer
46 views

Minted caching in tikz externalize job

Enabled caching options for minted and tikz lead to unexpected and inefficient caching. For every tikz figure that is externalized, all minted code blocks of the main document are cached within the ...
0
votes
0answers
51 views

Saving TiKz Picture in a Folder in Parent Directory

Is there a simple way to save a picture with the `tikz external library' in a different folder in the parent root. %File C:/project/tikz/main.tex \documentclass{article} \usetikzlibrary{external} ...
1
vote
1answer
42 views

pgfpages breakes tikzexternalize

I use tikz externalize to speed up the creation of huge beamer presentations for lectures. This works quite well, but if I use pgfpages to collect 2 slides on one a4-page for handouts, the ...
0
votes
0answers
94 views

Tikz externalisation not working despite enabling write 18 or shell escape

I am trying to set up tikz externalisation so I can save individual images as .pdfs (and eventually .png's). I am trying to run the following code in TeX works, W7, MikTex 2.9. I have changed the ...
2
votes
0answers
458 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 ...
3
votes
0answers
60 views

luatodonotes and tikz externalization won't mix

Consider the following code: documentclass[11pt]{report} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize %\usepackage{luatodonotes} \begin{document} \begin{tikzpicture} ...
0
votes
0answers
149 views

Tikz-externalization and portable MiKTeX

I have TeXStudio with portable Miktex 2.9.5105 on Windows 8.1. I'd like to use tikzexternalize and my MWE is as follows: \documentclass{article} \usepackage{pgfplots} % \usepgfplotslibrary{external} ...
0
votes
0answers
39 views

Tikz externalisation - space in file name

I have a main.texfile that includes a bunch of chapterX.tex files where X is the chapter number. The chapter files include files with tikz code. In a package included by the main file I set a prefix ...
1
vote
0answers
35 views

Something like \tikzexternalize[prefix=tikztmp/] for LuaLaTeX

My aim is to compile a *.tex file that contains quite a number of tikz-environments and to create for every tikz-environment one pdf-file. Under LaTeX I would use something like ...
1
vote
2answers
167 views

Microtype causes error in combination with system call LuaLaTeX

I'm trying to plot some figures based on measurements with tikz because the number of data points is to large for LaTeX I'm using a 'system call' to use LuaLaTeX for them. As long I do not load ...
2
votes
0answers
207 views

TeX capacity exceeded despite system call LuaLaTeX [closed]

I'd like to plot some measured values with TikZ, but despite "calling" LuaLaTeX I get the error message that TeX's main memory is exceeded. I can compile the plots under LuaLaTeX but it doesn't work ...
4
votes
0answers
116 views

tikz-plots get recompiled every time when using tikzscale

For my thesis I have a lot of tikzplots exported from matlab using the matlab2tikz library. I want to use the tikzscale-Package together with externalization of the plots to save compiling time. Using ...
1
vote
1answer
52 views

Tikzexternal capturing crop marks when externalizing pgfplots?

Consider this MWE: % to rebuild: % rm test-testplot.pdf ; pdflatex -shell-escape test.tex \RequirePackage{filecontents} \begin{filecontents*}{testplot.tikz} \begin{tikzpicture} \begin{axis}[ ...
2
votes
0answers
41 views

Prevent Tikz externalize from rebuilding figures

I am using Tikz externalize for the figures in a manuscript. The original files containing the Tikz/pgfplots code have been deleted (but will be regenerated in several hours when my simulations finish ...
2
votes
0answers
88 views

Tikzexternalize not compling on Win7 TexStudio Texlive Install

I am attempting to implement \tikzexternalize using a MWE. I was able to successfully compile the MWE on a LinuxMint install with the same configuration. On a Win7 installation I am unable to compile ...
3
votes
1answer
104 views

Externalization of contour gnuplots

Based on a datafile (XYZ.csv) I want to have a contour plot within my .tex file. I'm using lualatex for compilation. The main issue is the externalization of the gnuplot contour plot in combination ...
1
vote
1answer
165 views

Drawing figure of a boat with the Tikz-package

I want to draw a simple figure of a boat in LaTex, does anyone know a good way to do that? Is TikZ the best package to use for this? I want it to look similar to the boat in the picture below, which I ...
4
votes
1answer
185 views

tikz externalize doesn't find pdflatex

I'm using Tikz' externalize function to speed up compilation of documents with a lot of plots. This works fine on any System except my Mac with MacTex 2014. pdflatex fails when tikz calls it's own ...
1
vote
1answer
78 views

Reference for equations in boiboites.sty

I am using the very nice package boiboites.sty in my work, in conjunction with the external compilation of the tikz and pgf figures. I am having some problems to use references defined in the ...
2
votes
1answer
68 views

Tikzexternalize creates multiple copies of same figure

When compiling this document, tikzexternalize makes two copies of the small tikz figure. Is it possible to only make one copy to speed up compilation? \documentclass{beamer} \usepackage{tikz} ...
2
votes
0answers
367 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 ...
1
vote
0answers
928 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
270 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 ...
53
votes
0answers
1k 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
91 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
118 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
395 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
118 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
220 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
67 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
70 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
57 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
106 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
49 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
310 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
77 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 ...