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)

0
votes
1answer
19 views

How to use fontspec and also have small bold caps with lualtex?

I was told by the Latex gurus that I should use \usepackage{fontspec} when using lualatex. But now my small bold caps do not work: they come out only bold, but not caps, even though I added \...
3
votes
1answer
15 views

Conditionnally output a long table depending on output type?

I have a document to be outputed both in PDF (using lualatex) and in HTML (using make4ht). The document contains a long table, so I use the tabu package in PDF. Unfortunately, the package seems to ...
2
votes
1answer
50 views

How to set default tracking with Microtype

using LuaLaTeX engine (TeXLive 2015) and Microtype package (2.6a), I am trying to set the default tracking (letterspacing) for all italic fonts (actually, just one font in some size range would ...
3
votes
1answer
37 views

Print Latex Code with LuaLatex in function

I want to print Latex Code with a Lua Function. But there is a problem with my function if there are parenthesis in the string: in the example the second code will not be printed), who can help me? \...
2
votes
1answer
27 views

CM Concrete with Latin Modern bold in LuaLaTeX/XeLaTeX?

With LuaLaTeX or XeLaTeX, how do I use Concrete (or any other font family that already has a bold) as main font but use Latin Modern bold as bold? This doesn’t work: \usepackage{fontspec} \...
4
votes
0answers
66 views

Problem with impnattypo package

I'm using impnattypo package with nosingleletter option under TeXLive 2016. With no luck. I want to move last 'single letter' word to another line. Examples in one-letter word at the end of line ...
2
votes
3answers
113 views

LuaLaTeX Variable Expansion

I've run into an issue with variable expansion in the different distributions of LuaLaTeX (chiefly MikTeX and TeXLive). In TeXLive (both 2014 and 2016), I can use the following to reference my home ...
0
votes
1answer
12 views

Lstinputlisting, ranges and unicode characters

I am using unicode characters in some code examples. If I set the listing completely, everything works as expected when the font supoorts the characters. But once I want to omit lines with lsitings'...
7
votes
2answers
147 views

Hyphenation when using non breaking space for names like in `F.\,Fugmann`

I place a small non-breaking space between abbreviated forenames and the surnames, e.g. I write F.\,Fugmann. (A German name.) I noticed that F.\,Fugmann now doesn't get hyphenated, even when using ...
8
votes
1answer
15k views

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp}

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp} How can i fix this error? I m trying to compile a template of ...
5
votes
0answers
57 views

Very multilingual work

I've used pdfLaTeX for one year but I've got a specific issue and I'm considering switching to XeTeX or LuaTeX. I've seen several questions about pros and cons of each option but they don't really ...
8
votes
1answer
101 views

Lualatex and a5 paper format

