Questions tagged [tikz-external]

Questions about the externalization library of TikZ/PGF.

Filter by
Sorted by
Tagged with
3
votes
1answer
43 views

How does externalize know when to redraw a tikzpicture?

I am learning about the externalization library (manual version 3.1.3, section 52, page 661). There isn't anything mentioned regarding how the library redraws/regenerates a modified tikzpicture. In ...
1
vote
1answer
59 views

pgfplots relative paths with import command

I have a large number of pgfplots generated figures that I would like to include in my main document from their location in a figures folder. The figures and corresponding data are stored in folders ...
0
votes
1answer
41 views

Change path of tikzexternalize

I am using pdfLaTeX with the tikzexternalizecommand, but can seemingly only set folders in the same directory as my main tex file. \usetikzlibrary{external} \tikzexternalize[prefix=tikz/] works, ...
1
vote
1answer
91 views

TikZ externalize + LuaLaTeX + Output Dir + Precompile Preamble = Fail

How can I externalize TikZ in such a configuration? There is my MWE: preamble.tex: \documentclass[a4paper, 10pt]{article} \usepackage[left=30mm, right=10mm, top=15mm, bottom=25mm]{geometry} ...
2
votes
1answer
2k views

Question regarding pgfplots externalize

For the sake of speed and potential file size errors I have been trying to set up the externalization of pgfplots/tikz for my figures including/excluding luatex. I have the following question which ...
3
votes
0answers
3k views

PGFPlots: Externalizing Images and pdflatex -shell-escape <filename> [closed]

I want to externalize images using the commands: \usepgfplotslibrary{external} \tikzexternalize The PGFPlots Manual says to use pdflatex -shell-escape <filename>. I'm assuming I should type ...
1
vote
0answers
216 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
1answer
52 views

How to externalise tikz figures using the latex compiler instead of pdflatex compiler?

I am working with eps figures, and I would like to externalise some figures thought external tikz library. Thus, I prefer to use latex compiler rather than to use pdflatex compiler. But it is not ...
1
vote
0answers
26 views

Tikz externalize doesnt compile pdf when using \tikzset{external/mode=graphics if exists}

Hellow there, I have set up a minimal multifile example to see how the \tikzexternalize command works. The file structure is as show below |-main.tex |-sec/ |--sec1.tex |--sec2/tex |-Graphs/ |--TikZ/...
4
votes
1answer
398 views

showing pgfplots one by one in beamer doesn't work

I'm trying to create a plot that has many curves, and so I would like to use the only feature of beamer to make each curve appear one by one. This is the MWE for the figure without trying anything yet:...
1
vote
1answer
35 views

Combining tikzexternalize with tikzscale and trim axis

Attempting to build the following results in pdflatex hanging and building the file over and over again forever: % !TEX options=--shell-escape \documentclass{article} \usepackage[english]{babel} \...
2
votes
2answers
252 views

How much memory does LuaTeX use?

I've had issues compiling documents this week using LuaTeX on my laptop, where LuaTeX seems to gobble up as much memory as it can, totally crashing the laptop—i.e. requiring a hard reset as it's ...
0
votes
1answer
93 views

Externalizing pgfplots/gnuplots in Beamer — contour gets computed for every slide

