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
12
votes
1answer
493 views

How to report a bug in LuaTeX?

I think I found a bug in LuaLaTeX. I use the current version from TeX Live 2012. lualatex --version This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012) When I compile the following ...
11
votes
2answers
568 views

Enable extra hyphenation points for compound words that already contain a hyphen character?

Friends :), I would like to have compound words that contain hyphen characters, such as "Baden-Württemberg", to be permitted to be hyphenated at all points in the component words as well (here: "Ba-...
11
votes
1answer
1k views

Too much space after integral sign with unicode-math and lualatex

(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.) Consider the minimal example \documentclass{article} \usepackage{...
10
votes
2answers
598 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 ...
9
votes
2answers
1k views

Why does Lualatex crash after a recent update?

After updating packages of MiKTEX 2.9 lualatex stopped working. I execute this code: \documentclass[12pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[] at (0,0) {A}; \...
9
votes
2answers
269 views

Adjusting kerning with LuaTeX and realscripts

I'm using the realscript package to get true super- and subscripts with LuaLaTex. However I'm not pleased with kerning of superscripts with the font I'm using, Linux Libertine. I've tried to adjust ...
8
votes
1answer
1k views

A Big fancy “Q”

One time I remember seeing a Q ligature in \setmainfont{EB Garamond} (fontspec, EB Garamond, etc.) that involved a wonderful long swash. Now I don't know how to get it. Contrary to most other ...
7
votes
1answer
391 views

Incorrect digits font with newtxmath and Luatex/Xetex (since Texlive 2015)

I used to use Luatex and a combination of the packages fontspec and newtxmath to have everything set in Libertine. However, it does not work anymore since Texlive 2015: it compiles be the digits in ...
5
votes
1answer
402 views

How to update LuaTeX binary (TeXLive on GNU/Linux)?

MikTeX provides access to the latest binaries through the miktex-nxt update channel. While being windows-only all these years, in 2018, it looks like Mr Schenk is extending his distribution to certain ...
4
votes
1answer
617 views

Change font automatically when typing CJK characters, possibly lualatex

The title says it all already. I found how to change fonts with fontspec and lualatex, however I wonder if there is an easy way to mix Latin characters with Japanese characters without explicitly ...
26
votes
1answer
522 views

Bad interaction between fontspec and some lua code that performs string-related search and replace operations

Update 2013/05/28: The selnolig package is now on the CTAN. Comments and critiques always welcome! If you wish to contact me about any aspects of the package, please use the email address that's given ...
15
votes
1answer
733 views

LuaLaTeX + fontspec: cannot compare documents with Acrobat

I use the option "compare documents" in Adobe Acrobat Pro a lot to highlight changes between revisions. What I just noticed is, if I compile a simple document such as the one below with LuaLaTeX + ...
14
votes
3answers
1k views

Remove space before punctuation

I need to remove locally spaces arround (especially before) punctuation signs. This spaces are added by french polyglossia. \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \...
13
votes
4answers
2k views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
11
votes
3answers
715 views

How to display only certain lines of a paragraph?

From reading Knuth's TeX Book (Chapter 14 How TeX Breaks Paragraphs into Lines), I understand that entire paragraphs are read in and then "massaged" by the "line-breaking algorithm" in an optimal way (...
10
votes
2answers
4k views

Can XeLaTeX | LuaTeX import movies?

It seems that XeLaTeX cannot handle movies. I imported movies into PDF produced with pdflatex compiler using the multimedia package that comes with beamer. My search over various boards revealed that ...
7
votes
1answer
738 views

LuaLaTeX: How to use a \char directive inside a string.gsub function?

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=NoCommon]{Latin Modern Roman} \usepackage{luacode,luatexbase} \begin{...
9
votes
1answer
457 views

What is the implication of the warning in the fontspec manual with respect to babel and LuaTeX?

In the fontspec manual, there is a section on LuaTeX that states: babel   The babel package is not really supported! Especially Vietnamese, Greek, and Hebrew at least might not work correctly, ...
9
votes
2answers
2k views

Who's at fault with this error concerning csquotes and LuaLaTeX?

I ran into this with the package lilyglyphs but I'm not sure whose fault this error is. When I compile the following with lualatex: \documentclass{article} \usepackage{csquotes} \MakeOuterQuote{"} \...
4
votes
0answers
211 views

Guidelines for using mylatexformat with luatex

I'm a big fan of custom LaTeX formats built with mylatexformat. So far, pdftex has been my default engine. I'm now going to use luatex as my default engine so I'd like to adapt my format customization ...
4
votes
1answer
604 views

LuaLaTex/XeLaTex with KOMA for Cyrillics

How can I use LuaLatex/XeLaTex with KOMA-script for Cyrillics? When I try to write: \documentclass[twoside]{scrartcl} \usepackage{polyglossia} \newfontfamily\cyrillicfont{CMU Serif} \usepackage{...
3
votes
1answer
475 views

Write/Read values of the LaTeX commands (like \title, \ author etc) in file using Lua

This problem relate with other my question here . I found a solution with pdfpages package thanks to TX.SX: \documentclass[]{scrbook} \usepackage{authblk} \usepackage{pdfpages} \newcommand{\...
1
vote
1answer
288 views

Hungarian with LuaLaTex and biber

I am having trouble with getting LuaLaTex with biber working in Hungarian. I have texlive-full install on an Ubuntu 16.04 and I did not have this issue with a previous install. I'm providing below an ...
51
votes
4answers
5k views

Abandon LaTeX2e for LaTeX3 or LuaTeX

I think my question is: Should I abandon pdflatex, possibly for xetex or context, and a TeX/LaTeX based macro writing approach, possibly for a LuaTeX or LaTeX3 based approach? Possibly relevant to ...
41
votes
7answers
5k views

What are the advantages of Lua over other scripting languages for a TeX implementation?

The question is inspired by Martin Schröder's answer to I am new to TeX. Should I use LaTeX, XeLaTeX, …? as well as my two previous questions on this forum: Automatic document update Generate LaTeX ...
25
votes
2answers
20k views

Specify different fonts for bold and italic with fontspec

The main font I use for my LuaLaTeX document lacks bold and italic variants. I'd like to specify a different font for those variants using the fontspec package. Initially what I had in my preamble ...
39
votes
1answer
740 views

Replacement(s) for TeX's paragraph builder using LuaTeX

The LuaTeX engine provides a callback that allows you to replace the built-in paragraph builder by your own algorithm. My question is twofold: does there exist a lua implementation that fully (or ...
41
votes
4answers
1k views

Are XeTeX and LuaTeX platform dependent?

One of the main goals that Don Knuth had when developing TeX (other than the obvious one of creating high-quality documents) was a 100% platform independence. A document produced on one system should ...
25
votes
1answer
546 views

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under MacTeX2014 and MacTeX2015 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on ...
14
votes
2answers
2k views

Parsing files through LuaTeX

This question has two parts: How would one generally parse a file with LuaTeX, assuming the file only holds data that is delimited either by spaces, commas or semicolons. How would you parse the ...
16
votes
3answers
2k views

Best practice - how can I get my whole document (including math) to only use font X with LuaLaTeX and fontspec?

Considering one uses math symbols in a document, it is desirable to have them all displayed in the serif font one is using for text, or in basically any font x one would like to use for this sort of ...
23
votes
2answers
2k views

fontspec, lua, microtype: Renderer=Basic no longer working for specific font styles

You may have noticed that, as of now,* letterspacing small capitals is not as easy as it was in pdfTeX, where we could simply combine \textsc with microtype's \textls. Consider this example, which ...
22
votes
3answers
483 views

How to access the last line of a paragraph with LuaTeX

Consider the following code, using traditional TeX programming that through a series of boxing and unboxing, grabs the last line of a paragraph and centers it. \documentclass{article} \usepackage{...
20
votes
2answers
3k views

ConTeXt: Using system-installed TrueType/OpenType fonts

I'm trying to use Cambria for text and Calibri for headings in a ConTeXt document, but I don't understand what is happening at all, nothing seems to have any effect and in the end it falls back to ...
18
votes
2answers
1k views

Selecting optical sizes for all fonts in a family

XeTeX and LuaTeX are able to assign optical sizes to fonts when they are provided. In those situations where XeTeX or LuaTex are unable to correctly assign optical sizes I am able to specify them but ...
14
votes
2answers
562 views

LuaLatex and large braces with MathTime Professional 2

The following example behaves badly in LuaLatex: \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \begin{document} \[ x = \ccases{ x & 1,\\x & 2,\\x & \text{...
6
votes
3answers
1k views

Using LuaLaTeX and SQLite3

I am trying to access SQLite databases from LuaLaTeX but am not able to load an installed lsqlite3 package. Here's what I tried so far: Took a brandnew Xubuntu 14.04 installation Installed a complete ...
16
votes
4answers
692 views

PDF/A with Linux Libertine und Linux Biolinum using pdfLaTeX

I'd like to produce a PDF/A-1b compliant document. To validate it, I installed veraPDF. There are several really good answers about producing PDF/A, see here: https://tex.stackexchange.com/a/349521/...
16
votes
1answer
286 views

Properly breaking up ligatures using selnolig / LuaLaTeX

Currently I use the selnolig package together with LuaLaTeX to automatically break up ligatures. This works quite well regarding the fact that ligatures get broken up at the right places. Note however,...
15
votes
2answers
1k views

Which LuaLaTeX math fonts have complete symbol set?

I am currently using Latin Modern Math fonts on LuaTeX to get a complete set of math fonts. In particular consideration is the ability to use bold greek \mathbfup{\lambda} fonts and bold calligraphic ...
12
votes
2answers
1k views

Create a font table for all available characters for a particular font

Similar to the question: Lualatex: Font table with examples I have several ornamental fonts and I'd like to create key maps. That is, I want to know what symbol the letter a maps to by having a nice ...
21
votes
3answers
1k views

How to letter space (German) abbreviations automatically

In German abbreviations like "z. B." should be written with a space in between. In good old typewriter days the usual way to write them was without space. And even today I often type them without a ...
14
votes
1answer
780 views

duotone PDF files with lualatex

How to provide duotone PDF files for publishers who require it? I have a document with images (graphicx \includegraphics), TikZ diagrams, compiled with lualatex. So, if I understand it right, there ...
12
votes
3answers
596 views

LuaLaTeX: Change kerning around “1” to simulate proportional figures

I have the problem that both the original Helvetica and the Neue Helevetica font families by Linotype, in their OpenType versions, seem to not have proportional figures, only tabular figures, where ...
11
votes
1answer
231 views

Paragraph callback to help with widows/orphans hand tuning

It is often hard to tell when adding \looseness=-1 to a paragraph would actually succeed in producing one less row. How can I add a callback to the paragraph builder so that every paragraph is ...
11
votes
3answers
3k views

Matrix multiplication (and other operations) macro using lua module

I am hoping to be able to create a macro to multiply matrices using a lua module. The module is here: https://raw.github.com/davidm/lua-matrix/master/lua/matrix.lua As suggested to me in a previous ...
10
votes
2answers
659 views

Can I create a node list from some text entirely within lua?

I'm playing around with luatex and learning about nodes and callbacks. What I'd like to do is be able to add some text via a particular callback. The type of callback that I'm interested in is one ...
10
votes
2answers
2k views

\tikzexternalize doesn't work with lua code

The following code from the pgf manual compiles fine with lualatex --shell-escape \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \begin{document} A simple image ...
9
votes
4answers
768 views

Plot complete Fermi-Dirac integral in Lualatex

I am trying to plot this function with lualatex
8
votes
2answers
492 views

Install an Updated Version of an Open Type Font for the Use with LuaLaTeX in TeX Live 2018

In my TeX Live 2018 installation on Linux, I want to replace the Libertinus fonts shipped with TeX Live by their latest GitHub build. If they are used in LuaLaTeX e.g. via \usepackage{fontspec} \...