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)

8
votes
1answer
166 views

pdfcrop using luatex engine minimal setup

I want to try the great pdfcrop.pl script by Heiko Oberdiek (http://www.ctan.org/pkg/pdfcrop) with LuaTeX engine. Unfortunately my knowledge about LaTeX tools like LuaTeX is non existent. I'm looking ...
4
votes
2answers
111 views

How to debug LuaLaTeX no longer finding ttf font

I just updated texlive and now LuaLateX no longer finds two ttf fonts situated in the same folder as the .tex file. Before I updated it all worked fine. Clumsy as I am I was having a latexmk session ...
5
votes
1answer
110 views

\emptyset doesn't work with LuaTex + glossaries + unicode-math (bug?)

The following code doesn't work with LuaTex (I get an "undefined control sequence" error). It works if I either comment out \usepackage{unicode-math} or if I change the glossary name from $\emptyset$ ...
13
votes
3answers
553 views

Possible to use MnSymbol with LuaTex?

I want to use the Minion Pro font together with math symbols from MnSymbol (http://www.ctan.org/tex-archive/fonts/mnsymbol). Is this possible? It has already been discussed here -> ...
4
votes
0answers
156 views

Optical weight selection with fontspec

I'm using LuaTeX version 0.76 and fontspec version 2.3c. I have the full family of MinionPro, but fontspec seems not to choose the appropriate optical weight. While it works for the roman font of ...
11
votes
2answers
269 views

How can I replace a character (zero)?

Is it possible to replace characters in pdflatex? I use the Minion Pro and Myriad Pro font and the zero looks like a small 'O'. I want to replace the zero by a zero with a dot or slash in the middle ...
1
vote
1answer
77 views

Problem with justification and \titleformat (LuaLaTeX) [closed]

I am using this titleformat for my chapters but the text after \chapter{} ist centered too. \titleformat{\chapter}[display] {\normalfont\Large\sffamily} ...
8
votes
1answer
375 views

Compilation error with LuaLaTeX (luaotfload- database.lua)

This file does not compile after updating TeXLive 2013 : \RequirePackage{ifluatex} \documentclass[12pt]{standalone} \ifluatex \usepackage[no-math]{fontspec} ...
10
votes
1answer
91 views

LuaTeX hpack_filter callback not triggering on certain hlist creations

EDIT: The hpack_filter is triggered and my question pointless. Consult my answer on why I missed the callback invocation. I am using LuaTeX to analyze the creation process of math expressions in a ...
3
votes
1answer
388 views

Same mathematical fonts with LuaTeX and ConTeXt

I use LuaLaTeX to compile my documents with this in the preamble : \documentclass[12pt,a4paper]{article} \usepackage{etex} \usepackage[no-math]{fontspec} ...
12
votes
1answer
208 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
5
votes
1answer
377 views

Lualatex, Pdflatex fail with \externalize

Here is my problem: I have a 100+ page document with ~100 tikz plots. Some plots contain 9000+ points, and compiling them with pdflatex -shell-escape (or whatever main_memory_size) fails. I can ...
8
votes
1answer
206 views

Loading otf font as mathfont range using unicode-math

I'm trying to replace the letters in the math font so that it matches the main font. Curiously, this works for the italic version, yet not for bold and roman. Why is that? \documentclass{article} ...
4
votes
1answer
157 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
2
votes
0answers
210 views

Updating LuaTeX version in MiKTeX [closed]

I have MiKTeX 2.9, which comes packaged with LuaTeX version beta-0.70.2-2012060719. I'd like to compile a file using the latest stable version. I've downloaded the binary, but what do I do with it?
3
votes
0answers
172 views

Difference in PDF loading in lua- and xelatex

Someone is trying to install a package of mine (http://www.ctan.org/pkg/lilyglyphs) in MiKTeX on Windows 7. After some hassles with file and font paths we managed to get him going, but there is one ...
5
votes
1answer
192 views

Can one kern math font euler.otf using lualatex and fontspec?

I am at it again... :) Using the http://github.com/khaledhosny/euler-otf/blob/master/euler.otf font, can one kern distance between T and P with Lualatex? Clearly, my attempt does not work... Could ...
11
votes
1answer
124 views

Replacing # characters with luatex

The minimal example below should replace all # characters with another symbol. This works well if I use \# to escape it, but the user should later be able to enter it directly, e.g. to enter hash ...
6
votes
1answer
104 views

How can you use both fontspec and xmpincl?

Is there a way to use both the fontspec and the xmpincl packages? Using PDFTeX returns Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX to ...
10
votes
0answers
92 views

Strange linebreaks with microtype & LuaLaTex [duplicate]

I have a weird problem. If I compile with LuaLaTex and microtype some of my line breaks are messed upped, but I don't get any warnings. XeLaTex with/without microtype or LuaLaTex without microtype are ...
3
votes
1answer
311 views

LuaLaTeX: No error but no output files

I am trying to use LuaLaTeX in TeXnicCenter (or TeXworks as well), due to TeX capacity issues. However, no output files are produced (.log, .pdf), and I cannot see any error in the build output; I ...
15
votes
3answers
210 views

Why do user-defined whatsit nodes affect LuaTeX pagebreaking?

EDIT: A summary of the possible answers is given below. In my current LuaTeX project I am using user-defined whatsit nodes to transfer information between the different stages of a LuaTeX run. On ...
0
votes
0answers
20 views

Error Inserting PDF Pages with XeTeX [duplicate]

I'm trying to insert a PDF page into a document using the following: \usepackage[]{pdfpages} ... \includepdf{titlepage.pdf} and keep getting the following error in XeTeX message box: ** WARNING ...
9
votes
2answers
185 views

Selectively disable dash ligatures in LuaLaTeX

With pdfLaTeX, I can print two hyphens using -{}-. This does not seem to work in LuaLaTeX. Indeed, the following snippet \documentclass{minimal} \begin{document} en dash -- two dashes -{}- ...
2
votes
1answer
85 views

LuaLaTeX and multilanguage support

I've a little issue managing fixed names in my TeX class. I'm using the babel package for multilanguage hyphenation support so far, but I would like to deactivate the fixed names provided by babel. I ...
2
votes
1answer
960 views

tikz externalization using lualatex over pdflatex

I am trying to externalize tikz plots using lualatex while encapsulating the whole tex file with pdflatex. I still couldn't figure out why this method is not working. I am using miktex and texstudio. ...
2
votes
1answer
178 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. ...
6
votes
0answers
216 views

“Segmentation fault (core dumped)” with LuaLaTeX [closed]

I'm trying to compile a 3D surface made by 10000 data points with tickzpicture. However, when I compile the .tex file with lualatex lualatex --shell-escape myfile.tex I receive the following error: ...
8
votes
1answer
159 views

LuaTeX callback for single line captions

I am using LuaTeX and its associated callbacks (pre_linebreak_filter, post_linebreak_filter and mlist_to_hlist) to analyze lines and paragraphs during typesetting of a pdf document. This works fine ...
2
votes
0answers
104 views

lualatex and mylatexformat

I am trying to make precompiled preambles format with lualatex and mylatexformat package. I'd like to have it in a Fmt/ subdirectory of the working directory. Trying this command line luatex ...
2
votes
1answer
364 views

Kile and LuaLaTeX

After failing to compile some lualatex-code in texniccenter (see here: LuaLaTeX, TeXnicCenter, AdobeXI and Sumatra), I would like to compile a minimale example in kile. Where I can find the ...
31
votes
3answers
1k views

Programming Conway's Game of Life in LaTeX

My aim is to program Conway's Game of Life in LaTeX, and make the output into an animated PDF. I intend to use PGF/TikZ for this, especially pgfmath, but I'm stuck at the moment because I need to ...
17
votes
2answers
329 views

Randomly reduce the number of pages

My colleagues and I wrote a book that has m pages. Our editor wants n << m pages. For fun, I'd like to submit him two versions of our book. One version that randomly suppress (m - n) pages ...
8
votes
1answer
114 views

Measuring the true height of a character

Suppose you have got a character that sits above the reference point. When you measure its height, the empty space above reference point gets also included in its height measurement but that is not ...
1
vote
0answers
130 views

Is it possible to use `lualatex`'s DVI output with `fontspec` without getting font-related errors?

Is it possible to use lualatex's DVI output with fontspec without getting font-related errors? I want to use the (eps-based) output of sagetex with a lualatex generated document with fontspec. As ...
5
votes
1answer
208 views

problem with math font and LuaLaTeX

The following code works fine if compiled in pdflatex: \documentclass{beamer} \usepackage{quattrocento} \begin{document} \begin{frame} Quattrocento $30\cdot40$ \end{frame} \end{document} As is ...
1
vote
1answer
131 views

How to use SciType font in LaTeX?

I saw a font with math support inside OTF glyphs. How to use it (with lualatex or xelatex for example)? Especially how to deal with stylistic sets with LaTex. Here is the link : SciType font ...
3
votes
0answers
208 views

'Moderncv classic 1.5.1' lualatex compilation fails when using \itshape and awesome icons and sans font with MacTeX2013 [closed]

When compiling this tex code on SnowLeopard, MacTeX2013 with lualatex test.tex: \documentclass[11pt,a4paper,sans]{moderncv} % moderncv 1.5.1 version \moderncvstyle{classic} \moderncvicons{awesome} ...
3
votes
3answers
996 views

ForwardSearch: “Cannot execute the command” when using LuaLaTeX

If I try to compile with the LuaLaTeX-compiler in TeXnicCenter with the below outputprofile-settings, there showing up this error: [ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)] Cannot execute the command ...
8
votes
2answers
190 views

LuaLaTeX and MetaPost

Is there a LuaLaTeX equivalent of \startMPinclusions input mpfile; \stopMPincusions in ConTeXt? That is, if I have \documentclass{article} \usepackage{luamplib} \begin{document} ...
2
votes
1answer
54 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} ...
5
votes
0answers
228 views

