Questions tagged [tikz-external]

Questions about the externalization library of TikZ/PGF.

Filter by
Sorted by
Tagged with
4
votes
1answer
2k 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 ...
1
vote
1answer
239 views

TikZ externalize fails to recognize changes: 3 years later

I am new to TikZ, please, be patient. I see numerous questions TikZ externalize fails to recognize changes MWE for externalize + automatic recompilation after tikz figure modification Override ...
0
votes
1answer
145 views

Externalization of tikz/pgfplots graphics included by tikzscale package with hyperref cross references

As the long title says, I'd like to include the following aspects in my LaTeX project. external library of TikZ to externalize possibly infinite compilation times due to both plane TikZ and huge ...
12
votes
1answer
182 views

What is the (relevant!) difference between \file_input:n and \input? Or has something else changed?

A while ago I answered a question with code which attempts to set the name of an externalised image, produced with TikZ's external library, to something based on the name of the input file. That ...
2
votes
0answers
303 views

“Could not parse ligature component ”xxx“ of ”xxx_alt“ in parseCharName” warning with Forest and Externalize [duplicate]

I am using a few symbols from the fontawsome package to decorate tree generated with forest with tikz externalize. When I compile my tex document I see the following output: Process started: ...
1
vote
1answer
146 views

Environment expansion, Tikz external library, caption and label

I am LaTex newbie, please, be patient. The great answer tells how to correctly work with \tikzexternalize: Problem with environment expansion and the Tikz external library. My question is: how do I ...
5
votes
0answers
176 views

Generate multiple variants of a figure using tikz and standalone [duplicate]

I use TikZ with the standalone document class to generate figures for a presentation using reveal.js, i.e. outside of LaTeX. Some of these figures undergo a few animation steps, which require little ...
1
vote
1answer
825 views

\tikzexternalize conflicts with \begin{circuitikz}

When I enable \usepgfplotslibrary{external} and \tikzexternalize, I am receiving an error message ! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error -interact ion=batchmode -...
2
votes
2answers
202 views

tikz externalization and renewindex

