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
2answers
57 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}% ...
0
votes
1answer
50 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
0answers
58 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
77 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 ...
15
votes
2answers
534 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
2answers
21 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 ...
6
votes
2answers
312 views

Cannot access arguments in a lua block

The follow code is trying simply to print the first argument of a macro. I've tried various things found on the net(there is very little) to get #1 printed in lua but nothing works. I assume there is ...
0
votes
0answers
35 views

Font not recognised while using TexMaker

I am using TexMaker on Ubuntu 14.04 LTS. And I am trying to run the following .tex file. MWE: \NeedsTeXFormat{LaTeX2e} \documentclass[border=10pt]{standalone} \usepackage{fontspec} ...
14
votes
2answers
344 views

LuaLatex and large braces with MathTime Professional 2

The following example behaves badly in LuaLatex: \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \begin{document} \[ x = \ccases{ x & 1,\\x & 2,\\x & ...
46
votes
1answer
1k views

What are the incompatibilities of pdftex, xetex and luatex?

[Please correct me if my statements are wrong] TL;DR: pdftex, xetex and luatex exhibit different behaviour. What are these differences and why are they present. I know of three engines, which ...
4
votes
1answer
41 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, ...
2
votes
0answers
37 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 ...
2
votes
1answer
124 views

LuaTex doesn't open installed packages with openin_any=p options

I plan to launch online LuaTeX compile service. I installed LuaTeX using TexLive 2015 in CentOS 7. For security concerns, I want to restrict opening files. Therefore, I set openin_any=p. But, it also ...
7
votes
0answers
68 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
24 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 ...
35
votes
7answers
3k views

What are the advantages of Lua over other scripting languages for a TeX implementation?

The question is inspired by Martin Schröder's answer to I am new to TeX. Should I use LaTeX, XeLaTeX, …? as well as my two previous questions on this forum: Automatic document update Generate LaTeX ...
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 ...
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 ...
6
votes
2answers
134 views

XeLaTeX can't turn off small caps

I found a weird issue when using the free typeface Fontin. \documentclass{article} % Default font size and paper size \usepackage{fontspec} % For loading fonts \setmainfont{Fontin} ...
4
votes
0answers
221 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 ...
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 ...
3
votes
1answer
54 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
51 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} ...
2
votes
2answers
113 views

Anomaly in cyrillic letters of TeX Gyre font sets with LuaLaTex

I noticed a problem in loading TeX Gyre fonts with LuaLaTeX, since the cyrillic letters are missed to be loaded if the font is called by font name: \setmainfont{TeX Gyre Adventor} while are ...
3
votes
1answer
61 views

How to determine the lua version in texlive 2015

I look for the lua interpreter version in luatex in texlive 2015 ?
0
votes
1answer
66 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]{% ...
0
votes
0answers
22 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 ...
1
vote
1answer
60 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 ...
1
vote
1answer
113 views

Evaluating \luaexec while writing to the aux file

In the document end hook I'm trying to write \luaexec{x = 1} to the aux file, where the 1 is computed in Lua itself (and more complex in the real document, of course). MWE: \documentclass{article} ...
2
votes
1answer
165 views

Problem with polyglossia and MinionPro

I have a problem with small caps not showing correctly when loading polyglossia. I am trying to use polyglossia with classicthesis, which I know is unsupported, but the same problem appears when ...
3
votes
1answer
58 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
42 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
37 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
60 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
58 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
34 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
29 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 ...
2
votes
1answer
120 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 ...
5
votes
2answers
103 views

Can't get oldstyle figures in url with lualatex

The following works with xelatex: \documentclass{article} \usepackage{url} \urlstyle{same} \usepackage{fontspec} \setmainfont{Libertine Serif}[Numbers = {OldStyle, Proportional}] ...
1
vote
1answer
81 views

Oldstylefigure issue with lualatex and mathastext

I'm trying to figure out what causes OSF to be selected in mathematics. Following is the MWE. % arara: lualatex \documentclass[9pt,fleqn]{extarticle} \usepackage[T1]{fontenc} ...
0
votes
0answers
75 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 ...
2
votes
0answers
62 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 ...
3
votes
1answer
76 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
86 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
74 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 ...
16
votes
4answers
19k views

Problem while compiling friggeri CV template with: ' fontspec error: “font-not-found”'

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this ...
3
votes
0answers
189 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
91 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 ...