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

Problem with mathastext package

The following very simple code does not work here: \documentclass{article} \usepackage{fontspec} \setmainfont{Droid Sans} \usepackage[italic]{mathastext} \begin{document} \section{test} ...
2
votes
1answer
102 views

How to detect LuaLaTex inside my .tex file and exclude bits and pieces conditionally

Let me state my "problem" first. When using PdfLateX my .tex file compiles rather swiftly and all is fine. I use TeXStudio and make use of the PDF preview feature. Since my LaTeX fu isn't the ...
2
votes
1answer
633 views

Installing EB Garamond (miktex lua) encore encore

There are many related questions and answers. I looked at Installing EB Garamond for pdfLaTeX (encore) and tried the lua answer there. lualatex from a freshly instlled Miktex on this MWE ...
2
votes
1answer
96 views

Accented letters messed up in PDF readers navigator with LuaLaTeX

I have something like this: \documentclass{beamer} \usepackage{fontspec} \begin{document} \section{é} \begin{frame} test \end{frame} \end{document} Problem is that the section name ...
2
votes
1answer
4k views

LuaLaTeX vs XeLaTeX [duplicate]

Possible Duplicate: Differences between LuaTeX, ConTeXt and XeTeX What are the differences between LuaLaTeX and XeLaTeX? Why should someone prefer one over the other?
2
votes
1answer
287 views

Build Lualatex in Sublime

My subime-text buildsettings now set to pdflatex, I want to build lualatex file. How can I change the setting?
2
votes
1answer
215 views

General guide on how to set up font families for luaLatex

In A Survey of Free Math Fonts for TEX and LATEX are great examples of harmonizing fonts in Latex. For example consider the text fragment for CM Bright: With pdfLatex it was sufficient to just ...
2
votes
1answer
311 views

Why aren't backtics giving me curly quotes?

I'm using the appropriate keystrokes to get curly quotes, but I'm not getting them. What is wrong here? \documentclass[nols,nohyper,openany, letterpaper]{tufte-book} ...
2
votes
1answer
165 views

Problem with polyglossia and MinionPro

I have a problem with small caps not showing correctly when loading polyglossia. I am trying to use polyglossia with classicthesis, which I know is unsupported, but the same problem appears when ...
2
votes
2answers
182 views

How to *disable* Lua's Microtype for a given tabular column?

I'm looking for a way to disable Lua's Microtype (note the capital M - to distinguish from the lower case microtype package) in the first tabular column of the MWE given below: ...
2
votes
2answers
283 views

Hebrew words causes strange errors with ConTeXt IV / LuaTeX

I am experiencing strange problems with ConTeXt IV / LuaTeX. I have some hebrew words which continues to throw following errors: error: /usr/share/texmf/tex/context/base/font-otn.lua:1809: attempt to ...
2
votes
2answers
2k views

How can I load a true type font in luatex? [duplicate]

Possible Duplicate: Load fonts that are in a ./fonts directory I have a TTF file zapf-chancery.ttf in the same folder as my LaTeX document. How do I make this font available in my document? ...
2
votes
1answer
42 views

Help integrating some LUA code into a Luatex document?

