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)

8
votes
1answer
132 views

Why does LuaTeX not generate some fonts automatically, in contrast with TeX?

Consider the following example, using font lhr10 (texlive-lang-cyrillic package in debian): \font\myfont=lhr10 \myfont A \bye Compile it with LuaTeX: $ dviluatex test.tex This is LuaTeX, Version ...
6
votes
1answer
69 views

Define MakeUppercase list with XeLaTeX/LuaLaTeX

I do custom list for to make uppercase/lowercase for 8-bit TeX for Georgian and it works fine, but how to define it for XeLaTeX/LuaLaTeX? here is a similar question Applying MakeUppercase to non-...
8
votes
0answers
91 views

Opentype fonts: A few wrong glyphs with current lualatex

As a happy user of TeXLive 2015, I came across a strange problem. With the current version (kept up-to-date with tlmgr), strange glyph substitutions occur with CronosPro and MinionPro, but not with ...
8
votes
0answers
136 views

luaotfload | load : path lookup unsuccessful

When I typeset documents with LuaLaTeX and OpenType fonts I regularly get messages like this in the .log file luaotfload | load : path lookup of "Palatino Linotype.ttf" unsuccessful, falling ...
1
vote
1answer
75 views

LuaLaTeX: Unable to switch off ligatures in smallcaps

I am aware of a similar question, but that answer doesn't seem to help. I am unable to switch off ligatures when using smallcaps. The following MWE is using Minion, but I tried with many similar ...
2
votes
0answers
89 views

error polyglossia for sanskrit and hindi with lualatex but not with xelatex

I have texlive on windows with installed, all packages relating to sanskrit and hindi. there is no error with xelatex. when I compile, with lualatex, the simple document, I obtain an error in gloss-...
9
votes
1answer
271 views

LuaTeX 0.85 \pdf* primitive changes and format file generation

TeX Live 2015 ships with LuaTeX 0.80. As LuaTeX 0.85 became available last month and I am supposed to do be doing other things I found this to be a wonderful opportunity to procrastinate by giving the ...
1
vote
1answer
103 views

LuaLaTeX font loader picks Regular variant from system font repertory but Bold from texmf-local

I have on my system for some years TrueType versions of a an older release of a (free) font (Vollkorn) in my texmf-local. I have now downloaded the more recent release, which has more variants, and ...
4
votes
0answers
26 views

LuaTeX: Check if a font is installed [duplicate]

I use different computers with different fonts installed. My favourite font is Frutiger, so whenever it is present at the machine I'm working on, this one should be used. Currently, I'm setting the ...
8
votes
1answer
133 views

How are non-unicode glyphs referenced in LuaTeX .dvi files?

Dvi files reference glyphs by their unicode number. However, a document often contain some unencoded glyphs, such as large math symbols. By inspecting dvi files containing such glyphs, I conclude that ...
3
votes
1answer
143 views

Using LuaLaTeX to calculate lengths in cm to be used in TikZ drawing

What I am trying to accomplish is the calculation of a length in cm, which I need for a TikZ drawing. The calculation itself is not trivial (cubic root, which I turned into math.log and math.exp), ...
0
votes
1answer
80 views

lualatex not using latest latex version

I am using TexLive 2015 on OS X. tlmgr info latex reports that I have the latest latex version 2015-08-03 $> tlmgr info latex package: latex category: Package shortdesc: ...
5
votes
1answer
142 views

How does XeLaTeX and LuaLaTeX extend the dvi format?

The structure of the DVI file format is documented by Donald Knuth in TEX: the Program, Addison-Wesley, 1986. Although PDF is the primary output format, LuaTeX can also output DVI files. Are these ...
1
vote
1answer
41 views

How to insert output of Lua script verbatim at location with LuaLaTeX?

I'm using TikZ' graph layout engine, and I'm very confused as to why \graph {1, 2, 3, 2--3}; draws the desired graph, while \graph {\directlua{dofile("foo.lua")}}; does not when foo.lua just ...
4
votes
1answer
138 views

LuaLaTeX + libertine… the issue of math font

Would it be possible to use Libertine otf font (using LuaLaTeX and, for example, package libertine for automatic settings) for everything but in math mode where I'd like to use newtxmath and its ...
0
votes
0answers
37 views

Compiling Beamer with Lualatex showing error

I am compiling my beamer file with Lualatex showing a lot of errors: Text line contains an invalid character mathesis and if I try to compile with pdflatex it shows the error of: Main ...
0
votes
0answers
14 views