LuaLaTeX — too high memory usage [closed]

I've recently made my project buildable under LuaLaTeX. This is a bibliography database project which uses biblatex and biber to compile the database to produce something about 66-paged pdf file. ...
9
votes
3answers
316 views

Fixing fonts with LuaTeX feature files

Bringhurst urges us in Chapter 10 of The Elements of Typographic Style: Version 4.0 to fix the font files if needed. See below a summary of the chapter using the section titles. Bringhurst suggests ...
4
votes
2answers
364 views

How can I list fonts available to LuaTeX in ConTeXt (TeX Live 2013)?

I've looked at How do I get a list of all available fonts for luaotfload?, but the answers don't work for me in TeX Live 2013, at least not without LaTeX. This is because there they rely on the file ...
6
votes
1answer
186 views

Problem with gnuplot and lualatex

I have a pretty complicated graph to plot from coordinates.A friend from here adviced me to use gnuplot and also helped me with the code which is the following... \documentclass[border= ...
0
votes
0answers
69 views

Segmentation fault after Mavericks upgrade [duplicate]

I can't resolve a segmentation fault after upgrading my OS X. After upgrading to Mavericks my system crashes and can't typeset any lualatex file. My lualatex files contain gregorio (a program for ...
10
votes
1answer
199 views

Accessing user-selectable features in GentiumPlus in XeLaTeX/LuaLaTeX

Specifically, the combination of f plus î in the italic ends up with the upper curl of the f smashed into the peak of the circumflex (other fonts have the same problem, but the result is even uglier). ...
2
votes
0answers
101 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
0answers
125 views

LuaLaTeX: problem with high symbols in math mode

A year ago I wrote my thesis and I compiled it using LuaLaTeX (I need very much memory because I have a lot of pgfplots graphs) and it works pretty good. Today I recompile it and some formulas mess ...
9
votes
1answer
474 views

ConTeXt: Using system-installed TrueType/OpenType fonts

I'm trying to use Cambria for text and Calibri for headings in a ConTeXt document, but I don't understand what is happening at all, nothing seems to have any effect and in the end it falls back to ...