The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
2
votes
1answer
31 views

Files not found because of \endlinechar (space) character

A recent MikTeX update broke some code that I'm using. I have many files filled with filenames, the code reads these filenames, and then does some stuff with the contents of the corresponding file. ...
0
votes
0answers
49 views

Once and for all: Produce PDF/X-1a:2001 (with lualatex, without pdfx package)

I've been going crazy browsing the internet for an ultimate, easy, straightforward, up-to-date answer (possibly hoping to find some switch for the lualatex command). I also checked the LaTeX 2e manual ...
1
vote
1answer
58 views

Why does running LuaLaTeX from the command line not produce the same aux files as building from Sublime Text?

I'm trying to automate a LaTeX build and one step in my workflow is invoking LuaLaTeX from the command line like so: lualatex example.tex Although running this command outputs a PDF as required, it ...
2
votes
1answer
24 views

How to highlight / uncover / connect by paths step by step various parts of math formulas blended with text?

I wrote the following code, that works, and approximately do the job. But it suffers from many flaws, I evaluate it as ugly, and would like to receive some advices on how to do same things the right ...
0
votes
2answers
51 views

Compile using only one command

Actually I need several commands to compile my Latex document: lualatex -synctex=1 -interaction=nonstopmode -halt-on-error main biber main makeindex main makeindex -s main.ist -t main.alg -o main.acr ...
2
votes
1answer
84 views

Inserting _any_ unicode character in Latex document

I am totally new to XeLaTex and LuaLaTex, but I have read that both allow to write LaTeX documents in UTF-8. That actually works for some unicode characters, but not for all. See the following ...
0
votes
0answers
35 views

How to Stretch Font Vertically—INLINE—without \scalebox?

Closely Related: Stretching text vertically Is it possible to stretch a font vertically—INLINE—without using \scalebox? For example, I would like to have a paragraph with italicized text, or small ...
1
vote
1answer
72 views

Wrong symbols with STIX2 and LuaLaTeX

I have problems with typesetting math symbols using stix2 fonts. Actually, I want to have \mathbfscr letters, this is the only reason why I need stix2. Simulateously, I need Times New Roman and Arial ...
0
votes
1answer
54 views

My system can't find installed otf and ttf fonts

I have texlive 2019 on windows 10 OS, I tried several times to install True Type Font or Open Type Font and after installation my system couldn't find them (the problem did not occur with my previous ...
3
votes
2answers
70 views

background color with \mpcolor

I'm using following code and I would like to make the color of the background correspond to that of the beamer style. I tried the command background:=\mpcolor{block body example.bg}; but it does not ...
5
votes
1answer
104 views

Inputting extension-less files with LuaTeX fails after recent LaTeX update

After the recent (last week) LaTeX update, inputting extension-less files in LuaTeX fails. The workarounds in Error with LuaLaTeX, tcolorbox with the listings library and an extension-less file don't ...
0
votes
0answers
30 views

luamplib: global definitions without inheritance

Is there a way of globally metapost macros using luamplib and without enabling inheritance for mplibcode code blocks? It seems possible since it appears that this is what luamplib does when setting ...
3
votes
1answer
43 views

Using commands as arguments

I have several commands,which i want to override. Code for this commands almost the same,so i decided to use prop module. But when i use #1 #...n for commands,i get an error,that it's missing \begin{...
0
votes
0answers
63 views

Is grffile broken in luatex (latest update)?

It just happened for me since today that grffile.sty breaks includegraphics (graphicx.sty) in LuaTeX and makes it unable to find files. The following MWE does not work in LuaTeX but compiles normally ...
3
votes
2answers
76 views

Why babel produce warnings about \rmfamily and \ttfamily with \babelfont

I have babel v3.34 a simple example with beamer which I have added a sans serif font family with \babelfont{sf}[Language=Default]{DejaVu Serif} produce such warnings Package babel Warning: The ...
0
votes
1answer
97 views

error: Font \TU/LatinModernRoman(0)/bx/n/10=LatinModernRoman

Everything was working fine in my main document before trying to embed this answer in my code. However, I don't quite understand the steps needed to resolve this according to this solution. The error ...
1
vote
1answer
37 views

Render unicode subscripts

