LuaTeX is a Unicode-capable extension of TeX which integrates the scripting language Lua. Use this tag if your question is about LuaTeX or LuaLaTeX specific problems and is not related to standard (La)TeX. For ConTeXt related questions use {context-mkiv}.

learn more… | top users | synonyms (1)

3
votes
0answers
32 views

Using LuaLaTeX and SQLite3

I am trying to access SQLite databases from LuaLaTeX but am not able to load an installed lsqlite3 package. Here's what I tried so far: Took a brandnew Xubuntu 14.04 installation Installed a ...
1
vote
1answer
59 views

Is it possible to use literals like ⊥ outside of math mode?

I have a .tex file that I'm compiling with luatex that I would like to be able to use a utf-8 literal in. Using unicode-math, it's possible to use the literal inside of math mode as such: ...
5
votes
1answer
35 views

Arrow length in LuaTeX in combination with the unicode-math package

I have a probably rather simple question: Is it possible to use the unicode-math package within LuaLaTeX such that arrows stretch when writing some longer expression above or below it? For example ...
3
votes
1answer
51 views

LuaLatex, \includespread and libreoffice table with %

I've using LuaLatex for the last couple of days and been enjoying it despite of lack of documentation on \includespread. Nevertheless, got it to work for tables that don't have a percentage value ...
1
vote
1answer
59 views

LuaLatex and TikZ

I am having some difficulties with LuaLatex and TikZ. Can some explain to me what is wrong with the following MWE: \documentclass{amsart} \usepackage{luacode} % read this somewhere, doesn't change ...
1
vote
2answers
42 views

line spacing broken by \begin{english}

I am trying to produce an A4 page for our doors. I have used LuaLaTeX. In the spirit of exploration, I tried to use \begin{czech} and \begin{english} from polyglossia package. The MWE is this: ...
4
votes
0answers
72 views

Future of luatex and pstricks [closed]

As far as I know it is not (yet) possible to use pstricks directly with luatex (-> pdf) as for example in xelatex. Are there any plans to implement this in luatex in near future? If so, how is the ...
3
votes
0answers
50 views

letterspacing of mathpazo and Tex Gyre Pagella in LuaLaTeX

I am typesetting my phd thesis, and I was hoping to use Palatino as main font. For some of the headings I wanted to use a fancy TTF font, so I switched from pdfLaTeX to LuaLaTeX to compile my ...
4
votes
2answers
42 views

minted Perl with dollar symbol

I'm using minted to display some Perl, however the "unmatched" '$' in it is breaking compilation. Escaping it with a '\' results in the \ being displayed with the rest of the code block. Is there a ...
0
votes
2answers
87 views

Is there a way to compress pdf file? [duplicate]

I am generating my PDF document (thesis) with LuaLaTeX. Almost all of my figures are made with the pgfplots package and do not exceed 40 kB. The document is 178 pages. The size of this document is 34 ...
5
votes
1answer
60 views

greek character of GFS Porson is missing with LuaLaTeX (fontspec, polyglossia)

When I LuaLaTeXify a document with GFS Porson as greek font, it doesn't print the Greek semicolon (·) when written as ·, it uses the latin semicolon when written as ;. If I am right, · is ...
6
votes
2answers
174 views

LuaLatex + Unicode-math, can't get upright greek with “\up*” commands

I was trying to type in upright greek letters in LaTex, and I've been recommended to use LuaLaTex with Unicode-math package to accomplish that. However I ran into a weird issue. If I want to type in ...
2
votes
1answer
48 views

Difference between luatex and lualatex binaries [duplicate]

I installed MacTeX Basic on my laptop (OS X 10.10), and I got 2 binaries, luatex and lualatex. Those 2 binaries behave totally differently (lualatex is able to parse \documentclass, the other is not), ...
3
votes
1answer
33 views

Is cyrillic actually missing in LinLibertine monospace?

If you consider this MWE, then for me lualatex does not display texttt{Привет, мир!} but non-monospaced cyrillic text is displayed fine. \documentclass[notitlepage,oneside]{article} ...
4
votes
0answers
88 views

Transform paper folding diagram to 3D object or vice versa

I made this commands to make paper models, and I ask if it is possible to have a 3D view of them converting in tikz-3D, or backward. But it's easier to draw the flat model and generate the volume ...
4
votes
1answer
93 views

Use specific non-unicode character in lualatex

