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)

1
vote
1answer
146 views

Creating a Table using LuaLaTex

I am just trying to create a simple table in LuaLaTex that summarizes an experiment. I needed to use it (LuaLaTex) to typset my document in Times New Roman font. I am using Macbook Pro with OSX El ...
3
votes
1answer
82 views

EB Garamond and amsmath \text

On my system (OSX 10.10.5; LuaTeX, Version beta-0.80.0 (TeX Live 2015); LaTeX2e <2015/10/01> patch level 2) I run the following MWE: \documentclass{article} \usepackage{fontspec} ...
3
votes
1answer
162 views

Symbol not found error when using Lua C .so module with LuaLaTeX

I am trying to get a basic Lua C .so module working with LuaLaTeX. I am able to run the library using my local Lua interpreter just fine (lua test.lua). But when I try to load it inside LuaLaTeX, I ...
2
votes
1answer
113 views

Biblatex and Polyglossia error after TeX Live update [duplicate]

I've just updated TeX Live distribution (from 2015.37233 to 2015.38831), and now I encounter error whenever biblatex package is loaded provided that default language is Russian. Here's the minimal ...
1
vote
0answers
91 views

Lualatex and compilation speed [closed]

I use Lualatex with TexnicCenter to compile a *.tikz file, in which I read saved data from *.txt file. The file also contains \pgfplotsinvokeforeach and \addplot3 The Build process is taking too much ...
3
votes
1answer
88 views

`$U$` and `$\mathcal U$` typeset very similarly with TeX Gyre Pagella

I love TeX Gyre Pagella, and use it and the corresponding math font like so: \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre ...
8
votes
2answers
172 views

LuaLaTeX: No kerning within \operatorname when not loading lmodern package

Somewhere I read that fontspec uses Latin Modern by default, so I assumed that loading the lmodern package is not required anymore when using LuaLaTeX. But today I noticed that kerning does not seem ...
0
votes
0answers
21 views

MiKTeX - broken package combination fontspec / expl3 [duplicate]

I have some problems after installing the latest 64bit-MiKTeX as well as the latest packages through the package manager. It seems that there is a problem with the combination of fontspec and expl3 ...
2
votes
1answer
43 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 ...
3
votes
1answer
50 views

Printed macros from lua behave differently when entered directly in LaTeX code [duplicate]

I have some lua code that should prepare a tikz matrix of nodes similar to this answer. After having run into many issues with whitespaces, I finally got some output but it is not as expected. I ...
0
votes
0answers
93 views

Problem with TOC editing

I work with TeX Live 2015 and LuaTex. I get "Something's wrong -- perhaps a missing \item" error. I edited the TOC as suggested here (1), in order to obtain a similar graphical result. Eventhogh the ...
24
votes
2answers
518 views

Will LaTeX work on any TeX?

As I understand it, latex is simply a macro package for tex, as in tex the program, not the format. (Again, weird, but I understand LaTeX to be a format of TeX.) Does this imply that LaTeX the ...
3
votes
2answers
141 views

Change engine for “latex” command on terminal

First of all I'm working with ePiX For those who have never heard about, epix uses Latex. To compile, ePiX runs latex command on terminal. I'm always getting a message saying I've got memory limit. ...
1
vote
1answer
222 views

how to compile Lualatex from terminal?

I am writing my phd thesis now, and all these while I have used texshop in mac os X (mavericks). I have compiled in Lualatex through texshop (or even texworks) and the file compiles fine, but I have a ...
2
votes
1answer
59 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 ...
7
votes
1answer
130 views

Problem with interword spacing in LuaLaTeX

I have a problem with LuaLaTeX and interword spacing using fontspec. This is my MWE: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} ...
2
votes
1answer
104 views

Problem with fontspec and LuaLaTeX [closed]

I want to write in french, using Lualatex using TexStudio. Therefore, I need to use characters like é, è or à. As Lualatex uses UTF-8 there should not be any problem, but those characters are not ...
4
votes
1answer
57 views