Does anybody have any ideas how to get the following to render properly? \documentclass[a4paper,10pt]{article} \begin{document} \begin{verbatim} [Objective[|Ψ₀(2)⟩ to |Ψ₁(2)⟩ via [H₀[2,2], [H₁[2,2],...
1
vote
2answers
79 views

Error with LuaLaTeX, tcolorbox with the listings library and an extension-less file

I have a quite similar problem as this one: error with LuaLaTeX, lstinputlisting and an extension-less file Compilation of the MWE below fails with this error message: ! Package Listings Error: ...
9
votes
3answers
457 views

Burmese and LuaLaTeX

I am working with a project which requires LuaLaTeX (TeX Live 2018) and the Noto Serif Myanmar font. I need a few words of Burmese only. The MWE works well with XeLaTeX. But LuaLaTeX has a problem ...
5
votes
1answer
93 views

How to Set Lengths (Glue/Skips?, not Dimensions), in LuaTeX?

I am trying to define a length, (not a dimension)—using Lua. But, I am having trouble with the syntax. I think I am supposed to be using the same structures/prototypes as glue_spec in order to still ...
0
votes
1answer
71 views

Saving all the latex to a file and then render reading from the file

I am rendering Latex that spawns ~2600 pages. The document is rendered from a JSON using Lua. It takes around 32 seconds to prepare the document of ~2600 pages. To verify, if there is a difference in ...
5
votes
0answers
128 views

Spacing, delimiter, and Libertinus Math

I would like to have a command that stretches the common delimiters according to the content. The standard \sin\left( is known to have a bad spacing, the packages https://ctan.org/pkg/mathtools and ...
0
votes
1answer
38 views

How to use Calibri and other font options with TexStudio

I need to compile a file in 14pt, Calibri font, but I also need many math and editing packages. I get an error message when trying to compile in either xelatex Fatal fontspec error: "cannot-use-...
1
vote
1answer
58 views

luatex / tex without tex / parse math

Inspired by the article TeX without TeX on the LuaTeX wiki, I am curious if I can replicate the whole LaTeX parsing-to-rendering pipeline in a lua script. I am currently stuck with math -- the ...
0
votes
0answers
21 views

Issues trying to expand tex macro's fully in directlua

I am trying to create a JSON file from a LaTeX report that will be used for some post-processing. For a number of values from my report I will need an expanded version that basically only includes ...
2
votes
1answer
46 views

Change Chapter to custom .ttf font

I am a n00b, and I started writing a large Document with Tex Live in TeXstudio while compiling with LuaLatTex. I am required to replace the Font of some Headings, especially, \chapter and \Huge with a ...
0
votes
1answer
55 views

IguanaTeX in Powerpoint: problem computing bounding box

This question is essentially an exact duplicate of this one, which alas went unanswered. I am using IguanaTeX to format LaTeX in PowerPoint (not something I’ve ever done before), and obtain the ...
0
votes
1answer
50 views

Load font style of OpenType font in lualatex

I got some problems loading .otf fonts with fontspec in lualatex. What I don't get is the following: Let's suppose I have several .ttf font styles. Then I will just specify them succesively for my ...
0
votes
0answers
28 views

how override \@sect command for automatic tagging insertion

As i understood,to do automatic tagging of chapters,sections,sub..sections,using tagpdf package,for most classes,for example for article,scrbook,book and amsart i must override @sect command. also,as ...
23
votes
3answers
865 views

Aligning a text in 3d diagram

This question led to a new library in TikZ: perspective (PGF manual, chapter 63) I have a 3d object created with inkscape as shown below: Now I am trying to place a text in the same orientation as ...
1
vote
1answer
58 views

how to do automatic tagging of chapters,sections,sub..sections and paragraphs?

As someone knows, I want to do package,which does automatic tagging of pdf documents. I try to solve problem of taggings of paragraphs with chapters,sections,subsections,subsubsections... sub.....
1
vote
2answers
992 views

Moving lua code into subdirectory

I want to move all .lua files into the subdirectory code to avoid polluting the main directory with them. However, I cannot get lualatex to find them there. Given this project layout: main.tex main....
-1
votes
0answers
30 views

Override pgf options in class

I am trying to use the WallCalendar (github, ctan) package. I have the most recent version of TeXLive installed (TeX Live 2019). When I try to compile with lualatex, I get the below error related to ...
0
votes
0answers
33 views

Ensure minimum length of last line by tightening word spacing

There are already a few questions that ask how to ensure a minimal length for the last line of a paragraph: Ensure minimal length of last line and Minimum length of last line of a paragraph. But ...
0
votes
1answer
126 views

Lualatex/Japanese document compiles fine in TeXstudio, but not MacTex

I'm having trouble compiling the following document. I have done a fresh install of MacOS 10.14 and installed the full size MacTex 2018 distribution directly from TUG. I have also upgraded all ...
0
votes
1answer
74 views

Difficulty accessing character variant with LuaLaTeX and fontspec

I’ve already asked a similar question previously, but it seems the same trick doesn’t work. I am using the Junicode (1.002) font available at this link. I want to access the character variant for the ...
2
votes
1answer
83 views

Words apear incorrectly in tabular environment

[For the shown MWE, some words ( some of them are indicated in the code since most of the community is not familiar with Arabic) do not appear correctly, where some letters are reversed to be placed ...
1
vote
1answer
18 views

Change color of all footnote elements at once

I'm using a specific shade of grey for my overall font color, but when I insert a \footnote, it appears in black. How can I have all the elements of it in my actual text color? Here is my MWE: \...
2
votes
2answers
84 views

Why can’t I get unicode characters?

I’m trying to typeset the unicode dice character in LaTeX. I’m using emacs, on Ubuntu 18.04. I’ve tried manually setting my TeX-engine to xelatex and lualatex, and I get the same thing. \usepackage{...
0
votes
0answers
30 views

LuaLatex Taking a long time to finish

Is there any way to determine why a file is taking so long to compile? I added some code and it added about 30s to a minute or more to the compile time and the engine just seems to stall(it finishes ...
0
votes
0answers
24 views

Index like layout with dates instead of page numbers [duplicate]

I am trying to improve upon this, which is just really horrible I think. I want the sorted grouped index like layout, but it seems to be quite a fight to get rid of the page numbers which are kind of ...
0
votes
0answers
19 views

Chinese on MacTex2018, with hyperref

My question is similar to Chinese on MacTex2018, simple example, with a critical difference that I also need to use hyperref. Summary: I am using Macbook to compile LaTeX file with Chinese characters ...
1
vote
1answer
31 views

Odd error when using Arabic in babel (TeXLive 2019)

I am facing a weird problem. Files that compiled correctly on earlier versions of TeXLive do not work on TeXLive 2019. The problem seems to be with babel and arabic (or a modified persian). See this ...
0
votes
2answers
69 views

Fill page with lines

I am trying to put together a book, that could be thought of as a kind of book of anniversaries with some certain prefilled entries. So there is one page per day, and most days are going to have an ...
93
votes
6answers
30k views

Why choose LuaLaTeX over XeLaTeX?

There are questions on TeX.sX already about what the differences between LuaLaTeX and XeLaTeX are (Differences between LuaTeX, ConTeXt and XeTeX), what one should be keep in mind when going from ...
4
votes
1answer
63 views

Is there a list of math delimiters?

I recently discovered that the double square brackets \llbracket and \rrbracket from stmaryrd are available as unicode characters ⟦ and ⟧, which makes them easy to use with LuaLaTex.I was even more ...
5
votes
1answer
117 views

Apostrophe in math formula prevents luatex compilation for Slovak

The following example can be compiled with pdflatex or xelatex without any problems, but with lualatex, the compilation comes never to an end. \documentclass{article} \usepackage[slovak]{babel} \...
0
votes
0answers
37 views

loca table not found [duplicate]

I'm trying to create a PDF from a file test.tex: \documentclass{article} \usepackage{fontspec} \setmainfont{Noto Color Emoji} \begin{document} 😺 🌍 \end{document} Running the command: lualatex ...
1
vote
2answers
224 views

IEEEtran: Getting fonts “right” with lualatex

I know that IEEEtran is basically pdflatex only. However, I would prefer using lualatex but it gives me a couple of font warnings for this snippet: \documentclass[conference]{IEEEtran} %\usepackage[...
1
vote
1answer
39 views

\leavevmode@ifvmode undefined for xindy/texindy?

I was getting "The control sequence at the end of the top line" referring to \leavevmodeifvmode for all my entries in an .ind file. Each entry of \indexentry in the idx file is translated to \item \...