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
3k views

font-not-found error: font “HoeflerText” cannot be found — LuaLaTex error! [closed]

I am running this CV/Resume example from here: Here is a relevant fraction of the code: \documentclass[10pt]{article} %!TEX encoding = UTF-16 % See geometry.pdf to learn the layout options. There ...
3
votes
1answer
144 views

ConTeXt's user namespace seems somewhat empty

With ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.12.18 int: english/english the ConTeXt code \starttext \message{one} \directlua{print(1)} \message{two} \usercode{print(2)} ...
0
votes
1answer
463 views

Using fontspec with LuaLaTeX produces a LaTeX bug message [closed]

I have LuaLaTeX installed via MiKTeX 2.9 on Windows 7. I am trying to use fontspec to change my document to a different font than the default CMR fonts. Just invoking \usepackage{fontspec} is ...
8
votes
5answers
1k views

Printing LaTeX code in LuaTeX

A calculation is done in Lua, and according to the result a certain type of cell must display the data. This works: \multicolumn{3}{p{11cm}}{Test}&-10\\[0.4cm] But this doesn't ...
3
votes
1answer
153 views

Fitting display math with luatex?

I took a latex file and edited it to be more readable on my phone. Specifically, I used the geometry package to typeset it on pages measuring 3x4. I set the text to be left justified to keep words ...
13
votes
2answers
896 views

Parsing files through LuaTeX

This question has two parts: How would one generally parse a file with LuaTeX, assuming the file only holds data that is delimited either by spaces, commas or semicolons. How would you parse the ...
7
votes
2answers
4k views

How do I use LuaTex in MikTeX?

I am using MikTeX 2.9 version and although the manual says I can use LuaTeX, there is nothing in the TeXworks menu. I can see all the other members of the TeX family but none for LuaTeX. Can someone ...
6
votes
1answer
354 views

Trouble with contextuals in LuaLaTeX with fontspec - trying to get internal long Ss to work

I have been trying to get a project of mine set with internal long Ss. Using fontforge, I have tried to set up the contextual (both [calt] and [cswh]) feature - but when I do, I get no results in the ...
10
votes
3answers
1k views

Replacing greek glyphs in math mode

I want to switch fonts, away from computer modern. I'm pretty sure that I will end up with a mixture of fonts. I can't provide a full list of required features, but Linux Libertine's feature set ...
16
votes
1answer
1k views

Installing Lua Modules for use in LuaLaTeX

I've done all of the searching that I can, and I think I've read the right answer, but am too dumb to know that I read it. I can't seem to figure out the magic tricks to get Lua modules, installed by ...
17
votes
2answers
2k views

How do I get a list of all available fonts for luaotfload?

luaotfload uses an internal database that gets updated with mkluatexfontdb. So it knows about a lot of fonts installed on my computer. How can I query this database? Something like luatexfontdb ...
23
votes
3answers
808 views

Check all hyphenations within a document

I have a book project written in LaTeX, and I have found that quite a number of the hyphenations that TeX produced are wrong. It would be quite painful to scan the document for all hyphenation points, ...
23
votes
3answers
1k views

Detect which TeX engine is used

How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality?
7
votes
2answers
2k views

Can XeLaTeX | LuaTeX import movies?

It seems that XeLaTeX cannot handle movies. I imported movies into PDF produced with pdflatex compiler using the multimedia package that comes with beamer. My search over various boards revealed that ...
6
votes
2answers
243 views

incompatibilities between LuaLaTeX and \typein ?

The following ecm compiles fine with LaTeX and XeLaTeX, but doesn't work with LuaLaTeX : \documentclass{minimal} \begin{document} \typein{test} \end{document} And here is the error : Invalid ...
9
votes
2answers
2k views

\tikzexternalize doesn't work with lua code

The following code from the pgf manual compiles fine with lualatex --shell-escape \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \begin{document} A simple image ...
9
votes
2answers
485 views

percent signs in luacode* environment (LuaLaTeX)

Can someone explain what happens here: \documentclass{article} \usepackage{luacode} \begin{document} \begin{luacode*} tex.print("xx\%a","yy\\%b","zz\\\%c") \end{luacode*} \end{document} The ...
4
votes
1answer
501 views

(small) incompatibilities between LuaTeX+hyperref (pdftitle)+accents

The following ECM works fine when compiled with XeLaTeX, but if compiled with LuaLaTeX there is a minor problem : accented letter produces garbage in the pdftitle — but it's fine in the document . I ...
11
votes
2answers
647 views

How can I achieve dictionary headers for two page spreads in LaTeX

I would like to produce a document where I can display the first and last items of each two page spread in the headers of both the left and right pages. I know I can use \markboth{}{} to collect the ...
5
votes
2answers
2k views

luaotfload: how to use font in current directory?

I'd like to use a font in the current directory with luaotfload. I tried to generate the database: OSFONTDIR=$PWD mkluatexfontdb but this gives me endless output of: $ OSFONTDIR=$PWD ...
10
votes
2answers
598 views

Access specific characters in LuaTeX

Recently, I switched from XeTeX to LuaTex for a document of mine. However, there is a feature which I do not immediately see how to convert: Accessing specific characters. In particular, I need the ...
17
votes
6answers
1k views

