Questions tagged [tikz-external]

Questions about the externalization library of TikZ/PGF.

The externalization library provides a means to externalize the compilation of TikZ pictures. This can be used to avoid recompiling the picture every time the document is recompiled and hence can drastically improve the the compilation time of the document.

489 questions
10
votes
2 answers

externalize only some pictures

I am using \tikzexternalize to compile my pictures outside of the main document. However, when I issue simple \tikz commands within the text, I'd like them to be compiled within the main document, to save some time. Is there a way to turn…
yannick
  • 813
9
votes
2 answers

Managing a project: separate .tex-files, externalized TikZ, folders

I am currently cleaning up my project to manage it better as it expands in the future. I am wondering if there is a way to manage the following in a smarter and more efficient way. Currently, this is my LaTeX structure: main.tex …
mSSM
  • 3,152
5
votes
1 answer

tikz matrix - a bit longer arrow

The following code: \usepackage{tikz} \usetikzlibrary{matrix} %... \begin{tikzpicture} \matrix (m) [matrix of math nodes, inner sep=0.3pt,row sep=0.3em,column sep=0.3em] { 1s & & & \\ 2s & 2p & & \\ 3s & 3p & 3d & \\ 4s & 4p & 4d & 4f \\ 5s & 5p &…
Dor
  • 467
  • 1
  • 5
  • 12
4
votes
1 answer

Tikz externalize sub-folders

I am currently externalizing my tikz figures in a separate folder using \tikzexternalize[prefix=My_folder/] I would like to externalize the figures in several sub-folders within My_folder. How can I set sub-folders?
AlMa
  • 560
4
votes
0 answers

Saving TiKz Picture in a Folder in Parent Directory

Is there a simple way to save a picture with the `tikz external library' in a different folder in the parent root. %File C:/project/tikz/main.tex \documentclass{article} \usetikzlibrary{external} \tikzexternalize[prefix = ../figs/]% Should…
jak123
  • 4,252
  • 5
  • 26
  • 49
3
votes
1 answer

Prefix with TikZexternalize does not work for me

The example bellow comes from the documentation of TikZ (p610). It does not work my computer. Note that it works when I comment the option [prefix=figures/]. Any idea of what could go wrong here? \documentclass{article} % main document, called…
3
votes
0 answers

Crashes when using tikzscale and hyperref

After updating MiKTeX to solve another problem, I broke something because the following MWE is not generating an externalized pdf anymore. …
Frsh
  • 31
3
votes
1 answer

\tikzexternalize and chemfig

First time posting here, and my english isn't that good but i'll try to explain my problem the best I can. I'm trying to externalize a figure, that was built using chemfig. Now the problem is that when I use \tikzexternalize it changes the position…
Leothan
  • 161
3
votes
0 answers

creating an eps file using tikz in Miktex 2.9

Hi I'm trying to use the tikz package to output an eps file, using miktex 2.9 in a windows 7 operating system. Before hand I appreciate you help!!! The system message that I get is: ! Package tikz Error: Sorry, the system call 'latex…
DMR
  • 31
2
votes
0 answers

up to date check in TikZ external

I'd like to use the external library with TikZ. There I want to use the "up to date check". But when activating the key in this minimal example I got the error: ! Package pgfkeys Error: I do not know the key '/tikz/external/up to date check' and…
Dirk
  • 2,728
2
votes
1 answer

tikzexternalize error

I get the error "Paragraph ended before \tikzexternalize@opt was complete" on the following…
Marc
  • 21
  • 1
2
votes
1 answer

Tikz externalisation fails to produce pdf output

Many pgfplots are included in my document, which are tikz-externalized, and run fine when the number of plots is less than 16. When I include the next pgfplot (even if it is a duplicate of the previously used ones) externalisation fails to produce…
Ashok
  • 1,094
2
votes
1 answer

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 working. I am using Windows 8.1 OS, with Miktex…
Adriano
  • 315
2
votes
3 answers

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 compilation speed. But it does not work as…
2
votes
1 answer

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?
1
2