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
13 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
19 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
34 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
36 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
68 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
27 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 ...
2
votes
1answer
32 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
34 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
27 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} ...
2
votes
0answers
50 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
240 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
67 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
60 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
32 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
69 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
80 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 ...
0
votes
1answer
20 views

bibtex cannot find database entry

After reading this and this question I'm still unable to get bibtex to find an article reference: C:\Users\CV\> bibtex cv This is BibTeX, Version 0.99d (MiKTeX 2.9) The top-level auxiliary file: ...
6
votes
2answers
136 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 ...
0
votes
0answers
43 views

Lualatex giving a lot of error

I am compiling my tex file using Lualatex giving a lot of errors with each and every package i included. It is showing the error of String not matched UTF-8. If i am using externalnize package again ...
2
votes
0answers
51 views

How to typeset a list of laptop hardware specifications

I would like to typeset a nice list of the basic HW specifications (CPU, RAM, HDD, etc.). Some of them (CPU,RAM, HDD) would require a list of nested key-value pairs (like Speed-1.8Ghz). My question ...
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
42 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
26 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 ...
1
vote
1answer
31 views

Centering images in lyx

I am having some trouble in centering images in lyx and have read a number of questions on the topic. However, when attempting to apply the solutions from the answers the images are still not ...
2
votes
2answers
40 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
33 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
37 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
28 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
59 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
135 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
60 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
52 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
71 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
45 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
41 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
175 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
251 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. ...
3
votes
2answers
51 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
70 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
108 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 ...