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
2answers
25 views

How to increase the gap between only 2 columns in a tabular without skewing the centering?

The Problem How to adjust the gap between just two columns in a tabular environment while automatically retaining the centering of headings? I know the length columnsep is used to adjust the ...
0
votes
1answer
18 views

Include external plantuml file

I want to include an external .puml file and have the diagram generated. My current approach does not work and I do not understand why. Following I pasted what I think is relevant from my current ...
1
vote
1answer
54 views

Fira Mono is oblique not upright by default

I'm trying to use Fira Mono as my monospaced font, but when I compile my MWE (below) in XeLaTeX or LuaLaTeX the font ends up in its oblique variant. What should I be doing differently? \documentclass{...
1
vote
1answer
31 views

Minimal installation to get lualatex (via tlmgr)

I'd liked to be able to run lualatex with a minimal TeX Live installation using tlmgr. I've tried to start installing scheme-minimal but then cannot find what I should add to have the lualatex binary....
1
vote
1answer
41 views

Use JetBrains Mono ligatures with fontspec and lstlisting environment

I would like to use JetBrains Mono font in my document, in order to write some code with lstlisting environment. I’m using lualatex and memoir class. I’m using TeX Live 2020 on Windows 10. Is it ...
4
votes
1answer
106 views

Use JetBrains Mono ligatures in a document (LuaLaTeX)

I would like to use JetBrains Mono font in my document, in order to write some code. I’m using TeX Live 2020 on Windows 10, and I’m using lualatex and memoir class. Is it possible to use JetBrains ...
0
votes
1answer
38 views

Matlab2tikz - TeX Capacity Exceeded - Trying to Run `lualatex` Command

I have been creating vector graphics with the matlab2tikz tool and got the error message ! TeX capacity exceeded, sorry [main memory size=5000000]. As I found out on the matlab2tikz github page page I ...
2
votes
0answers
30 views

Fontspec: Copy of sans-serif font with different WordSpace

I'm trying to define a copy of my default sans-serif font, but with a different inter word spacing. However, simply defining this font family changes \sffamily's inter word spacing if both families ...
0
votes
1answer
40 views

tufte: cannot externalize more than 1 graph

This seems to be strange combination of tufte-book and the graphing library. I am note able to externalize more than 1 graph and I cannot see why. % !TeX program = lualatex \documentclass{tufte-book} ...
1
vote
1answer
49 views

Luatex1.12: arabic with Babel, fontspec and Renderer HarfBuzz

As a follow up of my previous post I tried now little bit with the current version of texlive. I test with texlive2020 \documentclass{article} \usepackage{fontspec} \usepackage[bidi=basic]{babel} \...
4
votes
0answers
42 views

luamplib with animate: drawing glyphs stepwise

I'm trying to combine two ideas and have the Metapost code inside TeX via the luampcode package: working animation inside TeX (Part 1 below): https://melusine.eu.org/syracuse/luatex/luamplibAnimate/ ...
3
votes
2answers
99 views

Why this error shows up in this example? ! Incomplete \iffalse; all text was ignored after line

I do not see why this error shows up in this example below. When putting \iffalse to comment a section out, which has \cprotect around it, I get an error. When removing \iffalse, the error goes away....
0
votes
0answers
26 views

Some characters have strange behaviour in listings with lualatex

The following MCE points out that some characters (for instance €, → or ←) have strange behavior (shifted on the left) in listings with lualatex (up to date TeX Live 2020). Do you know why? \...
0
votes
1answer
21 views

how to add newline when printing to console in luacode function?

I'd like to print to the console (not back to latex) from inside luacode function. But I am not able to figure how to do it. When I add \n it does not like it. I am using print from inside lua to ...
2
votes
1answer
40 views

LuaLaTeX: How to include a generated file size in document?

How to include a generated file size in document with LuaLaTeX? Similar question was answered, but for pdflatex case here. The solution does not work with LuaLaTeX.
0
votes
0answers
29 views

lualatex.fmt is missing

