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)

6
votes
2answers
334 views

System-wide feature file in lualatex

I have a font (Dolly) with f_i and f_l ligatures, which requires a feature file to make them work. Everything works fine using the following: # dolly.fea languagesystem DFLT dflt; languagesystem ...
15
votes
0answers
8k views

eps-converted-to.pdf not found [closed]

I was trying to include a figure in LuaLatex, but got an error message of !Package pdftex.def Error: File 'test-eps-converted-to.pdf' not found. The same code run in pdfLaTex+MakeIndex+bibTex. ...
22
votes
2answers
2k views

Is there latexmk functionality for LuaTeX?

I am a big fan of latexmk and lately I have been looking a bit towards LuaTeX. However I am am yet to find a way to get the functionality of latexmk (mainly recompilation on changes and automatic ...
15
votes
0answers
87 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 ...
6
votes
1answer
125 views

Why does the ragged2e package screw up my emphasized text and headings?

I encountered a weird behavior of the ragged2e package. \documentclass{article} \usepackage{blindtext} \usepackage{amsmath} \usepackage{ragged2e} \newcommand{\ir}[1]{_{\mathrm{#1}}} ...
3
votes
1answer
143 views

Smallcaps don't work if fontspec's microtype is used in luaLatex

This could be a duplicate question of this one - but I'd say the problem there is still not solved. Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage{fontspec} ...
1
vote
1answer
295 views

LuaLaTeX produces no output

I've decided to switch to LuaLaTeX for superior font support and built-in programming capabilities, but I cannot produce any output. It does not even generate a .log or .aux file. I've come across the ...
11
votes
1answer
892 views

Fake bold in LuaLaTeX

I am sometimes using a font that has no boldface, so I am wondering whether or not there is a way to use some fakebold-feature in LuaLaTeX. The fontspec documentation explains a feature for XeLaTeX, ...
12
votes
2answers
382 views

LuaLaTeX and hyperref ate my document (properties). How do I get them back?

I use hyperref for a number of reasons, but among other things it sets up the document properties up well. As long as I compile with XeLaTeX that is. As soon as I compile with LuaLaTeX, everything is ...
2
votes
0answers
159 views

error: could not start the command. lualatex -interaction=nonstopmode %.tex

I have just installed texmaker 4.4.1 and MikTeX 64bit in my laptop. When I use pdflaTeX everything seems to be working fine, however when I try to switch to LuaLaTex I get the message shown in the ...
5
votes
0answers
58 views

Can LuaLaTeX make wrapping text around figures easier?

If there is one thing LaTeX has never been good at, it is wrapping text around figures. Well, I have grown used to LuaLaTeX always providing a solution to what seemed impossible before. So does there ...
2
votes
1answer
122 views

General guide on how to set up font families for luaLatex

In A Survey of Free Math Fonts for TEX and LATEX are great examples of harmonizing fonts in Latex. For example consider the text fragment for CM Bright: With pdfLatex it was sufficient to just ...
3
votes
2answers
118 views

Change engine for “latex” command on terminal

First of all I'm working with ePiX For those who have never heard about, epix uses Latex. To compile, ePiX runs latex command on terminal. I'm always getting a message saying I've got memory limit. ...
3
votes
0answers
88 views

luatodonotes and tikz externalization won't mix

Consider the following code: documentclass[11pt]{report} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize %\usepackage{luatodonotes} \begin{document} \begin{tikzpicture} ...
1
vote
0answers
168 views

How to use LuaLaTeX at WinEdt?

I have a problem " How to use LuaLaTeX at WinEdt ? And my MWE : \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print ...
5
votes
1answer
72 views

Automatic box packing

I have a number of say, subfigures, of varying shapes and would like to waste less space displaying them; their order doesn't matter, and rather than having them all lined up on the same baseline I ...
2
votes
1answer
62 views

\mathbb and MnSymbol

I am experimenting a little with fonts and I'd like to use the following MWE to write some math: \documentclass[% paper=a4,% fontsize=12bp,% parskip=half-,% notitlepage,% oneside,% reqno,% ...
5
votes
2answers
103 views

Obtain a TikZ tree from a Lua table/string

Let's consider I have a database where with appropriate passages I obtain the a string that describes a layered tree. Consider the following listing: % !TEX encoding = UTF-8 % !TEX program = ...
9
votes
2answers
492 views

Why does Lualatex crash after a recent update?

After updating packages of MiKTEX 2.9 lualatex stopped working. I execute this code: \documentclass[12pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[] at (0,0) {A}; ...
4
votes
0answers
294 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 ...
22
votes
2answers
1k views

Why is LuaLaTeX so slow and is there anything I can do about it?

A while back I started bumping into issues with LuaLaTex and switched to compiling a project in XeLaTeX. Since then it seems most of my issues have been resolved upstream or are fixable one way on ...
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 ...
14
votes
1answer
221 views

Kerning and ligatures in TeX without TeX

I am trying to get the same output as in this answer by topskip (an extended version with comments is presented in the TeX without TeX article). I am getting a paragraph consisting of 6 lines with ...
3
votes
0answers
88 views

Texlipse can't find font files

i have a LuaLaTeX document which should use some fonts but i get some errors which says that the font files can't be found. The fonts are in a subdirectory of the project. In the "Project Explorer" ...
6
votes
1answer
120 views

Why does LuaLaTeX's \IfFileExists fail where XeLaTeX succeeds?

I have a series of files that I've been compiling with XeLaTeX. I recently attempted to compile with LuaLaTex and it made a royal mess of things. I traced the issue to the use of \IfFileExists in one ...
10
votes
2answers
87 views

Workaround to make catchbetweenfiletags work with lualatex

I recently discovered that a basic example of the package catchbetweenfiletags doesn't work with lualatex (while it works with pdflatex). What follows is the MWE. Do you know if there is workaround ...
10
votes
2answers
253 views

Polyglossia and hookrightarrow

Can someone explain why there is a gap between the tail and the head of \hookrightarrow when I load polyglossia with French support ? I'm using LuaLaTeX for producing the .pdf. ...
5
votes
0answers
279 views

Differences between XeLaTeX and LuaLaTeX embedding fonts (with optical sizes) in PDF

Using TexLive 2014 (updated today) on Windows 7 the following code compiles using XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setmainfont[ Extension = .otf, Path=otf/, ...
3
votes
0answers
174 views

Minion Math with LuaLaTeX

I cannot get the font Minion Math to display correctly in LuaLaTeX. Several posts on here and the official font support page all say to use the package unicode-math. And so I try: ...
4
votes
1answer
82 views

Randomizing a given text

It sounds stupid, but it's useful to me. I want to randomize words. To input a text, and to get an output with the same words, in random order. I have no idea how to begin with, though. Therefore I ...
3
votes
0answers
57 views

Nil value error in LuaTeX when \bullet is replaced with text

I'm trying to draw a spectral sequence using luasseq, and getting the following error message: LuaTeX error /usr/share/texlive/texmf-dist/scripts/luasseq/luasseq.lua:377: attempt to index field ...
11
votes
2answers
735 views

How to change operator symbols in truth table

I need to type truth tables for my computer architecture classes. Until now I was using a manually typed tabular but today I've found this answer from Scott H. which provides a command called ...
5
votes
2answers
71 views

show content of token register as a string in the document

I'm trying to implement a command that can execute its argument, but also print it. To that end I'm dumping the argument into a toks register and use LuaTex to put it back with inactive catcodes; as ...
10
votes
1answer
100 views

assign penalty to one discretionary (not all paragraph)

For a quite complex problem that would be too long to describe, I need to set different penalties for different discretionaries in the same paragraphe. It doesn't seem to be possible with pdfTeX (and ...
4
votes
1answer
209 views

How to style all instances of a certain word?

In my document I want to change the colour of every instance of the * character to red. How can I style every instance of a single word or character without interfering with the document's other ...
5
votes
1answer
139 views

LuaTeX: How to handle a Lua function that prints TeX macros

Let's say that I have a Lua function that prints TeX macros: How can those macros be executed during compilation with LuaLaTeX? In the following example, I defined a LaTeX macro that should print a ...
1
vote
0answers
72 views

Do pdfTeX, XeTeX and LuaTeX share any code with Knuth's original TeX? [closed]

The title contains the entire question. The engines are different, but do they still share some code with Knuth's TeX, or are they "remakes" from scratch?
4
votes
2answers
53 views

Updating glue after changing width of a box

I need to change the width of a saved box and want it to look as if it was constructed at that width. For example, this centers A in a 4cm wide box: \hbox to 4cm{\hfil A\hfil} But this centers B ...
10
votes
1answer
238 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} ...
7
votes
0answers
60 views

lineno package has different output in pdflatex and lualatex [closed]

Using line label references from the lineno package prevents lines from being broken at explicit hyphens in words adjacent to the label. Consider the following MWE: \documentclass{article} ...
2
votes
1answer
205 views

Updating Your Own Font

In my scenario I am using my own custom font. It is an OpenType font - not a tex-packaged one either, just one I've made in FontCreator (Windows 7). Now, I want to use this font with lualatex, so I ...
3
votes
1answer
85 views

Formatted number printout in LuaTeX?

I have this code that I copied from What is a simple example of something you can do with LuaTeX?. \documentclass{article} \usepackage{luacode} \def\score#1#2#3{% \directlua{ s1 = #1; ...
3
votes
1answer
149 views

Let pdflatex/Lualatex write a PDF “checkpoint”

Assume that you have a program that is writing a report while it computes, and the report is a LaTeX file with text, TikZ figures, ect. that needs to be compiled to a PDF before it can be viewed ...
3
votes
1answer
64 views

get path of source file when compiling from another directory

Is it possible to get the absolute path of the main tex file when compiled from another directory? LuaTeX is the engine I use, so a LuaTeX-only soluion is fine. If I have /x/y/test.tex and if I do cd ...
2
votes
1answer
127 views

wrap logo and sender's address with scrlttr2

I have a problem with scrlttr2 and Lualatex when I use a logo and the english manual of Koma-script don't help. I want to have it next to the sender's address, partly in the margin, and with the ...
3
votes
1answer
89 views

How can I use LuaLaTeX for `europasscv`?

I want to write a europasscv in the same format as my other material for application etc., for which I use LuaLaTeX. The problem up to now is that I can't even make use of TeX Gyre Heros as sansfont, ...
1
vote
0answers
59 views

Something like \tikzexternalize[prefix=tikztmp/] for LuaLaTeX

My aim is to compile a *.tex file that contains quite a number of tikz-environments and to create for every tikz-environment one pdf-file. Under LaTeX I would use something like ...
3
votes
1answer
115 views

How to make all math bold by default in LuaLaTeX

I would like to make all of my equations bold by default in a LuaLaTeX document that uses the lmodern math font. The answer to this question suggests using \boldmath, but I can't get it to work while ...
3
votes
1answer
77 views

Superscript placement using unicode-math with scaling

When I scale up a math font using the unicode-math package, the placement of the superscript is too low. How can I globally adjust the placement of superscripts for this scaled math font? ...
9
votes
1answer
203 views

LuaLatex and large braces with MathTime Professional 2

The following example behaves badly in LuaLatex: \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \begin{document} \[ x = \ccases{ x & 1,\\x & 2,\\x & ...