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

Luaotfload complains: “cache : Could not write lookup cache”

I am in quite the pickle about my document I would like to compile with LuaLaTeX. This is the set-up I am using for the fonts and such: \usepackage[no-math]{fontspec} \usepackage{lipsum} ...
9
votes
1answer
209 views

Write18: LuaTeX has an encoding problem, where XeLaTeX does not

xelatex (with option --shell-escape) compiles this document fine: \documentclass{article} \usepackage{fontspec} \begin{document} LuaTeX is not \immediate\write18{echo uber | sed y/u/ü/ > inc.tex} ...
3
votes
0answers
84 views

Is there any reason to used pdflatex instead of lualatex? [duplicate]

As I understand it pdflatex has been discontinued, and the replacement is LuaLaTeX. But pdflatex is still included in most (all?) distributions, along with LuaLaTeX. LuaLaTeX supports lots of new ...
9
votes
4answers
476 views

Patch font with LuaTeX

I don’t like the spacing of \textperiodcentered = U+00B7 in the OpenType cut of Latin Modern. Different from Computer Modern—and in fact, from just about any font I have on my system—LM gives the ...
6
votes
1answer
13k views

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp}

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp} How can i fix this error? I m trying to compile a template of ...
6
votes
0answers
358 views

unicode-math and oldstyle figures

I'm trying to find a good way to archive the following using fontspec, unicode-math and lualatex: almost global oldstyle figures including inline math lining numbers for displayed equations, e.g. ...
14
votes
1answer
401 views

How can I dump Lua code to a format file?