I've looked everywhere for an answer to this question, but none could answer this specific one: I have MinionMath font (from typoma.com, MinionMath-Regular.otf) and I want to use unicode f3a0f (under ...
7
votes
1answer
162 views

How to have Helvetica or helvet font with lualatex having similar look as with pdflatex?

Continuing the migration to lualatex, how to have the same aspect for sans serif fonts in lualatex as with pdflatex ? Is there something I haven't install or is it the wrong commands ? ...
15
votes
3answers
505 views

Lualatex : € as a utf8 character is not recognized : why?

I need to include some tex files as parts of a more global project. Some of this global projects have to be compiled with pdflatex, some others with lualatex, but the parts are the same. All this part ...
27
votes
1answer
292 views

Best Practices for Lua Modules

In the Lua world Lua Modules are installed using LuaRocks. With LuaTeX these modules are normally installed in the scripts folder (under MikTeX windows). What tools are available for downloading and ...
5
votes
0answers
77 views

Letterspacing via microtype vs fontspec (in LuaLaTeX)

I've just realised that I can get somewhat similar letterspacing effects using either the microtype or fontspec packages; for example: \documentclass{article} \usepackage{fontspec} ...
1
vote
1answer
129 views

fontspec – sans-serif as main font?

fontspec defines the commands \setmainfont[font features]{font name} \setsansfont[font features]{font name} \setmonofont[font features]{font name} to set the document's default fonts. However, if I ...
20
votes
1answer
157 views

How to delay a command execution until the next hmode?

I want to write an environment which adds a marginnote at the begin. The problem is that I can't control the content of the enviroment and so the placement of the marginnote varies a lot. How could I ...
0
votes
0answers
30 views

The quote symbol in LuaLatex [duplicate]

I have a document which are previously compiled with regular pdflatex with \usepackage{times}, the typographic quote symbols are generated correctly as: And once I started to use LuaLatex with: ...
5
votes
0answers
40 views

LuaTeX: Line break problem with microtype + geometry (bindingoffset) [duplicate]

I have a problem with the combination LuaTeX + package microtype + option bindingoffset from the geometry package when typesetting the following example: \documentclass[11pt,a4paper]{article} ...
1
vote
0answers
63 views

Bold and sans serif at once with fontspec and LuaLaTeX

As you know, the code like \sffamily{\bfseries{...}} gives bold and serif font at once. If to use fontspec (luatexja-fontspec in my case) it is not enough just to define bold and sans serif fonts. If ...
5
votes
1answer
151 views

Lualatex capacity exceeded with Gb's of free RAM

