Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

1
vote
2answers
65 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} ...
3
votes
1answer
71 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 ...
0
votes
1answer
35 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
64 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
54 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
38 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
60 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
163 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
46 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
54 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
136 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
68 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 ...
1
vote
1answer
43 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
140 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
68 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
41 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
54 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
54 views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of ...
0
votes
1answer
46 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
113 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 ...
1
vote
1answer
39 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
307 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 ...
5
votes
1answer
98 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
120 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
155 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/] ...
3
votes
1answer
196 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
828 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
64 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
54 views

Cannot compile example of externalize from TiKz manual p. 608

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
56 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
86 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
91 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
152 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
82 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
71 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 ...
5
votes
2answers
170 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 ...
2
votes
0answers
43 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 ...
2
votes
1answer
853 views

tikzexternalize in TeXMaker doesn't work [closed]

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
0answers
101 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: ...
1
vote
1answer
21 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 ...
4
votes
0answers
434 views

\tikzexternalize causing problems with template

I have a large document (I'm using pdflatex with Eclispe and TeXlipse) with many (many) TikZ graphics (most of them math function plots). Hoping to reduce compilation time drastically, I read about ...
0
votes
1answer
158 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
144 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 ...
2
votes
2answers
138 views

Problem with tikz externalize and automatic solutions

I am using a solution environment for exercise sheets as proposed by @egreg some years ago: http://tex.stackexchange.com/a/39566/4011. However if I combine it with the tikz externalize library, it ...
4
votes
2answers
113 views

Externalize PGF

I have a bunch of figures made using Matplotlib's PGF backend. To avoid regenerating all these plots with Matplotlib if there is a style change, I prefer to just \input the PGF files directly in my ...
1
vote
1answer
150 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} ...
0
votes
1answer
171 views

Errors when including a Tikz figure in a beamer presentation

I want to include an external tikz file in a beamer presentation. I get following error: Missing number, treated as zero. MWE: content of .tex file: \documentclass[xcolor=pst]{beamer} ...
0
votes
0answers
363 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 ...
1
vote
1answer
109 views

Problem, when loading minted after \tikzexternalize

Yesterday I found my old thesis and found out that there is a new version of minted (2.0+) which somehow don't want to work with my old thesis since all the listings were not highlighted. ...
0
votes
0answers
100 views

Texmaker build subdirectory & TikZ external

Is is possible to combine tikzexternal with the build option of texmaker (use a "build" subdirectory for output files)? My following minimal example does not work with the build option. The project ...