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)

10
votes
1answer
534 views

Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX

I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages. There are a number of questions comparing these TeX ...
8
votes
0answers
142 views

xdvipdfmx parse error when using particular font with fontspec

I am using the font IM FELL English PRO (open-source otf here) via the fontspec package, and when I tried typesetting the characters \"{a}, \'{n} or \"{o}, I got this error: xdvipdfmx:fatal: Type2 ...
6
votes
1answer
590 views

Possible LuaLaTeX Problem (compilation seems to hang)

I asked a question earlier, where I had problems with my font specification, since I am using LuaLaTeX with Caslon. I am on Win 7 with TeXLive 2013 (up to date). The file compiles just fine with ...
6
votes
1answer
525 views

Precompiled header in Lualatex on Windows?

I am trying to typeset a longer document with lots of packages. Now it seems that pre-compiling the header can speed up the edit-compile-revise cycle quite a bit. I tried to follow the guideline from ...
24
votes
1answer
449 views

Bad interaction between fontspec and some lua code that performs string-related search and replace operations

Update 2013/05/28: The selnolig package is now on the CTAN. Comments and critiques always welcome! If you wish to contact me about any aspects of the package, please use the email address that's given ...
18
votes
1answer
1k views

Why do I need Lua or LaTeX3 in a plain old technical document?

I wrote and maintain a couple hundred page computer related technical spec in XeLaTeX. I use tables, figures, bitfields, algorithms and other typical trappings. I'm intrigued by LuaTeX and LaTeX3, ...
14
votes
1answer
833 views

Is it possible now to use microtype with opentype fonts?

LuaTeX has limited support for microtypograhpy now, and it can be invoked if only type1 fonts are used. But is it possible for microtype to work with opentype fonts loaded with fontspec now? I have ...
13
votes
2answers
3k views

\documentclass: undefined control sequence

There's probably a ton of questions about this already but I've been spending all day feeling overwhelmed with the TeX learning curve. I'm trying to learn LuaTeX (by the way, if you know of a good ...
10
votes
3answers
2k views

Replacing greek glyphs in math mode

I want to switch fonts, away from computer modern. I'm pretty sure that I will end up with a mixture of fonts. I can't provide a full list of required features, but Linux Libertine's feature set ...
8
votes
1answer
860 views

LuaLaTeX and PSTricks

Is there the possibility to produce PSTricks graphics in LuaLaTeX? I tried it, but i get ! Undefined control sequence. <recently read> \c@lor@to@ps l.9 \psline( ...
7
votes
1answer
197 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 ...
7
votes
1answer
736 views

Installing Lua Modules for use in LuaLaTeX - the sequel

There is a question with the same title, Installing Lua Modules for use in LuaLaTeX, that apparently went unresolved. I'm having similar issues and at this point am out of ideas. I'm running Debian ...
6
votes
2answers
159 views

Remove space before punctuation

I need to remove locally spaces arround (especially before) punctuation signs. This spaces are added by french polyglossia. \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} ...
6
votes
1answer
312 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
4answers
6k views

fontspec LuaTeX error

I have installed "ProTeX" with "TeXstudio 2.3" & "Miktex 2.9". I get an error ! The fontspec package requires either XeTeX or LuaTeX to function when I attempt to run \documentclass{article} ...
6
votes
1answer
726 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 ...
5
votes
0answers
231 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 ...
5
votes
0answers
811 views

LuaTeX font database cannot be created in MiKTeX 2.9 [closed]

Quite in a hurry I am trying to setup MiKTeX 2.9 on the computer of a friend of mine. We started with the portable version but the problem is the same in the normal install. Before the compilation ...
4
votes
1answer
174 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 ...
1
vote
2answers
639 views

Print large macro block from Lua to TeX

I have a rather large block of TeX macro code that is no problem to do in TeX but I'd like to create the macro in Lua instead The macro contains various TeX macro characters (\, %, [, ]) How can I ...
19
votes
1answer
1k views

PDF file size with LuaLaTeX vs XeLaTeX

I have a set of one-page documents written in LaTex. The same file compiled in LuaLaTeX is about 23 times larger than when it is complied using XeLaTex (about 641 KB vs 28 kb). I tried with a couple ...
15
votes
2answers
1k views

Create a LibreOffice spreadsheet from luatex

After reading this amazing answer, I'm wondering if it possible to do the same thing but the other way round, that is create a LibreOffice spreadsheet from luatex, exporting data from the tex file to ...
15
votes
3answers
640 views

Will LaTeX3 have proper support for hooks? Does LuaTeX?

Tex has powerful support for extensions triggered by events happen in generating output, by running one of six token lists appropriately: \everycr \everydisplay \everyhbox \everymath \everypar ...
13
votes
2answers
3k views

UTF8 not working in LuaTeX in TeXLive 2010

I've been trying to set a document using lualatex in my TeXLive 2010 installation. Unfortunately, the non-ASCII characters are left out from the output. In the following minimal document produces a ...
12
votes
1answer
95 views

luatex and starting TeX macros which handle new line characters

