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)

24
votes
2answers
534 views

Will LaTeX work on any TeX?

As I understand it, latex is simply a macro package for tex, as in tex the program, not the format. (Again, weird, but I understand LaTeX to be a format of TeX.) Does this imply that LaTeX the ...
3
votes
0answers
168 views

How to use a lualatex FeatureFile to adjust sidebearings in math mode?

I am trying to use Linux Libertine as a letter font (and a bit more) in math with unicode-math and luaLaTeX. It should be good to adjust some details, and I hoped to be able to do it with a .fea ...
6
votes
3answers
446 views

Convert numbered pinyin to pinyin with tone marks

Is there any package which can convert numbered pinyin (e.g. dian4 nao3) to UTF-8 pinyin with tone marks (e.g. diàn​ nǎo)? I found this (http://stackoverflow.com/a/8200388/2421048) Python script, so ...
6
votes
1answer
646 views

Monotype Gill Alt One MT and the fi fl ligatures

I have previously received help with getting the fi and fl ligatures working with the Berling font and now I found myself trying to do the same with the Gill Alt One MT font. The same approach does ...
1
vote
0answers
138 views

LuaTeX error “Parsing CFF DICT” [closed]

The following code is a minimal example of a problem I am having often in some of my documents. When compiling with lualatex with the x86-64-linux binary (in TeXLive 2013 with the latest updates) ...
0
votes
0answers
62 views

MacTeX 2013 takes ages to compile [duplicate]

I am sorry that this is not a very specific question. Since I updated to 2013 I haven't been able to compile a single document. To be honest, neither did I let one of the many compilation processes I ...
5
votes
1answer
150 views

Using lua code to obtain rules of different lengths

I started to learning LuaLateX nowadays and I'd like to get some rules with increasing lengths, but I can't figure out why this simple code doesn't give the desired output: \documentclass[11pt]{book} ...
3
votes
1answer
310 views

What does “LuaTeX error cannot read stdin: Bad file descriptor.” mean?

I'm trying to compile with LuaLaTeX for my first time but don't get results. The goal is to get microtype to work with the standard font for scrreprt (Latin Modern I think). Or maybe to check out ...
5
votes
1answer
590 views

Microtype and LuaTeX: changing protrusion and hanging punctuation

I'm experimenting (using TeXLive 2013) with having my punctuation marks extend fully into both the left and right margins. I don't know how to include images so I'll do my best to format this here to ...
5
votes
1answer
196 views

“! Argument of \xpg@nospace has an extra }” error message with polyglossia

I use a code – to be found at the end – for long citations in the french tradition. When I use french quotation marks inside such a long citation, I have no problem on compiling with xetex if I load ...
7
votes
1answer
270 views

Getting lilyglyphs working in LuaTeX

The package lilyglyphs provides a set of macros for incorporating Lilypond fonts easily into XeLaTeX files. That package is available here. I am using TeXLive 2013. With the following MWE it works as ...
2
votes
2answers
185 views

How to *disable* Lua's Microtype for a given tabular column?

I'm looking for a way to disable Lua's Microtype (note the capital M - to distinguish from the lower case microtype package) in the first tabular column of the MWE given below: \documentclass[a4paper]...
5
votes
1answer
275 views

Setting variables in LuaTeX texconfig?

The LuaTeX documentation mentions that several variables are accessible by setting a table called texconfig. In particular I want to reduce the output a bit by setting trace_file_names to false. ...
4
votes
1answer
174 views

Environment variable TEXEDIT doesn't work with LuaLaTeX (?)

I like the ability to press e when running pdflatex in errorstopmode to jump directly to the line where the error occurs in my favourite editor. This works fine for pdflatex and xelatex as long as ...
6
votes
1answer
876 views

Possible LuaLaTeX Problem (compilation seems to hang)

I asked a question earlier, where I had problems with my font specification, since I am using LuaLaTeX with Caslon. I am on Win 7 with TeXLive 2013 (up to date). The file compiles just fine with ...
1
vote
1answer
108 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} \usepackage[...
9
votes
1answer
220 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
86 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
501 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 ...
8
votes
1answer
15k 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
371 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
420 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
567 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
736 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: \usepackage{...
4
votes
0answers
598 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
279 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
986 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
304 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
270 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. \documentclass{...
5
votes
2answers
389 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} \begin{document}...
8
votes
1answer
519 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
408 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
266 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
403 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
493 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
289 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'' \end{...
1
vote
0answers
52 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} \begin{...
2
votes
0answers
153 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
884 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 %|"C:\...
7
votes
1answer
736 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
218 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
430 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
799 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
542 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
260 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
106 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
631 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
122 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, ...