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)

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
69 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
87 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 ...
17
votes
2answers
608 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
43 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
46 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
94 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
45 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
42 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 ...
7
votes
1answer
618 views

After MiKTeX update when using LuaLaTeX: Package pgf Error: Driver file ``pgfsys-luatex.def'' not found

I just updated my MiKTeX instance to the latest packages and am using the LuaLaTeX compiler. Whenever a document relies on pgf I get the following error: ! Package pgf Error: Driver file ``pgfsys-...
3
votes
1answer
61 views

Problem in writing Arabic words and letters in TikZ figures

I'm facing a problem in writing Arabic words, letter, and numbers in TikZ figures. I'm using lualatex. Numbers are not typed in Arabic and words do not appear. Here is the code I'm using: \...
4
votes
0answers
58 views

Problem with lualatex and feature files

I want to use a feature file to change the positioning of a single letter, but it does not seem to work. Here is an example: \documentclass{article} \usepackage{fontspec} \RequirePackage{...
3
votes
1answer
67 views

How to determine the lua version in texlive 2015

I look for the lua interpreter version in luatex in texlive 2015 ?
0
votes
0answers
31 views

error: luaotfload | db : Font names database not found, generating new one

I'm using LuaLaTex on windows 8.1. While compiling encountered this error message: luaotfload | db : Font names database not found, generating new one. luaotfload | db : This can take several ...
3
votes
1answer
65 views

lualatex batchmode is very noisy [closed]

I am using lualatex (luatex 0.95.0) like this: lualatex --interaction=batchmode file.tex and am getting copious output to the terminal, font stuff, information from other packages etc. lots more ...
3
votes
1answer
47 views

Help integrating some LUA code into a Luatex document?

Consider the following MWE: \documentclass[12pt,a4paper]{amsart} \usepackage{fontspec} \usepackage{luacode} \begin{document} ABC \begin{luacode} tex.sprint(os.date("compiled on --- %A at %X " )...
0
votes
2answers
41 views

Option unicode and beamer with LuaLaTeX

In this MWE \PassOptionsToPackage{unicode=true}{hyperref} \documentclass[xcolor=svgnames]{beamer} \title { \color{red}Example Presentation Created with the Beamer Package } \author{Till Tantau} \...
3
votes
2answers
28 views

Problem with multicolumn

I'm working on a new environment based on tabularx and using some luatex functions. Actually, I have the following code. \documentclass[10pt,oneside]{article} \usepackage{luatextra} \usepackage{...
5
votes
1answer
63 views

luatex has different subscript distances

I wanted to write some scientific text in TeX Gyre Schola, because I like its increased weight compared to Latin Modern Roman. Unfortunately, I noticed that the spacing between a variable and its ...
0
votes
0answers
66 views

Weird overlapping text in book made with Memoir

I had this happen in an earlier chapter as well, but it seemed to be inline math that was standing apart from a paragraph causing it. Now there's no inline math that could be responsible, and I'm not ...
0
votes
1answer
44 views

How to configure TexStudio to compile using XeLatex for Calibri Font? [closed]

I am trying to make the Calibri font work in TexStudio. Following several posts on here I included the command in the preamble: \usepackage{fontspec} \setmainfont[Mapping=text-tex]{Calibri} And ...
1
vote
0answers
31 views

Lualatex, polyglossia, french spacing, and the hole in the hookarrow with egreg fix, in texlive2015/2016

This deals with the solution by egreg to fix the hole in the arrows, when we use lualatex and french spacings through polyglossia Polyglossia and hookrightarrow You can see that, once that the arrow ...
3
votes
2answers
178 views

lualatex MWE not working

\listfiles \documentclass[12pt]{standalone} \usepackage{fontspec} \begin{document} test \end{document} creates MiKTeX 2.9/tex/luatex/luaotfload/fontloader-2016-04-21.lua:353: attempt to ...
0
votes
0answers
88 views

Fix encoding for ligatures of fonts in XeTeX / LuaLaTeX (specifically for Minion Pro)

Ligatures in the MWE below are not encoded properly when compiling with LuaLaTeX or XeLaTeX using TeXShop on the Mac. Copying "The difference" from the pdf to a text editor renders "e di erence". I ...
3
votes
1answer
82 views

How to detect the font currently in use with LuaLaTeX

I am using LuaLaTeX with opentype fonts. None of the fonts are TeX fonts; they are either commercially licensed, or custom-made. No problem, everything is working great so far. Is it possible to ...
4
votes
1answer
177 views

Lualatex from texlive 2016 is not seen by microtype

I have an error with the following document, from my texlive 2016 and everything up to date, when I use lualatex : You don't seem to be using either pdftex, luatex, or xetex. \documentclass[...
13
votes
2answers
166 views

luatex85: New definition of \pdfcreationdate is problematic

The package "datetime2" scanned the macro \pdfcreationdate. This failed with the changed definition in "luatex85.sty" and LuaTeX 0.95. See the following example: \listfiles \setcounter{...
3
votes
0answers
196 views

LuaTeX bug? Abrupt stop

I'm on Windows, with latest and fully updated MiKTeX. I try to compile a document with lualatex test.tex where test.tex is \documentclass{scrartcl} \usepackage{fontspec} \begin{document} code \end{...
1
vote
0answers
129 views

Beamer metropolis theme issue

So I am trying to get metropolis beamer theme work. For some reason, it worked on my El Capitain mac with no problem using LuaLaTeX. But the exact same file does not work on my Yosemite mac. Here ...
0
votes
1answer
72 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 ...
5
votes
0answers
65 views

LuaTeX tex->dvi conversion code

I'm researching ways to teach computers to generate LaTeX code from Page Description Languages (PDL) like PostScript and PDF, using Machine Translation. For this to work, it would be majorly useful ...
5
votes
1answer
125 views

How to set the interactive editor in TeXLive? lualatex bug?

After some research we determined this is a problem inherent to lualatex. If you have a solution for this problem in LuaLaTeX please post it below and I will accept you answer. When compiling a ...
2
votes
0answers
50 views

LuaLatex removes ligatures with LetterSpace

If I compile the following (M)WE with LuaLatex, all the possible ligatures are removed. This does not happen with the standard font or if I remove the \defaultfontfeatures{LetterSpace=1} or if I set ...
3
votes
0answers
41 views

LuaLaTeX escape input buffer

In order to simplify some of the LaTeX work for my co-authors, I have created a custom environment which sets up a tabular. This reads the input from the environment, processes it and spits it back ...
2
votes
1answer
28 views

Modifying command globally from within command

I've seen a couple of somewhat similar questions, but none with similar construct or -- I'll be honest -- none with answers I've been able to understand well enough to adapt to my situation. The ...
3
votes
2answers
74 views

Split list into tabular with luatex

I'm looking for a luatex solution doing something like this. \split{a;b;c;d;e} This command should produce a tabular like this one. \begin{tabular}{|*{5}{c|}} \hline a & b & c & d &...
6
votes
3answers
88 views

LuaLaTeX OpenType style sets by 4-character style set code

This is partially answered by other questions which the TeX search found for me, but not in a comprehensive manner. I am a writer, not a mathematican or academic. I write fiction. So, my needs are ...
3
votes
1answer
58 views

Why does lualatex allow for tt mathmode symbols while pdflatex does not?

Consider this simple example: \documentclass[preview]{standalone} \usepackage[utf8]{inputenc} \begin{document} $\texttt{\lambda}$ \end{document} Running with lualatex works fine, but pdflatex ...
41
votes
4answers
772 views

What have been the most important changes to LaTeX in the last five years? (2011–2016)

I spent the last two years out of the loop and came looking for information about the recent advances within the (La)TeX ecosystem, basically to see whether the issues I found frustrating enough to ...
1
vote
0answers
103 views

Babel or Polyglossia with LuaLatex?

what is actually better to use with LuaLaTex: Babel or Polyglossia? I read everywhere that we should prefer Polyglossia over Babel when using LuaLaTex because LuaLaTex did not completely support ...
1
vote
1answer
26 views

Check if list item is emtpy

I need to detect the presence of an empty item to shift the next one, as in the following example. I don't kwnow what's the best way to do this with luatex. Thanks for nany help about this. \...
0
votes
1answer
84 views

How can I insert pictures in (EPS/JPEG/PNG) format in a tex file?

I have a .tex file which goes something like this: \NeedsTeXFormat{LaTeX2e} \documentclass[border=10pt]{standalone} \usepackage{fontspec} \newcommand*{\NewFont}[1]{% \expandafter\newfontfamily\...
13
votes
1answer
119 views

Why does LuaTeX plus breqn quadruple output of \text{} when in display-math mode?

MWE needs to be compiled with LuaTeX to reproduce the problem: \documentclass[11pt]{report}% \usepackage{amsmath,mathtools} \usepackage{breqn} \begin{document} $J^{\ast} = \...