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

learn more… | top users | synonyms (1)

2
votes
1answer
57 views

Error message “invalid escape sequence near ”\%" when tex.sprint is inside a \chapter command

The error message "invalid escape sequence near "\%"" occurs only when a \luaexec tex.sprint is placed inside a \chapter command: why ? \documentclass{book} \usepackage{luacode} \begin{document} \...
0
votes
0answers
15 views

lualatex texlive 2016 broken with tikzexternalize [duplicate]

The following example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -...
0
votes
0answers
20 views

XCharter font changes sans serif font as well [duplicate]

I'm trying to use XCharter font for regular text and gillius2 as sans font. Either font works fine when used individually. But when used together, the final document doesn't display sans serif font at ...
2
votes
1answer
49 views

\luatexluaescapestring{\unexpanded{ and % inside string problem

I am passing code listings from latex to lua function for processing and formatting. Using "\luatexluaescapestring{\unexpanded{ code }}" as main method to pass arbitrary code listing as is to lua, as ...
2
votes
0answers
35 views

Auto-pst-pdf, LuaLaTeX, and chemnum broken in TexLive 2016

I was testing some chemnum stuff now that I've updated to TexLive (TL) 2016. And Im getting and error where the auto-pst-pdf output PDF <basename>-pics.pdf is produced, but the main output, <...
4
votes
2answers
176 views

why luacode environments do not ignore lua comment — lines?

I do understand (a little) the difference between luacode and luacode* But I almost fell of my seat when something I wrote inside a commented line caused lualatex to scream at me. I changed luacode* ...
2
votes
1answer
44 views

LuaTeX does not find dfont fonts

I am currently working on my master thesis for which I use LuaLaTeX and Helvetica as my main font. I include it like this: \usepackage{fontspec} \setmainfont{Helvetica} This used to work quite well....
3
votes
2answers
86 views

Minion Pro, TL2016 and LuaLaeX

When I compile with LuaLaTeX and TL2016 this MWE \documentclass{article} \usepackage[no-math]{fontspec} \usepackage{luatex85} \usepackage{shellesc} \setmainfont{Minion Pro} \begin{document} \...
1
vote
1answer
31 views

Adjust font features for certain font styles / weights in LuaLaTeX

Using LuaLaTeX I want to make use of Feature Files / lua code in order to adjust the kerning of certain glyph pairs, see the MWEs below. Since my kerning corrections may not be appropriate for the ...
2
votes
1answer
37 views

tex4ht error when using --lua and luatex85 with datetime package

I had a problem with using datetime with lualatex under TL 2016. Thanks to the answer datetime-package-does-not-work-with-lualatex-in-tl-2016 the solution solved the issue when compiling with lualatex....
5
votes
1answer
87 views

datetime package does not work with lualatex in TL 2016

I am getting error compiling using lualatex under TL 2016 installed today when I use package datetime. This MWE works ok under TL 2015. How to resolve this error? It looks like the API to the datetime ...
6
votes
1answer
43 views

Error with tex4ht under TL 2016 when using lua. String contains an invalid utf-8 sequence

I just installed TL 2016 on new Linux mint OS. >which latex /usr/local/texlive/2016/bin/x86_64-linux/latex >which make4ht /usr/local/texlive/2016/texmf-dist/scripts/make4ht/make4ht The first ...
7
votes
0answers
54 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,...
7
votes
2answers
228 views

LuaLaTeX, TeXLive 2016, standalone: undefined control sequence

Since I installed TeXLive 2016 I cannot build documents with the standalone document class any more using LuaLaTeX (PDFLaTeX works fine). For example: \documentclass{standalone} \begin{document} hi \...
3
votes
1answer
40 views

Vanishing math font styles in unicode-math due to a mess of mathtools, mathtt and using math fonts with ranges

I’m using TeXLive 2015. Okay, so I have some sort of poltergeist in the following code. I compile it with either XeLaTeX or LuaLaTeX. \documentclass{article} \usepackage{ fontspec, % mathtools,...
8
votes
2answers
136 views

Lualatex and bm package

I've updated my latex packages yesterday and have now issues with lualatex. One problem arising for me now is, that lualatex does not print bold characters using the bm package. When I compile the ...
1
vote
0answers
19 views

Use pdfx with customized XMP packet

When using pdfx for producing PDF/A-1b documents, one should supply the necessary metadata in a file named _texname_.xmpdata, which will be translated later to the XMP packet proper, pdfa.xmpi. (...
11
votes
1answer
277 views

Solution to 'Multiple PDF generation with one tex file' does not work anymore with TeXLive 2016

The solution in Multiple PDF generation with one tex file worked with TeXLive 2015 and is now broken in TeXLive 2016, at least on OS X El Capitan. Minimal Example: \documentclass{article} \ifx\...
6
votes
1answer
45 views

pgfplots -> contour gnuplot with lualatex instead of pdflatex

i want to compile several pgfplots pictures with lualatex, since it dynamically allocates memory for compiling (in contrast to pdflatex). In some plots, like my MWE.tex given below, i want to use a ...
8
votes
2answers
120 views

TeXLive2016 lualatex does not use optical sizes for MinionPro opentype font

With current texlive 2016, the file \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX}} \setmainfont{Minion Pro} \begin{document}% \newcommand{\MyText}{No offence ...
5
votes
1answer
118 views

lualatex texlive 2016 tcolorbox

If you compile with tl2016 lualatex this MWE \documentclass[10pt, xcolor=svgnames, x11names, t]{beamer} \usepackage{etoolbox} \usepackage{ifluatex} \ifluatex \usepackage[no-math]{...
5
votes
0answers
61 views

Labeling custom path in TikZ [duplicate]

MWE: \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{arrows.meta, graphs, matrix, quotes} \usepackage{fancyhdr} \pagestyle{empty} \begin{document} \begin{tikzpicture} \matrix[...
2
votes
1answer
55 views

bold issue in latex

\documentclass[a4paper,12pt]{report} \usepackage[Sonny]{fncychap} \usepackage{fullpage} \usepackage{algorithm} \usepackage{graphicx} \usepackage[T1]{fontenc} \usepackage[toc, page, header]{appendix} ...
0
votes
0answers
90 views

scrlttr2 & lualatex: Missing number, treated as zero [duplicate]

I can compile the following example with pdflatex (even though it complains about the missing babel package) , but not lualatex from TeX Live 2016: \documentclass{scrlttr2} \begin{document} \begin{...
6
votes
1answer
69 views

Remove ligature in a font using luaotfload (TeXLive 2016)

The luaotfload package in TeXLive 2016 has an interface to add new font features and replace the FeatureFile feature of fontspec in previous versions (see the following patch: https://github.com/wspr/...
2
votes
0answers
47 views

lualatex breaks after update to texlive 2016 [duplicate]

After I install the texlive 2016 (schema full), I got the error: ! Missing number, treated as zero. by compiling the code below with lualatex:: \documentclass[]{scrbook} \title{Test} \begin{...
3
votes
1answer
53 views

Problems with LuaLaTeX and Combining Characters

A project I'm working on requires the use of a somewhat unusual character, m̊. Unlike, say, the "a with ring," as in Swedish, a pre-combined form of this letter does not exist in Unicode, it can only ...
3
votes
1answer
122 views

Noto CJK font issue with LuaLaTeX

I am seeing the following error at the very end of first pass when I am trying to build my document: </usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc(NotoSansCJKtc-Regular:3) !LuaTeX error ...
3
votes
3answers
77 views

TeXLive-2016: Strangely, CronosPro-BoldCaptIt is loaded instead of CronosPro-BoldCapt

The file \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{MinionPro} \setsansfont[Ligatures=TeX]{CronosPro} \begin{document} MinionPro: \textbf{bold} \textsf{CronosPro: \...
3
votes
1answer
83 views

fontspec with LuaLaTeX using Arial Narrow, while XeLaTeX is correct

I'm currently working on a document which I edit from multiple machines, both running Windows 10. In both cases I'm using Miktex (x64). There is however an issue on one machine, when I try to compile ...
2
votes
0answers
44 views

Small Caps not working for non-LaTeX font

I'm using a special font called 'Brandon Grotesque' (it has to be exactly that one) for a presentation based on the Beamer class. When trying to get small caps output, it doesn't work. I'm using ...
3
votes
1answer
60 views

Error using pdfpages and lualatex

After upgrading to Tex Live 2016/Debian i get errors when using the package pdfpages and compiling with Lualatex. If i try to compile \documentclass[a4paper,portrait]{article} \usepackage{pdfpages} \...
12
votes
1answer
379 views

TeX Live 2016: minted doesn't work with LuaLaTeX

I've installed TeX Live 2016 as it was released today (thanks to the developers for that). Now I have the following MWE: \documentclass{article} \usepackage{minted} \begin{document} \begin{minted}{...
2
votes
1answer
51 views

LuaTeX for memoir and microtype

I'm typesetting a novel using the memoir class and trying to figure out whether to use XeTeX or LuaTeX. As per the microtype documentation, protrusion, expansion and (=auto) work with LuaTeX, but only ...
3
votes
0answers
30 views

Specify fonts from specific .ttf files

In order to specify the sans serif font in report I am successfully using the following and all of the font shapes are being reproduced in the pdf without warning. \setsansfont[Path = fonts/Lato2OFL/,...
13
votes
3answers
226 views

Accessing TeX token or exporting filtered plain text

(updated according to gained information) In the context of keyword extraction from arbitrary (La)TeX documents and simple manipulations with them (automated annotation), I would like to be able to ...
1
vote
0answers
42 views

Lualatex starts compiling but never finishes

I am trying to compile a standalone document with a lot of PGFPlots/Tikz code, making figures for a report. I am compiling with LuaTeX using texstudio (version 2.11.0). The process starts, but nothing ...
2
votes
1answer
66 views

Implementing \luaescapestring in plain e-TeX

I'm trying to implement \luaescapestring in plain e-TeX. My solution needs to be fully expandable, so that \immediate\write\luascript{ local file = "\luaescapestring{\something}" } works. The ...
2
votes
0answers
104 views

Starting Tikz/pgf in LuaLatex: Package pgf Error: Driver file “pgfsys-luatex.def” not found

I'm starting to migrate from pdflatex to LuaLatex and with that to using Tikz and the memoir classs. In the case of Tikz I'm following the standard user manual (Manual for Version 2.10-CVS by Till ...
5
votes
1answer
68 views

pinlabel doesn't work after upgrade to luatex 0.95

I use extensively pinlabel package in my project, which I compile with LuaLaTeX. After recent MiKTeX 2.9 upgrade, I cannot compile the project any more, getting numerous errors like ! Undefined ...
14
votes
2answers
271 views

How to adjust font features in LuaTeX?

As of version 2.7 of luaotfload the support for font feature files (.fea) has been dropped. On the ConTeXt mailing list Hans showed how to make font substitution work through Lua. More examples are ...
8
votes
0answers
156 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} \...
1
vote
0answers
163 views

How to downgrade Miktex? Where to find a roadmap of past versions?

Setting up a new system I just installed the newest version of Miktex (2.9.5987) without keeping track which version I actually had before. The newest version introduced some serious compatibility ...
3
votes
1answer
19 views

Extract text from items

This is my document: \documentclass{scrreprt} \newcommand\foo[1]{#1} \begin{document} \foo{% \begin{itemize} \item[x] hello \item[y] world \end{itemize} } \end{document} I'd like to extract the ...
1
vote
1answer
24 views

fontspec and local (relative) directory

I want to install a (ttf) font in a local, relative directory and use it with fontspec / texlive 2015. For example I download TheanoDidot-Regular.ttf from http://www.fonts2u.com/theano-didot-regular....
4
votes
0answers
61 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 ...
3
votes
2answers
67 views

PGFPlots graph is truncated, top is cut off

I'm trying to use pgfplots to plot a Maxwell-Boltzmann curve. After scouring around the internet for the density function, I've come up with this: \begin{tikzpicture} \def\kB{1.3806488e-23}% ...
3
votes
0answers
68 views

Colophon in LuaTex

Is there a way to automatically generate a colophon information in LuaTex? Ideally I would like to automatically generate a file (plain text) that will list the different font and font-families that ...
3
votes
1answer
86 views

Tikz, Lua, forget semicolon problem

In this M(n)WE, there in a loss of a semicolon. The tex.print part gives the good character chain it used directly in the new command, but as I want to use it in an external \draw, tikz claims for a ...
2
votes
2answers
23 views

Long equation tag/number gets shifted to left hand side, rather than underneath right hand side

So i have an equation which is pretty much the width of my text. The equation number usually (when using pdflatex) shifts below the right hand side of the equation. However, i am now having to ...