I'm having problems generating a pdf file with A5 format. With pdflatex this compiles fine, without, it doesn't. \documentclass[a5paper]{article} \usepackage{geometry} \usepackage{lipsum} \title{A ...
16
votes
2answers
301 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 ...
2
votes
0answers
295 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 ...
2
votes
0answers
27 views

fontspec: Small Caps feature wrong ligatures when using Renderer=Basic

If I use SmallCapsFeatures={Renderer=Basic} as an option when setting the main font of the document, I get an obviously wrong ligature in the small caps shape. In the MWE the letters T and h are not ...
1
vote
0answers
37 views

Microtype settings for Adobe Caslon Pro (LuaLaTeX)

This is a follow-up question for this question Hello, I'm trying to use Adobe Caslon Pro font, which I have installed on my machine. This is an Open Type Font. In the aforementioned question (...
3
votes
1answer
1k views

Warning for TeX main capacity exceeded when loading files with \pgfplotstableread

I am loading quite a few data files via \pgfplotstableread, but do not further use them via pgfplots. I just kept them in the preamble and switched to plotting them in a standalone document. But now I'...
5
votes
2answers
163 views

Optical sizes and how to use them (luaTeX, possibly XeTeX)

I know of the OTF "optical sizes" feature, but I don't know how to use it properly. How can I check which optical sizes are available for my font? E.g. I have Adobe Caslon Pro which has the ...
2
votes
1answer
22 views

Use for-loop in LuaTeX to include many subchapters

I have many files called 1.tex, ..., 85.tex which I want to include into my document like this: \include{chapters/text/1} [...] \include{chapters/text/85} As I use LuaLaTeX, I thought I could use ...
4
votes
2answers
128 views

Bug in unicode-math or lualatex?

Consider the following minimal example: \documentclass{article} \usepackage{unicode-math} \newcommand{\dotcup}{\ensuremath{\mathaccent\cdot\cup}} \begin{document} $a \dotcup b$ \end{document} If ...
2
votes
1answer
328 views

Moving lua code into subdirectory

I want to move all .lua files into the subdirectory code to avoid polluting the main directory with them. However, I cannot get lualatex to find them there. Given this project layout: main.tex main....
5
votes
0answers
37 views

Remove specific ligature from specific font with LuaLaTeX

I was recently gifted the Zapfino otf character, and I'm using it to typeset an "handwritten" letter inside of a book. I like the way the discretionary ligature are typeset, but the Co ligature is ...
2
votes
1answer
54 views

Execute luacode after \end{document} to rename pdf file after creation

I'm using toggle switches to create different outputs with a single tex-file. However my output PDF is always named after the producing tex-file e.g. luaexample.tex produces luaexample.pdf. Along ...
3
votes
0answers
18 views

luatex tex.print does not trigger process_input_buffer callback?

I've defined a new LaTeX command to randomize itemize-like lists using LuaLaTeX like this: \newcommand*\Randomize{% \directlua{% questions.itemstbl = {""} luatexbase....
1
vote
1answer
26 views

Set negative leading for a block of text (with a specific font) using lualatex

I'm typesetting a block of text within the quote environment which should represent an handwritten letter. I'm using lualatex and I was given a specific font to work with for this special part of the ...
17
votes
0answers
169 views

Inconsistent letterspacing (interword space) in pdflatex vs lualatex

In my documents I prefer text in small- and all-caps to be letter spaced. To that end I am using the letterspacing capabilities of the microtype package. Until now (with version 2.5 of microtype) I ...
2
votes
1answer
92 views

Can't load system font by name with XeLaTeX but with LuaLaTeX

I installed a TrueType font in windows 10. Now I want to use it with XeLaTeX. The font can't be loaded. The first message is Sorry, but miktex-makemf did not succeed for the following rea son: The ...
4
votes
1answer
47 views

\emph not working well in amsthm's “plain” style using XeLaTeX or LuaLaTeX

Consider the following MWE: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{mathtools, amsthm} \usepackage{unicode-math} \setdefaultlanguage{english} \...
3
votes
1answer
64 views

bm package doesn't work [duplicate]

I'm using lualatex 0.95 and up-to-date bm package. Before updating lualatex, I could always use \bm{} but I can't use it any longer. Compile seems to go with no problem. Here is the code. \...
0
votes
1answer
63 views

Why do luatex and lualatex commands work differently? [duplicate]

As written in the page below, lualatex seems to be a symbolic link or an lias to luatex. Difference between luatex and lualatex binaries However, they don't work the same way. lualatex compiles latex ...
1
vote
0answers
55 views

I cannot execute lualatex command at all

Before reading my question, I'd be glad if you could note that: 1. I'm Japanese. 2. I believe luatex command and lualatex command is the same because the command file luatex is an alias of lualatex. (...
1
vote
0answers
18 views

Breaking biblatex-chicago URLs with mathastext in LuaLaTeX [closed]

Haven't recently changed engines from XeLaTeX to LuaLaTeX, I'm having trouble with breaking URLS in my biblatex-chicago bibliography. The problem seems to be due to mathastext, which I've decided to ...
4
votes
0answers
25 views

LuaLaTeX: Is it possible to create multiple log files/custom edit the log output

I'm trying to typeset a book, and I'd like to print some messages in the log file (or somewhere else), in order to easily read them and correct my layout or the calculations beneath it. Currently I ...
2
votes
1answer
257 views

Coloredlettrine Error: Did any one have any luck using the coloredlettrine package?

http://tex.stackexchange.com/revisions/69271/1 ^Raphink created the coloredlettrine package (https://github.com/raphink/coloredlettrine). I have tried to compile it in XeLaTeX to no avail. I ...
0
votes
1answer
49 views

How to obtain absolute path of Latex file, regadless if it standalone or combined

I need to find the absolute path of a latex file, as it sits on file system. Seems like a simple task, but it turns out to be harder than I thought. Here is a MWE. I have this tree /media/data/latex/...
3
votes
1answer
32 views

Lualatex beamer breqn: Text appears four timestimestimestimes, why and how to mitigate? [duplicate]

In the following example, why does the word Spam appear four timestimestimestimes? $ cat mwe.tex \documentclass{beamer} \usepackage{breqn} \newcommand{\spam}{\textrm{Spam}} \begin{document} \begin{...
5
votes
1answer
59 views

Mimicking mathspec practices in LuaLaTeX

After discovering the magic of microtype, I've decided to switch to LuaLaTeX from XeLaTeX for a large document. Unfortunately, I'm having some difficulties mimicking my mathspec practices from the ...
2
votes
1answer
59 views

LuaLatex | Biblatex & biber | UTF-8 Citation Problem when not using luainptenc

Why do I have to use the luainputenc when every program is using UTF-8 encoding? Example good Bad Tex Code // Please use lualatex \documentclass[german]{article} \usepackage[ngerman]{babel} ...
3
votes
1answer
149 views

How declare a new package language

I need writing normal text and some sentences in artifical conscript language. How writing small as possible package and how use it (include?) in file? My language have my own font and each glyphs is ...
6
votes
1answer
54 views

question on latex->lua->latex->lua call chain. How to pass things as strings back to latex?

question on basic lualatex programming which I am learning. I have a lua function which returns the full path of a file name. On its own it works ok. I print the value from lua, and it is correct. I ...
5
votes
1answer
57 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
68 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
37 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
12k 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
36 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
38 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
28 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
69 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
611 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
177 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 ...