Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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}.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Minted package does not work with TeXShop [duplicate]

I'm using TeXShop on Mac and I cannot use minted package even after following the official documentation. In TeXShop settings, in engine, I've added -shell-escape at the end of the string in Tex and ...
Katherine's user avatar
1 vote
0 answers
59 views

`cleveref` with cyrillic in LuaLaTeX

I'm trying to use cleveref with Russian language with unicode text in LuaLaTeX, and can't get it to work. This mwe: \documentclass{book} \usepackage{ebgaramond-maths} \usepackage[russian]{babel} \...
Sergey Slyusarev's user avatar
5 votes
2 answers
138 views

how to fix libertine package with lualatex putting tilde too low?

When I try to use the libertine package with lualatex: \documentclass{article} \usepackage{libertine} \begin{document} \(\mathbf{\tilde{n}}\) \end{document} I'm seeing problems making a letter with ...
Alec Jacobson's user avatar
3 votes
4 answers
273 views

How can you generate a “not conditional independence” symbol with lualatex?

I would like to obtain a symbol as generated by \not\!\perp\!\!\!\perp This does not compile in lualatex (see \! math symbol in R markdown to beamer with xelatex and lualatex failing ) Is there an ...
user2252705's user avatar
2 votes
0 answers
82 views

Are there any alternatives to online editors like Overleaf? [closed]

I have a .tex document that needs to be compiled with lualatex and I wish it could be done somewhere else besides Overleaf. I've tried the most popular solutions from here, but they either don't allow ...
Vypz's user avatar
  • 21
1 vote
1 answer
65 views

How to measure the length of the last line? (LuaLaTeX)

I would like to make a command which, like some environments for equations, has a vertical space at the start of it which depends on whether the length of the line in the previous paragraph exceeds a ...
B Legrand's user avatar
  • 413
1 vote
1 answer
38 views

LuaLatex, Tikz and Strings in Plot

Before I start my real plot, I try smaller things I consider to use. Finally, I want to draw CPU register mapping similar as shown before here at StackExchange. Anyway, here is my latex source: \...
olStckEx's user avatar
3 votes
2 answers
104 views

Setting font face for \mathrm in math mode

Regarding my previous question (Setting multiple language environments in LaTeX) -which is about setting different fonts for multiple language environments, I have read answers from @cfr and @Davislor ...
mickmix's user avatar
  • 43
1 vote
0 answers
66 views

fontspec 2.9b issue?