I'm trying to compile dense graphs generated my matlab2tikz (file size ~ 50Mb). I'm running lualatex and externalising with lualatex \tikzset{external/system call={lualatex ...
4
votes
3answers
51 views

ConTeXt system font search path

I read from the official manual (http://wiki.contextgarden.net/Fonts_in_LuaTex#How_LuaTeX_handles_system_fonts) that I need to export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts" to specify where ...
6
votes
1answer
78 views

LuaLaTeX, Fontspec: Wordspacing and Letterspacing

I have a command \work which will format titles in SmallCaps and with less letter spacing. Now the funny thing: If I try to add some word spacing, too, and only for SmallCaps, it affects the whole ...
2
votes
1answer
86 views

White fields in ltjsarticle class

This question is extention for other my question Replacing \fancyhdr with \titlesec in complicated design documents. When I use solution from answer to prevous question with LuaLaTeX and ltjsarticle ...
5
votes
1answer
102 views

Accessing an alternate representation of a letter in fontspec

Recently I've been trying to access a specific letter from the WatersTitlingPro-Rg font, through LuaLaTeX and fontspec. The Waters Titling Pro fonts is a small caps only font. Specifically, I'm ...
4
votes
1answer
81 views

Problem with a Lua function in a \foreach loop

I have written a Lua function to position dates in a timeline that I am drawing with TikZ. The function seems to work, but when I use it in a \foreach loop I get the following error: ! LuaTeX error ...
1
vote
0answers
39 views

LuaLaTex produces beamer slides on variable speed

Why LuaLatex produces slides with speed depending on the number of them not on the complexity (still the same). \documentclass{beamer} \usepackage{fontspec,luacode,tikz} ...
5
votes
1answer
54 views

In LuaLaTeX, how do I pass the content of an environment to Lua verbatim **Without displaying it** in a beamer frame?

In this question / answer : one pass verbatim latex material to lua, but latex displays this material by him self. If one suppress the two lines : local buf_without_end = ...
5
votes
2answers
103 views

Hard hyphens in LuaLatex

Why does not the hard hyphen “‑” work in lualatex with the package luainputenc with option utf8? With hard hyphen, I mean a hyphen, which prohibits the line to break directly after it. MWE: ...
3
votes
2answers
56 views

Lualatex error with polyglossia's \setotherlanguages and ntheorem

Consider this MWE: \documentclass[10pt,twoside,openright]{book} % http://tex.stackexchange.com/a/44701/2595 \usepackage{iftex} \ifPDFTeX \usepackage[greek,danish,english]{babel} ...
5
votes
1answer
54 views

Let fontspec handle bold font automatically

I recently installed a commercial font called Monospace 821. The font came in ttf format and I installed it as usual in a Linux machine. Problem is that when I use \textbf{Bold} the resulting ...
20
votes
3answers
239 views

How to access the last line of a paragraph with LuaTeX

Consider the following code, using traditional TeX programming that through a series of boxing and unboxing, grabs the last line of a paragraph and centers it. \documentclass{article} ...
3
votes
0answers
127 views

Tikz graphdrawing library with tree layout throws error

When I compile the following snippet \documentclass[tikz,border=0pt]{standalone} \usetikzlibrary{graphdrawing} \usetikzlibrary{graphs} \usetikzlibrary{shapes.misc} \usegdlibrary{trees} ...
11
votes
0answers
87 views

How does one retrieve \rpcode values in LuaTeX?

The \rpcode values from pdfTeX are properties of font characters, e.g., \rpcode\font 50 = 200 sets the right protrusion value for character 50 in the current font to 200. Reading chapter 7 of the ...
12
votes
0answers
93 views

What exactly is luatex's node.free deleting?

The LuaTeX manual doesn't give much information on the precise details other than saying that one needs to ensure that there aren't any dangling pointers still referencing the node (location). For ...
1
vote
0answers
29 views

Evaluating \luaexec while writing to the aux file

In the document end hook I'm trying to write \luaexec{x = 1} to the aux file, where the 1 is computed in Lua itself (and more complex in the real document, of course). MWE: \documentclass{article} ...
8
votes
0answers
42 views

How to use luatex's node.hpack so that marks, inserts and vadjusts migrate out?

TeX's hpack routine packages an hlist into a box. While doing that it looks at a global pointer adjust_tail and if that is not "null" it migrates some nodes to a separate list starting at ...
3
votes
1answer
44 views

combination of ngerman and fontspec brings a lot of errors

I was using the package ngerman and fontspec with luatex in one document in march 2014 and it worked fine. In the meanwhile, i installed a new arch linux and TeX Live. Now I get a lot of errors like ...
4
votes
0answers
62 views

LuaLaTeX pass characters without “ ” to lua

I try to pass characters to lua but I don't want to typeset the "" that are not natural in latex syntax. Here is a dummy mwe. Here is the background : \documentclass{article} ...
4
votes
0answers
114 views

Unknown TikZ/pgfplots error with external

I am trying to compile a large document (PhD thesis) and I have no problems compiling without using external, but as soon as I enable that feature, it has problems. So far I haven't found the answer ...
7
votes
1answer
78 views

\'. gives error when fontspec package is used

The following minimal example: \documentclass{article} \usepackage{fontspec} \begin{document} The logo `\TeX\'. \end{document} produces the error: ./test.tex:5: Argument of \end has an extra }. ...
4
votes
1answer
88 views

Make Notes from Lyx into Annotations on the PDF

Lyx Supports Notes. It would be great to have any notes in lyx show up as Annotations in a draft produced PDF. For example: LyX: PDF: The use case I have in mind is when showing this draft ...
0
votes
1answer
225 views

Some fonts not recognized by LuaLaTeX

I have made an Ubuntu 14.04 fresh installation on a computer installing the following: texmaker 4.1-1 texlive 2013 texlive-xetex 2013 texlive-luatex 2013 texlive-fonts-extra 2013 ...
5
votes
2answers
99 views

LuaLateX: Problem with microtype \textls and center environment

I want to use \textls to reduce letterspacing for citing works/compositions. If I use it in the titlepage inside a center environment it gets a bit messy. As in other examples, it seems like the lines ...
0
votes
1answer
103 views

Am I missing the lualatex format source?

I am trying to get lualatex to run on my MikTeX 2.9 installation. When I attempt to create the format, I get the following error message (via mo.exe): Creating the lualatex format file... ...