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)

2
votes
1answer
143 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} ...
5
votes
0answers
61 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 ...
8
votes
2answers
183 views

LuaLaTeX and MetaPost

Is there a LuaLaTeX equivalent of \startMPinclusions input mpfile; \stopMPincusions in ConTeXt? That is, if I have \documentclass{article} \usepackage{luamplib} \begin{document} ...
8
votes
2answers
519 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
74 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
69 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} ...
3
votes
0answers
47 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 ...
6
votes
1answer
94 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 ...
1
vote
0answers
720 views

XeLaTeX/LuaLaTeX + fontspec “font-not-found” in CV template

I am trying to compile a CV template using XeLateX. I have always used Pdflatex, so I created a XeLaTeX command as described here: Use XeLaTeX in Texmaker instead of pdfLaTeX. I then downloaded the ...
8
votes
1answer
145 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 ...
5
votes
0answers
118 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 ...
5
votes
4answers
683 views

Layout Problems due to Using the Libertine Font in Beamer

Using Linux Biolinum as the sans font in beamer leads to layout problems for several themes. This seems to be related to a bug in the font, since it does not provide the right x-value, see here. I am ...
23
votes
5answers
3k views

Reading data from a relational database into a LaTeX table

I'm using Tex Live 2009 on Debian squeeze. I can upgrade if I really, really have to, but I'd rather not. i was wondering if it would be possible to do the following. Given some data in a ...
5
votes
1answer
99 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$ ...
4
votes
0answers
143 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 ...
18
votes
3answers
1k views

Hiring someone to help me with LaTeX for my PhD thesis

I do not know whether this is an appropriate question, but I was carrying it around for quite some weeks and now it just has to come out. I am working on my PhD thesis. My thesis will include a long ...
8
votes
1answer
365 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} ...
11
votes
2answers
253 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
395 views

How to fix in ConTeXt problems after pages and warning 'no GlyphToUnicode entry has been inserted yet!'

Is the warning no GlyphToUnicode entry has been inserted yet! exclusive of pdftex or is it caused by patches loaded by mkii or by using 'cont-sys.rme' instead of cont-sys.tex? The funny thing is, ...
1
vote
1answer
73 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} ...
9
votes
1answer
265 views

fontspec option “Renderer=Basic” - what does it mean?

Since a few days I've been using the fontspec option \setmainfont[Renderer=Basic] ... in order to use the microtype option tracking=true with LuaLaTeX. I have a simple question on this: why does ...
16
votes
1answer
703 views

LuaLaTeX protrusion problem with Negative value

Please see the following screen shots. As you can see there are two "overfull" hbox there. However, LaTeX does not produced any overfull box warning at all. I tried to produce a minimal working ...
10
votes
1answer
90 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
376 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} ...
2
votes
1answer
324 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 ...
12
votes
1answer
417 views

Ancient Greek hyphenation in LuaLaTeX

Can anybody tell me the current state of hyphenation patterns in LuaLaTeX, especially with regard to Ancient Greek? I searched here on tex.sx and on the web. There are many mailing lists discussing ...
26
votes
2answers
2k views

Insert libreoffice table as input

This question led to a new package: odsfile Suppose you have an localc spreadsheet myspread.ods and you want to insert the content of the range H4:I40 as a table into your latex document. I ...
12
votes
1answer
203 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}} ...
19
votes
1answer
499 views

Editing LuaLaTeX files in emacs

(A follow-up question to Which is the best editor for LuaTeX?) Emacs offers the LaTeX-mode in AUCTeX for editing LaTeX files, while it has the Lua-mode for editing Lua-files. Consider the following ...
5
votes
1answer
184 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 ...
4
votes
1answer
151 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 ...
8
votes
1answer
197 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} ...
2
votes
0answers
204 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?
11
votes
1answer
122 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
96 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
2answers
437 views

Is direct utf8 input of combining diacritics in math mode possible with lualatex?

I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue: \documentclass{minimal} ...
5
votes
0answers
174 views

Will XeTeX or LuaTeX support COLR table in OpenType fonts? [closed]

Announced at the Microsoft //build conference: A data structure, implemented as a new 'COLR' table in OpenType, breaks down the base glyph into a separate set of glyphs, each with its own z-order and ...
10
votes
0answers
92 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
259 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
198 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 ...
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 ...
4
votes
3answers
253 views

pagebreak in ledpar (eledpar)

I am sort of restating this question -- however only sort of. I will (1) describe a problem, (2) assume something about the functions of ledpar, and (3) ask a question. 1. Problem I am typesetting ...
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 ...
8
votes
2answers
176 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
171 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. ...
1
vote
1answer
805 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
1answer
1k 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 ...
6
votes
0answers
207 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: ...
2
votes
0answers
99 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 ...
1
vote
1answer
131 views

How to use SciType font in LaTeX?

I saw a font with math support inside OTF glyphs. How to use it (with lualatex or xelatex for example)? Especially how to deal with stylistic sets with LaTex. Here is the link : SciType font ...