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)

0
votes
0answers
95 views

Cannot load hyphenation patterns

I installed today the latest version of Texlive 2015 on Windows 10 LuaTeX Version beta-0.80.0 TeX Live 2015/W32TeX (rev 5238) but when I compile (I use LuaLaTex) I receive the following ...
3
votes
1answer
60 views

best way to know bottom-line height of a pdf

For some project, I need to make a PDF of one page, with no margin whatsoever. The left, right and top margin are easy to set to 0, but I also need the pdf to have the exact height of what's inside, ...
7
votes
0answers
410 views

lualatex and polyglossia with \setdefaultlanguage{german} does not work after recent texlive update

Here is a minimal example: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{german} \begin{document} Hallo Welt! \end{document} And here is the error message: (/mnt/software/...
2
votes
0answers
51 views

Why does Babel cause an error when used with PSPicture and LuaLaTeX?

The MWE showed below only compiles if the line \usepackage[greek,brazilian]{babel} is removed. \documentclass[a4paper,10pt]{book} \usepackage{auto-pst-pdf} \ifpdf\else \usepackage{pst-...
5
votes
1answer
121 views

How to set Overleaf to compile with `lualatex --shell-escape <file>`?

I'm trying to use the solution given by the accepted answer in How to have \psframe working with LuaLatex? but I don't know how to enable the option --shell-escape there. Overleaf explains that it ...
1
vote
1answer
66 views

LuaLaTeX comma issue in math mode [duplicate]

I am having an issue compiling math equations. I got a weird comma symbol with lualatex. Here is a MWE and the result : \documentclass[french]{report} \usepackage{fontspec,luatextra,xunicode} \...
3
votes
0answers
85 views

Is there any way to suggest to ConTeXt to take advantage of multiple cores?

I have access to a relatively slow, but hugely (12) multi-cored machine. My 200+ page document has compile times in the 400 second range. Are there any flags or hints that I can give to the mtx-...
1
vote
1answer
41 views

How to have \psframe working with LuaLatex? [duplicate]

When I try to compile the code below in Overlef, I get an error if I set LuaLaTeX as LaTeX Engine, but no error if I set Choose Automatically. \documentclass[a4paper,10pt]{book} \usepackage{pst-...
3
votes
1answer
79 views

Luatex does not compile with Junicode

With \documentclass{article} \usepackage{fontspec} \usepackage{lipsum} \setmainfont{Junicode} \begin{document} \lipsum[1] \end{document} my compiler (0.80.0) stops at (/usr/local/texlive/2015/...
10
votes
1answer
366 views

Wrong math symbols with XeLaTeX and LuaTeX after TexLive update

I just updated my TeX live installation (tlmgr update --all) and now I get some wrong symbols in math mode if I use XeLaTeX or LuaTeX. This MWE for example \documentclass{standalone} \begin{document} ...
2
votes
1answer
801 views

Error when compiling with lualatex file “ltluatex.tex”

In many cases, when compiling with lualatex I have this error (c:/texlive/2015/texmf-dist/tex/latex/base/ltluatex.tex File: ltluatex.tex 2015/10/03 v1.0f LuaTeX support for plain TeX (core) ...
6
votes
0answers
109 views

lualatex with package unicode-math does not work after texlive update [on hold]

After the recent TeX Live update (tlmgr update --all), LuaLaTeX together with unicode-math does not work any more! Here is a minimal example: \documentclass{article} \usepackage{unicode-math} \...
0
votes
0answers
38 views

LuaLaTeX æquivalent to ucharclasses [duplicate]

I am using the XeLaTeX ucharclasses package to switch language and font features on transition into the Greek and Latin unicode ranges. Is there a LuaLaTeX compatible alternative?
2
votes
1answer
130 views

LuaLaTeX and mathspec

It seems that, if I want to use the letters and digits from a system font that is not especially designed for mathematics in math mode as well, I need mathspec and XeLaTeX; and cannot replace XeLaTeX ...
2
votes
1answer
133 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 ...
8
votes
2answers
177 views

Modifying fraction macro for in-line text and exponents

There's an amazing fraction macro here* for FontSpec with LuaLaTeX (*: that would be the second macro in that answer, called \unifrac, which I like better than the first "macro"/ using the frac ...
3
votes
0answers
27 views

Problem with hyperref, sidewaysfigure and LuaLaTeX

I have a landscape figure inserted in a sidewaysfigure environment with a reference in the caption. If I compile the document with pdfLaTeX all works well but if I compile with LuaLaTeX the red square ...
8
votes
1answer
99 views

siunitx 'detect-all' does not honor fontspec's math font in Beamer

Problem statement The \sisetup{detect-all} option of the siunitx package does not work for me as expected in a Beamer presentation, which I would like to typeset as follows: Text in Latin Modern ...
2
votes
1answer
63 views

LuaLaTeX output from tex.print not interpreted

This is a follow-up from my previous answer to Automated Creation of Questions and Solutions for a Worksheet/Exam. I realised, that the macros I created like this \ewcommand{\currentI}{\directlua{tex....
2
votes
2answers
85 views

How to set hyphenation parameters automatically in LuaTeX?

In the following example we need to hyphenate "aa-aa", but not "bbbb". How to set righthyphenmin=2 automatically if all letters of a word are "a", and keep it default for all other cases? \...
0
votes
0answers
74 views

A couple of compiling errors (possibly LuaLatex/chemnum/chemstyle related)

I'm having a few problems with a document that was originally compiling fine. I am using Texmaker, MikTex 2.9. The first is relating to the auto-pst-pdf package which now pulls up the error: ! ...
2
votes
0answers
44 views

superscripts and footnotemarks break in nested \import with realscripts

I managed to produce strange interference between nested \import and superscripts, made accessible for LuaTeX by realscripts.sty. My document organisation depends on the comfortable, path-agnostic ...
1
vote
0answers
31 views

Append code to the \directlua primitive

LuaTeX provides the primitive \directlua, which is described in detail in section 1.6.1 of the LuaTeX reference manual. Basically, this primitive runs Lua code. Its syntax is: \directlua ⟨general ...
2
votes
2answers
123 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 ...
0
votes
1answer
38 views

Discretionary hyphens for words in dot-notation

we're working on a technical document with some special requirement identifier, which use a dot-notation. For example: FRQ.SW.MOD.GUI.1 FRQ.DATA.LOG.OUT.PRINT.1 As you might expect we get a lot of ...
1
vote
0answers
92 views

Segmentation fault: lualatex -recorder

I installed a 64bit MikTeX on Windows 10 and trying to get my tex-files compiling again. I'm using luatex as compiler together with latexmk and a simple latexmkrc file. $pdflatex = 'lualatex %O %S'; $...
4
votes
0answers
52 views

Why LuaTeX does not open file without extension? [duplicate]

LuaTeX-0.80.0 Suppose in current directory we have a simple text file, called text (without extension). The following code gives error in LuaTeX, but works fine in TeX. Why? Is there a simple ...
1
vote
1answer
40 views

interpolate with graphicx and beamer in luatex

In TeX Live 2015, using the interpolate option of \includegraphics{...} with lualatex causes an error unless one specifies \pdftexversion appropriately. For example, following Kurt’s explanations in ...
0
votes
1answer
371 views

Font not loadable: metric data not found or bad

Okay, I'm having the following issue that resembles an issue other people have reported. But, I haven't seen any problem that is as simple as mine or any solution that's for my operating system. I am ...
5
votes
0answers
93 views

Arabic in LuaLaTeX: Why do I get the vowels typeset RTL in LTR mode?

This mwe: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{etoolbox} \newfontfamily\libertine{Linux Libertine O} \newfontfamily\arabicfont[Script=Arabic]{Amiri} \newcommand{\arabtext}...
6
votes
2answers
140 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} \begin{document}...
2
votes
1answer
104 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
76 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
48 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
78 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
34 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 \rmfamily\mdseries\scshape\...
5
votes
3answers
208 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
27 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
35 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
62 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
98 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
311 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. \documentclass{...
4
votes
2answers
98 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
91 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 { tex....
4
votes
1answer
317 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
77 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
79 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
39 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
41 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: ...