\tableofcontents encoding issue with lualatex

I have a issue when trying to generate table of contents with lualatex in russian. Following example fails to build with ! Undefined control sequence. \contentsname ->{\cyr \CYRS \cyro \cyrd \cyre ...
6
votes
2answers
1k views

LuaTeX and graphics

I'd like to know what LuaTeX offers in terms of graphics: I'm mostly interested in pstricks and tikz/pgfplots. Could it help tikz to run faster? Would it help tikz to handle 3D non-parallel figures? ...
6
votes
1answer
660 views

Fix ligature mapping of obscure old font with LuaLaTeX or XeLaTeX

I have an old font I purchased a while ago. It comes with various ligatures that I need to use. The font was not intended for use with LaTeX, and even though it is a high-quality Type-1 font, the ...
15
votes
3answers
616 views

Check if LuaTeX is running

I want to check if my tex document is compiled with LuaTeX (or any other Lua TeX compiler). The simple approach from the TeXbook is to check the \directlua macro against \@empty, like ...
7
votes
3answers
535 views

Passing options to a macro

Background We're developing an automated graph drawing framework for TikZ with LuaTeX. The TeX interface on the pgf layer is nearly done, the next step will be the TikZ Layer. The maker of TikZ, Till ...
12
votes
2answers
3k views

UTF8 not working in LuaTeX in TeXLive 2010

I've been trying to set a document using lualatex in my TeXLive 2010 installation. Unfortunately, the non-ASCII characters are left out from the output. In the following minimal document produces a ...
5
votes
3answers
898 views

LuaTeX cyrillic hyphenation problems

I am trying to use LuaTeX (LuaLaTeX) in MiKTeX 2.9 and I'm stuck with getting it to load cyrillic hyphenation patterns. I'm quite new to LuaTeX, so maybe there's something special about hyphenation ...
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?
15
votes
3answers
938 views

Reference about “modern” LaTeX usage for scientific works

I am looking for a reference (book, free pdf, website) that would summarize the working of "modern" LaTeX for scientific works (I'm writing my master thesis). I know and have been using LaTeX for ...
7
votes
2answers
852 views

Updating to Beta Builds of ConTeXt / LuaTeX from tlcontrib breaks MacTeX

[What follows is my question, re-written with better information and condensed.] I might be missing something really simple and I might be overcomplicating something really easy. To Be Extremely ...
16
votes
5answers
6k views

How do you configure Texmaker to use LuaTeX?

I'm extending my use from pdfLaTeX to LuaLaTeX. The transition is smooth especially as I collaborate with other users that shy out upgrading their systems. However, TexMaker does not seem to come ...
7
votes
1answer
1k views

Double quotes with monospaced font and LuaLaTeX

I am trying to set the following minimal document: \documentclass[a4paper,11pt]{article} \usepackage{fontspec} \setmonofont{Inconsolata} \begin{document} \begin{verbatim} <!DOCTYPE HTML PUBLIC ...
11
votes
4answers
580 views

Is it possible to run LuaTeX from a USB flash drive

I am looking for ways to install and run LuaTeX on a USB flash drive (Windows operating system).
11
votes
2answers
1k views

Ploting a function using mplib in lualatex

This question asked about ways to generate a nice function graph in LaTeX. There are several great answers, however, most of the either rely on an external program to generate the plot, or, if they ...
25
votes
2answers
2k views

An example of changing kerning of a font in LuaLaTeX

LuaLaTeX, through the luaotfload package, is able to dynamically add and modify features and properties of a font. This is performed by using the FeatureFile option in fontspec when loading a font; ...
86
votes
8answers
9k views

Drawbacks of XeTeX/LuaTeX

Currently I use pdflatex to process my documents, but I want to be with the cool kids and switch to XeTeX or LuaTeX. My documents are moderately multilingual (main text in portuguese or english, ...
15
votes
3answers
630 views

Will LaTeX3 have proper support for hooks? Does LuaTeX?

Tex has powerful support for extensions triggered by events happen in generating output, by running one of six token lists appropriately: \everycr \everydisplay \everyhbox \everymath \everypar ...
8
votes
4answers
981 views

What possibilities are there of using OpenType fonts and margin kerning?

I really like the protrusion and margin kerning features of pdfTeX and LuaTeX. I also like to use other fonts than those available for TeX. What choices do I have when I want to use both? Also, what ...
6
votes
1answer
984 views

How to create luatex.fmt

I wanted to try the latest version of LuaTeX, so I downloaded the official precompiled binaries. But these raw binaries are useless without a luatex.fmt. How can this file be created?
51
votes
5answers
9k views

What is a simple example of something you can do with LuaTeX?

I've heard that with LuaTeX, you can embed Lua code in your document that work directly with TeX internals, making it possible to do several things that are hard to do with macros. What is a good ...
252
votes
5answers
40k views

Differences between LuaTeX, ConTeXt and XeTeX

I’m interested in the differences and commonalities between the “new” (La)TeX processors: LuaTeX, XeTeX, and ConTeXt. Personally, I’ve only used XeTeX so far and without having the time to try out ...