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

525 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
55 votes
0 answers
2k views

How can I use wxLua in LuaLaTeX on Windows?

I have some problems using wxLua in LuaLateX. This works: lua simpleui.lua (print instead of tex.print) But if I try this: lualatex wx.tex it doesn't work. \documentclass{article} \directlua{...
user avatar
  • 2,743
27 votes
0 answers
518 views

What explains this discrepancy between LuaTeX and other engines?

I answered a question about hyphenating already-hyphenated words (like “already-hyphenated”, or “often-hungry”), and this came up. Consider the following input file (uncomment the first three lines if ...
user avatar
  • 42.8k
15 votes
0 answers
956 views

Transform paper folding diagram to 3D object or vice versa

I made this commands to make paper models, and I ask if it is possible to have a 3D view of them converting in tikz-3D, or backward. But it's easier to draw the flat model and generate the volume ...
user avatar
  • 16.4k
14 votes
0 answers
426 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.) ...
user avatar
  • 8,129
13 votes
0 answers
421 views

Release space in the string pool

I managed to get a capacity exceeded message by adding a bit too many named coordinates to a number of tikzpictures and so started to test and now wonder if it is possible to release unneeded space in ...
user avatar
10 votes
0 answers
401 views

LuaTeX 0.95 "incorrect math kerning"

I am trying out the new luatex 0.95 in TeXLive 2016 pretest. There's a problem with math kernel. Below is a MWE \documentclass{article} \usepackage{unicode-math} \setmathfont{Lucida Bright Math OT} \...
user avatar
  • 8,714
9 votes
0 answers
625 views

Integral limits placement with unicode-math

I'm struggling with integral limits placement when the unicode-math package is used (both under LuaLaTeX and XeTeX). The following example illustrates the issue: \documentclass[10pt]{article} \...
user avatar
8 votes
0 answers
252 views

Can LuaLaTeX make wrapping text around figures easier?

If there is one thing LaTeX has never been good at, it is wrapping text around figures. Well, I have grown used to LuaLaTeX always providing a solution to what seemed impossible before. So does there ...
user avatar
  • 11.2k
8 votes
0 answers
759 views

Querying a SharePoint list and typesetting the response with LuaLaTeX

I would like to generate some reports from data stored in SharePoint lists. It is possible to query the lists using web services and retrieve the data in a xml data format. For example, sending a ...
user avatar
7 votes
0 answers
368 views

Convert all all-caps words to small caps #2

A question very similar to mine was asked before, but I assume that there are others with the same issue and that there are other solutions. I know several academic publishers that don't like ...
user avatar
  • 545
7 votes
0 answers
646 views

Pre-built preamble with LuaLaTeX and microtype

I have been trying to get super-fast compiles with LuaLaTeX by using a pre-built preamble for my documents. However, every time I try to compile, I get this error: No file main.aux. [\directlua]:1: ...
user avatar
7 votes
0 answers
134 views

Suppress a low-level error message in LuaTeX

Using LuaTeX it is possible to customize low-level error messages produced directly by TeX, such as the undefined control sequence error, or bad number etc. Here is the code that David Carlisle wrote ...
user avatar
7 votes
0 answers
4k views

Tufte-book under XeTeX

I am trying to use tufte-book with either XəLaΤεχ or LuaΤεχ. Both give me a ‘Missing \begin{document}’ error, which is obviously not the real cause as it is indeed there. The whole skeleton I am ...
user avatar
  • 383
7 votes
0 answers
789 views

unicode-math and oldstyle figures

I'm trying to find a good way to archive the following using fontspec, unicode-math and lualatex: almost global oldstyle figures including inline math lining numbers for displayed equations, e.g. ...
user avatar
  • 1,216
6 votes
0 answers
253 views

Using OpenType font with `dvilualatex` and `dvisvgm`

From the manual page of dvisvgm I learned that dvisvgm can convert and embed OpenType fonts in SVG output. Indeed, this perfectly works with the example code listed below, if I process it with ...
user avatar
  • 51.4k
6 votes
0 answers
319 views

Spacing, delimiter, and Libertinus Math

The issue is possibly going to be reviewed once the version of TeX Live has been installed. I would like to have a command that stretches the common delimiters according to the content. The standard \...
user avatar
  • 4,469
6 votes
0 answers
191 views

How to make contextual substitutions work with luatex 1.0x?

Recently I started some experiments with German fraktur fonts, which contain several contextual substitutions to control the correct setting of longs and ligatures. Normally, there is one general rule ...
user avatar
6 votes
0 answers
244 views

Fontspec/unicode-math mixing fonts: math accents