From this format: %% testformat.ini \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \directlua { testFunction = function () tex.print("This was print by Lua's ...
11
votes
5answers
2k views

Sans-serif to go with EB Garamond (no math)?

Suggestions for a good sans-serif font to go with (complement) EB Garamond? Math and non-Western European support are not required. Text is fiction, not academic or scientific. English with an ...
10
votes
1answer
554 views

access all characters in an OpenType font with LuaLaTeX

This is a follow-up to Access specific characters in LuaTeX and How to access fleurons? With TeX Live 2012, I compiled the following file and got the output in the image: \documentclass[12pt]{book} ...
3
votes
0answers
714 views

Bold small caps with XeLaTeX and LuaLaTeX [closed]

I am having some issues with LuaLaTex and/or fontenc and bold small caps while using the Adobe Garamond Pro font. Here are my files: When I compile with XeLaTeX and these options: ...
4
votes
0answers
593 views

Weird permissions problem with TeX Live 2013, Ubuntu 13.04, LuaTeX and problem fonts [closed]

Update at bottom I recently installed vanilla TeX Live 2013 on my Ubuntu 13.04 system. Most everything works. It's just when I run into certain problematic fonts using LuaLaTeX that things go awry. ...
3
votes
1answer
262 views

Adobe Acrobat's markup and annotate trough LaTeX?

Adobe Acrobat has the feature that enables the user to markup words or lines and to add an annotation to these markups. These features do not only exits in Acrobat. The markup looks like this: Is ...
7
votes
0answers
945 views

Garamond Premier Pro, optical sizes, XeLaTeX v. LuaLaTeX [closed]

Update: I upgraded to TeX Live 2013 and things have gotten slightly worse, see end of post for details. I have Garamond Premier Pro and I'm trying to make sure my documents use all the appropriate ...
1
vote
0answers
302 views

TeXlive 2013 / LuaLaTeX: Class Resource not found [closed]

I have a document class in my ~/texmf/tex/latex/CLASSNAME directory named CLASSNAME.cls. In the same folder is an PDF file, named LogoNewDesign.pdf. The logo is used in the class file in an ...
3
votes
1answer
261 views

Define kerning in lualatex

I am trying to define a kerning between V and /. (see question) My approach is the following, but I don't see any differences between using the feature file and not using it. ...
5
votes
2answers
382 views

Why isn't diagrams.sty compatible with LuaTeX

I am trying to debug the problem with Paul Taylor's diagrams.sty (not in TeX Live or MiKTeX, but available from CTAN). Minimal example: \documentclass{article} \usepackage{diagrams} ...
8
votes
1answer
498 views

Check for missing font characters in LuaLaTeX

I have a document: \documentclass{article} \usepackage{fontspec} \begin{document} Program the μC, please. \end{document} When I compile with xelatex or lualatex, there is a missing "μ" character in ...
10
votes
1answer
399 views

fontspec option “Renderer=Basic” - what does it mean?

Since a few days I've been using the fontspec option \setmainfont[Renderer=Basic] ... in order to use the microtype option tracking=true with LuaLaTeX. I have a simple question on this: why does ...
9
votes
1answer
263 views

How to change kerning around ( glyph with lualatex?

Inspired by An example of changing kerning of a font in LuaLaTeX I decided to try to change the kerning for some letter combinations together with parentheses which have been bothering me in my ...
3
votes
1answer
109 views

Hook tex macro without altering tokens stream

Is is possible to hook a macro with function which writes some info to file or log without altering stream which creates dvi file. For example if i have macro definition \def\foo{\mathop{A}} and i ...
7
votes
1answer
393 views

how to set font feature file for a specific font file and not the whole font shape

I'm looking for having my document set with specific ligatures, such as 's' replaced by 'longs', 's t' by 'longs_t' etc. and using the Linux Libertine G font. To do this, I'm writing my text ...
6
votes
1answer
477 views

Differences in processing DejaVu Serif between LuaTeX and XeTeX

I'm trying to set a heading in DejaVu Serif Condensed Bold. Simplified, here's the code: \documentclass[12pt]{article} \usepackage{fontspec} \setmainfont{DejaVu Serif Condensed} \begin{document} ...
6
votes
1answer
285 views

How to access the quotation marks in Berling font using lualatex?

Here is a small example: \documentclass[11pt,article,oneside]{memoir} \usepackage{fontspec} \setmainfont[ItalicFont={BerlIt}, FeatureFile=myligatures.fea]{Berling} \begin{document} ``Lala la'' ...
1
vote
0answers
51 views

How to use en-dash with Cambria fonts? [duplicate]

When using non-TeX fonts in LuaTeX I can produce en-dashes in the usual way by typing two dashes together --: \documentclass{article} \usepackage{fontspec}%use luatex \setmainfont{Cambria} ...
2
votes
0answers
143 views

preview with lualatex dvipng replacement? [closed]

Maybe this is TexStudio related not the general question. preview with pdflatex comlier works fine. when i switched to lulalatex preview command fail. i use lualatex --output-format=dvi ...
3
votes
1answer
810 views

LuaLaTeX and PDF Viewer

Is there any way to make Texmaker automatically display my LuaLaTeX generated PDF in his internal PDF viewer ? It works if I use an external PDF viewer: lualatex --interaction=nonstopmode ...
7
votes
1answer
710 views

Problems with luaotfload and certain font shapes

While playing around with lualatexon TL 13 I encountered a strange problem. Certain font shapes would produce an error without any visible reason. The following example is with Stempel Garamond LT Std ...
3
votes
1answer
204 views

$OSFONTDIR on OSX

I've been playing around with TeXLive 13 pretest on OSX, and I've been unable to tell luatex/luaotfload where to look for fonts. I know that luaotfload will look in the standard font directories and ...
2
votes
0answers
411 views

xwatermark allpages does not work on Ubuntu [closed]

I have a document that typesets fine with MikTeX on Windows. I have tried the same source on Ubuntu but I am getting an error: ! Package xwatermark Error: No page specifier for watermark: ...
5
votes
0answers
743 views

PGFPlots pattern bug [closed]

I tried to compile the example in How to combine fill and pattern in a pgfplot bar plot? to answer the question here PGFplots ybar patterns not showing and the pattern doesn't appear when I use ...
5
votes
1answer
526 views

Avoid update font name database by luaotfload

I am using LuaLaTeX to typesetting documents with system fonts. Compiling needs much time to update the font database: luaotfload | Updating the font names database:. I think this update is not ...
4
votes
1answer
257 views

LuaTeX renames the .log, .aux, etc [duplicate]

When I ran LuaTeX on my resume, it renamed all the files produced from pdfing the file. This is the first time it has every done this. The file was called resume and it renamed the pdf texput.pdf. ...
2
votes
1answer
105 views

Fontspec pb since update May 20th, 2013 on MiKTeX2.9 and Win7(32bit) [closed]

When I want to compile the file fonspec-example.tex with the latest version 2.3c of fontspec, I get an error (It didn't happen before): fonspec.lua:45:attempt to call upvalue 'check_script' (a nil ...
6
votes
0answers
596 views

using a Postscript Type 1 font with fontspec and LuaLaTex on MacOSX

I am having trouble using SabonLT which is a Postscript Type 1 Outline font. I have the font installed as a system font (as described here) rather than a local font. I'm running LuaLaTex on Mac OSX. ...
1
vote
0answers
120 views

luaotfload cannot load system font [closed]

(I have asked this question in comp.text.tex and lualatex-dev@tug.org mailling lists, but I still haven't got any reply. I know this website is not for bug report, but since no developer responded me, ...
6
votes
1answer
603 views

How to run a program inside LuaLaTeX?

Is it possible to run a simple script inside LuaLaTeX or LaTeX? For example, I need to use the calculator from the terminal. I'd like to write $echo "100.83*4.53" | bc and obtain the result in ...
11
votes
1answer
861 views

MiKTeX’s LuaLaTeX and minitoc: “I can't write on file …mtc”

When compiling the code below with LuaLaTeX I get the error: "I can't write on file 'test.mtc'". Any ideas on how to resolve this? (Btw, the file test.mtc is there and contains the word "Contents") ...
42
votes
1answer
2k views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and I noticed that it takes long to process this part of the file. Today, I came across this website, which proposes ...
10
votes
2answers
262 views

Can I create a node list from some text entirely within lua?

I'm playing around with luatex and learning about nodes and callbacks. What I'd like to do is be able to add some text via a particular callback. The type of callback that I'm interested in is one ...
6
votes
2answers
358 views

More than one width of a glyph in LaTeX or LuaLatex

I don't know where I can ask about it. I have font with 2 or 3 versions of letter 'a'. How I can put this information to LuaLaTeX, LaTeX etc.? When the paragraph are breaking/making LaTeX made ...
1
vote
0answers
358 views

Typesetting a bilingual English-Hebrew book with facing pages in each language [closed]

How would one go about setting, say, a bilingual novel with the English translation on the left side of the book binding (the verso) and the original Hebrew text on the right side of the book (the ...
16
votes
4answers
19k views

Problem while compiling friggeri CV template with: ' fontspec error: “font-not-found”'

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this ...
7
votes
0answers
298 views

What are current pitfalls of using LuaTeX over pdfTeX [duplicate]

I know that there are several closely related older posts about LuaTeX. Using LuaTeX as a replecment for pdfTeX 3 LuaLaTeX and PSTricks Migrating from pdfTeX to LuaTeX As of recently I started ...
5
votes
0answers
154 views

luatex 0.76 failed to generate some ligatures [closed]

I installed texlive 2013 today. After installation, luatex cannot generate ligatures for "fi fl ff", but it can for `` '' ---. xetex works perfectly here, after update. MWE: \documentclass{article} ...
8
votes
1answer
436 views

Ligatures in (Graphite) TrueType fonts

When using ConTeXt MkIV (i.e. with the LuaTeX engine), I’ve noticed that ligatures don’t work properly for some TrueType fonts, even though they do work in LuaLaTeX or even LibreOffice. As far as I ...
2
votes
0answers
162 views

Is the current lualibs broken? [closed]

After the latest update to MiKTeX 2.9 it seems that my luatex installation is broken. I tried to track the error and I am not sure if it is a bug or something else strange. What happens is that the ...
6
votes
2answers
248 views

Funny but unreadable bookmarks with backslash in section

The following document gives me a "good" document, but garbled bookmarks. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{luacode} \usepackage[unicode]{hyperref} \begin{document} ...
8
votes
2answers
410 views

Adding an image in luatex

I would like to use Lua functions in order to reproduce the effect of \includegraphics{testimg}. This means that the image "testimg.pdf" would appear centered in the following example. ...
14
votes
1answer
699 views

Ancient Greek hyphenation in LuaLaTeX

Can anybody tell me the current state of hyphenation patterns in LuaLaTeX, especially with regard to Ancient Greek? I searched here on tex.sx and on the web. There are many mailing lists discussing ...
10
votes
2answers
151 views

The strange \luaescapestring in LuaTeX

\directlua{% local s = [[\luaescapestring{\TeX}]] print(s)} After \luaescapestring{\TeX}, I think I should get T\\kern -.1667em\\lower .5ex\\hbox {E}\\kern -.125emX then this line will be ...