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
48 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
107 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
58 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 ...
9
votes
0answers
63 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
339 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
47 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,...
9
votes
2answers
187 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
21 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
290 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
54 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
146 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
154 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
62 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
58 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
109 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
75 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
50 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
58 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
131 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
81 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
95 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
58 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
78 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
463 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
63 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
40 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
233 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
46 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
67 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
287 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
70 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 ...
16
votes
2answers
300 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
165 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
170 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
25 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
74 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
79 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
71 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
96 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
25 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 ...
17
votes
2answers
614 views

Tex capacity exceeded compiling only 50 lines latex file (pdftex), seg. fault (lualatex)

This is one of the strangest things I've seen in Latex (and I have seen many strange things). 50 lines of code, almost all of it is verbatim. Any small change to the verbatim can cause the error to ...
2
votes
0answers
46 views

Copy and paste unicode math

Consider the following example compiled with luatex. \documentclass{standalone} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} $A_1$ \end{document} Since Latin Modern ...
4
votes
1answer
47 views

Math alphabet ignores fontspec options on LuaLaTeX

I am trying to create a new math alphabet on LuaLaTeX, based on the code of mathspec. I set up a font family with some options via fontspec and declare it as an alphabet. Although it seems to work, ...
7
votes
0answers
99 views

Oriental TeX and Husayni

I have recently been typesetting a Quranic Mashaf using a combination of XeLaTeX, bidi, and polyglossia. I am generally pleased with the results so far, but after reviewing Idris Samawi Hamid's work ...
0
votes
2answers
48 views

fontspec breaks loading of fonts via renewcommand

I have a custom Latex class from my employer that (besides some other stuff) loads the Fonts Charter and Frontpage (Fonts supplied with the class). It works fine with pdflatex and basically loads the ...
2
votes
1answer
29 views

pdflatex/lualatex called from shutdown script can not find installed packages

At work I have set up a little backup script on my Ubuntu 14.04.1 machine. The script backs up my machine to an external hard drive. After this is done it copies a LaTeX project to my Dropbox and ...
2
votes
1answer
55 views

Comparing the path from \int or ∫ in the .tex file to ∫ in the .pdf file with type1 and OpenType math fonts in luatex

I'm trying to understand better how math fonts are handled and, in particular, how an OpenType math font can do the same job as a type1 font with far less files. My reference engine is luatex (version ...
1
vote
1answer
46 views

Does one need extra files for an OpenType font to work with luatex?

Suppose I want to use (with lualatex) an OpenType font that has no TeX support (yet). Do I need .map, .enc, .fd, .tfm, .vf files and/or some adjustments at LaTeX level or will fontspec be powerful ...
0
votes
1answer
45 views

LyX Hyphenation Not Working

I need a little bit of help troubleshooting this. I'm also not too sure on what I can provide and how to provide it, but here's what I have: LyX 2.1.2, with options in "Preferences>Language>Language ...