In a project we're using a commercial text font. The project is not a math related project but has some math in it here and there. The text font of course does not have a direct math font. But the ...
user avatar
  • 49.6k
6 votes
0 answers
69 views

Can I kern classes in luatex?

fg can be kerned thus \documentclass{article} \usepackage{fontspec} \directlua { fonts.handlers.otf.addfeature { name = "ktest", type = "kern", data = { ["f"] ...
user avatar
  • 3,256
6 votes
0 answers
230 views

LuaLaTex with \pdfinterwordspaceon

I am using LuaLaTex (only) with TexLive 2016 on Linux. Only utf-8 with Open Type fonts. No problem, works great. However, I am not much of a coder: "Monkey see, monkey do," with my altar to the Cargo ...
user avatar
6 votes
0 answers
371 views

Alegreya font kerning problems

I have a question, whether there is some possibility to adjust kerning around some specific symbols without caring what symbols will be written next. Also, could I possibly adjust kerning only for ...
user avatar
6 votes
0 answers
166 views

How to change hyphenation codes with the change of \language in LuaTeX?

For a word to be "hyphenatable", all its characters must have \lccode>0. With \savinghyphcodes=1 in e-TeX all characters are associated with hyphenation codes by means of a special table (this is the ...
user avatar
6 votes
0 answers
911 views

letterspacing of mathpazo and Tex Gyre Pagella in LuaLaTeX

I am typesetting my phd thesis, and I was hoping to use Palatino as main font. For some of the headings I wanted to use a fancy TTF font, so I switched from pdfLaTeX to LuaLaTeX to compile my document....
user avatar
  • 61
6 votes
0 answers
1k views

using a Postscript Type 1 font with fontspec and LuaLaTex on MacOSX

I am having trouble using SabonLT which is a Postscript Type 1 Outline font. I have the font installed as a system font (as described here) rather than a local font. I'm running LuaLaTex on Mac OSX. ...
user avatar
  • 411
5 votes
0 answers
53 views

LuaLaTeX font chainsubstitution works only for the first font loaded

Here is an extremely simplified version of my code from this answer, where I finally found a workaround to this problem: \documentclass{article} \tracinglostchars=3 % Panic if a font does not contain ...
user avatar
  • 38.6k
5 votes
0 answers
140 views

Closing quotation marks don't protrude into the right margin of bibliography with biblatex

I like how the microtype package handles character protrusion when I compile my LaTeX documents with LuaLaTeX. But I have noticed that this doesn't seem to work properly in the bibliography that the ...
user avatar
  • 568
5 votes
0 answers
106 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/ ...
user avatar
  • 13.2k
5 votes
0 answers
180 views

Cleveref and polyglossia problems with crefname

I am having problems with polyglossia and cleveref. The following snippet works as intended: \documentclass{book} %\usepackage{polyglossia} %\setdefaultlanguage[variant=us]{english} \usepackage[...
user avatar
  • 2,051
5 votes
0 answers
191 views

Missing space with Libertinus and LuaLaTeX

I’m currently using the Libertinus fonts for both the main text and the mathematical content, and lualatex for compiling. But I noticed that in certain constellations some (much needed) space seems to ...
user avatar
5 votes
0 answers
193 views

Excessive memory use with unicode-math/Fira Sans and xfrac

When trying to use the Greek symbols in the font Fira Sans with unicode-math, I noticed that running lualatex on my document uses up enormous amounts of RAM. I have distilled my problem to a minimal ...
user avatar
  • 1,539
5 votes
0 answers
301 views

Selectively compiling source in LuaLaTeX

I have recently switched from Xe(La)TeX to Lua(La)TeX 1.0.4 (TeX Live 2017) in order to use font expansion feature of microtype package. As a result, my compilation time increased dramatically. I ...
user avatar
  • 1,624
5 votes
0 answers
293 views

LuaLaTeX: Are there functions missing?

Is it possible that LuaTeX is incomplete with respect to things that are referenced for example in the LuaTeX Reference? My engine is: LuaTeX, Version 0.95.0 (TeX Live 2016) (format=lualatex 2017.1....
user avatar
  • 1,577
5 votes
0 answers
214 views

Display available contextual swash/alternative etc. features of OpenType fonts through LuaTeX

Is there a way to find out what pairs of contextual alternatives of characters of an OpenType font through luatex (and possibly other packages such as luaotfload and fontspec)? The question is a ...
user avatar
  • 8,714
5 votes
0 answers
775 views

File names with spaces stopped working in \includepdf and \includegraphics in TeX Live 2016 if compiled with LuaLaTeX

The following used to work in TeX Live 2015 compiled with LuaLaTeX, but does not work in TeX Live 2016: \documentclass{minimal} \usepackage{grffile} % Extended file name support for graphics \...
user avatar
  • 1,699
5 votes
0 answers
182 views

How can I use scintillua lexers to replace minted or listings with luatex?

Scintilla is a text editor. Scintillua adds dynamic Lua LPeg lexers to Scintilla for multiple languages. According to the documentation, Scintillua can be used as a library: Using Scintillua as a ...
user avatar
  • 9,509
5 votes
0 answers
236 views

Problem with lualatex and feature files

I want to use a feature file to change the positioning of a single letter, but it does not seem to work. Here is an example: \documentclass{article} \usepackage{fontspec} \RequirePackage{...
user avatar
  • 501
5 votes
0 answers
507 views

letters and spacing in Arabic -- bug in OpenType layout of LuaLaTeX

I perceive the following unwanted outcome: Two issues: In the first line, the last word on the right has a small gap between the second and the third letter from the right that is not supposed to be ...
user avatar
5 votes
0 answers
132 views

ArabXeTeX-like interface for lualatex

I would like to know if and how it would be possible to parse and convert ArabXeTeX ascii input to unicode under LuaLaTeX. I came across the ḍād package by Yannis Haralambous, but as far as I know ...
user avatar
5 votes
0 answers
585 views

LuaTeX performance with RAMdisk

This question may seem like it's been asked a million times over, but the relevant questions tackle XeLaTeX or plain LaTeX. What I want to know is if moving any filesystems/file locations to a ...
user avatar
  • 253
5 votes
0 answers
954 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ....
user avatar
  • 301
4 votes
0 answers
113 views

What exactly do letterspace change?

All major engines (pdfTeX, XeTeX, and LuaTeX) support letterspacing, except the original TeX of course. LaTeX users can access letterspacing via higher interface. For example, the microtype package (...
user avatar
  • 9,278
4 votes
0 answers
92 views

Lua font handler can change some STIX Two Math kerns but not others

The STIX Two Math font leaves large gaps between some pairs of characters, such as 'dp' or 'df'. The Lua otf font handler is able to reduce these gaps for some pairs (e.g., 'ab' or 'ad'), but it ...
user avatar
  • 2,136
4 votes
0 answers
136 views

What are the pros and cons of using microtype or LuaTeX's inbuilt microtypography features?

Both the microtype package and LuaLaTeX appear to offer the ability to use protrusion and expansion for microtypographic improvement. However, as a recent convert to LuaLaTeX, I'm quite confused as ...
user avatar
4 votes
0 answers
126 views

The latest release of LaTeX2e changes behavior of \IfFileExists. Why?

The output of the following latex document has changed since the last LaTeX2e release: \documentclass{article} \begin{document} \IfFileExists {} { yes } { no } \end{document} Release 2020-02-02:...
user avatar
  • 41
4 votes
0 answers
111 views

Hyphenation character makes Hebrew words disappear in HarfTeX

Hebrew uses maqaf as a hyphenation character, and I have to declare it if I want to use it instead of the usual hyphen. However, this declaration somehow makes certain words disappear in Hebrew when I ...
user avatar
4 votes
0 answers
121 views

Are there more "example-based" manuals or docs about expl3?

I'm interested in learning expl3 because allows flexibility in macro writing and, unlike Lua, it is supported by most TeX engines. I've read the following questions and answers with respect to expl3 ...
user avatar
4 votes
0 answers
90 views

LuaTeX: OpenType staircase kerning (MATH kerning) has opposed effect than expected

This is a follow up question to a previous reported font problem. Compiling the following MWE with LuaLaTeX \documentclass{article} \usepackage{unicode-math} \setmathfont{LibertinusMath-Regular.otf}[...
user avatar
  • 1,025
4 votes
0 answers
201 views

Mixing expl3 and luacode

What do you think about mixing expl3 and luacode? Is this an "accepted approach" or rather a "bad practise" or something in between? Consider, for example, my previous question Nested splitting of a ...
user avatar
  • 1,812
4 votes
0 answers
483 views

How to make the LuaLaTex logfile more readable, or filter it?

I use Latexmk to compile lualatex to PDF. The resulting .log file is very hard to read. I already added the silent switches to the .latexmk configuration file # make it less verbose $...
user avatar
  • 8,129
4 votes
0 answers
403 views

Recreating Minutes of Meeting layout in LaTeX

I'm trying to recreate a minutes of meeting layout in LaTeX. The goal is to match the layout of the previous minutes. Specifically, it is the layout of the sections or each item in the minutes. The ...
user avatar
  • 41

1
2 3 4 5
11