I have a bizarre problem with the langscibook class it calls renewindex and this call breks the externalization functionality of tikz (forest). \documentclass{scrbook} \usepackage{tikz} \usepackage{...
0
votes
1answer
627 views

tikz externalization using lualatex in combination with an automatic inkscape import

I have a huge document with lots of figures. For plots, I use matlab and convert the plot to tikz using matlab2tikz (and do some modifications afterwards), for most other figures, I prefer Inkscape ...
2
votes
2answers
523 views

Selectively use PNG or PDF for externalized TikZ pictures

It is possible to ask the code for externalizing TikZ pictures to convert the generated PDF to PNG figures thanks to ImageMagics. This however gives higher figure weight for some light figures. What ...
1
vote
1answer
651 views

pgfplots: objects outside axis are clipped

When I use pgfplots to draw into a 3D axis, the drawn objects outside the axis are sometimes clipped, although I use clip=false. This only happens when I use the TikZ externalization library and I ...
1
vote
0answers
262 views

beamer package - tikz externalize and animations

I'm having a somewhat larger project, so I have split it up into multiple files and externalized the tikz figures to reduce compilation time. The basic setup is as follows: Let's say I have a folder ...
2
votes
1answer
606 views

TikZ externalize with newly defined \includegraphics command fails

For a quite large document I'm using the external library from tikz. However, to annotate an image I tried to include it in a tikzpicture node and then draw on it. My problem is, that I have defined ...
2
votes
1answer
2k views

Why does tikzexternalize produce this error report?

I have spent a lot of time trying to make TikZ externalize work (on MiKTeX2.9). So I tried to just run the first program using externalize from the TikZ PGF manual: \documentclass{article} % main ...
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 ...
3
votes
1answer
393 views

Conflict: TikZ externalisation, local bounding box with empty name, forked edges and multi-line nodes in Forest

What is the cause of the following conflict and how should I resolve it? The conflict involves a compilation error when a document includes the following elements: TikZ externalisation; a TikZ ...
2
votes
1answer
586 views

TikZ decoration library not being loaded

I have two documents, with identical preambles, and for some reason path decorations work in one document and not the other. Lualatex keeps complaining that ! Undefined control sequence. <argument&...
4
votes
1answer
964 views

with tikzexternalize, how to name the images with the current name of the imported file

I use to save different tikz images, tikzexternalize, I have no problem if I let tikz name the pictures or if I needed a name for the next image. \documentclass{article} \usepackage{tikz} \...
3
votes
2answers
1k views

How to prevent tikzexternalize to generate files in current directory?

I'm using pdflatex. I'm building in a "build" subdirectory with the --output-directory of pdflatex and it works really well, every file is generated in this directory. Now, I want to externalize my ...
4
votes
1answer
216 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: \...
0
votes
1answer
384 views

TikZ externalization not working on Windows 7

TikZ externalization is not working on Windows 7 with Tex Live 2016 and I cannot seem to find out why. I compile with lualatex -shell-escape main.tex, where main.tex has the content \documentclass[...
1
vote
0answers
479 views

How to Externalise the Tikzpictures while they are already in the document?

I have a large (and will be very large) document that takes me very long to compile. I suspect that having few figures that are done with tikz takes too long. So what I have done yesterday is to put ...
2
votes
1answer
207 views

TikZ Externalize breaks path fading

I'm using the \usetikzlibrary{external} command because my document has a lot of resource hogging TikZ pictures and with this command typesetting is much faster. The problem is that with the External ...
4
votes
2answers
668 views

tikzexternalize, list-and-make, list of figures to be updated

I am using tikz' externalize library on windows. Since my document contains graphics with \ref, I need to use list and make instead of convert with system call. Since I am working on windows, I cannot ...
3
votes
1answer
577 views

TikZ externalization with absolute path and MiKTeX distribution

This code: \documentclass[11pt,openright]{book} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage[british]{babel} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize[prefix=...
4
votes
1answer
411 views

Tikz package “external” causes an unclosed tikzpicture@tcb@hooked environment

Unfortunately, I cannot provide a MWE, as after trying for quite some time everything seems to work perfectly with small examples. So this is perhaps some package clash or problem with RTL, I am not ...
1
vote
1answer
438 views

Configure vim-latex suite to use treat .tikz files as ordinary .tex files

I use file externalization with tikz, so I usually put the tikzpicture environments each in a separate file with extension .tikz. When I open such files with Vim, the syntax is not highlighted, which ...
5
votes
1answer
2k views

LuaLaTex fails on Tikzexternalize on very easy MWE

I am using recently updated MacTex Distribution 2016 on a MacBook Pro Mid 2009 and Texmaker is my editor. I searched a long time for a solution to this problem but nothing really helped, so I give it ...
6
votes
2answers
610 views

TeX capacity exceeded when calling LuaLaTeX

I am using recently updated MacTex Distribution 2016 on a MacBook Pro Mid 2009 and Texmaker is my editor. I want to include a phase portrait created with matlab2tikz with a lot of lines. Reducing the ...
1
vote
0answers
216 views

Problems with -shell-escape with externalizing pgfplots

I tried it now in all possible ways but I still do not understand why this option sometimes works and sometimes does not and what I can do about it. I wish to draw a figure with pgfplots but since it ...
0
votes
0answers
26 views

lualatex texlive 2016 broken with tikzexternalize [duplicate]

The following example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -...
3
votes
1answer
214 views

Auto-export TikZ images (previously expand (print) contents of a TikZ style)

EDIT: The external library is great but I'd like to add I figured out how to print the contents of a style (although not fully expanded, so if it contains other styles, they will not be). A style is ...
2
votes
1answer
204 views

tkz, tikz-grph, tikzexternalize and pythontex

my code looks like that: \documentclass{minimal} \usepackage{amsmath} \usepackage{tikz} \usepackage{tkz-graph} \usepackage{pythontex} \usetikzlibrary{external} \tikzexternalize[] \begin{pycode} ...
2
votes
0answers
213 views

Zoombox misplaced figures using \tikzexternalize

I get misplaced figures when I combine zoomboxes and \tikzexternalize. For a MWE, I use the same image as in the original zoombox post on How to create magnified subfigures and corresponding boxes for ...
1
vote
0answers
148 views

Combine tikzscale and externalize with named external pictures [duplicate]

I have the same issue which has been discussed here while trying to scale plots created using PGFplots. The issue is only present if I name the external pictures using \tikzsetnextfilename. However, ...
1
vote
1answer
511 views

pgfplot Memory Problem

I am plotting groupplots like this The data set is quite large (15000 data points for each plot and each group has 5 such plots). When Latex threw memory shortage error, I tried using ...
1
vote
1answer
220 views

Externalized pgf pictures are not centered in figure environment

I try to use pgf/tikz with externalized images as described in section 107 of the manual. I am not using the "external" tikz-library because I have problems with the required shell-escape ...
1
vote
2answers
190 views

How to implement automatic line breaking in gradient colored text?

I would like to add gradient color for lines of words and long ones are just causing trouble. Here is the code \documentclass{article} \usepackage[dvipsnames]{xcolor} \usepackage{tikz} \usepackage{...
2
votes
2answers
315 views

Operation mode in pgfplots (referencing from externalized graphics)

I am using the externalize feature of tikz/pgf to save space for my thesis. I am using TeXShop on a Mac. I am running into trouble referencing something in the main document from the externalized ...
8
votes
1answer
1k views

pgfplots: percentage in matrix plot

I'm trying to draw a matrix plot with the shown values in percentage. I already tried: nodes near coords = {\pgfmathprintnumber\pgfplotspointmeta\%} Unfortunately this didn't work out. Here is my ...
3
votes
2answers
14k views

Using \tikzexternalize

I want to use tikzexternalize in my document, because the amount of tikz pictures is quite large. In general my tikz pictures are generated using matlab2tikz providing every tikz picture as a ...
2
votes
1answer
237 views

arrow between parts of equation and tikzexternalize

In my document, I have an equation where I would like to connect two parts with an arrow, just as the way, as Alan Munn did it here. When I copy his example using \tikzexternalize, I get the error !...
3
votes
2answers
992 views

matlab2tikz spectrogram is too big

I have produced the following spectrogram in MATLAB and I am trying to import it into a LaTeX document after using matlab2tikz. I am fully aware of the issues with maximum memory etc for typesetting, ...
4
votes
0answers
493 views

Automatically externalizing content of a PGFplot as a PNG

I've got basically the same issue as in this question: I have a rather complicated plot made with PGFplots and I can get a very significant file size reduction by using a rasterized image (PNG) ...
1
vote
2answers
248 views

TikZ library `external` doesn't recognize node name from different picture

I am attempting to improve my compilation time by externalizing TikZ pictures. I do seem to be able to refer to named nodes, however. For example, consider the following. \documentclass{article} \...
1
vote
1answer
270 views

pgfmathdeclarefunction with savebox and tikzexternalize: tikzpicture optimized away

Having solved my previous problem involving \savebox and \tikzexternalizeI am already facing the next one. I would like to use a function that I have defined either in or after the preamble with \...
1
vote
0answers
986 views

tikzexternalize and savebox error

When trying out this solution but with \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepgfplotslibrary{external} \tikzexternalize instead of \documentclass[tikz,border=2]{...
3
votes
1answer
566 views

How can I make sure tikzexternalize doesn't to externalize my beamer theme content?

Thanks to Ulrike and Cfr, there is now a working solution! I'm still a bit curious though if it can be done in another way. Is there another way than surrounding included graphics with \...
0
votes
1answer
366 views

Externalize pdf_tex like externalize tikz

I am using the workflow explained in this tutorial for typesetting images in my document: Tutorial for pdf_tex using inkscape Briefly, a vector image is imported into inkscape and then image itself is ...

1 2
3
4 5
9