Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

1
vote
0answers
61 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 ...
0
votes
1answer
33 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
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
58 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
43 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
128 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
1answer
42 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
133 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) ...
0
votes
1answer
58 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
39 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
53 views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of ...
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
1answer
43 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
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} ...
1
vote
0answers
64 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
38 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
112 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 ...
5
votes
1answer
92 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
70 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
1answer
147 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/] ...
0
votes
0answers
53 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
55 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
84 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
90 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
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? ...
3
votes
1answer
191 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
80 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
116 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
146 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
165 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 ...
3
votes
0answers
69 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 ...
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: ...
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 ...
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 ...
0
votes
1answer
148 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
141 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 ...
0
votes
1answer
169 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} ...
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
94 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 ...
1
vote
0answers
93 views

Strange behavior with external library of Tikz and media9 package

When using external library of Tikz and includemedia of media9 package in a beamer presentation, PDF files generated by external library has an abnormal size. In the simple example below, when compile ...
1
vote
1answer
111 views

Use tikzexternalize for pgf-groupplots with \uncover in beamer

I successfully used the answer to Beamer overlays, tikz external and custom file name in my presentation. However the proposed solution does just seem to work for \only. When I use \uncover I get a ...
2
votes
1answer
188 views

TikZ externalize vs. the list of figures

I'm using pgf in combination with tikzexternalize for every plot. Now it's the first time I want to create a list of figures in latex and I realised, that the externalize function does not well behave ...
6
votes
2answers
127 views

Troubles with hyperref and Tikz externalization

Consider the following example : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{hyperref} \usepackage{tikz} \usepackage{xparse} ...
2
votes
0answers
38 views

TiKz externalization ignoring scale

I want to use a TikZ picture (an Eiffel tower but it does not matter) a lots of times in the same document, but with different sizes and different colors. The first option could have been to define a ...
2
votes
0answers
55 views

Crashes when using tikzscale and hyperref

After updating MiKTeX to solve another problem, I broke something because the following MWE is not generating an externalized pdf anymore. \documentclass{report} \usepackage{filecontents} ...
3
votes
2answers
74 views

Code Error From Geogebra for Tikz

I try many changes in this code, but I don't see the error. Can someone help me? \documentclass[10pt]{article} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} ...