Questions tagged [luatex]
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}.
4,693 questions
0
votes
0
answers
6
views
Option for Stacktrace output of `texlua`
If I make mistakes in a Lua script and I call it from a .tex file via
\luadirect{
dofile("myscript.lua")
}
then I get a full stacktrace in the output of lualatex-compiler:
myscript.lua:...
4
votes
2
answers
142
views
Replace glyph from font A with a glyph from font B in LuaLaTeX/Node?
The issue is that I have a font that has 9 different glyphs per characters, glyphs called e.g. a, a.2, … a.8 for the lowercase a; and the glyphs look similar per character and have the identical ...
1
vote
0
answers
61
views
Workaround or alternative to tocloft that works with tagging?
Normally, I would use tocloft to get the Table of Contents to appear how I want it to appear, but the package is broken/incompatible with tagging. I do want tagging, so disabling tagging is not an ...
1
vote
0
answers
67
views
How do I debug what is causing tagging related warnings and how do I fix them?
I have a sty file which defines my institution's dissertation format. I have for the most part been able to get it to work with tagging (via TexLive 2025, LuaLaTeX and tweaking code) for accessibility....
0
votes
0
answers
45
views
Fallback font - LuaLaTeX
MWE is:
\documentclass{article}
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{fontspec}
\directlua
{luaotfload.add_fallback
("myfallback",
{
"MinionPro-Regular.otf:mode=harf"...
2
votes
1
answer
81
views
HowTo produce footnotes *) , **), ***), etc?
The current preamble is this:
\documentclass[a4paper,12pt,leqno]{book}
\usepackage[margin=1in]{geometry}
\usepackage[italian]{babel}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{accents}
\...
4
votes
2
answers
101
views
Automatic (but deactivatable) language switching when typing cyrillic
this is my first question on this site, so I hope I didn't broke any social convention in not introducing myself.
I'm writing a simple grammar of Church Slavonic, a slavic liturgical language written ...
11
votes
1
answer
424
views
Plans for evolution/support of {Xe|Lua[node|harf]}LaTeX?
Let me first give some context:
As far as I can see, the original TeX/LaTeX including rendering with pdflatex has been very reliably producing the same visual output for decades now and presumably ...
5
votes
2
answers
279
views
XeLaTeX vs. LuaLaTeX with special font
This time from me a question around a set of issues that can maybe actually be resolved in the near future, even though more likely via code changes than just configuration, but I am asking here first ...
2
votes
1
answer
38
views
How to make cleveref and xr-hyper package work together?
I am trying to reference assets placed in a supplementary .tex file using the hyper-xr package and cleveref. However, I seem to keep getting ?? in the output.
The main.tex contents are given below:
\...
4
votes
4
answers
253
views
\addfontfeatures{FakeBold=...} no effect in lualatex?
I am migrating some existing documents in pdflatex that essentially just use Computer Modern Sans to lualatex, which seems generally to work fine without much ado.
But there is one pdflatex feature I ...
0
votes
1
answer
67
views
auto fetching missing characters from other fonts
Is it possible to fetch the missing characters from a font to other fonts in which that characters are there without manual work, MWE is
\documentclass{article}
\usepackage{amsfonts,amsmath,amssymb}
...
11
votes
1
answer
336
views
Why does activating tagging in a footnote-heavy document increase the PDF file size much more with lualatex than with pdflatex?
Update: following the code change in pdfmanagement (mentioned by @UlrikeFischer in the comments) to mitigate the underlying luatex bug, the test code in the question now produces a much smaller tagged ...
9
votes
1
answer
184
views
How can I get \enumerate to use Chinese numerals instead of Arabic ones?
I'm trying to set up \enumerate to use Chinese numerals (一,二,三,四……) using the zhnumber package. The effect I'm trying to achieve is this:
Desired Output:
The package zhnumber provides a macro to ...
4
votes
0
answers
66
views
Any fix for tablenotes with tagpdf?
I know from this github issue opened on 16 July 2024 that the tablenotes from threeparttable is incompatible with tagpdf.
I am able to reproduce this error as well with this minimal example below:
\...