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}.
7
votes
1answer
895 views
Double quotes with monospaced font and LuaLaTeX
I am trying to set the following minimal document:
\documentclass[a4paper,11pt]{article}
\usepackage{fontspec}
\setmonofont{Inconsolata}
\begin{document}
\begin{verbatim}
<!DOCTYPE HTML PUBLIC ...
7
votes
1answer
209 views
How to generate compounded diacritical fonts for Sanskrit with XeTeX and LuaTeX?
I'm trying to use diacritical marks for Sanskrit with a font that does not natively support all the marks (Minion Pro). So they are compounded somehow by XeTeX. This works almost fine in using:
...
7
votes
1answer
255 views
LuaTeX stumbles over special characters in path names, is this a bug?
This bug in MiKTeX is fixed as of 29. March 2012.
I looked briefly at the LuaTeX documenation but could not find any information whether LuaTeX has a problem with special characters in path names.
...
7
votes
0answers
69 views
Speeding up compilation using precompiled preamble with LuaTeX
Compiling my documents with lualatex takes quite long. I have a complex preamble, and noticed it takes long to process this part of the file.
Today I came across this website, which proposes a trick ...
7
votes
0answers
188 views
Letterspacing/font expansion in LuaLaTeX
I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
6
votes
2answers
146 views
Cannot access arguments in a lua block
The follow code is trying simply to print the first argument of a macro. I've tried various things found on the net(there is very little) to get #1 printed in lua but nothing works. I assume there is ...
6
votes
2answers
369 views
Luatex and unicode math without unicode-math
I'm using fontspec in lualatex to get a OTF main font, but I'd like to use one of the good old math fonts (like the default TeX one). After trying different packages, I didn't manage to make it work ...
6
votes
2answers
403 views
Who maintains babel now?
Who manages babel now? It is said on CTAN that Johannes L. Braams is no longer active on this package. I'd like to contribute babel's support for Russian in LuaLaTeX.
6
votes
1answer
385 views
Weird font/spacing issue with LuaTeX & Asana Math
Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue:
\documentclass{standalone}
\usepackage{unicode-math}
...
6
votes
3answers
381 views
lualatex and line breaks after em-dashes
I’ve just installed TeX Live 2012. As mentioned elsewhere on this site, the release history explains that “the parameter \XeTeXdashbreakstate is set to 1 by default, for both xetex and xelatex. This ...
6
votes
1answer
475 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 ...
6
votes
2answers
333 views
LuaLaTeX sees a font while fc-list doesn't
I've got a fresh Arch Linux box with fresh full TeX Live installed. The installation seems to include cm-unicode fonts and lualatex seems to find them correctly, but when I run fc-list the output ...
6
votes
1answer
460 views
Strange behavior of XITS Math in XeLaTeX for \underset and \underaccent commands
Prompted in part by the question Is there an "underscript" command?, I started wondering if the \underset (from amsmath) and \underaccent (from accents) commands work equally when using XeLaTeX ...
6
votes
1answer
379 views
Switching off ligatures in LuaLaTeX
In order to switch off ligatures for a whole document using LuaLaTeX, I put the following lines into the preamble:
\usepackage{fontspec}
\defaultfontfeatures{Ligatures={NoRequired, NoCommon, ...
6
votes
2answers
728 views
luaotfload can’t find fonts
I am using MiKTeX 2.9 on Windows. luaotfload does not find the fonts located in the MiKTeX-maintained root directory (which is C:\Program Files (x86)\MiKTeX 2.9\ on my system) and I am therefore ...
6
votes
1answer
339 views
Font issue on using lualatex with beamer
I am trying to use beamer with lualatex to produce a presentation (MacTex 2011). Somehow, it doesn't seem to honor the font settings. See the sample below, is there anything I am missing here?
...
6
votes
1answer
247 views
Arithmetic overflow with fontspec and LuaTeX
I have the following code using this font:
\documentclass{minimal}
\usepackage{lettrine}
\usepackage{fontspec,xunicode}
\newfontfamily\EBLettrineFont{EBGaramondInitialsF2}
...
6
votes
1answer
472 views
LuaTeX colored boxes with rounded corners
What is the simplest way to make coloured boxes with rounded corners in luatex?
With xelatex I used pstricks and it was simple, but with luatex it is not working.
6
votes
2answers
73 views
Funny but unreadable bookmarks with backslash in section
The following document gives me a "good" document, but garbled bookmarks.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{luacode}
\usepackage[unicode]{hyperref}
\begin{document}
...
6
votes
1answer
92 views
luatex cannot find font metric data
After installing TeX Live 2012 in a non system directory (not sure if this makes a difference) and running some of the tests found at TeX Live Install, LuaTeX can't find the example font metrics even ...
6
votes
1answer
161 views
List of all post original TeX control commands
Is there a well documented list of all control commands added by all post Knuth's Tex like PdfTeX, e-TeX, XeTex, LuaTeX?
6
votes
1answer
287 views
LuaTeX with unicode-math, how to get the font id of current math font
How can I query informations about the current math font?
I tried the following in a document using unicode-math and Cambria Math font
\documentclass{article}
\usepackage{unicode-math}
...
6
votes
2answers
92 views
Problems with insert_before and post_linebreak_filter
I'm coding an algorithm to detect and highlight homeoarchies.
Here my current almost working (but compiling at least) code:
\documentclass{article}
\usepackage[french]{babel}
\usepackage{kpfonts}
...
6
votes
1answer
98 views
Workaround for a very weird bug in lualatex math-mode?
In this MWE, of a math equation
\documentclass{article}
\begin{document}
\begin{equation}
\sqrt{\frac{\left(E-\frac{N_c e^d}{b}\right)}{a}}
\end{equation}
\end{document}
I find that lualatex ...
6
votes
1answer
89 views
Luatex Pattern matching %b
I have never tried to include Lua code in a document before so please be gentle. I am after a pattern matching expression that will eventually take (stuff1)->(stuff2) and replace it with ...
6
votes
1answer
305 views
How to pick a specific symbol from a specific font?
Using LuaLatex, I need two very specific symbols from two very specific fonts, namely from the ZapfDingbats and the WingDings font.
I understand how I could use the fontspec package to set those ...
6
votes
1answer
300 views
Too much space after integral sign with unicode-math and lualatex
(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.)
Consider the minimal example
\documentclass{article}
...
6
votes
1answer
1k views
Can XeLaTeX | LuaTeX import movies ?
It seems that XeLaTeX cannot handle movies. I imported movies into PDF produced with pdflatex compiler using the multimedia package that comes with beamer. My search over various boards revealed that ...
6
votes
2answers
223 views
incompatibilities between LuaLaTeX and \typein ?
The following ecm compiles fine with LaTeX and XeLaTeX, but doesn't work with LuaLaTeX :
\documentclass{minimal}
\begin{document}
\typein{test}
\end{document}
And here is the error :
Invalid ...
6
votes
1answer
141 views
luacode and ExplSyntaxOn/Off
I'm trying to build some sort of an interface to a lua matrix module. I've navigated a few issues and arrived at something that I felt like I could probably modify to work. Anticipating the need for ...
6
votes
1answer
214 views
Invisible math characters with unicode-math and ntheorem
When compiling this code with lualaTeX (from TeXLive 2011),
\documentclass{minimal}
\usepackage{unicode-math}
\usepackage{ntheorem,thmtools}
\setmathfont{xits-math}
\makeatletter
...
6
votes
1answer
395 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 ...
6
votes
1answer
97 views
gnuplottex and lualatex
EDIT: This question covers a bug in gnuplottex which will be fixed in TeXLive 2013.If you still want to have the bug fixed, download the latest upstream version from CTAN and compile it yourself.
...
6
votes
1answer
107 views
Integral limits with amsmath in LuaLaTeX
Also reading the thread about Making integral ∫ use \limits by default with unicode-math I'm not quite happy with the solution.
With pdfLaTeX I use the code
\documentclass{article}
...
6
votes
1answer
126 views
Activating fi and fl ligatures with fontspec for Berling font
I have a font named Berling containing fi and fl ligatures on glyph 109 and 110. How can I activate these with lualatex? For the moment I am trying:
\documentclass[a4paper]{memoir}
...
6
votes
1answer
81 views
Token expansion with the token library
I don't understand how the token library of luatex works.
\documentclass{standalone}
\begin{document}
\def\mymacro{A}
\directlua{%
t = token.create ('mymacro')
token.expand(t)
...
6
votes
2answers
198 views
More than one width of a glyph in LaTeX or LuaLatex
I don't know where I can ask about it.
I have font with 2 or 3 versions of letter 'a'.
How I can put this information to LuaLaTeX, LaTeX etc.?
When the paragraph are breaking/making LaTeX made ...
6
votes
1answer
101 views
How to not have widows and orphans without using raggedbottom
I know I can set \clubpenalty and \widowpenalty to 10 000 to make them “really bad”, but then TeX sees it equally bad to cut the page short when there is no vertical stretch (i.e. \parskip=0pt), and ...
6
votes
1answer
69 views
How is bytefield inducing differences between Pdf-and Xe-TeX and LuaTeX, and what's the fix?
This is a simplification of 'Please explain a strange interaction between bytefield, unicode-math, and mathtools', which arises from a comment by @JLDiaz (to whom my thanks).
Here is the MWE:
...
6
votes
1answer
174 views
xelatex hangs when using fontspec
I'm using TexStudio 2.5.1 on Windows 7 with MiKTeX. The following brief .tex file will cause xelatex to hang:
\documentclass[12pt]{article}
\usepackage{fontspec}
\begin{document}
Test
\end{document}
...
6
votes
1answer
192 views
btex and etex in luamplib labels
I've been experimenting with METAPOST and in particular with luamplib. I found that I couldn't have tex typeset labels with the btex/etex construct as apparently is possible with straight up METAPOST. ...
6
votes
3answers
2k views
LuaLaTeX does not work anymore since last MiKTeX 2.9 update (“fatal format file error”)
I just recently updated Miktex via the update wizard, and after that LuaLaTeX fails to generate any output. At first I thought it would have to do something with SIunitx, because I received an error ...
6
votes
1answer
554 views
How to create luatex.fmt
I wanted to try the latest version of LuaTeX, so I downloaded the official precompiled binaries. But these raw binaries are useless without a luatex.fmt. How can this file be created?
6
votes
1answer
157 views
Math spacing in TeX Gyre Pagella
The spacing in the following output looks off to me. In particular, the integral symbol has not grown to accommodate the height of the integrand, the spacing in the fraction seems large, and the ...
6
votes
1answer
547 views
Letterspacing titles with LuaLaTeX
I'm using LuaLaTeX to write my thesis and I've been learning about typography thanks to Robert Bringhurst's "The elements of typographic style". Problem is I can't replicate the letterspacing used in ...
6
votes
1answer
322 views
Using CJK (Chinese/kanji) characters in math using unicode-math on lualatex
I'm trying to persuade the unicode-math package to let me insert CJK characters (Chinese ideograms) in math formulæ. Here's a sample input (the first few lines are merely to check that basic ...
6
votes
1answer
318 views
Trouble with contextuals in LuaLaTeX with fontspec - trying to get internal long Ss to work
I have been trying to get a project of mine set with internal long Ss. Using fontforge, I have tried to set up the contextual (both [calt] and [cswh]) feature - but when I do, I get no results in the ...
6
votes
1answer
161 views
Inject LaTeX code 1:1 with LuaLaTeX
I would like to automate the creation of some beamer slides using LuaLaTeX. These are my first steps with LuaLaTeX so please excuse my ignorance.
\documentclass{beamer}
\begin{document}
\directlua{
...
6
votes
1answer
172 views
How to set a small linespace even with a very big letter in the text
I use a font (Aquiline), that has only a few characters, most notably the letter "A", which are quite huge in height.
I use LuaLaTex with the fontspec package.
So if I use this font and a capital A ...
6
votes
0answers
217 views
Is LuaLaTeX producing faulty pdfs?
If I compile the following minimal code with LuaLaTeX I seem to get a faulty pdf:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\begin{document}
text
\end{document}
...

