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
0
votes
0answers
51 views

Whitespace in \includegraphics in combination with lualatex

When including a graphics file from a different directory than the current working directory having whitespace in its path, I usually put the path in double quotes like this: \usepackage{graphicx} .....
2
votes
0answers
49 views

Hyphenation exception syntax for LuaLaTeX

I want to hyphenate some German words. As an example, for the word Erb-b2-Familie, I want the first hyphen sign to be non-breakable the second hyphen sign to be breakable the rest of the word (...
1
vote
0answers
89 views

Can't execute jar from directory with umlaut

Okay so this is quite an exotic question and I am unsure whether it really fits on this page. But as it involves LaTeX I'll post it here. I have written a Java program that I am calling from inside ...
0
votes
1answer
52 views

Justify footnote text in two column footnotes [memoir]

The documentclass memoir provides a default option for two columns footnotes with the setting \twocolumnfootnotes, however the text in the footnote per default are aligned left and not justified. How ...
5
votes
2answers
164 views

Troubling glyphs

To type arabic with the same keyboard layout I used to use on Windows 10, I've created a .mim file (key mapping file) and put it in /usr/share/m17n to make it work with ibus-m17n on Ubuntu 18.04 LTS ...
4
votes
1answer
127 views

MacTeX 2019 gives “! LaTeX3 Error: Control sequence \not= already defined.”

I have a document, that compiles fine on MacTeX 2017, which is installed on my desktop machine. I now installed MacTeX 2019 on my laptop and get this cryptic error: (/usr/local/texlive/2019/texmf-...
0
votes
1answer
49 views

Package showkeys, switch off/on key display

Is there a trick (I have seen no option for that) to switch on/off the printing of the keys? Switch off would be enough. Because at the end of my draft document I have toc's that help me in my work, ...
0
votes
1answer
22 views

Manipulating page number in table of content

I would like to add a new line to the toc, but with full control of the page number on the right. That is, in the following picture I would like a 17 instead of a 5. Below is my attempt, that I do ...
1
vote
2answers
72 views

How do I get the first page number of the currect chapter/section?

I would like to get the page number of the first page of the current chapter the page number of the first page of the current section Is it possible? The goal is to add the chapter/section to a ...
0
votes
0answers
53 views

What are to differences pros/cons for Latex, Luatex, Context, etc? [duplicate]

I have used Latex several times for small papers and thesis' for University. So I know a bit about how to create formulars, tables and stuff. However, I still consider myself a newbie, who barely ...
1
vote
0answers
54 views

Generate pdfx a-b1 with Lualatex

update since pdfx and hyperxmp is not copatible I try to use lualatex to generate pdf a-b1 compatible files without creating and xmp file. My attempt does not work. The pdf is generated but adobe ...
2
votes
1answer
56 views

syntonly: warning (font): lua-loaded font '16' with name 'dummy' has no characters

I get this warning when compiling a document which uses syntonly with LuaLaTeX. Does every font have an ID and 16 links to the 16th font which was loaded? Where is the dummy font and why do I get this ...
9
votes
0answers
196 views

How to select the right index tool for LuaLaTeX in 2019?

There are several tools for indexing: luaindex (one release from 2011, written in Lua, "This is an alpha version!", by Markus Kohm) makeindex (1987-1993, written in C, by L. Lamport, P. Chen et al.) ...
5
votes
1answer
98 views

lualatex: too little space inside f\Bigl(

Consider the following example: \documentclass{standalone} \usepackage{unicode-math} \setmathfont{TeX Gyre Termes Math} \begin{document} \(f\Bigl(\Bigr)\) \end{document} If you compile it with ...
7
votes
2answers
122 views

Choose columnsep depending on page

I wish I could set a different columsep on the page if it is the title page of the chapter. So far I've tried using a conditional ifchapterpage with the code within makeatother found in here (by @...
0
votes
0answers
47 views

Put each text on each column

How can I put texts from different languages in each column on a two column book class? I tried the paracol package but it doesn't look good for my entire file. I put here a MWE of my code (compiled ...
2
votes
1answer
59 views

Custom columnsep in twocolumn book

I'm trying to customize the column separator for my two columns book class. I made a simple Tikz line to put between them but I find no way to do so. Here's a MWE of my code (I'm compiling it with ...
3
votes
1answer
59 views

pgfplots with LuaLaTeX - totally different results

Here's my code: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.16,colormap/blackwhite} \begin{document} \begin{tikzpicture} \begin{axis}[view={-60}{40}, hide axis=true, ...
2
votes
1answer
88 views

Using otf files in the TEXMF tree with lualatex

I'm trying to use an otf file that is in the TEXMF tree, but another file with the same name is used instead. I run lualatex from a locally installed TexLive 2019 on this file: \documentclass{...
10
votes
1answer
120 views

How do I define a new TeX register with arguments in LuaTeX?

Some time ago I tried to implement the \pdfadjustinterwordglue from pdfTeX in LuaTeX using a callback. Getting the callback to work is pretty simple, but there is another major problem in the way ...
5
votes
1answer
174 views

LaTeX Make Word Appear

I want to introduce words in Beamer slides one at a time. I learned to do this using itemize but what if I have simple plain words? I do not want the word from each segment to repeat I just want the ...
2
votes
1answer
47 views

When passing TeX code to Lua and back to TeX, the # symbol doubles

Consider the following MWE. If I pass some TeX code to Lua (via \directlua) and Lua tries to pass it back to TeX (via tex.sprint), the following problem becomes apparent. The code below prints text ...
17
votes
3answers
2k views

Avoid just nearly filled last lines

Old school typesetters never allowed the last line of a paragraph to be just nearly filled. Either it would be clearly shorter than the other lines or it would be stretched to align with the right ...
6
votes
3answers
223 views

Inserting full stops between letters with a macro

I was thinking recently that it would be really useful to have a macro that would fill in full stops between the letters of an acronym, say \acr which would take an input \acr{WHO} and spit out ‘W.H.O....
0
votes
1answer
91 views

Accents misaligned with unicode-math and STIX2

While using STIX2 with LuaLaTeX and unicode-math, I found out that accents such as \hat or \bar aren't aligned properly with the letters: I haven't noticed any similar problems with XITS with the ...
1
vote
1answer
49 views

Organization in Online Sources Biber

I am currently facing some obstacles concerning bibliography layout (again). My institute's formal rules require adding the organization to online sources, if available in capslock in front of the ...
3
votes
1answer
520 views

ConTeXt: How to typeset Arabic text?

I am new to ConTeXt world, however what I need to achieve is simply to be able to typeset Arabic/Hebrew text along with English text (Bidi) in ConTeXt. I came across this part of the context garden ...
2
votes
1answer
108 views

How to use AutoFakeBold and AutoFakeItalic with fontspec?

The font, Kalpurush, doesn't have any Bold, Italic, BoldItalic etc. features in it. \documentclass{article} \usepackage{harfload, fontspec} \setmainfont{Kalpurush}[RawFeature={mode=harf}] \parindent ...
2
votes
1answer
42 views

Tabular end-of-row \\ macro fails when trying to capture cell contents

I am trying to create a tabular environment that captures the contents of table cells for an associated Lua module. The Lua module will then reformat the tabular data and export as C/C++ and VHDL ...
14
votes
2answers
819 views

Decide between Polyglossia and Babel for LuaLaTeX in 2019

Which are the key questions one has to ask to decide between Polyglossia and Babel for a LuaLaTeX project in 2019? There has been a similar, more general question in 2012, but the packages have ...
11
votes
2answers
723 views

How to install HarfTeX on TeXLive?

I've Installed TeX Live 2019 and downloaded HarfTeX. I'm using Visual Studio Code along with LatexWorkshop on Windows 10 and without any problem tex files compile with xelatex and lualatex. What to do ...
0
votes
0answers
76 views

Polyglossia pesky about spaces in front of punctuation (French - Lualatex)

I just installed a fresh version of Basic TeX (version 2019) for Mac after deleting all previous version of TeXLive. Documents which used to compile perfectly now fail due to what seems a very pesky ...
2
votes
1answer
49 views

realscripts – can fakescripts substitute single missing chars

I have a font with real OT-superscripts which I can use easily with the realscripts-package. But I also need a superscript decimal dot which doesn't exist, thus realscripts falls back to the regular ...
2
votes
1answer
144 views

How insert pdf literal before and after paragraph

Help me please,how i can insert pdf literal before and after paragraph node. My code works incorrect. Thanks everybody for the help. \documentclass{article} \usepackage{luacode} \usepackage{...
1
vote
2answers
89 views

Text not bold in IEEEtran paper (LuaLaTeX / Debian Linux)

I'm writing a paper that uses an IEEEtran layout, but for some reason it doesn't seem to be loading the fonts correctly. The abstract should be bold, but it currently isn't, for example. I'm ...
3
votes
2answers
69 views

Fallback for mathcal unicode characters in lualatex with proper height

Very few monospace fonts support unicode characters like U+1D4AA (Mathematical Script Capital O). I'm using DejaVu Sans Mono, and I'd like to define a fallback. Right now I have this: \documentclass{...
0
votes
0answers
46 views

Preparing a latex installer to ship the reporting system

I have prepared a simple report making system that uses Latex to prepare all the reports. It is a simple system that prepares a 15 page report by reading a CSV file. I want to ship the system. I don'...
2
votes
1answer
225 views

How to annotate math material with /ActualText?

Please help me to create a regular expression, which, for example, replaces $a+b$ with \(a+b\) and, for example, $$a-b$$ with \[a-b\], such that I can then hook into the \(...\) and \[...\] macros to ...
0
votes
1answer
60 views

How use command \pdfextension in luacode enviroment of package luacode?

When I try to compile, for example, this code in my document: \begin{luacode} \pdfextension literal direct{/Span <</ActualText (First paragraph on page one)>> BDC} tex.print("my text") \...
3
votes
1answer
67 views

fontspec \setmainfont overrides other font families

It seems that the use of fontspec's \setmainfont is overriding other font families. Is that the expected behavior? Should I use instead \renewcommand{\familydefault}{\sfdefault}? A MWE follows below:...
2
votes
1answer
41 views

Setting default value of zref abspage to avoid arithmetic overflow error while computing rotation of tikz picture logo (picture on every page)

Combing answers from this question: How to use \pageref{foo} as a number? Positioning TikZ picture on page background to be on each page of twosided document I was able to create picture of my logo ...
0
votes
0answers
45 views

Local font metric data problem?

I'm running into problems with LuaTeX loading custom fonts, but only when the fonts are not installed into the texmf tree. The font I'm concerned with are custom fonts that are part of the ...
12
votes
2answers
460 views

LuaLaTex - how to use number, computed later in the document

I am trying to print a number at the beginning of my document, say x. The problem is, that this number gets computed at a later part of my document, for example x = 2 + 3. How do I use the result of ...
2
votes
1answer
43 views

How to make `kpse.find_file` aware of `\input@path` modifications?

I'm working on a \graphicspath like feature for GregorioTeX and having some problems making \input@path work with our Lua code. Basically, while \input@path works for \input statements, before we ...
0
votes
0answers
63 views

'iftex.sty' not found

I've been having this problem . My system is Windows 10 The iftex package required XeTeX, PDFTeX or LuaTeX. My Texmaker has XeLaTeX, PDFLaTeX and LuaLaTeX. How can I add these other compilation ...
0
votes
1answer
74 views

Where I can get information from about lua's functionalities in lualatex?

Normally _G table / _ENV table query returns 38 entries in console BUT when we are on lualatex it returns (121 minus normal 38 minus my 3 functions below) = 80 additional entries. Some are self-...
2
votes
4answers
74 views

How to concatenate command names

I would like to be able to perform an "indexed" assign by concatenating two (or more) portions of a command name, both for creating a new command and for referencing an existing command. Here is an ...
0
votes
1answer
43 views

Can we draw tikz node with lua node this way?

I've found this example of using lua node. To output Va they've: \documentclass{minimal} \begin{document} \directlua{ local g1 = node.new("glyph") g1.font = font.current() g1....
0
votes
1answer
77 views

LuaLaTeX with babel/hebrew wants etex-extensions

Using texlive 2017 (same with texlive 2019), when i try to run the following minimal tex file (Hebrew font is https://www.sbl-site.org/educational/biblicalfonts.aspx; default font is Adobe's Minion ...
0
votes
0answers
20 views

How do I embed an extended section of vertical text into horizontal using luatex-ja?

I have been trying to insert a segment of vertical text with line breaks (turning into columns) into a larger horizontal text. After many tricks and hacks attempted, most of which a) destroy ...