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)

5
votes
1answer
2k views

Package hyperref Warning: Token not allowed in a PDF string [duplicate]

My document contains section titles that are formatted by the listings package. (The section names are names of configure script switches.) ...
6
votes
1answer
140 views

unwanted en-dash ligature with lualatex but not with xelatex

I am trying to generate PDF documentation out of Pandoc Markdown README document. Here is MWE: \documentclass[english,]{article} \usepackage[T1]{fontenc} \usepackage{ifxetex,ifluatex} \ifnum ...
4
votes
2answers
173 views

LuaLaTeX: german special character ß with `newpxtext`

I use the font Palatino from the package newpxtext in combination with LuaLaTeX. With this package it is not possible to set the german special character ß directly: % Magic comments for TeXstudio % ...
8
votes
1answer
190 views

Problem between unicode-math and babel option frenchb in LuaLaTeX

I've got a strange problem in LuaLaTeX with both babel, option frenchb, and unicode-math. My TeX Distribution is TeX Live 2013 (installed with MacTeX on a OS X.8.5 system). If I run the following ...
2
votes
1answer
177 views

Problem with mathastext package

The following very simple code does not work here: \documentclass{article} \usepackage{fontspec} \setmainfont{Droid Sans} \usepackage[italic]{mathastext} \begin{document} \section{test} ...
3
votes
2answers
429 views

Latex command for unfilled \bigstar

\bigstar produces a black star. What is the LaTeX command for white or unfilled \bigstar? The unicode-math package has a command \bigwhitestar, but I am not able to use it in the usual way. When I ...
9
votes
1answer
78 views

Namespace in luatex

Is it possible from luatex access registers where all names of command sequences are stored. Is it possible to pull out this list of names? I am looking for a way to trace how namespace changes during ...
5
votes
2answers
1k views

Beamer: Using sans serif numbers in math mode together with LuaLaTeX and the fontspec package

This is a follow up on my last question. I want to produce a beamer presentation using the font Helvetica Neue. I am using this MWE: \documentclass[]{beamer} \usepackage{fontspec} \setsansfont[ ...
8
votes
2answers
618 views

First steps with LuaLaTeX and ttf fonts

I am just starting to use LuaLaTeX. Mainly because I want to use a ttf font for a presentation. My MWE looks like \documentclass{article} \usepackage{fontspec} ...
3
votes
1answer
77 views

Quotes are not formatted correctly

Here is data about my problem that I consider relevant: a) I'm using lualatex b) Here is my prelude: \documentclass[b5paper,twoside]{memoir} \usepackage{graphicx} \usepackage{polyglossia} ...
7
votes
1answer
74 views

LuaTeX: \luaexec leads to 'Missing number, treated as zero.'

I can't handle Lua <--> LaTeX interaction in LuaTeX. I'm getting type errors anytime luacode is suppose to output non-string token. For example in this case: \documentclass{report} ...
6
votes
1answer
118 views

Clickable links in PDF are wrong on landscape pages (pdflscape + LuaLaTex)

The hyperlinks in the PDF are not where they should be. It seems to be that glossary links are not "rotated" due to landscape mode. The following MWE illustrates the problem. The error occurs only in ...
3
votes
0answers
50 views

Getting the filename of the current input from within “show_error_hook”

In the luatex reference guide, status.filename is described to return "the name of the current input file". The luatex wiki describes how to use this along with show_error_hook to produce better error ...
8
votes
1answer
194 views

Different appearance of \dots, \ldots in text and math mode in LuaLaTex + unicode-math (bug)?

I get tons of warnings "Command \textellipsis invalid in math mode" after I have switched to LuaLaTex. The warning comes from the unicode-math package, which I needed to set the math font. If I use ...
8
votes
1answer
175 views

How to use punctuation marks in LuaLaTeX with unicode-math?

I also posts this here: http://texwelt.de/wissen/fragen/3000/interpunktion-in-lualatex-mit-unicode-math-von-hauptschriftart. The problem is that I want to have the \period symbol (also range="002E ...
8
votes
1answer
179 views

