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
147 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 ...
6
votes
0answers
452 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
223 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
152 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
1answer
167 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} ...
5
votes
1answer
242 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 ...
9
votes
1answer
233 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
199 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
96 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
207 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
247 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} ...
5
votes
1answer
155 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
44 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
74 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
291 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 ...
5
votes
1answer
357 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
114 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 ...
1
vote
0answers
151 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: ...
4
votes
0answers
297 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
242 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
167 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
90 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 ...
4
votes
0answers
271 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
94 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, ...
5
votes
1answer
198 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
444 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") ...
13
votes
0answers
512 views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and noticed it takes long to process this part of the file. Today I came across this website, which proposes a trick ...
9
votes
2answers
144 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
263 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
187 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 ...
8
votes
1answer
6k views

Problem while compiling template CV 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
285 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
136 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} ...
7
votes
1answer
245 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
130 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
137 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} ...
7
votes
2answers
132 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. ...
12
votes
1answer
327 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
105 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 ...
7
votes
1answer
177 views

How to substitute one glyph sequence for another with OTF feature files in LuaTeX?

I am trying to do some sequence-for-sequence glyph replacement. As far as I can tell from the Adobe spec, the LHS and RHS of a "sub … by …" rule cannot both contain multiple glyphs; and in any case, ...
4
votes
0answers
86 views

Pgfplots closes plot cycle when it should not [closed]

I experience a strange behaviour with pgfplots. I plot a series of datasets with no problems, but suddenly when I plot my last set of data, a line is drawn from the last point back to the first ...
6
votes
2answers
367 views

error with LuaLaTeX, lstinputlisting and an extension-less file

I'm having troubles with LuaLaTeX and the listings package: the former doesn't seem to accept me performing \lstinputlisting on a filename that doesn't have an extension. Minimal example: Makefile: ...
7
votes
1answer
122 views

Count character in line

I have chapter and on end of each line I would write counter of chars, and before text line write a line sized of counts of chars. Please solution in LuaTeX. My LaTeX code \begin{document} ...
7
votes
1answer
336 views

luatex cannot find font metric data

After installing TeX Live 2012 in a non system directory (not sure if this makes a difference) and running some of the tests found at TeX Live Install, LuaTeX can't find the example font metrics even ...
12
votes
0answers
334 views

Libertine Mono and lualatex [closed]

Using lualatex on latest TeXLive 2012 I am not able to select Libertine Mono by its full name via fontspec. luaotfload is finding the font and it is written into ...
4
votes
1answer
77 views

process_input_buffer callback in LuaTeX [closed]

I try to play with the callback function process_input_buffer provided by LuaTeX, but unluckily I don't get what I expect. The manual said that This callback allows you to change the contents of ...
3
votes
0answers
157 views

latest updates to lua* break … something [closed]

So, now, after most recent (23 Apr) updates (I'm using MiKTeX 2.9) to various things related to lualatex, I noticed that compilation of anything takes twice as long as it did (say) 10 minutes ago ...
10
votes
1answer
142 views

What does \luaescapestring do for us?

It seems that all TeX command are expanded into unexpandable tokens (say, TOKENS1) and these token are converted into some other tokens (say, TOKENS2). For example \directlua{ local var = ...
3
votes
0answers
108 views

copy&paste: diacritics and special characters [closed]

Why can't I correctly copy&paste from my pdf documents (created by LuaLaTeX)? E.g., I get Faḫr al-Din̄ al-Rāzī instead of Faḫr al-Dīn al-Rāzī. Surprisingly, most other things (including Arabic ...
1
vote
0answers
118 views

bookmarks: diacritics, umlauts and special characters [closed]

Why are the bookmarks in my pdf documents (created by LuaLaTeX) not correct? E.g., I get Faḫr al-DÄ«n al-RĆzÄ« instead of Faḫr al-Dīn al-Rāzī. In general diacritics, umlauts and special characters ...