Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

1
vote
0answers
12 views

tikzexternalize, list-and-make, list of figures to be updated

I am using tikz' externalize library on windows. Since my document contains graphics with \ref, I need to use list and make instead of convert with system call. Since I am working on windows, I cannot ...
4
votes
1answer
154 views
+50

TikZ externalization with absolute path and MiKTeX distribution

This code: \documentclass[11pt,openright]{book} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage[british]{babel} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize[prefix=...
2
votes
1answer
31 views

Tikz package “external” causes an unclosed tikzpicture@tcb@hooked environment

Unfortunately, I cannot provide a MWE, as after trying for quite some time everything seems to work perfectly with small examples. So this is perhaps some package clash or problem with RTL, I am not ...
3
votes
1answer
84 views

tikzscale not working with externalize using named only

I found a weird behavior when using tikzscale in combination with the externalize-library: When I configure externalize with only named = true, but do not set /pgfsetnextfilename for an image, this ...
1
vote
0answers
65 views

How do I place table below plot so that category matches axis ranges?

Here is something that I'm trying to do is to align my table with x-axis category or range so that column below the x range is corresponding of the data So As example is shown, I want to create ...
0
votes
1answer
30 views

Configure vim-latex suite to use treat .tikz files as ordinary .tex files

I use file externalization with tikz, so I usually put the tikzpicture environments each in a separate file with extension .tikz. When I open such files with Vim, the syntax is not highlighted, which ...
3
votes
2answers
41 views

TeX capacity exceeded when calling LuaLaTeX

I am using recently updated MacTex Distribution 2016 on a MacBook Pro Mid 2009 and Texmaker is my editor. I want to include a phase portrait created with matlab2tikz with a lot of lines. Reducing the ...
0
votes
1answer
30 views

LuaLaTex fails on Tikzexternalize on very easy MWE

I am using recently updated MacTex Distribution 2016 on a MacBook Pro Mid 2009 and Texmaker is my editor. I searched a long time for a solution to this problem but nothing really helped, so I give it ...
1
vote
0answers
30 views

Problems with -shell-escape with externalizing pgfplots

I tried it now in all possible ways but I still do not understand why this option sometimes works and sometimes does not and what I can do about it. I wish to draw a figure with pgfplots but since it ...
3
votes
1answer
96 views

Auto-export TikZ images (previously expand (print) contents of a TikZ style)

EDIT: The external library is great but I'd like to add I figured out how to print the contents of a style (although not fully expanded, so if it contains other styles, they will not be). A style is ...
0
votes
0answers
18 views

lualatex texlive 2016 broken with tikzexternalize [duplicate]

The following example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -...
1
vote
0answers
32 views

tikz externalize doesn't work, missing trailer directory and xref table

I am writing a document which has several large TikZ figures that it needs to compile with it. To speed up the compiling process I am interested in externalizing TikZ. So in my preamble I have \...
2
votes
1answer
54 views

tkz, tikz-grph, tikzexternalize and pythontex

my code looks like that: \documentclass{minimal} \usepackage{amsmath} \usepackage{tikz} \usepackage{tkz-graph} \usepackage{pythontex} \usetikzlibrary{external} \tikzexternalize[] \begin{pycode} ...
3
votes
2answers
125 views

Controlling Image Size with External TikZ

I am building a groupplot using extikzpicture to externalize the graphics so that I can later just include them when I submit the paper for publication. I would like to reduce the size of the final ...
28
votes
4answers
2k views

todonotes and tikzexternalize

In my document I use todonotes and TikZ/pgfplots. After activating the externalization in TikZ I realized that todonotes are all exported as well (because they are based on TikZ). This behaviour is ...
2
votes
0answers
39 views

Zoombox misplaced figures using \tikzexternalize

I get misplaced figures when I combine zoomboxes and \tikzexternalize. For a MWE, I use the same image as in the original zoombox post on How to create magnified subfigures and corresponding boxes for ...
1
vote
2answers
79 views

TikZ library `external` doesn't recognize node name from different picture

I am attempting to improve my compilation time by externalizing TikZ pictures. I do seem to be able to refer to named nodes, however. For example, consider the following. \documentclass{article} \...
0
votes
1answer
46 views

Externalized pgf pictures are not centered in figure environment

I try to use pgf/tikz with externalized images as described in section 107 of the manual. I am not using the "external" tikz-library because I have problems with the required shell-escape ...
1
vote
0answers
76 views

Combine tikzscale and externalize with named external pictures

I have the same issue which has been discussed here while trying to scale plots created using PGFplots. The issue is only present if I name the external pictures using \tikzsetnextfilename. However, ...
1
vote
1answer
65 views

pgfplot Memory Problem

I am plotting groupplots like this The data set is quite large (15000 data points for each plot and each group has 5 such plots). When Latex threw memory shortage error, I tried using ...
1
vote
2answers
44 views

Automatic Line Breaking Under Gradient Color Text

How could I add automatically line breaking for a gradient color text? I would like to add gradient color for separate words and long ones are just causing trouble. The code I am using is \...
3
votes
2answers
88 views

Operation mode in pgfplots (referencing from externalized graphics)

I am using the externalize feature of tikz/pgf to save space for my thesis. I am using TeXShop on a Mac. I am running into trouble referencing something in the main document from the externalized ...
1
vote
1answer
172 views

\tikzexternalize and chemfig

First time posting here, and my english isn't that good but i'll try to explain my problem the best I can. I'm trying to externalize a figure, that was built using chemfig. Now the problem is that ...
0
votes
1answer
74 views

pgfplots: percentage in matrix plot

I'm trying to draw a matrix plot with the shown values in percentage. I already tried: nodes near coords = {\pgfmathprintnumber\pgfplotspointmeta\%} Unfortunately this didn't work out. Here is my ...
1
vote
2answers
57 views

Externalizing tikz with precompiled preamble

This is a very special case, I guess, but it's what I need: %&Testing \documentclass{article} \endofdump \usepackage{pgfplots} \usetikzlibrary{external} \tikzexternalize \begin{document} \...
2
votes
2answers
190 views

Using \tikzexternalize

I want to use tikzexternalize in my document, because the amount of tikz pictures is quite large. In general my tikz pictures are generated using matlab2tikz providing every tikz picture as a ...
1
vote
0answers
78 views

TikZ (tikzexternalize) + subcaptionbox error

Update The error comes up only if I change the pictures themselves or insert/delete a picture that occurs before them in the document. As a dirty workaround, I defined a command \newcommand{\...
2
votes
1answer
49 views

arrow between parts of equation and tikzexternalize

In my document, I have an equation where I would like to connect two parts with an arrow, just as the way, as Alan Munn did it here. When I copy his example using \tikzexternalize, I get the error ...
3
votes
2answers
188 views

matlab2tikz spectrogram is too big

I have produced the following spectrogram in MATLAB and I am trying to import it into a LaTeX document after using matlab2tikz. I am fully aware of the issues with maximum memory etc for typesetting, ...
1
vote
0answers
96 views

Automatically externalizing content of a PGFplot as a PNG

I've got basically the same issue as in this question: I have a rather complicated plot made with PGFplots and I can get a very significant file size reduction by using a rasterized image (PNG) ...
1
vote
1answer
52 views

pgfmathdeclarefunction with savebox and tikzexternalize: tikzpicture optimized away

Having solved my previous problem involving \savebox and \tikzexternalizeI am already facing the next one. I would like to use a function that I have defined either in or after the preamble with \...
2
votes
1answer
68 views

How can I make sure tikzexternalize doesn't to externalize my beamer theme content?

Thanks to Ulrike and Cfr, there is now a working solution! I'm still a bit curious though if it can be done in another way. Is there another way than surrounding included graphics with \...
0
votes
0answers
63 views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of \documentclass[tikz,border=2]{...
0
votes
1answer
49 views

Externalize pdf_tex like externalize tikz

I am using the workflow explained in this tutorial for typesetting images in my document: Tutorial for pdf_tex using inkscape Briefly, a vector image is imported into inkscape and then image itself is ...
2
votes
2answers
120 views

tcolorbox: remember height and tikz-external and tikzscale

This question is related to the answer of tcolorbox: get height of actual box from inside box Is it possible to get the newly defined option remember height working with \usetikzlibrary{external}...
1
vote
1answer
45 views

tikzset escape character (for a path in externalize)

I am trying to automate using ImageMagick in Windows 7 to convert an externalized eps image to a png file. The challenge is that ImageMagick can't be reliably added to the system path because convert ...
1
vote
1answer
341 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 ...
6
votes
1answer
118 views

Can tcolorbox enhanced boxes be combined with TikZ externalisation and save boxes? If so, how? If not, what's the best workaround?

I am getting the following compilation error when combining TikZ-enhanced boxes from tcolorbox with TikZ's externalisation: ! Argument of \tikzexternal@laTeX@collect@until@end@tikzpicture has an ...
2
votes
1answer
135 views

Missing Display Fonts at eps Figure Export from Tikz

This question is similar to the one here. The accepted answer there seems to be working in general, I get a readable .eps-file. If I open it however it looks pixelated and the fonts seem weird. At ...
1
vote
1answer
217 views

TeX capacity exceeded using pgfplots with/without externalization

The following MWE compiles (for me) \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{external} \tikzexternalize[prefix=figures/externalized/] \begin{...
3
votes
1answer
230 views

pgfplots: Externalize file name - use figure reference (e. g. Figure 2)

Introduction I have a document with many pgfplots diagrams embedded in figures. I want to generate a separate file for every diagram by using the externalize feature. Is it possible to name the ...
6
votes
1answer
871 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 ...
2
votes
1answer
80 views

Prefix with TikZexternalize does not work for me

The example bellow comes from the documentation of TikZ (p610). It does not work my computer. Note that it works when I comment the option [prefix=figures/]. Any idea of what could go wrong here? \...
0
votes
0answers
57 views

Cannot compile example of externalize from TiKz manual p. 608 [duplicate]

Example from pgfmanual, p. 608 \documentclass{article} % main document, called main.tex \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize % activate! \begin{document} \begin{tikzpicture} ...
1
vote
1answer
65 views

Package TikZ error compile

I got this error: ! Package pgfkeys Error: I do not know the key '/tikz/arrow right' and I am goi ng to ignore it. Perhaps you misspelled it. See the pgfkeys package documentation for explanation. ...
6
votes
1answer
94 views

tikz matrix - a bit longer arrow

The following code: \usepackage{tikz} \usetikzlibrary{matrix} %... \begin{tikzpicture} \matrix (m) [matrix of math nodes, inner sep=0.3pt,row sep=0.3em,column sep=0.3em] { 1s & & & \\ 2s ...
4
votes
1answer
103 views

tikzexternalize optimizes away savebox boxes?

I'm having some issues with savebox and tikzexternalize, when I compile the following code without external everything works as expected, if I enable it the single images get generated correctly but ...
2
votes
2answers
179 views

pgfplots - tikz external - legends are missing

I'm using tikz external to get plots rendered faster. But legends in the plots are missing if external is used. Update: I'm using label to create legend. The same issue does not occur if \legend is ...
2
votes
1answer
102 views

XeLaTeX with tikz external library produces pdfs of wrong size

I am trying to use TikZ and its external library together with XeLaTeX for example in this MWE where I use scrbook for compatibility to my large document, where the error occurs. % !TEX TS-program = ...
3
votes
0answers
84 views

Error using tikzexternalize when placing an image on the verso page

I am preparing a thesis in the same manner as detailed in this question. Namely, I am looking to write a thesis with the text appearing on the right (odd) page, and images appearing on the left (even)...