pdfcrop using luatex engine minimal setup

I want to try the great pdfcrop.pl script by Heiko Oberdiek (http://www.ctan.org/pkg/pdfcrop) with LuaTeX engine. Unfortunately my knowledge about LaTeX tools like LuaTeX is non existent. I'm looking ...
4
votes
2answers
113 views

How to debug LuaLaTeX no longer finding ttf font

I just updated texlive and now LuaLateX no longer finds two ttf fonts situated in the same folder as the .tex file. Before I updated it all worked fine. Clumsy as I am I was having a latexmk session ...
5
votes
1answer
114 views

\emptyset doesn't work with LuaTex + glossaries + unicode-math (bug?)

The following code doesn't work with LuaTex (I get an "undefined control sequence" error). It works if I either comment out \usepackage{unicode-math} or if I change the glossary name from $\emptyset$ ...
13
votes
3answers
594 views

Possible to use MnSymbol with LuaTex?

I want to use the Minion Pro font together with math symbols from MnSymbol (http://www.ctan.org/tex-archive/fonts/mnsymbol). Is this possible? It has already been discussed here -> ...
4
votes
0answers
164 views

Optical weight selection with fontspec

I'm using LuaTeX version 0.76 and fontspec version 2.3c. I have the full family of MinionPro, but fontspec seems not to choose the appropriate optical weight. While it works for the roman font of ...
11
votes
2answers
282 views

How can I replace a character (zero)?

Is it possible to replace characters in pdflatex? I use the Minion Pro and Myriad Pro font and the zero looks like a small 'O'. I want to replace the zero by a zero with a dot or slash in the middle ...
1
vote
1answer
84 views

Problem with justification and \titleformat (LuaLaTeX) [closed]

I am using this titleformat for my chapters but the text after \chapter{} ist centered too. \titleformat{\chapter}[display] {\normalfont\Large\sffamily} ...
8
votes
1answer
396 views

Compilation error with LuaLaTeX (luaotfload- database.lua)

This file does not compile after updating TeXLive 2013 : \RequirePackage{ifluatex} \documentclass[12pt]{standalone} \ifluatex \usepackage[no-math]{fontspec} ...
10
votes
1answer
92 views

LuaTeX hpack_filter callback not triggering on certain hlist creations

EDIT: The hpack_filter is triggered and my question pointless. Consult my answer on why I missed the callback invocation. I am using LuaTeX to analyze the creation process of math expressions in a ...
3
votes
1answer
403 views

Same mathematical fonts with LuaTeX and ConTeXt

I use LuaLaTeX to compile my documents with this in the preamble : \documentclass[12pt,a4paper]{article} \usepackage{etex} \usepackage[no-math]{fontspec} ...
12
votes
1answer
216 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
5
votes
1answer
426 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 ...
8
votes
1answer
224 views

Loading otf font as mathfont range using unicode-math

I'm trying to replace the letters in the math font so that it matches the main font. Curiously, this works for the italic version, yet not for bold and roman. Why is that? \documentclass{article} ...
4
votes
1answer
160 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
2
votes
0answers
226 views

Updating LuaTeX version in MiKTeX [closed]

I have MiKTeX 2.9, which comes packaged with LuaTeX version beta-0.70.2-2012060719. I'd like to compile a file using the latest stable version. I've downloaded the binary, but what do I do with it?
3
votes
0answers
174 views

Difference in PDF loading in lua- and xelatex

Someone is trying to install a package of mine (http://www.ctan.org/pkg/lilyglyphs) in MiKTeX on Windows 7. After some hassles with file and font paths we managed to get him going, but there is one ...
5
votes
1answer
194 views

Can one kern math font euler.otf using lualatex and fontspec?

I am at it again... :) Using the http://github.com/khaledhosny/euler-otf/blob/master/euler.otf font, can one kern distance between T and P with Lualatex? Clearly, my attempt does not work... Could ...
11
votes
1answer
129 views

Replacing # characters with luatex

The minimal example below should replace all # characters with another symbol. This works well if I use \# to escape it, but the user should later be able to enter it directly, e.g. to enter hash ...
6
votes
1answer
110 views

How can you use both fontspec and xmpincl?

Is there a way to use both the fontspec and the xmpincl packages? Using PDFTeX returns Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX to ...
10
votes
0answers
95 views

Strange linebreaks with microtype & LuaLaTex [duplicate]

I have a weird problem. If I compile with LuaLaTex and microtype some of my line breaks are messed upped, but I don't get any warnings. XeLaTex with/without microtype or LuaLaTex without microtype are ...
3
votes
1answer
371 views

LuaLaTeX: No error but no output files

I am trying to use LuaLaTeX in TeXnicCenter (or TeXworks as well), due to TeX capacity issues. However, no output files are produced (.log, .pdf), and I cannot see any error in the build output; I ...
15
votes
3answers
218 views

Why do user-defined whatsit nodes affect LuaTeX pagebreaking?

EDIT: A summary of the possible answers is given below. In my current LuaTeX project I am using user-defined whatsit nodes to transfer information between the different stages of a LuaTeX run. On ...
0
votes
0answers
20 views

Error Inserting PDF Pages with XeTeX [duplicate]

I'm trying to insert a PDF page into a document using the following: \usepackage[]{pdfpages} ... \includepdf{titlepage.pdf} and keep getting the following error in XeTeX message box: ** WARNING ...
9
votes
2answers
193 views

Selectively disable dash ligatures in LuaLaTeX

With pdfLaTeX, I can print two hyphens using -{}-. This does not seem to work in LuaLaTeX. Indeed, the following snippet \documentclass{minimal} \begin{document} en dash -- two dashes -{}- ...
2
votes
1answer
87 views

LuaLaTeX and multilanguage support

I've a little issue managing fixed names in my TeX class. I'm using the babel package for multilanguage hyphenation support so far, but I would like to deactivate the fixed names provided by babel. I ...
2
votes
1answer
1k 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. ...
2
votes
1answer
183 views

kvoptions and conditional environment

I'm trying to create a package with a single option, which provides an environment, which behaves differently if called by latex or pdflatex XeLaTeX. I tried to use kvoptions, but I'm a little lost. ...
6
votes
0answers
225 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: ...
8
votes
1answer
169 views

LuaTeX callback for single line captions

I am using LuaTeX and its associated callbacks (pre_linebreak_filter, post_linebreak_filter and mlist_to_hlist) to analyze lines and paragraphs during typesetting of a pdf document. This works fine ...
2
votes
0answers
113 views

lualatex and mylatexformat

I am trying to make precompiled preambles format with lualatex and mylatexformat package. I'd like to have it in a Fmt/ subdirectory of the working directory. Trying this command line luatex ...
2
votes
1answer
411 views

Kile and LuaLaTeX

After failing to compile some lualatex-code in texniccenter (see here: LuaLaTeX, TeXnicCenter, AdobeXI and Sumatra), I would like to compile a minimale example in kile. Where I can find the ...
31
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 ...
17
votes
2answers
332 views

Randomly reduce the number of pages

My colleagues and I wrote a book that has m pages. Our editor wants n << m pages. For fun, I'd like to submit him two versions of our book. One version that randomly suppress (m - n) pages ...
8
votes
1answer
121 views

Measuring the true height of a character

Suppose you have got a character that sits above the reference point. When you measure its height, the empty space above reference point gets also included in its height measurement but that is not ...
1
vote
0answers
140 views

Is it possible to use `lualatex`'s DVI output with `fontspec` without getting font-related errors?

Is it possible to use lualatex's DVI output with fontspec without getting font-related errors? I want to use the (eps-based) output of sagetex with a lualatex generated document with fontspec. As ...