Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tikz-external]

Questions about the externalization library of TikZ/PGF.

0
votes
0answers
14 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
1answer
51 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
0answers
86 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
24 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 ...
1
vote
0answers
28 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
32 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
336 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
122 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
55 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
69 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
47 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
58 views

pgfplots .eps figures problems [closed]

I generated .eps figures with pgfplots. \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error ...
0
votes
1answer
92 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 ...
3
votes
1answer
231 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
120 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
66 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
138 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
161 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
434 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
220 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
126 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. ...
0
votes
0answers
34 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
152 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
88 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
184 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
152 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
102 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
114 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
108 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
146 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 ...
0
votes
0answers
35 views

Is there a maximum number of tikzpictures with \label that can be compiled successfully with the tikz external library?

The title says it all pretty much. More details as to why I am asking this: I am trying to compile a large document with pdflatex. In this document I have a very large number of figures made using ...
1
vote
1answer
87 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
211 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
34 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
123 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
77 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
160 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
61 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
226 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
248 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
63 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 ...
1
vote
0answers
200 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
1answer
235 views

Export TikZ as PDF and size

I am trying to create an animation where two balls are created and there radii continously increase. I therefore create a variety of pdfs and use \animategraphics in order to create the animation. ...
1
vote
2answers
201 views

Presumed incompatibility between pgfplots-TikZ and pdflscape: externalization fails on all images [duplicate]

I'm trying to figure out why the externalization of tikzpictures does not work any more (used to). I have the following in the preamble: \usepgfplotslibrary{external} % \tikzexternalize[prefix=fig/...
2
votes
1answer
303 views

Exporting CircuiTikZ drawings to png

I have 3 CircuiTikZ drawings that I want to export as 600 dpi png files. How can I do this? Now my LaTeX file looks like this. \documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \...
1
vote
1answer
87 views

Empty slide content using beamer, xelatex, tikzexternal, and custom frame title with images

it's taken me a bit to determine the root cause of this problem, but beamer slides generated using xelatex and tikzexternalize with a custom frame title containing images does not work. the generated ...
0
votes
1answer
195 views

Awkward conflict between lastpage, hyperref, amsthm and tikz-external

The following code cannot correctly produce the external .pdf file of the tikzpicture. Removing any of \usepackage{amsthm}, \usepackage{lastpage}, \usepackage{hyperref} solves the issue: the auxiliary ...
1
vote
0answers
318 views

tikz externalise as svg instead of pdf

i'm using the \tikzexternalize command to export all my tikz pictures out of my big (main-)document. For some reasons i need these pictures in svg-format. Is there a way to externalize the files ...