Is there an example using tabularx, longtable and spreadtab together? [duplicate]

I can't manage to get a working table with: multi page support / page breaks using the whole page width provide a sum at the bottom of the table / last row Is there a simple example on how to do ...
1
vote
0answers
47 views

how to update language.dat.lua without tlmgr

I'm running W32TeX, and though it is also TL2015 based, it doesn't seem to include tlmgr, which seems to be required to regenerate language.dat.lua. How can I regenerate it with, say, a lua script? ...
1
vote
0answers
51 views

Using Fonts with a downloaded Template [closed]

I downloaded the deedy resume template and it came with some fonts and a .cls file I got the template to begin to typset after moving the .cls file into the folder with the .tex file, but then I get ...
4
votes
1answer
54 views

Basic comparison of macro to string in lualatex?

Still hammering away at a database problem. Mostly done, but stumped by: \documentclass{article} \begin{document} \newcommand{\testmacro}{U01} The macro testmacro equals ``U01'' \directlua{ if \...
3
votes
1answer
95 views

How to get a non-cursive minuscule kappa in \textgreek{fusik'h} (physics)?

I'm trying to write "physics" in Greek by using "textgreek". It replaces the input text "k" with the cursive "kappa", but I want the more common non-cursive minuscule kappa. \documentclass[a4paper,...
3
votes
2answers
93 views

How to unset default Ligatures=TeX for main font? (TexLive2015)

As of TexLive2015 (as opposed to TexLive2013) fontspec predefines Ligatures=TeX. This results in double quotes being replaced by curly quotes. How can I disable this behavior? \documentclass{article} ...
9
votes
3answers
538 views

Problems with mixing Icelandic and German with LuaLaTex

So what I am trying to do is to use the letter-classic class with LuaLaTeX (This is LuaTeX, Version beta-0.80.0 (MiKTeX 2.9) (rev 5238) (format=lualatex 2015.11.10) 25 NOV 2015 09:30) as included in ...
2
votes
1answer
230 views

lualatex and polyglossia error “Missing number, treated as zero.”

I just happened upon the strangest error with lualatex and polyglossia. I'm trying to compile a very easy file, here goes: \documentclass[a4paper]{article} \usepackage{polyglossia} \begin{document} \...
0
votes
0answers
23 views

Create a .doc or .docx file from XeLaTeX or LuaTex [duplicate]

I've just written up my CV into LaTeX, but I get the error `cannot use pdftex'. To combat this I've been using XeLatex to compile. However, I've come to submit my CV to one particular website to find ...
7
votes
1answer
166 views

Incorrect digits font with newtxmath and Luatex/Xetex (since Texlive 2015)

I used to use Luatex and a combination of the packages fontspec and newtxmath to have everything set in Libertine. However, it does not work anymore since Texlive 2015: it compiles be the digits in ...
6
votes
1answer
413 views

TikZ - Huffman tree

I used the SimpleHuffman.lua file, placed it in the same folder as my tex file and compiled the following code ("35.8.3 How To Generate Nodes Inside an Algorithm" in pgfmanual) using LuaTeX: \...
1
vote
1answer
174 views

Creating a Table using LuaLaTex

I am just trying to create a simple table in LuaLaTex that summarizes an experiment. I needed to use it (LuaLaTex) to typset my document in Times New Roman font. I am using Macbook Pro with OSX El ...
3
votes
1answer
83 views

EB Garamond and amsmath \text

On my system (OSX 10.10.5; LuaTeX, Version beta-0.80.0 (TeX Live 2015); LaTeX2e <2015/10/01> patch level 2) I run the following MWE: \documentclass{article} \usepackage{fontspec} \usepackage{...
2
votes
1answer
138 views

Biblatex and Polyglossia error after TeX Live update [duplicate]

I've just updated TeX Live distribution (from 2015.37233 to 2015.38831), and now I encounter error whenever biblatex package is loaded provided that default language is Russian. Here's the minimal non-...
3
votes
1answer
177 views

Symbol not found error when using Lua C .so module with LuaLaTeX

I am trying to get a basic Lua C .so module working with LuaLaTeX. I am able to run the library using my local Lua interpreter just fine (lua test.lua). But when I try to load it inside LuaLaTeX, I ...
3
votes
1answer
97 views

`$U$` and `$\mathcal U$` typeset very similarly with TeX Gyre Pagella

I love TeX Gyre Pagella, and use it and the corresponding math font like so: \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre ...
1
vote
0answers
98 views

Lualatex and compilation speed [closed]

I use Lualatex with TexnicCenter to compile a *.tikz file, in which I read saved data from *.txt file. The file also contains \pgfplotsinvokeforeach and \addplot3 The Build process is taking too much ...
0
votes
0answers
21 views

MiKTeX - broken package combination fontspec / expl3 [duplicate]

I have some problems after installing the latest 64bit-MiKTeX as well as the latest packages through the package manager. It seems that there is a problem with the combination of fontspec and expl3 ...
8
votes
2answers
179 views

LuaLaTeX: No kerning within \operatorname when not loading lmodern package

Somewhere I read that fontspec uses Latin Modern by default, so I assumed that loading the lmodern package is not required anymore when using LuaLaTeX. But today I noticed that kerning does not seem ...
3
votes
1answer
51 views

Printed macros from lua behave differently when entered directly in LaTeX code [duplicate]

I have some lua code that should prepare a tikz matrix of nodes similar to this answer. After having run into many issues with whitespaces, I finally got some output but it is not as expected. I ...
2
votes
1answer
64 views

Warning when font lacks symbol

I have a document with \usepackage{amsmath, amsfonts, amsthm} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math} With ...
1
vote
1answer
307 views

how to compile Lualatex from terminal?

I am writing my phd thesis now, and all these while I have used texshop in mac os X (mavericks). I have compiled in Lualatex through texshop (or even texworks) and the file compiles fine, but I have a ...
7
votes
1answer
141 views

Problem with interword spacing in LuaLaTeX

I have a problem with LuaLaTeX and interword spacing using fontspec. This is my MWE: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} \...
0
votes
0answers
103 views

Problem with TOC editing

I work with TeX Live 2015 and LuaTex. I get "Something's wrong -- perhaps a missing \item" error. I edited the TOC as suggested here (1), in order to obtain a similar graphical result. Eventhogh the ...
4
votes
1answer
65 views

Issue with TOC alignment when using fontspec and titletoc with font size >10pt

I am in the process of switching a large document to lualatex for various reasons, and I noticed an issue with the table of contents when the packages fontspec and titletoc are loaded together, AND ...
2
votes
1answer
80 views

MathTime Pro 2 with luatex

I'm using Tex Live on Linux (Ubuntu). I have the MathTime Pro 2 (lite version) fonts installed, using the script I found here. I always used them with tex, pdftex or xetex and they worked correctly. ...
3
votes
1answer
93 views

The diagram in ConTeXt remains invisible

I found nice examples of Metapost, http://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html. When I use the example number 270, the pdf only contains a page number. Question: what I am doing ...
2
votes
1answer
119 views

Problem with fontspec and LuaLaTeX [closed]

I want to write in french, using Lualatex using TexStudio. Therefore, I need to use characters like é, è or à. As Lualatex uses UTF-8 there should not be any problem, but those characters are not ...
0
votes
0answers
67 views

unicode-math v.0.8c and LuaLatex error

I try to select math fonts using unicode-math and LuaLaTeX. After a lot of troubleshooting i used the following MWE (similar to the one given in the unicode-math manual): \documentclass{article} \...
5
votes
1answer
101 views

Problems with bigfoot and lualatex in TL15

Consider the following MWE (for lualatex): \documentclass{article} \usepackage{etoolbox} \usepackage{fontspec} \usepackage{biblatex} \usepackage{bigfoot} \begin{document} Test \end{document} Up ...
2
votes
2answers
204 views

Running R code from latex. (alternative to knitr)

If you want to export the output of an R script to latex and create a pdf document you can use the package Knitr with RStudio. But I guess this is only a good practise for short results. What if I ...
2
votes
0answers
114 views

What hyperref options should be used for correct Unicode output?

I am trying to work out which hyperref options allow all Unicode characters to display properly, and whether XeLaTeX, LuaLaTeX, and pdfLaTeX have different configuration requirements. The hyperref ...
8
votes
1answer
225 views

What happened to \luatextextdir?

As of today, the command \luatextextdir does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands: \newcommand{\arabtext}[1]...
1
vote
1answer
52 views

Weird warning about fixltx2e on beamer

I'm doing a presentation at beamer (after Powerdot showed its limitations) but I just found an unusual warning (for me) would not let me compile and refers to a package that I don't use directly, but ...