Questions about the externalization library of TikZ/PGF.

learn more… | top users | synonyms

4
votes
0answers
42 views

Are the TikZ libraries cd and external incompatible with one another?

Is there a way to use the TikZ libraries cd and external together? This does not work: \documentclass{article} \usepackage{tikz} \usetikzlibrary{cd, external} \tikzexternalize \begin{document} ...
0
votes
0answers
34 views

TikZ/pgfplots - are there any problems related to externalized figures used on Linux and Windows?

I share a document between Win 7 and Xubuntu 13.10. I just updated my local git repo on my Xubuntu 13.10 installation. I then continued editing in a TikZ figure (not only its style definitions!) but ...
1
vote
0answers
14 views

Redefinition of pgfplotstableread and inline tables

I had to redefine pgfplotstableread because I use it in standalone files in an extra img/ folder that loads data from a different data/ folder as follows. \begin{filecontents}{plot.tikz} ...
3
votes
2answers
69 views

TikZ won't let me externalize and halts on error

TeX Live 2013 I am using pdflatex TeXstudio 2.7.0 Win 7 64 bit Taken from the .log file, via \listfiles: tikz.sty 2013/12/13 v3.0.0 (rcs-revision 1.142) This... MWE \documentclass[ a4paper ...
3
votes
0answers
58 views

How to automatically optimize the PDF output of TiKZ externalize?

I use pgfplots with externalization for generating plots in my document. For heavy plots the output PDF for a figure can grow to few hundred KB. I used Adobe Acrobat to optimize the PDFs which ...
1
vote
0answers
95 views

Error using lualatex and tikzexternalize to compile document with PGFPlots

I have a fairly large document with a number of pgfplots diagrams and due to memory capacity limits in PDFLaTeX I am now using LuaLaTeX to compile. While this works well, it takes forever to produce ...
2
votes
1answer
153 views

Peculiar tikz-external, pgfplots, tikzscale combination problem

I want to use \tikzexternalize and tikzscale with pgfplots' \addplot graphics command and \clip=false option. I am using three files: A.png, A.tikz and A.tex. A.png can be any graphics file. A.tikz ...
3
votes
0answers
70 views

External PDF from pgfplots contains several pages when with floatrow

Plotting with pgfplots and the external library creates the single PDFs for every plot as wanted. But every of those PDFs contains several pages, each showing the same plot. Sometimes there are three ...
2
votes
1answer
73 views

Compilation blocked with tikz

I'm writing figure with several segments, and it looks like tikz does not like it. So I added: \usepgfplotslibrary{external} ...
1
vote
1answer
72 views

How can I resolve the side effects of AddEverypageHook to external pgfplots?

I have quite a huge document with many pgfplots, which I would like to externalize. Well I can externalize them, but my \AddEverypageHook command from the everypage package affects this externalized ...
3
votes
1answer
52 views

Forcing tikz externalization to recreate all images using arara

I am using the externalization library of tikz to have most of the pictures compiled only once and just included in later LaTeX runs. Once in a while I would like to redo all the images, for example ...
6
votes
1answer
165 views

How to plot a graph from its adjacency matrix?

For example, I want to plot a graph whose adjacency matrix is [0,1,0;1,0,1;0,1,0]. I first plot three points labeled by p1,p2,p3, and link the points p1,p2, p2,p3. For a general case, how to link the ...
0
votes
0answers
52 views

Relative paths when using tikz externalize + subfiles

I have a large document which consists of ~100 smaller files which are compiled together using the subfiles package. To be able to use a common style file for them, whose relative path should be the ...
0
votes
1answer
75 views

AUCTeX and TikZ does not work in emacs for me : HELP T

This is no duplicate. I am unsure how things work here. But I wasn't able to save my last username as it was a temporary username and cannot access my previous post which was marked as duplicate. ...
1
vote
0answers
62 views

Can the standalone document type be made compatible with tikzexternalize?

Code: \documentclass[tikz]{standalone} \usetikzlibrary{external} \tikzexternalize \begin{document} \begin{tikzpicture} \node[circle,draw] at (2, 3) {}; \end{tikzpicture} \begin{tikzpicture} ...
5
votes
1answer
82 views

Why does the Animate package inflate the file size of all of my externalized TikZ pictures?

I am using TikZ externalization to compile the figures in my thesis that use TikZ or PGF Plots. Ever since I included an animation using the animate package, the size of the PDFs of each of my ...
2
votes
0answers
71 views

tikz externalize and pgfmath error

Using external and \pgfmathdeclarefunction at the same time results in ! Illegal parameter number in definition of \pgfmathfloat@expression. ! Package PGF Math Error: Could not parse input '' as a ...
1
vote
1answer
123 views

Missing pdf when using \usetikzlibrary{external} in LyX

I'm trying to use the externalization library in LyX to speed up compilation and generate separate PDF files with each of my tikz figures. But for some reason LyX does not output a separate PDF file ...
4
votes
0answers
117 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
1
vote
1answer
179 views

How to extract/convert tikz to a format suitable for powerpoint

I am trying to extract/convert a tikzpicture to a format that is suitable for powerpoint without losing quality. The code that I have found and adjusted is the following: ...
0
votes
0answers
124 views

Corrupted eps figures - Tikz externalizes EPS figures correctly but Photoshop does not open them

Original question (In short, I am told the eps files are corrupted and I wuold like you to check if it's true. Go to Update to skip this part.) I use tikz and the externalize package in order to ...
1
vote
1answer
79 views

Can not externalize a tikz graph with two legend entries

I have a tikz file that contains a matlab scatter plot. It is created by matlab2tikz. The tikz file (sample.tikz) looks as follows and compiles fine in the document without the externalization. ...
0
votes
0answers
28 views

Strike trough matrix column does not work with externalize

In my latex article I use the pgfplots libary external to externalize plots and save compile time. This gives a confilict in the follwing code, where I try to strike trhough the first collumn of a ...
7
votes
1answer
75 views

How to reset TikZ‘s externalization counter?

TikZ‘s externalization feature creates – by default – images like “nameOfFile-figure0.pdf”, “nameOfFile-figure1.pdf” and so on. One can change this behavior, for example I configured TikZ to save ...
2
votes
0answers
87 views

TikZ externalize causing problems with template

I have a large document (I'm using pdflatex with Eclispe and TeXlipse) with many (many) TikZ graphics (math function plots, most of them). In order to reduce (drastically I hope) compilation time I ...
2
votes
1answer
75 views

TikZ externalisation in beamer

I want to use the TikZ externalization feature in my beamer document. Works fine, but when I use something like path<1->[draw] (0,0) -- (0,1); path<2->[draw] (0,0) -- (1,0); … only the ...
7
votes
1answer
120 views

Flatten transparency in tikz

I have a document which I need to compile PDF/A-1b compatible, which means that transparency is not allowed. I have (several) tikz sources directly in the document, and I think they look better with ...
0
votes
1answer
75 views

Error using \tikzexternalize and different graphical inputs

How can this issue be stated more precicely and finally solved? Having a large document and using \input{...} within figure enviorement for including gaphics by tikz and pdf's, png's. Each figure ...
5
votes
1answer
171 views

Lualatex, Pdflatex fail with \externalize

Here is my problem: I have a 100+ page document with ~100 tikz plots. Some plots contain 9000+ points, and compiling them with pdflatex -shell-escape (or whatever main_memory_size) fails. I can ...
1
vote
1answer
329 views

tikz externalization using lualatex over pdflatex

I am trying to externalize tikz plots using lualatex while encapsulating the whole tex file with pdflatex. I still couldn't figure out why this method is not working. I am using miktex and texstudio. ...
4
votes
2answers
259 views

Integrating latexmk and TikZ external mode=list and make

I've been looking into using latexmk to create my documents because it automatically handles how many passes the document needs to be fully processed etc. So, for example, a simple run of latexmk -pdf ...
3
votes
0answers
71 views

Equations as pictures in text

Is there a way to compile a document with pdflatex and render all displaymath into graphics which are then included in the document instead of the equation code itself? Analogous to what you can do ...
6
votes
1answer
84 views

exporting tikz pictures starting with 1 rather than 0

I want to export my figures for an editor for import in another text editing program. I would like to have the name of the file correspond to the figures in the document. In the document they start ...
5
votes
2answers
153 views

Error using \tikzexternalize with forest

Using forest package for simple truth trees, and I want to externalize because there are a lot of them. Here is the code example: \documentclass{article} \usepackage[external]{forest} ...
4
votes
0answers
80 views

Absolute path for pgf externalisation

The graphic externalisation works well when it is done in a subfolder of my TeX files with the command \tikzsetexternalprefix{figures/} However, I get an error message when I try to set a different ...
23
votes
1answer
502 views

How to make pdfLaTeX multithreaded when `--shell-escape` is enabled?

I am using \write18 enabled (or --shell-escape) with externalization to compile a bunch of PGFplots. The first run takes much time, and I noticed that pdflatex only runs on one CPU core. Is there any ...
2
votes
1answer
78 views

Inclusion of pgfplotstable in tikzpicture

Is there any way to include a table generated by pgfplotstable in the tikzpicture environment, where other figures generated by pgfplots exist, in order to save them together as one figure with ...
4
votes
1answer
113 views

Includepdf causes an error message from pgfplots externalization

I have a file test.pdf which I include in a document containing also an externalized pgfplots picture. When I compile the following code, I get the error message Sorry, the system call pdflatex ... ...
4
votes
1answer
829 views

TikZ images won't compile externally

I have a number of large plots which exhaust memory when I try to compile them with xelatex, so I am using lualatex instead, which is able to compile them without major difficulty. However, I am ...
2
votes
0answers
45 views

TikZ external Library and pgfplots reading data from external txt file [duplicate]

I'm using the external library of TikZ for speeding up the compilation of my LaTeX document. In another thread, Christian Feuersänger reported that from December 2012, the external library uses MD5 ...
1
vote
0answers
268 views

A question on tikz/pgf externalization, standalone, and includeonly for compiling large document

I have a goal to build an efficient compiling environment to build large documents. The requirements are these: Use tikz/pgf to draw many figures; Use \includeonly to build only a portion of the ...
9
votes
1answer
348 views

Recreate plot when data file changes

Is it possible to use the TikZ/external library and have pgfplots recreate a figure when a data file that is plotted changes? Say I have something like the following: file.tex: ...
2
votes
1answer
133 views

TikZ externalise: overlaying figures

I’m using MikTex 2.9 x64 and would like to use the LaTeX -> dvips -> ps2pdf way to compile my document. Additionally I’ve a lot of Matlab2tikZ figures and would like to make use of the ...
1
vote
0answers
108 views

Change path of where tikz externalization saves the pdf and eps

I am using the TikZ externalization to speed up the compilation process and to have the eps files for the admission of the article which I'm writing. So I have lines like \begin{figure} ...
1
vote
0answers
66 views

Tikzexternal and References [closed]

I understand that tikzexternal has difficulty when graphics objects contain references (cite, ref, etc...), due to issues with getting lock on the aux file: References in externalized pgfplots ...
1
vote
0answers
97 views

TikZ externalize and number of pages changing

I am trying to create a small animation at the bottom (odd pages only) of my PhD thesis (a walking pacman). Therefore, I have change the fancyfoot so it display a tikzpicture. Every thing works ...
1
vote
1answer
199 views

Combine tikz external with pgf layers to “split up” a huge tikzpicture?

I have a huge tikz picture (consisting of up to several 10k elements, mostly rectangles and arrows) and want to "split up" the file using externalization to avoid expanding tex's main memory size (or ...
3
votes
0answers
146 views

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 ...
6
votes
1answer
644 views

How do I include and scale on-image-TikZ-drawings made by the standalone class?

I am building several on image TikZ drawings. In detail: I am having PDFs of technical drawings, I crop the white margins, overlay nodes and some arrows and compile them. The result should give me a ...
8
votes
1answer
237 views

legend placement with bounding box restrictions and externalization in pgfplots

I find it useful to add \pgfplotsset{/tikz/every picture/.append style={trim axis left,trim axis right}} to my preamble for bounding box restrictions. But then when I use the legend to name feature ...