3
votes
1answer
70 views

LuaLaTeX returns illegal unit of measure for .tikz

I have a large graph generated from matlab2tikz (~1.3mb) that I am trying to compile. Latex gives me out of memory errors so I am trying LuaLaTeX. The problem is LuaLaTeX gives me an error: Illegal ...
3
votes
1answer
86 views

Lualatex, fontspec and externalized tikz problem in MacTeX

To enable faster compilation of large documents I'd like to externalize tikz pictures. I also have to use lualatex and fontspec. EDIT: After further testing it seems that this is a problem only when ...
4
votes
1answer
75 views

Pass an integer value to TikZ in LuaLaTeX

I want to draw a rectangle with \luacode. For rectangle points, the coordinates values will be taken from code. I try the following code. For rectangle, points are defined as '(0,0) and (1,1). But i ...
6
votes
0answers
98 views

Rebuilding TikZ's pgfmanual.pdf [duplicate]

The following steps to rebuild TikZ's pgfmanual.pdf fail on Windows 7 64 bit using MikTex and bash shell: 1) cp -iar /c/opt/miktex_2.9/doc/generic/pgf . 2) cd pgf/version-for-luatex/en 3) ...
3
votes
0answers
107 views

Compiler error “save size exceeded”

I have a problem with compiling my thesis. Due to a new plot I inserted, it lo longer compiles. According to this guide, i increased the limits for lualatex as follows: pool_size=5000000 ...
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. ...
6
votes
0answers
175 views

“Segmentation fault (core dumped)” with LuaLaTeX [closed]

I'm trying to compile a 3D surface made by 10000 data points with tickzpicture. However, when I compile the .tex file with lualatex lualatex --shell-escape myfile.tex I receive the following error: ...
30
votes
3answers
1k views

Programming Conway's Game of Life in LaTeX

My aim is to program Conway's Game of Life in LaTeX, and make the output into an animated PDF. I intend to use PGF/TikZ for this, especially pgfmath, but I'm stuck at the moment because I need to ...
8
votes
1answer
132 views

\pgfmathdeclarefunction and LuaLaTeX

Is it possible to use LuaLaTeX in \pgfmathdeclarefunction? I tried with sinh which seems to work in pgfmathsetmacro but not in \pgfmathparse and pgfplots. How should I declare a pgf function with ...
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 ...
4
votes
0answers
297 views

PGFPlots pattern bug [closed]

I tried to compile the example in How to combine fill and pattern in a pgfplot bar plot? to answer the question here PGFplots ybar patterns not showing and the pattern doesn't appear when I use ...
2
votes
0answers
144 views

Combination of LuaLaTeX and TikZ lead to lots of undefined control sequence errors [closed]

I have a document that compiles fine under LuaLaTeX, until I add to the preamble the line: \usepackage{tikz}. Compiling after adding that line yields a lot of errors like this: ! Undefined control ...
8
votes
1answer
683 views

Speeding up latex/lua/tikz

I have a rather large LaTeX document in that it generates a lot of LaTeX code using lua (small .tex file on disk but large amount of generated LaTeX code). It is very slow to compile and takes about 1 ...
15
votes
2answers
3k views

pgfplot: plotting a large dataset

I try to plot a dataset which is large using pgfplots. Since I'm aware of problems with large files, I used the external mode. I additionally increased main_memory from 3000000 to 6000000. It crashes ...
5
votes
1answer
596 views

TikZ Region bounded by points

I have a set of points. I would like to "enclose" the points by a region. Since a picture is worth a thousand words: The dots are the points I want to enclose. I want the ability to control the ...
7
votes
1answer
625 views

How to generate EAN barcodes with TikZ or MetaPost?

I'm looking for way to generate EAN barcodes with LuaLaTeX. I'm aware of this question; the solution to that needs pstricks, which won't work easily with LuaLaTeX (I don't want to install GhostScript ...
9
votes
2answers
1k views

\tikzexternalize doesn't work with lua code

The following code from the pgf manual compiles fine with lualatex --shell-escape \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \begin{document} A simple image ...
5
votes
2answers
1k views

luatex and graphics

I'd like to know what luatex offers in terms of graphics: I'm mostly interested in pstricks and tikz/pgfplots. Could it help tikz to run faster? Would it help tikz to handle 3D non-parallel figures? ...
7
votes
3answers
492 views

Passing options to a macro

Background We're developing an automated graph drawing framework for TikZ with LuaTeX. The TeX interface on the pgf layer is nearly done, the next step will be the TikZ Layer. The maker of TikZ, Till ...