Questions tagged [tikz-external]

Questions about the externalization library of TikZ/PGF.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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
11 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
39 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
59 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
22 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
27 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{...
1
vote
0answers
38 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
36 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
0answers
23 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
78 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 ...
1
vote
1answer
116 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
42 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 ...
4
votes
1answer
79 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
36 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 ...
6
votes
1answer
608 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 ...
2
votes
1answer
149 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
68 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
74 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
64 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
63 views

pgfplots .eps figures problems [closed]

I generated .eps figures with pgfplots. \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error ...
0
votes
1answer
121 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
310 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}{#...
4
votes
0answers
126 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
68 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 ...
2
votes
1answer
189 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
209 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
559 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
250 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
140 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
43 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
176 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
72 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
113 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
196 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
203 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
123 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 ...
2
votes
1answer
218 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
vote
0answers
119 views

custom names for crossref files when using tikz external

The answer to this question suggests that to automatically set a file name of externalized graphics equal to the file name of the tikz, the following can be used: \newcommand{\includetikz}[1]{% \...
7
votes
1answer
156 views

How do I deactivate tikz output to the document and only generate PNGs?

I want to use tikz images but include them in my document via PNG with includegraphics. This works nicely both for PDF and HTML, but the original tikz image is displayed, too. The reason why I need ...
1
vote
1answer
99 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 \...
5
votes
2answers
254 views

How to redefine the american voltage signs in CircuiTikz?

I am trying to redefine the plus and minus signs in CircuiTikz voltage labels to have a user defined thickness. So far I have a solution that works, but it has a few quirks. The main document: \...
0
votes
0answers
35 views

Problems getting Tikz externalisation to work even on a simple file (LuaTeX) [duplicate]

I am out of my depths to understand what could be going wrong here. I am using luatex (TL 2018) to compile a simple pgfplot example. This is the error message I get example_surf.tikz:8: Package ...
0
votes
1answer
135 views

Loading tcolorbox with the minted option breaks tikzexternalize and results in compilation error with makeglossaries

I have a weird problem that has now been localised to either of the lines: \usepackage[minted]{tcolorbox} \makeglossaries{} in my preamble. I am using luatex with shell-escape enabled (for minted). ...
3
votes
1answer
98 views

Using tikzexternal 'list and make' with arara

The tikz externalisation library has a mode called list and make, which instead of forking a new TeX process, will simply list the images that need compiling and generate a makefile that needs to be ...
2
votes
1answer
171 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 ...
1
vote
0answers
66 views

Externalizing pspicture by nesting it into tikzpicture

I'd like to externalize upwards of a thousand graphics using pstricks (these graphics are all internal between the body text), and decided the external library of the tikz package was the way to go. ...
1
vote
1answer
56 views

Trig Function not compiling externalized pgfplots

I am trying to graph a rational trig function using tikz/pgfplots and got the error that it ran out of memory. I then changed my pdflatex line in TexMaker to "pdflatex -shell-escape name.tex" and ...
5
votes
1answer
256 views

Tikz externalize error when using tikzducks

I am using tikzducks for my footers, simply because I think they are brilliant. Because my document contains lots of other tikzpictures, I want to make use of \tikzexternalize. This works perfectly ...
0
votes
1answer
295 views

tikz to png won't work

I am trying to convert a TikZ file to png following this answer to a similiar question: TikZ to non-PDF. This is a mwe: \documentclass[convert={density=300,size=1080x800,outext=.png}]{standalone} \...
1
vote
0answers
72 views

Externalize tikz-forest with shaded arrow

I have just discovered externalize and want to use it in my document that contains lots of trees with shaded arrows. The arrows are shaded with some "hack" that I found on this site (unfortunately I ...