Skip to main content

Questions tagged [externalize]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
57 views

Tikz externalize doesn't work in overleaf with LuaLatex

I have a big project with multiple folders and files in overleaf and I want to externalize my tikz figs. I have followed this tutorial but this doesn't work. I get the following error for all the figs ...
Jean's user avatar
  • 11
0 votes
0 answers
30 views

Check if a file has been modified since last compile in Overleaf

I have an if-statement that I call in my .tex document in Overleaf \IfFileExists{mypdf.pdf} {\includegraphics[width=1\textwidth}{mypdf.pdf}} {\includestandalone[width=1\...
David G.'s user avatar
  • 329
1 vote
0 answers
38 views

Tikz externalization - Mode: list and make - not able to generate figures

I'd like to replace some of my .pdf-figures with their .png-version and I stubbled upon this question https://stackoverflow.com/questions/56708895/tikz-png-output-does-not-output-a-png and I got some ...
mathetronaut's user avatar
2 votes
1 answer
57 views

Enabling automatised support for Biblatex when using memoize

Note that this question concerns memoize version 1.1.2 (2024-01-21) and, perhaps, later. memoize version 1.1.2 provides built-in support for automatic handling of \cite and \cites in memoized code ...
cfr's user avatar
  • 207k
1 vote
1 answer
47 views

TikZ externalization failing when using annotationimage

tikzexternalize works fine until I use the annotationimage environment (which itself doesn't work without disabling externalisation, for whatever reason): \RequirePackage{mwe} \documentclass{article} ...
ehak's user avatar
  • 35
0 votes
0 answers
36 views

How to prevent placing chemfig pictures in tabularx producing error when attempting to externalize it?

I am attempting to put some chemfig diagrams into my tabularx. I have got the table appearing as I want it, however I just tried to externalize the tikz drawings to speed up compilation and I am ...
Cale M's user avatar
  • 1
3 votes
3 answers
301 views

Externalizing large tikz figures

I am writing a paper, which includes several large tikz figures and I am having a lot of problems. I read a lot of posts about this, but no approach seems to work. I am working with texstudio 4.5.2 ...
latex_beginner's user avatar
1 vote
1 answer
80 views

Tikz Externalize: Manual up-to-date check

I'm using this macro to scale my pgfplots to a desired size: \newsavebox{\measuredSize} \newcounter{int} \newcommand{\resizeToMeasure}[3]{% \pgfmathsetmacro{\pgfplotswidthtarget}{#2}% \...
ValenStein's user avatar
1 vote
0 answers
23 views

How to pass "parameters" from figure to figure when using \tikzexternalize

On the first figure below ( \tikzexternalize is disabled) the diagram on the right is drawn using the possibility of the "calc" library to draw parallel lines. I need this schematic to be in ...
rpapa's user avatar
  • 12.4k
1 vote
1 answer
50 views

pgfplotstable, externalize and list-and-make with auxiliary output directory

I am setting up a .latexmkrc configuration for my workflow with latexmk, and ran into a dead end regarding a pathing/lookup problem. my setup so far (use as MWE) .latexmkrc: # Set the program used to ...
marc's user avatar
  • 701
1 vote
1 answer
89 views

tikzexternalize & tcolorbox not working together

If I externalize a tikzpicture, LaTeX does not keep in draft mode an appropriate space as in the case of includegraphics. It does not help to format the text properly. So I combined both commands to ...
Matt Math's user avatar
2 votes
1 answer
112 views

Error when using TikZ external and tikzmark libraries together

(Possibly related to this, but the example and the error are very different from what I've come up with. Plus it's a question from 2015, and the answers have been updated in 2017 and no later, so I ...
Enlico's user avatar
  • 2,612
1 vote
1 answer
70 views

How to get TikZ external figures to be named by a hash of the figure rather than by ordering?

I am using \usepackage{tikz}, \usepackage{pgfplots}, \usepgfplotslibrary{external}, \tikzexternalize. I have figures that are very slow to TeX (on the order of minutes), so I'm quite happy to have \...
Jason Gross's user avatar
  • 2,169
1 vote
1 answer
69 views

Tikz externalize crashes on texlive using MWE [closed]

If I run the MWE for tikz with externalize from their documentation: https://tikz.dev/library-external#sec-52.4 , I get the following error: ===== 'mode=convert with system call': Invoking 'lualatex -...
Deepblue's user avatar
  • 111
2 votes
1 answer
106 views

tikz externalize works on some figures but not on others

Trying to speed up the compilation of a book I'm writing, I learned about the "externalize" feature of tikz. However, there are some figures it bombs out on with the error ! Package tikz ...
Sander's user avatar
  • 23
1 vote
0 answers
67 views

Tikz externalize creating pdf with repeated images

I defined a command masterTriangle to put inline a triangle created using the tikz library. I use this command many times in my document, which is actually a big book and thus for which I need to use ...
aaragon's user avatar
  • 3,051
0 votes
1 answer
126 views

tikz externalize error

I've run into a compilation error for the externalized option with tikz. Up to a couple months ago it all worked fine. Now I am getting this error ! Package tikz Error: Sorry, the system call '...
Timo's user avatar
  • 73
0 votes
0 answers
128 views

Speed up tikz externalize

I am using the externalize functionality of tikz for a large document with many complicated pictures. Whenever tikz has to generate a single picture because I have changed its code it executes the ...
Jan Hajer's user avatar
  • 874
1 vote
0 answers
192 views

Tikz externalize not working on Tectonic despite shell-escape enabling

While trying to compile some graphs with PgfPlots I incurred in the out-of-memory error in Tectonic. I therefore looked around for solution and Tikz externalization presented itself as a solution. ...
fil.co's user avatar
  • 11
0 votes
1 answer
98 views

Externalise tikz figures and LaTeX output in different directories

I have the following tree: . ├── main.tex ├── output └── tikz I would like to compile main.tex using output for LaTeX output, but having the tikz PDFs externalised in the tikz directory, which would ...
antonio's user avatar
  • 1,446
3 votes
2 answers
736 views

TikZ-externalizing a PGF image (e.g. from matplotlib)

I am trying to include PGF figures from files (in my case created by matplotlib) and combine them with the TikZ-externalizing workflow. The benefit of including PGF figures in the first place is that ...
BanDoP's user avatar
  • 693
2 votes
2 answers
486 views

How to use \tikzexternalize and the overlay option at the same time?

I am trying to create a cover page in LaTeX with Tikz (the example provided is very simple but the goal is to have a more detailed cover page). I am using PDFLaTeX. I have to use the overlay option on ...
Alex.S's user avatar
  • 23
0 votes
1 answer
208 views

Generate a standalone figure.pdf from a figure.pgf?

I noticed the build of a pgf figure is a long process, and running it each time I build my document takes ages. Instead I would like to generate the figures separately. So I wrote this : \...
nowox's user avatar
  • 1,417
0 votes
1 answer
93 views

tikzlibrary: externalize - Generate figures without background

Hello there When using tikz's external library in a document with tcolorbox translucent boxes, the generated figures have the page background and appears as a hole in the tcolorbox box, how to remove ...
Felipe9's user avatar
  • 339
0 votes
1 answer
75 views

tikzlibrary: external file names with spaces issue

Hello there Currently trying to implement tikz's external library to a file named stack q.tex MWE: \newcommand\subfilename{"./stack q.tex"} \documentclass{article} % pgfplots \usepackage{...
Felipe9's user avatar
  • 339
0 votes
0 answers
44 views

TeX capacity exceeded using pgfplots with/without externalization when compiling with PDFLaTeX [duplicate]

I have very big issues in externalizing and generella produce plot with latex. I'm compiling with PDFLatex and the compiler is texmaker. I'm compiling my thesis that consists in different chapters and ...
Enrico Lorenzi's user avatar
2 votes
1 answer
204 views

How to externalize a tcolorbox to produce a PNG file useable for htlatex?

The following code produces a picture of a tcolorbox that contains an axis. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{tcolorbox} \begin{document} Test \begin{...
Clemens Lode's user avatar
1 vote
1 answer
282 views

Alternatives to tikzexternalize

I know this may sound too broad, but: is there any alternative approach to tikzexternalize out there? Especially when using pgfplots. At least for me, it is not always easy/straightforward to have the ...
Alessandro Cuttin's user avatar
1 vote
0 answers
170 views

Externalize PGF file that includes a cross-reference

I have some figures as PGF files that include cross-references in them. Each time I compile my main document, these figures are recompiled too. Therefore I would like to externalize these figures. The ...
Spinbar's user avatar
  • 11
0 votes
0 answers
59 views

Avoiding externalized tikz images to recompile after an image is inserted

I am sorry if this question has already been answered ( I searched thoroughly but could not find anything) and if my description leaks information (it's my first post and imho a MWE will not be ...
Sempft's user avatar
  • 21
1 vote
0 answers
2k views

Can't compile my project in Overleaf because of compilation timeout

I am trying to compile a file with a lot of Tikz images (about 90) with pdfLaTex and this is always giving me a compilation timeout error. I tried to externalize the images with the commands: \...
mcali's user avatar
  • 38
1 vote
1 answer
713 views

TikZ/external: LaTeX Error: Missing \begin{document}

Why do I get this error of missing \begin{document} in the log file therect.log of the externally built image threct.pdf? P.S. I am sorry for not fully cleaning the code of repeated package loading ...
Diaa's user avatar
  • 9,689
1 vote
1 answer
222 views

Tikz externalize used with xelatex and scrbook produces wrong sized figures-pdf

While using xelatex and scrbook along with tikz and externalize I get the output figures in wrong size, so not only the figure itself, but a whole DIN-A4-page with the figure at the top left. This ...
Dmitri's user avatar
  • 31
1 vote
1 answer
440 views

TeX capacity exceeded even though I externalize

here is my MWE: documentclass[10pt, a4paper, twoside, ngerman]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{siunitx} \usepackage{geometry} \usepackage{tikz} ...
Steradiant's user avatar
1 vote
0 answers
232 views

Missing number error with LuaLaTeX and standalone under LaTeX 2020/10/01 [closed]

I have troubles using TikZ externalize and standalone. It seems that the required PDF is not generated. First, I suspected the recent PFG update (https://github.com/pgf-tikz/pgf/issues/932) but after ...
Dobu's user avatar
  • 51
3 votes
1 answer
86 views

Counting shipouts

Is there a way to get the number of pages shipped out so far? To be clear, I want to count "physical" output; I'm not interested in logical page numbers we typically find in the footer or ...
Sašo Živanović's user avatar
0 votes
0 answers
107 views

glossaries in pgfplot not displayed

I am currently trying to use a glossary entry in the labels of a PGFPlot. E.g. ylabel={$\gls{F}_h\ in\ \glsunit{F}}. I set up glsunit according to How to use glossary entry in siunitx command?. ...
Thorsten's user avatar
  • 113
2 votes
1 answer
146 views

Externalization with Asymptote

There is a way to externalize pictures with Latex. I've created a folder qwe in the directory where my main document.tex sits and typed: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \...
Sergey Belyaev's user avatar
0 votes
0 answers
196 views

'TeX capacity exceeded' even though I use externalization

I added the -shell-escape (or -enable-write18) option in my Texstudio because I have a lot of heavy data plots in my document. For now, I just hardcoded it in the Compile command pdflatex.exe -synctex=...
Steradiant's user avatar
0 votes
0 answers
261 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 ...
Max's user avatar
  • 171
3 votes
1 answer
630 views

pgfplots : md5 but no pdf

I'm re-opening some documents I worked on 3 years ago. Everything was working fine (set size, colors, text, legend, externalize to pdf, reinput pdf figure to save computation time) I'm using exactly ...
user12377975's user avatar
1 vote
1 answer
158 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....
Habi's user avatar
  • 7,804
1 vote
1 answer
887 views

include .dat file in externalized pgfplots

I'm writing my PhD manuscript and I've got a lots of figures. What I want is: use externalized tikz as the graphs are saved as .dat and there's a lots, store the externalized files in an explicit ...
etienne-monier's user avatar
1 vote
1 answer
458 views

Getting a valid makefile from tikz-externalize when using `-output-directory` and input

The following mwe does produce an invalid makefile when used with latexmk's -output-directory option. (The example is from the pgfplots manual) latexmk mwe.tex -output-directory=build \documentclass{...
927589452's user avatar
  • 118
0 votes
1 answer
60 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} \...
927589452's user avatar
  • 118
0 votes
0 answers
245 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). ...
George Mailath's user avatar
1 vote
1 answer
279 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{...
apriori's user avatar
  • 963
0 votes
0 answers
34 views

Logic behind Standalone Precompiled graphics

I want to compile my expensive graphics to a PDF such that I can integrate the files in my main document. I am using pgfplots and groupplots for that purpose. So let's say I have two graphics looking ...
Sibylse's user avatar
  • 299
2 votes
2 answers
208 views

No hyperref funktion in externalized TikZ picture

I'm a bit confused as I read the TikZ manual. Is there a opportunity to hyperref out of an externalized TikZ graphic into the main document? When I compile the following code with pdflatex and --...
davidgrills's user avatar
5 votes
0 answers
234 views

Tikz externalize resulting in legends with wrong style

I have an issue that has already been discussed in some form for example here and here but I have not been able to resolve it with the hints/solutions given there. Please consider the following ...
bonanza's user avatar
  • 2,181