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)

11
votes
1answer
368 views

How to use fakeslant as slanted but not italic font with fontspec?

Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around: \setmainfont[ AutoFakeSlant=0.15 ] {FontName} However, also if an ...
3
votes
1answer
337 views

Print font name using LuaTeX

I want to print font names (full name, ps name, file name, etc) using LuaTeX's font table. It works fine previously, but recently I encountered an error message from luaotfload Here is a minimal ...
9
votes
2answers
401 views

LuaLatex: How get ascii text from paragraph, change it and render again

Is possible to render paragraph in LuaTeX -> get ascii text with hyphenation -> put back text and render again? I have simple text: "Lorem ipsum dolor sit amet, conse... laborum." I need get this ...
6
votes
1answer
244 views

Macro to calculate \baselineskip for given font

I want to write a macro that returns the \baselineskip multiplied with a fixed value for a given font spec. That seems to be harder than I would imagine... after some fiddling I came up with this: ...
2
votes
0answers
415 views

Fontspec: Select minionpro font from local folder

I have the Minionpro Font files in the same directory as the master LaTeX file. When compiling, the path to the MinionPro fonts folder would be ../minion/ containing: ./MinionPro-Bold.otf ...
13
votes
3answers
1k views

Luaotfload: version mismatch

Compiling with LuaLaTeX and the recent update seems to produce some disturbance: ... ) (/usr/local/texlive/2013/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty ...
4
votes
0answers
371 views

Copy oldstyle numbers from pdf (Minion Pro) [closed]

I can't get LuaLaTeX (0.76.0-2013061707, current TeXLive) to produce a pdf with copyable (in adobe reader) oldstyle numbers with the Minion Pro font. I tried the method here, but I get the error ...
48
votes
4answers
11k views

Why choose LuaLaTeX over XeLaTeX?

There are questions on TeX.sX already about what the differences between LuaLaTeX and XeLaTeX are (Differences between LuaTeX, ConTeXt and XeTeX), what one should be keep in mind when going from ...
16
votes
2answers
759 views

Selecting optical sizes for all fonts in a family

XeTeX and LuaTeX are able to assign optical sizes to fonts when they are provided. In those situations where XeTeX or LuaTex are unable to correctly assign optical sizes I am able to specify them but ...
11
votes
3answers
763 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. ...
8
votes
3answers
620 views

Switching to an “enhanced” latex

I'm a long time LaTeX user and have a pretty efficient workflow already set up for writing LaTeX document, however I've pretty much missed the entire wave of "alternate" and "enhanced" LaTeX ...
24
votes
2answers
520 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
162 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
433 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
610 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
137 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
147 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
305 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
586 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
189 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 ...
6
votes
1answer
259 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
182 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: ...
5
votes
1answer
268 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
167 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
853 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
107 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
212 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
487 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 ...
7
votes
1answer
14k 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
363 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
408 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
557 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
722 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
595 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
265 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
958 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
265 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
383 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
501 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
400 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
264 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
398 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
482 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
286 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
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} ...