Questions tagged [tikz-external]

Questions about the externalization library of TikZ/PGF.

Filter by
Sorted by
Tagged with
1
vote
0answers
18 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/...
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
1answer
34 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} \...
0
votes
0answers
53 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
51 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
1answer
89 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
37 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
46 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. ...
1
vote
1answer
58 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
0answers
123 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}...
3
votes
1answer
83 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
62 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
0answers
57 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
36 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
27 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
68 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). ...
0
votes
1answer
76 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 {...
1
vote
1answer
32 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
37 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
0answers
63 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 ...
0
votes
1answer
46 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 ...
2
votes
2answers
112 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 ...
2
votes
1answer
141 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
1answer
82 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 ...
5
votes
1answer
152 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 ...
0
votes
0answers
53 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 ...
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 ...
3
votes
1answer
275 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 ...
0
votes
1answer
100 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 ...
2
votes
0answers
82 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
102 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,...
1
vote
1answer
77 views

pgfplots .eps figures problems [closed]

I generated .eps figures with pgfplots. \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error ...
0
votes
1answer
180 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 ...
2
votes
1answer
413 views

Include tikz image in other text files of each chapter

I am working on a book which each chapter has an image .jpg or .png. The code that accomplishes this is: \newcommand{\thechapterimage}{} \newcommand{\chapterimage}[1]{\renewcommand{\thechapterimage}{#...
5
votes
0answers
138 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 ...
1
vote
0answers
70 views

Unable to display tikz plot using externalize and matlab2tikz

I have a tikz picture I have converted from Matlab using matlab2tikz. I am attempting to use the tikz externalize feature as I have many plots to compile in a larger document. When I compile the ...
4
votes
1answer
280 views

Tikz external with beamer animations

I'm trying to speed-up compilation of my multi-tikz .tex file. I found this topic and successfully applied the solution ; unfortunately, it doesn't work for animations inside the tikzfigure: Only the ...
1
vote
0answers
324 views

TikZ externalize to png – Package graphics Error: Division by 0

I need to externalize my TikZ pictures to .png files and include those into my final document. In fact, I'll generate two documents, one with vector graphics and one with bitmaps. When searching the ...
2
votes
3answers
828 views

TikZ externalize and nicematrix package

How to use TikZ external library in combination with the nicematrix package? I tried to use the external library in combination with the nicematrix package (version August 12, 2018) to increase the ...
1
vote
2answers
301 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 --...
1
vote
0answers
252 views

Missing $ inserted with tikzpicture [closed]

Forgive me if I breach ettiquite here, it's been a while... A couple of years ago I wrote two papers as part of my PhD research and submitted them to a journal...they were each about 20 pages long. ...
1
vote
0answers
53 views

How to externalize tikz/gnuplot in baposter

I want to include gnuplot graphs in a poster with the help of gnuplottex and its tikz terminal. In principle this is working (see MWE). However, because some of the graphs are quite complicated, I ...
1
vote
0answers
335 views

Externalize Tikz picture result in error 'pdflatex -holt-on-error but shell escape is used

I am trying to externalize tikz-picture by using the externalize library. I am using Miktex 2.9. I activate the external feature by using \tikzexternalize and also tried \tikzexternalize[shell ...
0
votes
1answer
76 views

Compilation error when standalone is used together with scrlayer-scrpage

Major edit to clarify my intentions (Original question at the bottom) I have three documents: (1) The custom class: %myclass.cls \NeedsTeXFormat{LaTeX2e} \ProvidesClass{myclass} % myclass is ...
2
votes
1answer
156 views

Background package with tikz externalization

I have a follow up question of the thumb index presented in Show current chapter number on each page margin. When I use it alone it works ok. However, when I use it in combination with tikz ...
4
votes
1answer
219 views

pgf/tikz externalization + tabu: makefile and legend to name problems

I am having troubles with the combination of tabu and pgf/tikz exernalization. Please consider the code snippet below which I try to compile using lualatex or pdflatex using texlive 2018. \...
2
votes
1answer
333 views

Automated document generation with \tikzexternalize[mode=list and make]

With help of this Question I managed to realize a parallel externalization of multiple tikz picture rendering using the tikzexternalize option mode=list and make. Considering the following example \...
1
vote
1answer
160 views

Tikz Externalize with Title Page

I have written a thesis class that is also available on Github. I am using this for my thesis and want to include several Tikz/PGFPlots. When using the externalize library, the autogenerated figures ...
3
votes
1answer
439 views

tikzexternalize and includegraphics that containning a standalone file

Because I have to include a lot of plots I want to externalize my tikz figures. But also because I like to work with standalone when I create the tikz figures, I would like to combine both. But I get ...

1 2 3 4 5 8