Issue with TOC alignment when using fontspec and titletoc with font size >10pt

I am in the process of switching a large document to lualatex for various reasons, and I noticed an issue with the table of contents when the packages fontspec and titletoc are loaded together, AND ...
2
votes
1answer
77 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. ...
3
votes
1answer
89 views

The diagram in ConTeXt remains invisible

I found nice examples of Metapost, http://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html. When I use the example number 270, the pdf only contains a page number. Question: what I am doing ...
12
votes
1answer
116 views

unicode-math breaks \not command

\documentclass{scrartcl} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} $\not\propto$ \end{document} Results in: How ...
21
votes
1answer
152 views

How does one retrieve \rpcode values in LuaTeX?

The \rpcode values from pdfTeX are properties of font characters, e.g., \rpcode\font 50 = 200 sets the right protrusion value for character 50 in the current font to 200. Reading chapter 7 of the ...
7
votes
1answer
299 views

Clickable links in PDF are wrong on landscape pages (pdflscape + LuaLaTex)

The hyperlinks in the PDF are not where they should be. It seems to be that glossary links are not "rotated" due to landscape mode. The following MWE illustrates the problem. The error occurs only in ...
11
votes
1answer
982 views

Too much space after integral sign with unicode-math and lualatex

(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.) Consider the minimal example \documentclass{article} ...
10
votes
3answers
2k views

Changing language back and forth with polyglossia

I'm using polyglossia and lualatex to compile my source, and I am switching languages back and forth inside my document. It looks like polyglossia (or myself), is not doing what it is supposed to do: ...
0
votes
0answers
59 views

unicode-math v.0.8c and LuaLatex error

I try to select math fonts using unicode-math and LuaLaTeX. After a lot of troubleshooting i used the following MWE (similar to the one given in the unicode-math manual): \documentclass{article} ...
5
votes
1answer
89 views

Problems with bigfoot and lualatex in TL15

Consider the following MWE (for lualatex): \documentclass{article} \usepackage{etoolbox} \usepackage{fontspec} \usepackage{biblatex} \usepackage{bigfoot} \begin{document} Test \end{document} Up ...
2
votes
1answer
3k views

How to use the fontspec package in a LaTeX document?

I'm trying to make a simple document which uses the fontspec package in Tex Maker 4.4.1 with LuaLaTeX engine. Code I'm using \documentclass{article} \usepackage{fontspec} ...
2
votes
2answers
174 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
0answers
95 views

What hyperref options should be used for correct Unicode output?

I am trying to work out which hyperref options allow all Unicode characters to display properly, and whether XeLaTeX, LuaLaTeX, and pdfLaTeX have different configuration requirements. The hyperref ...
8
votes
1answer
206 views

What happened to \luatextextdir?

As of today, the command \luatextextdir does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands: ...
1
vote
1answer
50 views

Weird warning about fixltx2e on beamer

I'm doing a presentation at beamer (after Powerdot showed its limitations) but I just found an unusual warning (for me) would not let me compile and refers to a package that I don't use directly, but ...
3
votes
1answer
529 views

Document compiles with pdflatex but not lualatex but why?

Using the current TexLive 2015 on Windows 7 I can successfully compile the following MWE with pdflatex: \documentclass[tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.12} ...
3
votes
0answers
60 views

Why zero lccode does not stop hyphenation in LuaTeX?

Compile the following example with tex and luatex: \nopagenumbers \parindent=0pt \parskip=0pt \def\par{\endgraf\hbox to 15em{\hrulefill}} \hsize=1pt \hfuzz=15em 1 'supercalifragilisticexpialidocious ...
7
votes
2answers
140 views

package clash fontspec eulervm amsmath

This minimal working example doesn't compile under lualatex on my machine: \documentclass{article} \usepackage{fontspec} \usepackage{eulervm} \usepackage{amsmath} \begin{document} foo \end{document} ...
6
votes
0answers
60 views

