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
1answer
53 views

Under what conditions can I redistribute files from my local TeXLive installation [closed]

I created a Github repository called luatexminimal, to provide a minimal, barebones LuaTeX setup to compile PDF documents. I had to copy a few files from my local TeXLive installation to do that: ...
4
votes
1answer
72 views

Lua to Tex : content and variable content different?

Here is something bizarre ! (I mean I don't understand). I enter a content, let's say "Something" in the (global) variable context. In line 2 of the following code, as one may anticipate, we have the ...
3
votes
0answers
81 views

Using setupbackend and pdfpageattr together via ConTeXt

Is it possible to use setupbackend and pdfpageattr together via ConTeXt? I was able to use setupbackend alone via ConTeXt (LuaTeX). Got the result as expected. I was able to use pdfpageattr ...
3
votes
1answer
81 views

How to attach files in LuaTeX in pdf mode?

I have this code to attach files via dvipdfmx, and it works well: \def\attach#1{% \special{pdf:fstream @file (#1)}% \special{pdf:ann bbox 0 0 10 10 <</Type /Annot /Subtype /FileAttachment ...
0
votes
0answers
38 views

Difference between graph.layered and graph.trees

I currently learn to use the graphs library from TikZ 3.0. What is the general difference between the graph drawing libraries trees (ch. 29) and layered (ch. 30)? When should I use which library and ...
8
votes
1answer
124 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
66 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 ...
8
votes
0answers
85 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
128 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
74 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
81 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 ...
9
votes
1answer
238 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
93 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
130 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
141 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
65 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
128 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
40 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
120 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
36 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
45 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 [on hold]

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
51 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
89 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. ...
3
votes
2answers
89 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
189 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
156 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
396 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
152 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
82 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} ...
2
votes
1answer
124 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 ...
3
votes
1answer
167 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
94 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
96 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
175 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
50 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
61 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
261 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
138 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
93 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
60 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
78 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
92 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
112 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
63 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} ...