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

How to fix in ConTeXt problems after pages and warning 'no GlyphToUnicode entry has been inserted yet!'

Is the warning no GlyphToUnicode entry has been inserted yet! exclusive of texexec or is it caused by patches loaded by mkii or by using 'cont-sys.rme' instead of cont-sys.tex? The funny thing is, ...
6
votes
2answers
155 views

LuaLatex + Unicode-math, can't get upright greek with “\up*” commands

I was trying to type in upright greek letters in LaTex, and I've been recommended to use LuaLaTex with Unicode-math package to accomplish that. However I ran into a weird issue. If I want to type in ...
2
votes
1answer
42 views

Difference between luatex and lualatex binaries [duplicate]

I installed MacTeX Basic on my laptop (OS X 10.10), and I got 2 binaries, luatex and lualatex. Those 2 binaries behave totally differently (lualatex is able to parse \documentclass, the other is not), ...
22
votes
0answers
219 views
+100

Best Practices for Lua Modules

In the Lua world Lua Modules are installed using LuaRocks. With LuaTeX these modules are normally installed in the scripts folder (under MikTeX windows). What tools are available for downloading and ...
3
votes
1answer
31 views

Is cyrillic actually missing in LinLibertine monospace?

If you consider this MWE, then for me lualatex does not display texttt{Привет, мир!} but non-monospaced cyrillic text is displayed fine. \documentclass[notitlepage,oneside]{article} ...
4
votes
0answers
74 views

Transform paper folding diagram to 3D object or vice versa

I made this commands to make paper models, and I ask if it is possible to have a 3D view of them converting in tikz-3D, or backward. But it's easier to draw the flat model and generate the volume ...
4
votes
1answer
80 views

Use specific non-unicode character in lualatex

I've looked everywhere for an answer to this question, but none could answer this specific one: I have MinionMath font (from typoma.com, MinionMath-Regular.otf) and I want to use unicode f3a0f (under ...
1
vote
1answer
200 views