On a fresh ubuntu texlive installation a compilation with lualatex gives the error that lualatex.fmt can not be found: > lualatex document.tex This is LuaTeX, Version 1.10.0 (TeX Live 2019/...
1
vote
1answer
39 views

How can I rewrite these conditionals effectively?

I'm working on modernizing and adapting an old LuaLaTeX template made for exams and other university documents. The thing is, the document is full of conditionals like these: \newcommand{\showMarks}{...
0
votes
0answers
50 views

luatex 1.12.0 and babel

On my system (Linux 5.6.14-arch1-1) the following compiles fine with pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020): \documentclass{article} \usepackage[dutch]{babel} \begin{document} Hallo \end{...
0
votes
0answers
41 views

Lualatex and fontspec - Compile to DOCX

I've written a thing in LaTeX that I need to submit as a docx or doc file. I have a font that I specified with \usepackage{fontspec} \setmainfont{ FONT } If I pandoc assignment.tex -o assignment....
6
votes
2answers
143 views

Include file contents into LaTeX on the same line

I'm trying to generate a pdf file where a certain part contains user input. I want it to be put one the same line, with the same font, and without special characters messing up the parsing. I thought ...
0
votes
0answers
49 views

How to call up characters of a font by their unicode number

I have a font here and I changed some letters with Fontforge. I used the following code to call up the font. What I should know: How can I use the Unicode number instead of typing A or B or C, e.g. \...
0
votes
1answer
21 views

Centering UML diagrams in MetaUML

I'm using LuaTex to draw some UML diagrams in MetaUML. The diagrams appear left align in the page. How do I center them? I tried \centering before the mplibcode environment and also tried enclosing ...
2
votes
1answer
65 views

Does luahbtex with HarfBuzz renderer completely supports math formating?

I am currently trying the new HarfBuzz renderer in TeXLive 2020 (using LuaHBTeX v. 1.12.0) with the STIX2 set of (serif/math) fonts. Rendering seems alright with my main font (and I can confirm mode=...
0
votes
0answers
21 views

LuaLateX callback for linebrea. use this within editor to represent line like in pdf [duplicate]

LuaLateX is able to run custom code and attach it to callback, in particular it could discover line break, receiving a list of hlist that compose a line of text. I'm not an expert at all, but I was ...
1
vote
1answer
56 views

trouble matching %s in LuaTeX argument containing LaTeX command

I hope I can communicate this clearly. I've been trying to pass an argument to a Lua function that contains LaTeX commands. Normally this works fine, but if Lua tries to match/sub %s within this ...
0
votes
0answers
35 views

luatex node library: replace glyph with hlist containing glyph

While trying to replace glyph node with a hlist containing the glyph I was expecting to see the same output on the line, but I see boxes overlap, and get a pdf backend warning. Here, the warning ...
0
votes
1answer
58 views

LuaTeX library loading on Windows

The LuaTeX documentation says the following: Loading dynamic Lua libraries will fail if there are two Lua libraries loaded at the same time (which will typically happen on win32, because there ...
0
votes
0answers
26 views

Can't compile metapost files

I have been searching for a solution to this and I haven't found one. I have a tex file that uses metapost that compiles on one system but not on the other. On the system that fails the log says: ...
0
votes
1answer
66 views

Is this a good way to change \section in document using luacode? Or could this be done using plain Latex macro?

I wanted to do simple thing. Change each \section to \cprotect\section in the whole document. I could not figure out how to do it using latex macro. So I used lua I'd like to ask if you think this ...
4
votes
1answer
83 views

luatex hlist node shift direction seems incorrect, what is the cleanest way to achieve pdf object translations (displacement)?

From the description of hlist nodes in luatex manual, its field 'shift' seems to be a vertical shift. But when I change it using post_linebreak_filter, it adds horizontal shift to hlist. This overleaf ...
0
votes
1answer
286 views

Installation of texlive fails while downloading luatex (checksums differ)

I installed texlive 2020 some time ago without any problems. While updating it some issue with luatex occured and luatex stopper working. So I uninstalled texlive and decided to reinstall it. However, ...
0
votes
0answers
26 views

luatex node library: restore pdf transformation matrix to original state after adding pdf_setmatrix node

How can I restore back to the original pdf transformation matrix after changing it using pdf_setmatrix whatsit node? The restore node should work with vlist/hlist/word/glyph. Below is the complete ...
0
votes
0answers
51 views

How can lua help class or package authors?

I am maintaining a rather simple class for internal company use for myself and some collegues. Mostly simple stuff like including the logo, setting the paper formats, adjust the colors, set headers ...
0
votes
1answer
30 views

Using */ and /** as code block fences with the markdown package

I have written a program in a style close to literate programming. The program source code contains large chunks of Markdown blocks in block comments like this. /** ## Entities, state variables, and ...
1
vote
1answer
77 views

Integral sign is too small

When using math mode the integral sign appears always like in inline math mode and does not stretch to the proper size, like this and even adding \displaystyle before the integral does nothing. I am ...
0
votes
0answers
21 views

The precompilation with mylatexformat of a beamer document with lualatex fails

To speed up the LuaLaTeX compilation process of my beamer file, I tried, to no avail, to use mylatexformat like I usually do with pdfLaTeX. I am using the following MWE, called beamer.tex. \...
0
votes
0answers
36 views

How to use lyLuaTeX?

I am trying to use lyLuaTeX but it is not working. I've read the documentation but I don't understand how to get it to work. I am on Windows 10, using TeX Live (first comment). Here is what I am ...
0
votes
2answers
41 views

Inserting symbols with fontspec => Missing number, treated as zero

I'm attempting to insert the arrow and thick hyphen symbols ‣ and ⁃, U+2023 and U+2043 respectively, into my document. I tried compiling the following with lualatex: \documentclass{article} \...
0
votes
2answers
38 views

Problem using Thai script with Babel and FreeSerif typeface

The following code with compiles with a warning on Windows 10 using LuaLatex although produces a readable document. \documentclass{article} \usepackage{babel} \babelprovide[main, import]{thai} \...
2
votes
1answer
65 views

Greek alphabet: tonos and oxia

I have a font that includes the Greek alphabet where monotonic glyphs have slightly different accents from polytonic ones. When I compose with Lualatex in polytonic, however, the "double" glyphs are ...
-1
votes
1answer
173 views

Why is there no XeLaTeX support for arXiv? [closed]

I would like to address an issue here that matters a lot to me that is: Why do the arXiv admins not consider to introduce an option to submit XeLaTeX generated PDFs? Or in a broader sense: non ...
0
votes
1answer
36 views

Error inserting pdf_tex from inscape with lualatex, “Missing \endcsname inserted”

I am using this preamble as a template PomonaLgcsFormatting.tex: %%% This file is the preamble for the Pomona Linguistics LaTeX Paper Template, which is also used for the Quick Reference Guide. If ...
1
vote
1answer
60 views

Some fontawesome5 icons not working in LaTeX

I'm trying to use fontawesome5 package in LaTeX. Here is my code: \documentclass[a4paper, 11pt]{article} \usepackage{fontawesome5} \usepackage{fontspec} \begin{document} \faKey \faOrcid \end{...
4
votes
3answers
494 views

How to force the long ſ to be rendered as s in LuaLaTeX?

I am trying o typeset a few of the fairy tales my daughter likes so much. Since they aren't copyrighted anymore, I am reproducing a short one here. Suppose I have the following source file: \...
0
votes
1answer
22 views

Lualatex Tikz externalize error in scrartcle class

Consider the following MWE: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-...
0
votes
0answers
26 views

Table of Contents numbers (but not hyperlinks?) go off-track

I’m creating a book in lualatex, and I’m finding that after a few chapters the Table of Contents page numbers are one more than the actual page of the chapter/section they reference. After another ...
0
votes
0answers
60 views

LuaTeX's new_(node)inspection function

I was trying to test the piTeX macros on LuaTeX (required), but the base.ptxlua macro file complained about not finding a mysterious "nodeinspector" module, required to setup some french spacing. ...
2
votes
1answer
40 views

lualatex 1.12 compatibilty with newcommand and arabluatex

I upgraded to the new lualatex 1.12 and it seems that I have problems with the combination of different packages and lualatex. I tried to follow this implementation for underlining. But somehow the ...
1
vote
2answers
29 views

illegal character in array

have a table like below with a custom width, but i can not run it, any ideas? many thanks in advance \documentclass{article} \usepackage{array} \begin{document} \begin{table}[ht] \centering \...
0
votes
0answers
34 views

text size does not match

have a table.like.this \begin{table}[ht] \normalsize \centering \caption{Most Citated Countries} \label{tab:Most-Citated-Countries} \begin{tabular}{rlrrrrrrrl} \hline & Country & Articles ...

1
2 3 4 5
57