I am trying to externalize pgfplots, gnuplot and contour gnuplot in beamer. Towards this end I am using the visible on=<> facility of \usetikzlibrary{overlay-beamer-styles} (cf. this answer by ...
0
votes
0answers
30 views

TikZ externalize and overlay in beamer [duplicate]

I want to center my images on a frame with the method suggested in this answer. (In particular I want to avoid wobbling between consecutive frames.) However, when using the TikZ external library, the ...
1
vote
0answers
55 views

Externalizing pgfplots/gnuplots in Beamer — improving performance of contour plots

I am trying to externalize pgfplots, gnuplot and contour gnuplot in beamer. Towards this end I am using the visible on=<> facility of \usetikzlibrary{overlay-beamer-styles} (cf. this answer by ...
0
votes
0answers
52 views

Externalizing pgfplots/gnuplots in Beamer — including “\jobname” in filename

I am trying to externalize pgfplots, gnuplot and contour gnuplot in beamer. Towards this end I am using the visible on=<> facility of \usetikzlibrary{overlay-beamer-styles} (cf. this answer by ...
0
votes
0answers
43 views

PGF/TikZ externalization on ubuntu does not generate a separate PDF-file

I am trying to compile my document on my ubuntu 18.04 system with TikZ's externalization enabled, but it won't generate separate PDFs for the figures. Interestingly, it works smoothing on my Windows ...
0
votes
1answer
57 views

\tikzsetnextfilename externalize with filename as variable

I want to externalize my pictures with the external tikzlibrary. The problem is that there are pictures created inside \newcommand and i have to automatically set the filename tor the externalization. ...
3
votes
0answers
127 views

Chemfig schemes and tikz external

Is there any way to externalise a chemfigscheme with tikz? At the moment a good fix to externalise simple chemfig pictures is to place them inside a \begin{tikzpicture}...\end{tikzpicture}...
1
vote
1answer
60 views

\usetikzlibrary{external} for compilation speedup incompatible with center page alignment via TikZ?

For larger beamer presentation I have a bunch of (TikZ) animations (see here for a little context). To speed up compilation, I would like to get some help from \usetikzlibrary{external} in my preamble....
3
votes
1answer
92 views

nicematrix and tikz external/optimize

Following this question the nicematrix v3.3 (2019/10/01) package from @f-pantigny has no problems with the tikz tikzexternalize library. But this code \documentclass{standalone} \usepackage{amstext}...
1
vote
0answers
65 views

Run TeX - Problem to understand TikZ manual [closed]

I have been trying to externalize my TikZ pictures so I do not need to recompile them every time. I read The TikZ andPGFPackages Manual for version 1.18 written by Till Tantau and I have some ...
0
votes
1answer
28 views

tikzexternalize produces a broken makefile on FreeBSD

The following mwe.tex creates a makefile, which is not working on FreeBSD; it's mostly taken from the pgfplots manual. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \...
0
votes
0answers
61 views

pgfplots/tikz externalize to avoid memory cap not functioning

I'm trying to use tikz and pgfplots to draw graphics made in R using ggplot but I've been running into the memory cap in TeX: TeX capacity exceeded, sorry [main memory size=3000000]. \end{tikzpicture}...
0
votes
0answers
37 views

How to get tikzexternalize to typeout the current figure name for use by latexmk?

I am trying to patch tikz-externalize to do a \typeout{figure-0.pdf}(described here) for all figures, so latexmk realizes it is a dependency and runs the following rule add_cus_dep('md5', 'pdf', 0, '...
0
votes
1answer
77 views

How to properly use savebox with tikz externalize?

I am unable to properly capture dimensions with savebox while tikzexternalize is on. Here is the MWE: \documentclass {article} \RequirePackage {tikz} \RequirePackage {expl3} \usetikzlibrary {...
2
votes
1answer
151 views

How to globally modify variable from externalized tikz picture?

Is it possible to update global variables from within externalized tikz picture? I would like for global modifiers(in this case \tl_gput_right:Nn) to outlast the scope of tikz picture. Here is the ...
0
votes
0answers
79 views

TIKZ externalize no longer works on MiKTeX

Perhaps after the most recent update to win10, running TiKZ externalize command in TeXWorks gives the error message that the shell command is missing (it is not, and externalization worked recently). ...
5
votes
1answer
589 views

TikZ plots get recompiled every time when using tikzscale

For my thesis I have a lot of TikZ plots exported from Matlab using the matlab2tikz library. I want to use the tikzscale package together with externalization of the plots to save compiling time. ...
1
vote
1answer
34 views

From a file of different extensions in a directory, how to load a list of files by extension using \foreach latex command?

Into of directory named by dir, I have the following files: -> ./dir/fileA.eps -> ./dir/fileB.eps -> ./dir/fileC.eps -> ./dir/filePNG-A.png -> ./dir/filePNG-B.png -> ./dir/filePNG-C....
1
vote
1answer
39 views

\label and \ref do not work correctly using pgfplots, hyperref and tikz externalization

I have the following MWE: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \usepgfplotslibrary{external} \tikzset{external/mode=list and make} \tikzexternalize \usepackage{...
2
votes
2answers
122 views

TeX capacity exceeded when externalizing

I have several large TikZ plots I want to externalize. Without externalization, everything works fine. Document: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} %\tikzexternalize ...
5
votes
1answer
169 views

Problems with tcolorbox and TikZ external

I am writing a book which will contain a lot of TikZ figures and tcolorboxes. To speed things up I want to use the TikZ external library. However, I have run into some problems that I would like to ...
2
votes
0answers
68 views

how to resolve incompatibility of tikz-cd and external

I am trying to export tikz pictures using tikz-cd to pdf. In order to run the tikz-cd, I had to disable the external library as shown below \documentclass{article} \usepackage{amsfonts} \usepackage{...
2
votes
1answer
51 views

Re-use externalised tikzpicture

I have a small diagram, drawn using TikZ, I would like to use in more than one place in a document. Given that I activated the TikZ externalisation features (I need them for other purposes than this ...
1
vote
1answer
128 views

legend for multiple externalized tikz

I need to externalize the two tikz images inside the code below as PDF (for a journal article) and then read these PDFs, as well as add a single legend for both from outside by using \...
0
votes
1answer
91 views

Metropolis beamer theme and TikZ externalization does not correctly reset the font color after a change

Using the metropolis beamer theme, I'm having an issue where, as soon as a tikzpicture is externalized, the font color reverts to black instead of the metropolis grayish default color, as evidenced in ...
0
votes
0answers
55 views

Pgfplot Externalize & Trim Axes

I've recently run into a pickle. I like to use pgfplots to create figures in my reports. Occasionally I have enough figures that I'd like to use the externalize option of pgfplots. This means the ...
1
vote
2answers
316 views

Running out of memory with MikTex

I am attempting to build a number of figures with tikz...one keeps failing to build and the log file indicates I'm running out of memory. I've used initexmf --edit-config-file pdflatex initexmf --...
7
votes
1answer
2k views

How to externalize TikZ pictures

I have an article with many TikZ pictures. In order to make the code more clear and to save compilation time, I want to remove the TikZ code from the main document. I read that this is possible with ...
8
votes
1answer
360 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 ...
3
votes
1answer
316 views

Externalizing TikZ-Images takes very long

Introduction Hello, I am facing very long compile times of more than 14 minutes for a ~130 page document, including around 40 PGF-Plots/TikZ-Images. Due to LaTeX's memory limits and (in fact) for ...
10
votes
4answers
4k views

TikZ externalize → pdf → eps → Word import = ☠

I have a series of TikZ figures which I need to include in Word document (conference requiring Word submissions). Allowed format as EPS and TIFF. The figures are obviously vector graphics; they are ...
4
votes
2answers
668 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 ...
0
votes
1answer
109 views

Tikz table with reference

I need to draw a table with the same arrows. The reason I do not want to use the graphics software is that I need to add dynamic references inside the cells using latex. I would appreciate if ...
1
vote
1answer
113 views

Cross referencing and standalone class

I have a cross referencing problem using the standalone class. Let me clarify. This is the Main.tex: %** Main.tex** \documentclass{article} \usepackage[italian]{babel} \usepackage{amsmath,...
2
votes
0answers
83 views

Extract all graphs from a presentation to external file

I often use the extract package to automatically generate an external file with all the url of a Beamer presentation using \begin{extract}...\end{extract} outside frames and it works well. However my ...
1
vote
1answer
82 views

pgfplots .eps figures problems [closed]

I generated .eps figures with pgfplots. \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error ...
0
votes
1answer
191 views

How to make LuaLaTeX multithreaded when `--shell-escape` is enabled? [duplicate]

I found this thread: How to make pdfLaTeX multithreaded when `--shell-escape` is enabled? It works great. But when I change to LuaLaTeX there is still just 1 cpu active. So is there a way to achive ...
5
votes
1answer
216 views

AucTeX mistakes Tikz warning as error

AucTeX 11.90 (Emacs 25.2) gives the following error instead of a warning when using Tikz Externalize: ! Package tikz Warning: The key 'up to date check=md5' is impossible, there is no macro to ...

1
2 3 4 5
9