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)

2
votes
1answer
98 views

How to make pdf outlines work correctly in LuaTeX?

cwebmac.tex version 3.67 --- July 2006 The following Lua code converts string from UTF-8 to UTF-16BE with tex.write, which prints all with catcode 12, except space, which is what is needed. We add ...
2
votes
0answers
65 views

LuaLaTeX changes font smoothing with polyglossia or fontspec (and math looks weird)

I’m using LuaLaTeX to typeset some mathematical documents in Polish. I use the lmodern font family, along with polyglossia and fontspec to get diacritical characters. However, whenever I add ...
4
votes
1answer
47 views

LuaLatTeX inefficiency in transliteration from cyrillic of acute accented vowels

Transliteration from cyrillic to latin characters can be done in LuaLaTeX with the help of directlua as shown by @DavidCarlisle: Create a mapping for transliteration from cyrillic to latin in LuaLaTeX ...
4
votes
1answer
68 views

Fixing problems in latin translitteration of acute accented cyrillic vowels with \directlua

A good translitteration method from cyrillic to latin characters using XeLaTeX is discussed in Using XeTeX for automatic transliteration of cyrillic letters Actually I'm using LuaLaTeX. the ...
1
vote
1answer
24 views

tex4ht: getting accented letters in small capitals through \selectfont

I try to get small capitals in my html document, but the tex4ht code that I found works only for the command \textsc. however, I enter all my change of font through ...
5
votes
3answers
194 views

Color coding a text string with alternating colors

I was wondering if it was possible to color every second letter in a text string in LaTeX. I'm writing a report on decrypting a Vigenere cipher, and have a text string that I would like to have every ...
1
vote
1answer
26 views

Breaking of footnote with pifont in alternative4ht helpers4ht

The last update of alternative4ht, in order to fix the tables in tex4ht see here, has a consequence that the redefinition of \thefootnote with pifont is broken. there are two versions of the ...
2
votes
1answer
32 views

tex4ht non roman languages inside tabular environment

I have tables with accented letters and other non-roman scripts, but they do not appear inside the environment tabular. The letters do appear outside of the tabular environment. i compile with ...
5
votes
0answers
60 views

non-printing characters in the OpenType layout of LuaLaTeX [closed]

And while we are at it, there is another probable bug in the LuaLaTex OpenType layout code: a couple of non-printing characters (such as 200c, 200d, 200e 200f and so on) do in fact show up in the pdf, ...
6
votes
0answers
83 views

letters and spacing in Arabic — bug in OpenType layout of LuaLaTeX

I perceive the following unwanted outcome: Two issues: In the first line, the last word on the right has a small gap between the second and the third letter from the right that is not supposed to ...
16
votes
2answers
284 views

Create a mapping for transliteration from cyrillic to latin in LuaLaTeX

I created a .map file for Cyrillic to Latin transliteration as in using xetex for automatic transliteration of Cyrillic letters I placed the cyrillic-to-latin.tec file in the folder. ...
4
votes
2answers
68 views

How can I use Bengali script in an English document?

I am a Linguist and I need to use Bengali script inside an English article which is predominantly English. I have found many answers but they only seem to be useful when the whole document is in ...
6
votes
1answer
78 views

Strange output with LuaTeX’s fontloader library

I am trying to debug a much larger problem, but the smoking gun is some (apparently) strange behavior with LuaTeX’s fontloader library. Minimal Example Here is file backmap.tex: \directlua { ...
3
votes
1answer
223 views

Cannot insert .eps figure into LuaLaTeX compilation [duplicate]

I'm trying to insert a .eps figure into my document. I'm using LuaLaTeX. I have already tried to remove the ".eps" extension from the \includegraphics{} command, but it didn't work. Makes no ...
2
votes
1answer
67 views

How to separate pdf annotation from the file resource?

Let's suppose that we have an attached file: \immediate\pdfobj stream file {\jobname.tex} \pdfannot width 10pt height 10pt depth 0pt { /Subtype /FileAttachment /FS << /F (file) /Type ...
1
vote
0answers
55 views

AUCTeX: switch to LuaLaTex from PDFLaTeX

I just installed the Lucida Bright OpenType fonts, and it turns out they don't work with pdfLaTeX, which is what AUCTeX was configured to run with the "LaTeX" command when I first installed it. Now I ...
4
votes
1answer
33 views

Errors with lualatex, siunitx and pgfplotstable replacing emdash

I'm referring to this answer from @Jake to replace the string --- of an input csv to \textemdash in a pgfplotstable table with the S column of siunitx. The provided solution works fine when pdflatex ...
3
votes
1answer
40 views

Identification of the directlua chunk where an error occurred

In the wiki page http://wiki.luatex.org/index.php/Writing_Lua_in_TeX there is a promising solution to identify between the different lua(TeX) chunks: \directlua {<lua code>} \directlua name ...
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
70 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
79 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
120 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
64 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
81 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
120 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
73 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
71 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 ...
8
votes
1answer
225 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
86 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
123 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
133 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
60 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
113 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
39 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 ...
3
votes
1answer
101 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
43 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
45 views

Using Fonts with a downloaded Template

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
49 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
80 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
88 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
533 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
178 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
150 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
383 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: ...