Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
38 views

pgfplots .eps figures problems [on hold]

I generated .eps figures with pgfplots. \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error ...
0
votes
1answer
54 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
72 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
105 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
49 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
54 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 ...
0
votes
0answers
36 views

tikzexternalize creates useless copies of gnuplottex

When using gnuplottex and tikzexternalize with [prefix=gnuplottex/], for each figure a tex file called main-gnuplottex-fig[1-5].tex is created in the main directory, and the gnuplottex-subdirectory ...
1
vote
0answers
75 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
195 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
157 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
94 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
22 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
68 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
70 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
64 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
158 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. \...
0
votes
0answers
25 views

Directly use pdf generated by tikzexternalize in latex

I'm using tikzexternalize to generate separate pdfs for each Tikz figure of a paper. In my preamble, I have: \pgfplotsset{compat=newest} \usetikzlibrary{pgfplots.groupplots} \usetikzlibrary{arrows} \...
2
votes
1answer
85 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
71 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
43 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
60 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
134 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
30 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 ...
2
votes
1answer
61 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
151 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
32 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
98 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
62 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
139 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
53 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
55 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
173 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
0answers
34 views

Use sagetex with tikz externalization

I would like to use tikz, sagetex and the external library simultaneously, but it doesn't seems to work, any idea ? There is my code : \documentclass{report} \usepackage{pgf,tikz} \usepackage{...
0
votes
1answer
182 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
51 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
155 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
181 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
173 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/...
3
votes
1answer
212 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
77 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
159 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
274 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 ...
2
votes
1answer
514 views

Question regarding pgfplots externalize

For the sake of speed and potential file size errors I have been trying to set up the externalization of pgfplots/tikz for my figures including/excluding luatex. I have the following question which ...
0
votes
1answer
50 views

Conflict with tikzexternalize

I've created matrices with some diagonal lines and some tweaking on \vdots. (based on these posts: diagonal line within matrix and How to vertically center the \vdots in this node? ) The result is ...
0
votes
0answers
85 views

tikz-feynman and standalone [duplicate]

Unfortunately, tikz-feynman forces the use of LuaLatex to compile. However, I can't find a way to produce nice images to use in another document when compiling with LuaLatex. It seems that one cannot ...
1
vote
0answers
191 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 ...
1
vote
2answers
218 views

Latexmk + \tikzexternalize won't update

I'm using TexStudio 2.10.8 and I'm currently looking into the pgfplots package. Now I'm trying to get the \tikzexternalize command to work properly. After some time I convinced TexStudio to pass the --...
2
votes
1answer
66 views

Disabling main pdf with TikZ externalize

I'm using TikZ externalize to generate multiple figures from a single .tex file. Is there a way to suppress the generation of the large main PDF which contains all those TikZ figures?
0
votes
1answer
102 views

pgf externalization: problem with point at start of folder name

I solved my problem, but I would like to know why it appeared in the first place. The following code is a MWE of the code I had. It worked for quite long until I updated a lot of my software on my ...
0
votes
1answer
98 views

How to get tikzexternalize to work with this thesis template?

I'm currently trying to get this PhD thesis template (http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/) to work with tikzexternalize since I have many pictures which take very long to ...