Questions tagged [externalize]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
44 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 : \...
0
votes
1answer
23 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 ...
0
votes
1answer
38 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{...
0
votes
0answers
30 views

How to set bodegraph/gnuplot prefix in preamble?

This is a duplicate of this question, I have the same problem but I would insert the option gnuplot def/.append style={prefix={}}, in preamble without repeating it for each tikzpicture. I already ...
0
votes
0answers
36 views

Is it possible to externalize TikZ pictures in combination with pythontex?

I'm trying to externalize tikz pictures that are produced inside a pysub environment (from the pythontex package). The different compilation steps i'm using here are : Lualatex Pythontex Lualatex If ...
0
votes
0answers
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 ...
2
votes
1answer
89 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{...
1
vote
1answer
103 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 ...
1
vote
0answers
71 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 ...
0
votes
0answers
42 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 ...
1
vote
0answers
752 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: \...
1
vote
1answer
228 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 ...
1
vote
1answer
77 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 ...
1
vote
1answer
101 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} ...
1
vote
0answers
136 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 ...
3
votes
1answer
64 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 ...
0
votes
0answers
56 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?. ...
2
votes
1answer
101 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} \...
0
votes
0answers
123 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=...
0
votes
0answers
150 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 ...
2
votes
1answer
270 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 ...
1
vote
1answer
115 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....
1
vote
1answer
474 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 ...
1
vote
1answer
249 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{...
0
votes
1answer
43 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
169 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). ...
1
vote
1answer
182 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{...
0
votes
0answers
30 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 ...
2
votes
2answers
83 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 --...
5
votes
0answers
186 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 ...
5
votes
1answer
5k views

Why it gives an error when using \ tikzexternalize?

The message "Package tikz Error: Sorry, the system call 'pdflatex -hell-escape -halt-on-e" appears when I compile with pdflatex and also when I compile with pdflatex-shell-escape. If I remove \ ...
3
votes
1answer
52 views

Tikz externalization and global arguments: no update

Consider the following TikzExample.tex example to be compiled via pdflatex -shell-escape TikzExample: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{external} \...
1
vote
0answers
39 views

abntex2 does not accept tikzexternalize [duplicate]

I am using abntex2 to write my thesis and using several tikz pictures, which leads to long compiling times. However, I am unable to use tikzexternalize with this document class. The system is ...
2
votes
0answers
242 views

TIKZ Externalize with filename and path variable

I have following problem: A big latex project project.tex with several chapters. For each of these chapters I have several tikz pictures that I want to externalize in the folder tikz_pdf. The file ...
1
vote
0answers
436 views

TikZ - Resize, Externalize AND tikzsetnextfilename Figures

I have a document (two-column article) with several TikZ images, and I want to: Scale the figures to half of the column width, without changing the text's font size Externalize the figures inside the ...
1
vote
0answers
846 views

lack of memory for big document

I have big document in LaTeX (approx. 1000 pages, tens used packages, math, hundreds references \bibitem + \cite, cross-references \label + \ref, indices \index, tables and TikZ figures). The document ...
2
votes
1answer
601 views

TeX capacity exceeded even with \tikzexternalize

I'm trying to plot a set of 10000 points and I'm getting the TeX capacity exceeded, sorry [main memory size=5000000]. error. I'm using externalization. Here is my MWE. \documentclass{report} \...
2
votes
0answers
619 views

Weird behavior with glossaries, imakeidx and externalization in tikz

I have a somehow curious problem. I have a large document with a list of acronyms, several glossaries, plots and an index. For the creation of the list of acronyms and the glossaries I use the ...
2
votes
1answer
200 views

combining forest externalization with beamer overlays

The answer here for revealing a forest tree in beamer bottom-up works beautifully. But it appears to be incompatible with externalization. The following example successfully compiles (with --shell-...
1
vote
1answer
154 views

referencing in a caption of a TikZ figure (the reference uses indexuse) and externalization

The following LaTeX code that use \tikzexternalize does not compile apparently because of the use of the macro \ctrref{alldifferent} in the caption of Figure 1 (but the commented out caption works: ...
1
vote
1answer
996 views

Tikzexternalize does not update with self-written plot command

EDIT 2: So the problem is that the code within the tikzpicture environment is not expanded before the generation of the .md5 hash. So, the content does not change with different inputs. Now, I have ...
0
votes
1answer
332 views

Beamer - overlay makes tikzpicture move

The following code makes the first layer to be positioned differently (with horizontal bias) with respect to the second and third layers. If the colums and columns environments are removed, the three ...
5
votes
1answer
3k views

Using externalize with standalones for tikz figures? - (output-directory and tikzexternalize)

I am using TexStudio on Mac with texlive 2016. For my tikz figures I use ktikz and matlab2tikz. Some matlab plots have quite a few data points, therefore I decided to use standalones for all my tikz ...
2
votes
1answer
1k views

Set resolution of Tikz picture exported to pdf using \tikzexternalize

When exporting a tikzpicture to its own pdf file for publications, I want to be able to specify the exact size and resolution of the exported pdf file. Specifically 8.5 cm wide and 600 dpi images. ...
3
votes
1answer
2k views

pgfplots external vs TikZ external

In my preamble I have both \usetikzlibrary{external} \usepgfplotslibrary{external} Since the first one externalizes TikZ figures, while the second one is more aimed towards pgf figures. But since ...
2
votes
1answer
679 views

Externalising TikZ pictures using PdfLaTeX

Here there is my problem with the externalising for tiki package with PdfLaTeX. I am not so new to LaTex, nevertheless I have never used the externalisation for the figures. I use texstudio on a mac (...
4
votes
1answer
264 views

printindex and tikzexternalize won't create a pdf-file for the tikz-image

When using \printindex and \tikzexternalize together, then \tikzsetnextfilename{pdfname} will not create a external pdf-file for the tikz-image. See sharelatex link: here or code here: \...
2
votes
1answer
103 views

forest with externalization ignores line breaks (bug?)

This code, compiled with pdflatex --shell-escape does not work as expected: \documentclass{article} \usepackage[external]{forest} \begin{document} this is the line of text I compile \end{document} ...
2
votes
0answers
431 views

TikZ externalize does not see shell-escape as enabled

I'm trying to compile a document with TikZ externalize and eps2pdf, both of which needs shell-escape to work. I'm using Emacs with AUCTeX, and would like to work from the editor alone. However, ...
1
vote
0answers
177 views

Avoid multiply defined labels using tikzscale and TikZ externalize

I'm using the tikzscale package to scale my TikZ and PGFPlots graphics. This packages uses several iterations to get the desired dimensions. If I'm activating the externalization and use a label to be ...