Consider the following MWE: \documentclass[12pt,a4paper]{amsart} \usepackage{fontspec} \usepackage{luacode} \begin{document} ABC \begin{luacode} tex.sprint(os.date("compiled on --- %A at %X " ...
2
votes
1answer
28 views

Defining a class of glyphs when some are not in the bold font

I discovered that adding the line {\bf παπαῖ} to the answer in Defining an initial variant through a feature file results in a fatal error, because some of the glyphs in the class do not exist in the ...
2
votes
1answer
45 views

formular with cyrillic in Xe/Lua

Cyrillic in formular (https://www.ctan.org/pkg/formular) does not work with (Xe/Lua)LaTeX, but works in pdfLaTeX: \documentclass{article} \usepackage{ifxetex} \ifxetex \usepackage{fontspec} ...
2
votes
1answer
597 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) ...
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 ...
2
votes
2answers
180 views

Running R code from latex. (alternative to knitr)

If you want to export the output of an R script to latex and create a pdf document you can use the package Knitr with RStudio. But I guess this is only a good practise for short results. What if I ...
2
votes
1answer
113 views

How to change input encoding in LuaTeX?

Suppose that we have a font with a fixed encoding and want to change mapping between input characters and font slots. How to configure luatex so that if we type A we get B, not changing the font? An ...
2
votes
1answer
86 views

LuaLaTeX : pass a list to lua as macro parameter, but not seen as a table

I try to pass a list to lua as LaTeX parameter but can not make it interpreted as a table by lua. if "#1" I get : a,b,c,d,e – n 1 –, table of one entry if #1 I get : n 5 – ?? Even with \unexpanded ...
2
votes
1answer
110 views

How to insert Bengali text in IEEE conference paper?

I am writing a paper for an IEEE conference using IEEEtran.cls. The primary language of the paper is English but my work deals with Bengali language. I want to know how do I insert some Bengali words ...
2
votes
1answer
348 views

Lualatex not found

When I run pandoc markdown.md --template=my-template.tex --latex-engine=lualatex -o test.pdf I get the following error message: pandoc: lualatex not found. lualatex is needed for pdf output. I ...
2
votes
1answer
315 views

luacode error: LuaTex is required for this package

I am a new bie to Tex and when i try to run the sample code given in the posting Ways to parse JSON in LaTeX?, i run into the error: Package luacode Error: LuaTeX is required for this package. ...
2
votes
1answer
190 views

How to get ϱ and ɔ working with MinionPro [closed]

Using LuaLaTeX and MinionPro (the one from Adobe Reader), I apparently cannot print the characters ϱ and ɔ ("symbolic rho" and "open o"). This I find a bit strange in a professional font. Can that ...
2
votes
1answer
196 views

LuaLaTeX and listings do not work while XeLaTex works fine

I am trying to move from XeLaTeX to LuaLaTeX. I have some listings with special delimeters (an underscore). The following MWE compiles perfectly under XeLaTex, but gives the following error under ...
2
votes
1answer
731 views

FontAwesome is not working in Friggeri resume?

\documentclass[]{friggeri-cv} % \documentclass{article} \usepackage{unicode-math} \usepackage{FontAwesome} \definecolor{light-gray}{gray}{0.55} \definecolor{skype}{HTML}{12A5F4} ...
2
votes
1answer
136 views

How to differentiate glyphs by script (semi-)automatically?

I am trying to emulate this poster which I've found at http://www.brill.com/about/brill-fonts. How could we define different color per script and get a similar glyph poster?
2
votes
1answer
309 views

kvoptions and conditional environment

I'm trying to create a package with a single option, which provides an environment, which behaves differently if called by latex or pdflatex XeLaTeX. I tried to use kvoptions, but I'm a little lost. ...
2
votes
2answers
153 views

luatex complains Cannot open the file ~/.config/font-manager/local.conf

From TeXLive-2011: luatex complains: ! LuaTeX error ...1/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua:525: Cannot open the file $HOME/.config/font-manager/local.conf where $HOME is the path ...
2
votes
1answer
113 views

post_linebreak_filter and glyph analysis

When calling a function with a post_linebreak_filter callback, the nodelist only contains nodes of type 0 (hlist), 10 (glue) and 12 (penalty), whereas when using a pre_linebreak_filter callback, type ...
2
votes
1answer
362 views

LuaTeX nil value errors

I tried to lualatex a document and got the following error: ! LuaTeX error ./luasseq.lua:377: attempt to index field 'wd' (a nil value) stack traceback: ./luasseq.lua:377: in function ...
2
votes
1answer
52 views

Comparing the path from \int or ∫ in the .tex file to ∫ in the .pdf file with type1 and OpenType math fonts in luatex

I'm trying to understand better how math fonts are handled and, in particular, how an OpenType math font can do the same job as a type1 font with far less files. My reference engine is luatex (version ...
2
votes
2answers
36 views

Extra space by polyglossia

The LuaLaTeX code... \documentclass{article} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{german} \begin{document} English/\textgerman{German} \end{document} ...results in ...
2
votes
1answer
54 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 ...
2
votes
1answer
57 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
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. ...
2
votes
1answer
166 views

How to use luacode* to eliminate need to escape “\”?

I am struggling trying to understand how to actually use luacode* environment, so that I do not have to escape all the \ characters in the strings that Lua builds before sending to Tex. The whole ...
2
votes
1answer
44 views

Does LuaTeX change the message in “Output Routines Part IV: Horizontal Techniques”?

In the excellent article "Output routines: examples and techniques Part IV: Horizontal techniques", David Salomon explores three techniques for dealing with communication from horizontal mode to the ...
2
votes
1answer
235 views

Generating an oblique (slanted) font in LuaLaTeX

With LuaLaTeX, I am using an OpenType font family (Dolly Pro) with roman small caps but no italic small caps. My block quote style uses italics, which I like, but one of my quotations has the ...
2
votes
2answers
739 views

German-style quotation marks in LuaLaTeX using polyglossia

Could someone post a complete minimal input file for LuaLaTeX to output "Hallo" also to get around ,,Hallo´´ In LaTeX I would have written ``Hallo´´ %% Minimal Inputfile for LuaLaTeX ...
2
votes
1answer
960 views

Error using lualatex and tikzexternalize to compile document with PGFPlots

I have a fairly large document with a number of pgfplots diagrams and due to memory capacity limits in PDFLaTeX I am now using LuaLaTeX to compile. While this works well, it takes forever to produce ...
2
votes
1answer
85 views

How can I change the layout of my page so that it doesn't block everything on one page?

I've been writing my CV in LaTeX and used a template. The issue is that where I've put all my entries into this specific section it's grouped all of my entries together in one block and put them on ...
2
votes
1answer
192 views

ConTeXt: Substitute em-dash for double-hyphens

Background I am trying to substitute an em-dash for double-hyphens (--) whenever they occur in user-generated text. The fonts that I am using (Chivo and Gentium Basic) result in double-hyphens added ...
2
votes
1answer
78 views

Extra line break and horizontal space at \begin{document}

I am trying to insert some text right at the beginning of the document with \AtBeginDocument while using lualatex and the fontspec package \documentclass{article} \AtBeginDocument{X} ...
2
votes
1answer
1k views

Why does lualatex return with exit code 1 even though a PDF was built?

Using TeXLive 2011, I invoke lualatex on a TeX file from the command line. The PDF builds (mostly correctly, although the source TeX file has many many errors and warnings, none fatal). However, the ...
2
votes
2answers
21 views

Long equation tag/number gets shifted to left hand side, rather than underneath right hand side

So i have an equation which is pretty much the width of my text. The equation number usually (when using pdflatex) shifts below the right hand side of the equation. However, i am now having to ...
2
votes
2answers
50 views

overlappings when texgyrepagella is used with stmaryrd

Consider running xelatex or lualatex on the following code: \documentclass[compsoc]{IEEEtran} \usepackage{unicode-math} \setmathfont[Extension=.otf]{texgyrepagella-math} %\usepackage{mleftright} % no ...
2
votes
1answer
55 views

Bold math with siunitx, fourier and amsmath problem

With this configuration I can't have bold siunitx otherwise than using \pmb, but with an ugly side effect : \documentclass[margin=5pt]{standalone} \usepackage{fourier} \usepackage{fontspec} ...
2
votes
2answers
76 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? ...
2
votes
1answer
99 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 ...