This here is actually some kind of isolated follow-up question to Workaround for open lualatex bug in \scantokens? . I tried to use tex.print("<some tex macro>{<something with a newline ...
11
votes
3answers
655 views

Compile all tex files within a folder at once

Is there a way to compile all tex files within a specific folder, from LINUX terminal, at once? I would like to do this using pdflatex or lualatex in a way to create a pdf file for each distinc ...
11
votes
1answer
460 views

text figures (old style numbers) and mhchem

How do I achieve lining figures with mhchem while maintaining text figures in the text (lualatex). My MWE is: \documentclass{minimal} \RequirePackage[paperwidth=70mm, paperheight=20mm, left=10pt, ...
9
votes
1answer
336 views

What is the implication of the warning in the fontspec manual with respect to babel and LuaTeX?

In the fontspec manual, there is a section on LuaTeX that states: babel   The babel package is not really supported! Especially Vietnamese, Greek, and Hebrew at least might not work ...
8
votes
2answers
167 views

Commands that disable everything except the counters

what I'm looking for... I'm looking for a couple a commands, \disableAllButCounters and \enableAll that would do the following: Everything between \disableAllButCounters and \enableAll would ...
8
votes
3answers
3k 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 ...
7
votes
1answer
273 views

AUCTeX changes name of pdf file when compiling with LuaTeX

I'm using AUCTeX with emacs 24.1 on Ubuntu 11.10. I have the TeX Command set to compile using LuaTeX and to produce pdfs. Everything works except that the name of the pdf changes from the file name ...
7
votes
2answers
2k 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
1answer
209 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
2answers
1k views

Less vertical space in frac

I'm using unicode-math in lualatex with the Cambria Math fonts. Compared to Computer Modern math, there is too much vertical space between fractions. Is there a way I can achieve my adjustment without ...
6
votes
1answer
168 views

\scantokens in LuaTeX

The eTeX \scantokens command appears to work differently in LuaTeX than it does in eTeX, pdfTeX and XeTeX. Compiling the following test file with any engine other than LuaTeX performs \show+, which ...
6
votes
1answer
798 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 ...
4
votes
0answers
288 views

MikTeX Update and LuaTeX [duplicate]

Since the Miktex Update yesterday LuaTeX doesn't work any longer. Running from command line, I only get the following output: >lualatex Main.tex This is LuaTeX, Version beta-0.79.1 (MiKTeX 2.9 ...
4
votes
1answer
288 views

Luatex os.execute not working

I've hooked luatex's stop_run callback so I can do some processing on the output pdf after it is generated. To process the pdf I need to call os.execute. When doing so I an error saying "All command ...
4
votes
3answers
518 views

Create macros inside Lua block

How can I create a macro (re)definition directly inside a LuaTeX block? e.g., \directlua{tex.print("\\mymacro{test}")} would be the same as \mymacro{test} in TeX?
3
votes
2answers
774 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 ...
2
votes
1answer
119 views

How to get ϱ and ɔ working with MinionPro [closed]

Using LuaLaTeX and MinionPro (the one from Adobe Reader), I apparently cannot print the characters ϱ and ɔ ("symbolic rho" and "open o"). This I find a bit strange in a professional font. Can that ...
2
votes
1answer
228 views

curious luatex warning checksum mismatch in font txr.vf ignored

The warning mentioned in the title occurs only if luaotfload is loaded. The txr.vf + txr.tfm files are OK: other TeX engines or dvips etc. don't have problem, tftopl and vftovp show that the checksum ...
2
votes
1answer
205 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. ...
2
votes
1answer
3k views

font-not-found error: font “HoeflerText” cannot be found — LuaLaTex error! [closed]

I am running this CV/Resume example from here: Here is a relevant fraction of the code: \documentclass[10pt]{article} %!TEX encoding = UTF-16 % See geometry.pdf to learn the layout options. There ...
1
vote
1answer
102 views

references to floats without ever using figure numbers (possbily using lua or python)

Stephen Wolfram's 'A New Kind of Science' states in its colophon that it has 973 illustrations spread out over 1280 pages. Remarkably, he accomplishes this without ever using figure numbers. No figure ...
1
vote
1answer
1k views

fontspec (xelatex) finding fonts by name, installed or in TEXMFHOME

This is related to my other question: fontspec search path in TEXMFHOME I'm trying to write a package using a specific opentype font through fontspec. Using TeXLive 2013 on a Debian computer (a ...
0
votes
1answer
1k views

TeX Live manager 2011 database corruption?

TeX Live 2011, up to date, on Windows XP. Example: \listfiles \documentclass{article} \usepackage{fontspec} \begin{document} A \end{document} LuaTeX first error: LaTeX Warning: You have requested, ...
47
votes
4answers
3k views

Abandon LaTeX2e for LaTeX3 or LuaTeX

I think my question is: Should I abandon pdflatex, possibly for xetex or context, and a TeX/LaTeX based macro writing approach, possibly for a LuaTeX or LaTeX3 based approach? Possibly relevant to ...
28
votes
1answer
492 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 ...
36
votes
1answer
507 views

Replacement(s) for TeX's paragraph builder using LuaTeX

The LuaTeX engine provides a callback that allows you to replace the built-in paragraph builder by your own algorithm. My question is twofold: does there exist a lua implementation that fully (or ...