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
0answers
45 views

Using Fonts with a downloaded Template

I downloaded the deedy resume template and it came with some fonts and a .cls file I got the template to begin to typset after moving the .cls file into the folder with the .tex file, but then I get ...
4
votes
1answer
50 views

Basic comparison of macro to string in lualatex?

Still hammering away at a database problem. Mostly done, but stumped by: \documentclass{article} \begin{document} \newcommand{\testmacro}{U01} The macro testmacro equals ``U01'' \directlua{ if ...
3
votes
1answer
82 views

How to get a non-cursive minuscule kappa in \textgreek{fusik'h} (physics)?

I'm trying to write "physics" in Greek by using "textgreek". It replaces the input text "k" with the cursive "kappa", but I want the more common non-cursive minuscule kappa. ...
3
votes
2answers
89 views

How to unset default Ligatures=TeX for main font? (TexLive2015)

As of TexLive2015 (as opposed to TexLive2013) fontspec predefines Ligatures=TeX. This results in double quotes being replaced by curly quotes. How can I disable this behavior? \documentclass{article} ...
9
votes
3answers
533 views

Problems with mixing Icelandic and German with LuaLaTex

So what I am trying to do is to use the letter-classic class with LuaLaTeX (This is LuaTeX, Version beta-0.80.0 (MiKTeX 2.9) (rev 5238) (format=lualatex 2015.11.10) 25 NOV 2015 09:30) as included in ...
2
votes
1answer
184 views

lualatex and polyglossia error “Missing number, treated as zero.”

I just happened upon the strangest error with lualatex and polyglossia. I'm trying to compile a very easy file, here goes: \documentclass[a4paper]{article} \usepackage{polyglossia} \begin{document} ...
0
votes
0answers
23 views

Create a .doc or .docx file from XeLaTeX or LuaTex [duplicate]

I've just written up my CV into LaTeX, but I get the error `cannot use pdftex'. To combat this I've been using XeLatex to compile. However, I've come to submit my CV to one particular website to find ...
7
votes
1answer
151 views

Incorrect digits font with newtxmath and Luatex/Xetex (since Texlive 2015)

I used to use Luatex and a combination of the packages fontspec and newtxmath to have everything set in Libertine. However, it does not work anymore since Texlive 2015: it compiles be the digits in ...
6
votes
1answer
389 views

TikZ - Huffman tree

I used the SimpleHuffman.lua file, placed it in the same folder as my tex file and compiled the following code ("35.8.3 How To Generate Nodes Inside an Algorithm" in pgfmanual) using LuaTeX: ...
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} ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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} ...
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 ...
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 ...
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 ...
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
88 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
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 ...
6
votes
3answers
204 views

LuaLaTeX and TeX Gyre Pagella in pdflatex for arXiv

Since arXiv still doesn't seem to support LuaLaTeX, I need to make my document work with pdfLaTeX instead. The only LuaLaTeX-specific stuff is \usepackage{fontspec} \usepackage{unicode-math} ...
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} ...
3
votes
2answers
265 views

API JSON in Latex

I want to know if it's possible to get data from a website using api json in a document .tex I want to do this without luatex because the idea is compile online with the sharelatex website, that ...
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 ...
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 ...
1
vote
2answers
125 views

Compilation Process: Flow Chart

I am searching for a flow chart of the compilation process for LuaLaTeX (or pdfLaTeX). The chart should include packages like hyperref, varioref, etc. that use additional calls of lualatex.exe. ...
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 ...
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, ...
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 ...
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] ...
1
vote
1answer
69 views

Permuting an index list; and creating an index list of 0's and 1's

I want to run the steps of a loop in random order and also save the order in which the iterations were carried out: \documentclass[english]{article} \usepackage{tikz} ...
6
votes
1answer
78 views

Package 'showhyphens' won't show actual hyphenation points for words with ligatures

What exactly does the package showhyphens tell us about hyphenation points? According to its documentation, it "will show all possible hyphenation points". But when the word contains a ligature, it ...