\LaTeX macro: “Font shape `OT1/LatinModernSans(0)/m/n' undefined” [closed]

I tried compiling the following example using LuaLaTeX (LuaTeX v0.76/TeX Live 2013): \documentclass{beamer} \usepackage{fontspec} \usepackage[ngerman]{babel} \defaultfontfeatures{Ligatures=TeX} ...
7
votes
1answer
148 views

How to have Helvetica or helvet font with lualatex having similar look as with pdflatex?

Continuing the migration to lualatex, how to have the same aspect for sans serif fonts in lualatex as with pdflatex ? Is there something I haven't install or is it the wrong commands ? ...
15
votes
3answers
491 views

Lualatex : € as a utf8 character is not recognized : why?

I need to include some tex files as parts of a more global project. Some of this global projects have to be compiled with pdflatex, some others with lualatex, but the parts are the same. All this part ...
5
votes
0answers
64 views

Letterspacing via microtype vs fontspec (in LuaLaTeX)

I've just realised that I can get somewhat similar letterspacing effects using either the microtype or fontspec packages; for example: \documentclass{article} \usepackage{fontspec} ...
14
votes
2answers
344 views

Devanagari/Indic in LuaTeX

As I gather from the mailing lists, LuaTeX is currently unable to render devanagari properly because it doesn't understand the complex ligature rules involved. This is my experience with test ...
1
vote
1answer
111 views

fontspec – sans-serif as main font?

fontspec defines the commands \setmainfont[font features]{font name} \setsansfont[font features]{font name} \setmonofont[font features]{font name} to set the document's default fonts. However, if I ...
20
votes
1answer
152 views

How to delay a command execution until the next hmode?

I want to write an environment which adds a marginnote at the begin. The problem is that I can't control the content of the enviroment and so the placement of the marginnote varies a lot. How could I ...
21
votes
1answer
821 views

LuaLaTeX protrusion problem with Negative value

Please see the following screen shots. As you can see there are two "overfull" hbox there. However, LaTeX does not produced any overfull box warning at all. I tried to produce a minimal working ...
0
votes
0answers
30 views

The quote symbol in LuaLatex [duplicate]

I have a document which are previously compiled with regular pdflatex with \usepackage{times}, the typographic quote symbols are generated correctly as: And once I started to use LuaLatex with: ...
5
votes
0answers
40 views

LuaTeX: Line break problem with microtype + geometry (bindingoffset) [duplicate]

I have a problem with the combination LuaTeX + package microtype + option bindingoffset from the geometry package when typesetting the following example: \documentclass[11pt,a4paper]{article} ...
5
votes
1answer
130 views

Lualatex capacity exceeded with Gb's of free RAM

I'm trying to compile dense graphs generated my matlab2tikz (file size ~ 50Mb). I'm running lualatex and externalising with lualatex \tikzset{external/system call={lualatex ...
1
vote
0answers
54 views

Bold and sans serif at once with fontspec and LuaLaTeX

As you know, the code like \sffamily{\bfseries{...}} gives bold and serif font at once. If to use fontspec (luatexja-fontspec in my case) it is not enough just to define bold and sans serif fonts. If ...
2
votes
1answer
79 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 ...
4
votes
3answers
43 views

ConTeXt system font search path

I read from the official manual (http://wiki.contextgarden.net/Fonts_in_LuaTex#How_LuaTeX_handles_system_fonts) that I need to export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts" to specify where ...
8
votes
1answer
375 views

A Big fancy “Q”

One time I remember seeing a Q ligature in \setmainfont{EB Garamond} (fontspec, EB Garamond, etc.) that involved a wonderful long swash. Now I don't know how to get it. Contrary to most other ...
6
votes
1answer
90 views

Reducing the size of greek letters in TeX Gyre Schola Math?

I've been experimenting with TeX Gyre Schola (and its math font), and I've noticed that the greek letters are noticeably larger than normal letters and numbers. For example, consider the following: ...
22
votes
1answer
346 views

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS). I have ...
2
votes
1answer
86 views

White fields in ltjsarticle class

This question is extention for other my question Replacing \fancyhdr with \titlesec in complicated design documents. When I use solution from answer to prevous question with LuaLaTeX and ltjsarticle ...
1
vote
1answer
94 views

references to floats without ever using figure numbers (possbily using lua or python)

Stephen Wolfram's 'A New Kind of Science' states in its colophon that it has 973 illustrations spread out over 1280 pages. Remarkably, he accomplishes this without ever using figure numbers. No figure ...
6
votes
1answer
70 views

LuaLaTeX, Fontspec: Wordspacing and Letterspacing

I have a command \work which will format titles in SmallCaps and with less letter spacing. Now the funny thing: If I try to add some word spacing, too, and only for SmallCaps, it affects the whole ...
5
votes
1answer
92 views

Accessing an alternate representation of a letter in fontspec

Recently I've been trying to access a specific letter from the WatersTitlingPro-Rg font, through LuaLaTeX and fontspec. The Waters Titling Pro fonts is a small caps only font. Specifically, I'm ...
20
votes
3answers
235 views

How to access the last line of a paragraph with LuaTeX

Consider the following code, using traditional TeX programming that through a series of boxing and unboxing, grabs the last line of a paragraph and centers it. \documentclass{article} ...
4
votes
1answer
74 views

Problem with a Lua function in a \foreach loop

I have written a Lua function to position dates in a timeline that I am drawing with TikZ. The function seems to work, but when I use it in a \foreach loop I get the following error: ! LuaTeX error ...
8
votes
1answer
176 views

How to use punctuation marks in LuaLaTeX with unicode-math?

I also posts this here: http://texwelt.de/wissen/fragen/3000/interpunktion-in-lualatex-mit-unicode-math-von-hauptschriftart. The problem is that I want to have the \period symbol (also range="002E ...
1
vote
0answers
39 views

LuaLaTex produces beamer slides on variable speed

Why LuaLatex produces slides with speed depending on the number of them not on the complexity (still the same). \documentclass{beamer} \usepackage{fontspec,luacode,tikz} ...
5
votes
1answer
49 views

In LuaLaTeX, how do I pass the content of an environment to Lua verbatim **Without displaying it** in a beamer frame?

In this question / answer : one pass verbatim latex material to lua, but latex displays this material by him self. If one suppress the two lines : local buf_without_end = ...
5
votes
2answers
94 views

Hard hyphens in LuaLatex

Why does not the hard hyphen “‑” work in lualatex with the package luainputenc with option utf8? With hard hyphen, I mean a hyphen, which prohibits the line to break directly after it. MWE: ...
9
votes
3answers
396 views

uneven line spacing

This is something that is already annoying me for quite a while. (I use LuaLaTeX) The line spacing of the Arabic text is uneven (see pic and/or MWE below). In particular, I think, lines 2, 7, and 10. ...
3
votes
2answers
48 views

Lualatex error with polyglossia's \setotherlanguages and ntheorem

Consider this MWE: \documentclass[10pt,twoside,openright]{book} % http://tex.stackexchange.com/a/44701/2595 \usepackage{iftex} \ifPDFTeX \usepackage[greek,danish,english]{babel} ...
5
votes
1answer
48 views

Let fontspec handle bold font automatically

I recently installed a commercial font called Monospace 821. The font came in ttf format and I installed it as usual in a Linux machine. Problem is that when I use \textbf{Bold} the resulting ...
3
votes
0answers
100 views

Tikz graphdrawing library with tree layout throws error

When I compile the following snippet \documentclass[tikz,border=0pt]{standalone} \usetikzlibrary{graphdrawing} \usetikzlibrary{graphs} \usetikzlibrary{shapes.misc} \usegdlibrary{trees} ...
1
vote
2answers
116 views

How can I run pdflatex on multiple .tex files on Windows 7?

I built some graphics with TikZ and pgfplots. I have put the code with the most minimal necessary preamble into a standalone document for each figure. Say I put all those files for chapter 3 (hence ...
9
votes
1answer
78 views

Namespace in luatex

Is it possible from luatex access registers where all names of command sequences are stored. Is it possible to pull out this list of names? I am looking for a way to trace how namespace changes during ...
10
votes
0answers
85 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 ...
4
votes
1answer
70 views

Make Notes from Lyx into Annotations on the PDF

Lyx Supports Notes. It would be great to have any notes in lyx show up as Annotations in a draft produced PDF. For example: LyX: PDF: The use case I have in mind is when showing this draft ...
11
votes
0answers
89 views

What exactly is luatex's node.free deleting?

The LuaTeX manual doesn't give much information on the precise details other than saying that one needs to ensure that there aren't any dangling pointers still referencing the node (location). For ...
1
vote
1answer
91 views

How to use different fonts in footnotes and bibliography / special old hebrew

Im using for old hebrew and old greek text special fonts with fontspec. How can i use this also in the footnotes and in den bibliography? There are only single hebrew words in 3 of the booktitle. Im ...
18
votes
3answers
1k views

Hiring someone to help me with LaTeX for my PhD thesis

I do not know whether this is an appropriate question, but I was carrying it around for quite some weeks and now it just has to come out. I am working on my PhD thesis. My thesis will include a long ...
1
vote
0answers
24 views

Evaluating \luaexec while writing to the aux file

In the document end hook I'm trying to write \luaexec{x = 1} to the aux file, where the 1 is computed in Lua itself (and more complex in the real document, of course). MWE: \documentclass{article} ...
8
votes
0answers
40 views

How to use luatex's node.hpack so that marks, inserts and vadjusts migrate out?

TeX's hpack routine packages an hlist into a box. While doing that it looks at a global pointer adjust_tail and if that is not "null" it migrates some nodes to a separate list starting at ...
7
votes
2answers
412 views

fontspec throwing error with lualatex - broken?

I get an error when I try to include the fontspec package. Here is a minimum working example: \documentclass{article} \usepackage{fontspec} \begin{document} Hello \end{document} I'm trying to ...
3
votes
1answer
40 views

combination of ngerman and fontspec brings a lot of errors

I was using the package ngerman and fontspec with luatex in one document in march 2014 and it worked fine. In the meanwhile, i installed a new arch linux and TeX Live. Now I get a lot of errors like ...
4
votes
0answers
60 views

LuaLaTeX pass characters without “ ” to lua

I try to pass characters to lua but I don't want to typeset the "" that are not natural in latex syntax. Here is a dummy mwe. Here is the background : \documentclass{article} ...