Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

4
votes
0answers
41 views
+50

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
184 views

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
35 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 ...
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 ...
0
votes
1answer
34 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 ...
3
votes
2answers
42 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 ...
1
vote
0answers
31 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 ...
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 \...
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 ...
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} ...
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
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
66 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 ...
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
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 ...
0
votes
1answer
82 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 ...
2
votes
2answers
203 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 ...
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
194 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
98 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
2answers
80 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} \...
1
vote
1answer
56 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 \...
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]{...
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
1answer
51 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 ...
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} \...
1
vote
0answers
79 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{\...
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 ...
2
votes
2answers
122 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}...
6
votes
1answer
119 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 ...
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 ...
2
votes
1answer
228 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{...
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
95 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
105 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
1answer
84 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? \...
3
votes
1answer
236 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 ...
2
votes
1answer
107 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 = ...
2
votes
1answer
138 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 ...
2
votes
2answers
184 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 ...
5
votes
2answers
200 views

Including TikZ file: the key '/tikz/cap' requires a value

I'm trying to include a file with a specific shape (cup) into another TikZ image, in order to use the cup as a "stamp" to draw more complex figure. The file is located in /usr/share/tikzit/shapes/cap....
3
votes
0answers
85 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)...
1
vote
0answers
111 views

How to reduce file size of eps file when I generate the file from Tikz?

I have read those posts like How to reduce the size of an .eps file? , Eps file is so large [closed] ,Sun life: Linux: how to reduce eps file size? but find little can help my problem. Sun life: ...
2
votes
0answers
44 views

Tizkit: Package pgfkeys Error: I do not know the key '/tikz/shape1' [duplicate]

I'm trying to use tikzit, and I created a shape (basically a new kind of node). The shape is located into /home/user/.config/tikzit/shapes/shape1 but tikzit (and pdflatex as well, obviously) doesn't ...
1
vote
1answer
28 views

Compile error with tikzexternalize after deleting all cache/build/non-tex files

I was having an issue with my cached plots not matching figure captions after moving some blocks of text around, so I wanted to clear the cached images and have tikzexternalize rebuild its cached ...
1
vote
1answer
204 views

Use TikZ externalization and draft-mode with XeTeX

I try to use \tikzexternalize and the documents draft mode in XeTeX. %% tikzext.tex \documentclass[draft]{article} \usepackage{xltxtra} \defaultfontfeatures{Mapping=tex-text} \usepackage{polyglossia} ...
3
votes
0answers
170 views

Tikz externalize not working when jobname is specified for main document

I'm not sure if it's a well known fact or not, but using the tikz externalization library does not work very well if a LaTeX document is compiled with a jobname that is different from the filename of ...