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
43 views

Problem with luatex fontspec and flowfram

The following minimial example produces a correct output on an older miktex system (using lualatex) ie. the figure which doesn't fit into the last frame on page 1 flows into the first frame on page 2. ...
1
vote
0answers
15 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 ...
2
votes
1answer
24 views

User UTF-8 string in ConTeXt

I need to use input from a JSON inside my text. Sometimes it contains UTF-8 code. For example: Belgi\u00e cre\u00ebren How can I use such string in ConTeXt LuaTeX, so the result is a correctly ...
0
votes
0answers
30 views

Cannot compile old luatex code

I can't compile the answer given here: In LuaTex is it possible to change font/language according to the script/glyphs used? Is it because it's old? My compiler says that \luatexdirectlua is ...
3
votes
1answer
30 views

unicode-math and redefine a built-in math command

I'm trying to redefine a math command (let's say \int) so that it will always do more (let's say \int lol) using the following trick: http://tex.stackexchange.com/a/47353/15659 BUT, now I want to use ...
3
votes
1answer
46 views

Use libertine numbers in math mode and with siunitx

I am here again to seek your help. I would like all numbers in my document to be the same (in text or math mode). Now I have Please note also the size difference. What is the way to have all ...
0
votes
0answers
108 views

Having trouble using fontspec package with LuaLaTex in TexWorks

I am trying to compile the following code in TexWorks with LuaLaTex: \documentclass{article} \usepackage{fontspec} \begin{document} Hello \end{document} It works without the line: ...
5
votes
1answer
64 views

Layered Graph from Tikz Manual

I suppose I have quite some experience with vanilla latex (which I have used to write several documents), but I am making my first baby steps with tikz. In particular, I am trying to reproduce the ...
0
votes
0answers
34 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
48 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, ...
0
votes
0answers
38 views

Bug with luatexja-fontspec and tcolorbox [on hold]

I found a bug with luatexja-fontspec and tcblisting of tcolorbox. Specifically, when I use "style=tcbstyle" and "\setsansjfont", I get a following error. ! Missing number, treated as zero. <to be ...
4
votes
0answers
97 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: ...
1
vote
0answers
33 views

Why does Babel causes 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 ...
3
votes
1answer
39 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
39 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} ...
1
vote
1answer
31 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} ...
3
votes
1answer
62 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 ...
8
votes
1answer
255 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} ...
1
vote
1answer
81 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
64 views

lualatex with package unicode-math does not work after texlive update

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
33 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
74 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
81 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 ...
7
votes
2answers
144 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
18 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 ...
7
votes
1answer
45 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
28 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 ...
2
votes
2answers
43 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
34 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
30 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
26 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
1answer
39 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
29 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
61 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
51 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
25 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
141 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
62 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} ...
5
votes
1answer
54 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} ...
2
votes
1answer
73 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
47 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 ...
3
votes
1answer
44 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
54 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
20 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
177 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
22 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
27 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
52 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
71 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
252 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. ...