How to change hyphenation codes with the change of \language in LuaTeX?

For a word to be "hyphenatable", all its characters must have \lccode>0. With \savinghyphcodes=1 in e-TeX all characters are associated with hyphenation codes by means of a special table (this is the ...
8
votes
2answers
777 views

How can I use OpenType Collection font with fontspec package and LuaTeX?

I have trouble setting monospaced font to Source Han Code JP font using \setmonofont. I tried the following code just the same as when I usually use fontspec package. % file name: example01.tex ...
10
votes
1answer
1k views

text4ht and LuaTeX

There is a specific command to run tex4ht with XeTeX: htxelatex (which doesn't really work actually as far as I'm concerned). What is the command to run text4ht with LuaTeX instead?
2
votes
1answer
152 views

mintinline inside tabularx causes “Missing Pygments output” error

I'm working on a reference table for printf format strings: \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{minted} \usepackage{fontspec} \setmonofont{ubuntu Mono} ...
2
votes
0answers
67 views

LuaTeX issue with space in path?

Using TeXnicCenter on Windows 7 I stumbled over an issue with LuaTeX from TeXLive 2015 where certain documents would not compile. I tried different things and found a common theme: if there is a space ...
3
votes
1answer
149 views

Copy-and-paste small-caps with ConTeXt and simplefonts

I am trying to typeset some text with small caps in ConTeXt (mkiv — version 2015.05.18 12:26), and have that text available for copy–and–paste. Here's a minimum problematic setup: % !TEX encoding = ...
2
votes
1answer
108 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
0answers
85 views

Which TeX engines support OFM fonts?

I'm extremely unhappy with the limitation of tfm fonts of 15 heights / 15 depths / 63 italic corrections. This is why I'm looking for a TeX engine which can load ofm fonts, probably etex, xetex or ...
1
vote
1answer
515 views

Lyx doesn't generate pdf when using hyperref

If I don't use hyperref package everything's fine, but if I use it, after a while a message appears with something like "Command dvilualatex "filename.tex" has not yet completed. Do you want to stop ...
7
votes
1answer
53 views

Outputfile generated on error

If I run this example: \documentclass{article} \begin{document} Foo \newpage \barbaz \end{document} using lualatex --halt-on-error minimal.tex The log yields: ! ==> Fatal error occurred, ...
7
votes
3answers
212 views

greek accents with TeX Gyre Termes in lualatex and xelatex

\documentclass[11pt,a4paper]{scrartcl} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{TeX Gyre Termes} \begin{document} This is English with some Greek: γέγονεν. Isn't that quite nice? εὕρηκα! ...
3
votes
2answers
177 views

Italic math font (via \mathit) not working for greek symbols with fontspec/lualatex/TeX Live 2015

(Updated to reflect newest findings.) I recently switched to TeX Live 2015 and am struggling with a few problems in code that worked perfectly fine in TeX Live 2014. For instance: \mathit does not ...
7
votes
2answers
192 views

luaLaTeX Junicode font typesetting of ji and ii

\documentclass[a4paper]{article} \usepackage{fontspec} \setmainfont{Junicode} \begin{document} \noindent ji\\ ii\\ j\mbox{}i\\ i\mbox{}i \end{document} is rendered by lualatex with dotless i on the ...
2
votes
0answers
113 views

How to embed tweets in LuaTex

I was wondering whether there is a way to embed a tweet in a LuaTex document so it looks as similar to tweets embedded on websites? (like shown here: https://dev.twitter.com/web/embedded-tweets) I've ...
1
vote
0answers
75 views

Why does kerning work with LuaLaTex but not XeLaTex for the same font?

Consider the following MWE: \documentclass[varwidth]{standalone} \usepackage{ifluatex} \usepackage{ifxetex} \usepackage{metalogo} \usepackage{fontspec} \setmainfont{Bembo}[BoldFont = Bembo Bold] ...