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)

1
vote
0answers
16 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
26 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 ...
4
votes
1answer
51 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 ...
8
votes
1answer
151 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 ...
7
votes
0answers
109 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
110 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
22 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 ...
4
votes
0answers
48 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
63 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
66 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
83 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
22 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 ...
16
votes
2answers
588 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
38 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
42 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
79 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
43 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
26 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
52 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
43 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
36 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 ...
6
votes
1answer
336 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 ...
3
votes
1answer
57 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
52 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} ...
3
votes
1answer
62 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
24 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
59 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 ...
2
votes
1answer
44 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
38 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
22 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} ...
5
votes
1answer
61 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
59 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 ...
0
votes
1answer
37 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
30 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
88 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
76 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
77 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
117 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. ...
10
votes
1answer
81 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 ...
3
votes
0answers
191 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 ...
1
vote
0answers
94 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
54 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
59 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
121 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 ...
2
votes
0answers
45 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
40 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
73 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
84 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 ...