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)

5
votes
1answer
51 views

tex4ht corrupts “--” inside CDATA in the HTML file

I am using an outside javascript package (syntaxHighlighter) for code formatting when I compile to HTML that requires one to put code inside <![CDATA[ ... code .. ]]> as explained in the above ...
4
votes
1answer
38 views

after changing to \usepackage{fontspec} now make4ht do not compile my Latex file in lualatex mode

I was told by Latex experts to use \usepackage{fontspec} with Lualatex. It works ok with lualatex, but now my files do not compile with make4ht any more after I changed to \usepackage{fontspec}. ...
2
votes
1answer
29 views

missing accented characters lualatex in texlive2016

If I process the following beamer class with lualatex (texlive 2016), the Á charactert is missing in the output pdf, but í appears correctly. This problem is not showing with laulatex of texlive 2015. ...
17
votes
4answers
11k views

FontAwesome font not found?

I'm using the latest version of MacTeX 2013 on OS X 10.8.4. All of my Tex Live packages are fully up-to-date. Tex Live also lists the fontawesome package as installed. I'm trying to use the ...
4
votes
0answers
35 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 ...
2
votes
0answers
24 views

LuaLaTeX Error: Missing characters which are in the fonts used

when I let LuaLaTeX process input files which contain certain rather unusual Unicode glyphs, some of them do not show up. Instead, there is a warning message in the log: Missing character: There is ...
2
votes
1answer
22 views

LuaLaTeX and makenote

Under TeXLive 2016 i have an problem with following code: \documentclass[mpinclude=true]{scrbook} \usepackage{scrlayer-scrpage} \pagestyle{scrheadings} \usepackage{scrlayer-notecolumn} \begin{...
1
vote
1answer
57 views

Convert unicode symbols to tex

I have written a lualatex file with unicode characters such as α, ≤ … Now I need to convert it to latex. Is there a script that converts the symbols to tex commands \alpha, \leq …?
28
votes
2answers
579 views

Placing live Stack Exchange reputation in a document

I want to be able to place my current reputation into a document, such that, when I rebuild the document, the displayed reputation is updated. For example, I might write My current reputation on {\...
8
votes
3answers
171 views

Upright quote in DejaVu Serif

I have this code: \documentclass{article} \usepackage{fontspec} \begin{document} \setmainfont{DejaVu Serif} "Heading" \end{document} (run with LuaLaTeX, texlive2105) which gives this result: But ...
6
votes
2answers
156 views

warning (pdf backend): pop empty color page stack 0

I've been receiving this warning and for the past several hours (erh, something like 12 hours now). I've been trying to narrow down what's been causing it, but to no avail. I managed to cut down the ...
7
votes
2answers
214 views

luaLaTeX Junicode font typesetting of ji and ii

\documentclass[a4paper]{article} \usepackage{fontspec} \setmainfont{Junicode} \begin{document} \noindent ji\\ ii\\ j\mbox{}i\\ i\mbox{}i \end{document} is rendered by lualatex with dotless i on the ...
6
votes
1answer
224 views

How to get box dimensions within lualatex

I'm new to lualatex, which looks phenomenal. I wonder what the easiest way is to access the dimensions of a box from within lualatex. I intend to use it in more complicated situations than this (as ...
0
votes
1answer
74 views

Using APA style referencing in elsarticle class document?

Ive just had my paper sent back to me by the editor of a journal I submitted to and was instructed to change the referencing system of my paper to APA ver. 6 style. Text: Citations in the text ...
3
votes
1answer
62 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
17 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 -...
15
votes
2answers
277 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 ...
0
votes
0answers
21 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
52 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
39 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, <...
5
votes
2answers
183 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* ...
8
votes
2answers
139 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 ...
2
votes
1answer
46 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....
8
votes
2answers
128 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 ...
3
votes
2answers
93 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} \...
6
votes
1answer
47 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 ...
7
votes
2answers
252 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 \...
6
votes
1answer
47 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 ...
2
votes
1answer
40 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
94 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 ...
1
vote
0answers
20 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. (...
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 ...
7
votes
0answers
58 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,...
11
votes
2answers
370 views

Use lualatex to create macros

I used the following in the past and it worked: \documentclass{minimal} \usepackage{luacode,luatextra} \begin{document} \begin{luacode*} MyVal=123 tex.print("\\def\\MyVal{"..MyVal.."}") \end{luacode*...
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,...
2
votes
1answer
362 views

Minion Math with LuaLaTeX

I cannot get the font Minion Math to display correctly in LuaLaTeX. Several posts on here and the official font support page all say to use the package unicode-math. And so I try: \documentclass{...
3
votes
1answer
63 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} \...
0
votes
0answers
96 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{...
2
votes
0answers
48 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{...
11
votes
1answer
282 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\...
13
votes
3answers
229 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 ...
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[...
5
votes
1answer
126 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]{...
3
votes
1answer
84 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
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} ...
6
votes
1answer
72 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/...
12
votes
1answer
395 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
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 ...
3
votes
3answers
79 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: \...
2
votes
1answer
53 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 ...