LuaHBTeX, Version 1.18.0 compiles the following file as expected with fontspec 2.9a. \documentclass{article} \usepackage{fontspec} \begin{filecontents}[overwrite]{MyLato.fontspec} \defaultfontfeatures[...
Daniel Flipo's user avatar
  • 2,194
0 votes
0 answers
39 views

error when using textls with fonts with spaces in the name with lualatex/texlive2024

Up until now, using the full name for fonts with lualatex worked fine in all cases. However since the update to TeXLive 2024, it produces an error when using \textls[]{}. The following code produces ...
ArTourter's user avatar
  • 17.4k
0 votes
0 answers
24 views

Harano Aji Gothic font not working in this MWE

Here is my MWE: \documentclass[10pt]{book} \usepackage[paperwidth=6in, paperheight=9in, twoside, margin=1in, top=0.9in, bottom=1in, left=0.9in, right=0.7in]{geometry} % Japanese Language Support \...
necromancer's user avatar
0 votes
0 answers
26 views

File Outline display wrong (stacked instead of seperated)

My file outline after downloading a compiled .pdf from Overleaf is displayed wrong. I have the following code \input{content/Section_1} \section{Section_2} \input{content/Section_2} \section{...
Yann Müller's user avatar
0 votes
1 answer
52 views

Missing Greek Accents with Type that includes accents

I'm using a specific Greek font for biblical Greek typesetting. The problem is, after compilation, none of the Greek accents are rendered. The letters are typeset fine. But not the accents. What am I ...
DonnyRodriguez's user avatar
1 vote
1 answer
42 views

Not able to compile Lua/LuaTeX scripts with coroutines [coroutine.yield] vs [coroutine.result(name)]

This question deals with Lua coroutines, a functionality I want to access in my Lua/LuaTeX scripts. The following snippets are without or with argument to pass (for this latter, that's what I want as ...
ejazz's user avatar
  • 1,059
1 vote
2 answers
137 views

Setting small caps fallback fonts in fontspec

Note: This question is only for the macOS operating system The Times New Roman font in my mac doesn't have small caps shapes. So I want to set TeX Gyre Termes as the small caps fallback font. Using ...
Stephen's user avatar
  • 4,084
6 votes
2 answers
98 views

xcharter font and mathrm

I am using fontsetup with a serif and sans-serif font of my choice to properly typeset different parts of my document, including extensive math usage. There seems to be an issue somewhere in the ...
lret's user avatar
  • 71
1 vote
1 answer
41 views

Small cap 'i' in Times New Roman, LuaLaTeX

I'm writing my master thesis on LaTeX, and I encountered a little problem with small caps. I have to use the Times New Roman font, as well as small capitals for the centuries (French conventions). But ...
Pierre S.'s user avatar
0 votes
1 answer
42 views

(LuaLaTeX) What's the best bidi option when having a bidirectional multilingual document?

I'm having a dilemma over whether to use bidi=basic, bidi=default or bidi=basic-r when using both English and Farsi/Persian. I have the follwoing code: \documentclass[letterpaper,12pt]{article} \...
Felix Maldonado's user avatar
2 votes
1 answer
52 views

Problem with delimiter using the chemfig package

This is my first post here, so please excuse me if I do anything wrong. I have a problem using the \chemleft and \chemright commands. I use LuaLaTeX to compile. Whenever I try to compile the MWE given ...
Florian R.'s user avatar
1 vote
0 answers
47 views

How to define a math symbol from a custom font e.g. integral, respecting displaystyle

Basically i defined a few custom glyphs i really want to be able to use by making a font. They are symbols that should be typset exactly the way the integral is typeset in computer modern (but look ...
Rubids's user avatar
  • 27
0 votes
0 answers
24 views

"invalidfont" error with LuaLaTex and pst-barcode using basic TexLive install

I am trying to make a minimal TexLive install for a docker container to minimize cloud costs. My web app creates product package labels with a UPC code. In my docker container, I get an "...
jlmontie's user avatar
  • 121
2 votes
1 answer
72 views

supercite punctuation not superscripts when using kpfonts-otf with Lua/XeLaTeX

I am trying to use XeLaTeX with kpfonts-otf, but for some reason the punctuation in the supercitations is "normalscript"(?), making the citations look a little out of place. MWE: \...
Thorbjørn E. K. Christensen's user avatar
1 vote
0 answers
27 views

Estonian - typesettings (or catcode10)

I tried to adapt this solution for usage in my project. ONE of my problem is that when using estonian language the hyphens in the detect macro are not treated properly - i.e. they appear as squared ...
LeO's user avatar
  • 1,471
0 votes
2 answers
64 views

Tikz Display Coordinate in Node Text in Scaled Picture

Looking to display the value of a coordinate, however using the below, the value does not print out accurately. The scale is attempted to be retreived using Recover scaling factor in TikZ and then use ...
The Guy's user avatar
  • 411
5 votes
1 answer
87 views

Odsfile package in combination with tabularray: Misplaced alignment tab character & error

I want to include a ods file using the odsfile package in combination with the tabularray package. However this results in an Misplaced alignment tab character & error. Here is a M(n)WE: %% ...
student's user avatar
  • 29.2k
1 vote
1 answer
39 views

Use Lua to flag font warnings

Using lualatex, TeXlive2024, Linux. In an earlier question, Marcel Krüger showed how to use Lua for keeping track of errors. In essence, that code sets a flag, if any error was reported. At the end, I ...
user avatar
3 votes
1 answer
72 views

luatex tex.sprint'ing \SetCell produces different result

I will be making a wrapper around tabularray's \SetCell macro using lualatex. Using tex.sprint to produce \SetCell[c=2]{c} however produces a different results than typing it in out directly. Any ...
likethevegetable's user avatar
0 votes
1 answer
54 views

Take just the integral and summation signs from the mtpro, with lualatex in a unicode setting

What could be a working strategy to get the integral symbols (\int, \oint, \iint, etc) and the summation symbol from the mathtime font, but otherwise use unicode fonts and unicode-math? There should ...
balcinus's user avatar
  • 400
0 votes
0 answers
992 views

Updated MikTex Broke hyperref [7.01h] on LuaLaTex [Version 1.18.1]

When attempting to compile the following input under either pdflatex (MiKTeX-pdfTeX 4.19 (MiKTeX 24.3.31)) or lualatex (LuaHBTeX, Version 1.18.1 (MiKTeX 24.3.31)), I got errors thrown by something to ...
Edgetho's user avatar
4 votes
0 answers
98 views

luaotfload-tool: This version of luaotfload may have been tampered with. Is this a software bug, packaging bug or user malfunction?

Bug reports See also Max Chernoff's comment. Thanks to Max for directions to the first and prompting the second and third. https://github.com/latex3/luaotfload/issues/277 https://github.com/latex3/...
cfr's user avatar
  • 202k
0 votes
1 answer
59 views

Store has a variable from LaTeX Code

I would like to store as a Lua Variable and will check syntax using lualaTeX. How to do with LaTeX + LuaLaTeX String. My MWE is: \documentclass[format=acmsmall, review=false, screen=true]{acmart} ...
Balaji's user avatar
  • 129
2 votes
1 answer
71 views

Callback replacement of active character

Using LuaLaTeX, TeXlive 2024, Linux. EDIT: As David wrote, in the accepted answer, this does not require Lua callback. But I will leave the question, because other users may try to do something ...
user avatar
1 vote
1 answer
63 views

widetilde and widehat differences between xelatex and lualatex

A user of NewCM noted that xelatex and lualatex produce different results on the same simple tex code (and not only NewCM). The code \documentclass{article} \usepackage[regular]{newcomputermodern} \...
Antonis's user avatar
  • 276
1 vote
1 answer
70 views

Layouting with tested tikz graphs

I'm using the tree layout with tikz, which generally works very well, but sometimes, when using subgraphs, I end up with edges that are perfectly aligned on top of each other like this: In my code ...
Thomas Ahle's user avatar
3 votes
2 answers
74 views

Size of the Integral Sign in TeX Gyre Math Font and Conflict with \boldsymbol

I'm using luatex with the font TeX Gyre Terms Math. I followed one of the procedures in this post to get the integral signs to be large, as the standard size is way too small. Curiously, though, it ...
Níckolas Alves's user avatar
4 votes
2 answers
334 views

How can I start a LuaTeX-non-hb engine?

Writing and compiling documents, I noticed that sometimes "LuaTeX-1.18.0" is producer of the document, and in other cases it is "luahbtex-1.18.0". But I fail to find the switch, ...
Keks Dose's user avatar
  • 31.1k
4 votes
1 answer
218 views

Package luacolor disables chickenize

I really would like to get my readers attention by printing one word in rainbow colors. Usually that works using the chickenize package. MWE: \documentclass{article} \usepackage{chickenize} \...
Keks Dose's user avatar
  • 31.1k
0 votes
0 answers
57 views

Problem with widehat command in lualatex

I have a problem with the widehat command in lualatex. I have loaded the lualatex-math package that fixes some of the problems. Here is MWE. \documentclass{article} \usepackage[fleqn]{amsmath} \...
S. Venkataraman's user avatar
1 vote
0 answers
31 views

How to get rid of bold line in \multicols? [closed]

Trying to get rid of this bold line separator that comes with the \multicols command, my code looks like this: I haven't been able to find a simple fix, I wouldn't mind if it was just a little ...
magg13__'s user avatar
2 votes
2 answers
57 views

Evaluation inside StrGobbleRight

I'm running into a problem with a list of IfSubStr that will be separated by commas and spaces. I don't want the final substring to have that comma and space, so I thought StrGobbleRight(2) would be ...
Rolling Seduction's user avatar
0 votes
0 answers
70 views

Creating a PDF/A and PDF/X multistandard compliant document with scrbook and LuaLaTeX

I'm trying to create a PDF that is PDF/A- and PDF/X-compliant at the same time with LuaLaTeX and documentclass scrbook in different flavors. So far, I found some working code. This MWE helped me ...
Psychic Birdy's user avatar
1 vote
0 answers
44 views

Box or rule with rigid sidewalls, not overlap protruding character [closed]

The \mbox and \rule macros have porous sidewalls. That is, if the preceding or following character has negative side bearings, the excess will penetrate into the box. In almost all cases, this is ...
user avatar
5 votes
1 answer
128 views

Definition of nobreak changed after upgrade to TexLive2024

We have now updated our Linux system and therefore upgraded as well to lualatex 1.18.0. Somehow the definition of nobreak seems to have changed - or at least the handle of it. Since we're running Unit-...
LeO's user avatar
  • 1,471
2 votes
1 answer
148 views

LuaLaTeX bugged out with unicode in supplementary planes?

MWE: \documentclass[margin=0pt, 12pt]{standalone} \usepackage{fontspec} \usepackage{unicode-math} \setmonofont{FiraCodeNerdFontPropo}[ Extension = .ttf, Path = ../../../fonts/FiraCodeNerdFont/, ...
zhtluo's user avatar
  • 35
1 vote
2 answers
42 views

How to create section of array element arrayjobx

This is my document: \documentclass{article} \usepackage{arrayjobx} \begin{document} text \newarray\tasks \readarray{tasks}{ 1 & 2 } \section{\tasks(1)} \end{document} Line \section{\...
Intolighter's user avatar
1 vote
0 answers
47 views

luatex img library bbox - returning image extents

I'm having some issues running pdfcrop and some other pdf utilities on my work machine and am trying to take matters into my own hands. I want to crop a page of a pdf document, similar to what pdfcrop ...
likethevegetable's user avatar
7 votes
3 answers
401 views

Erewhon fonts and mathfrak symbols

I'm trying to get the erewhon font to work, but I miss some specific mathfrak fonts when using it. For example, \mathfrak{h} only displays a regular h instead, while \mathfrak{g} works. The example ...
kindaichi's user avatar
9 votes
3 answers
685 views

Is it possible to get TeXlive version year, and preferably user platform, from within document?

Is it possible for a lualatex document to learn the version year of the binary, from within the document, without using shell escape? Even better if I could also detect the user's platform. I know ...
user avatar
0 votes
0 answers
39 views

Avoid latexmk rerun forced by new timestamp of lualatex cache

I am trying to setup a GitLab project with CI such that the PDF artifacts would be built in the job only when the source tex files changed. I've already resolved the problem with modification date of ...
Daniel Langr's user avatar
5 votes
1 answer
134 views

Misplaced diacritics with Graphite renderer and LuaLaTeX. Any

I am trying to typeset some Kashur (Kashmiri) text with a Graphite font, i.e., Awami Nastaliq. Here is an MWE: \documentclass[border=1cm]{standalone} \usepackage[% english,% bidi = {...
Niranjan's user avatar
  • 3,415

1
2 3 4 5
86