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)

21
votes
0answers
741 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 ...
19
votes
0answers
174 views
+100

Replacement(s) for TeX's paragraph builder using LuaTeX

The LuaTeX engine provides a callback that allows you to replace the built-in paragraph builder by your own algorithm. My question is twofold: does there exist a lua implementation that fully (or ...
18
votes
0answers
256 views

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS). I have ...
17
votes
0answers
348 views

wxLua in LuaLaTeX

I have some problems using wxLua in LuaLateX. This works: lua simpleui.lua (print instead of tex.print) But if i try this: lualatex wx.tex it doesn't work. \documentclass{article} ...
12
votes
0answers
448 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 ...
8
votes
0answers
111 views

How to pass a LaTeX argument verbatim to lua?

I would like to pass an argument verbatim from LaTeX to lua including LaTeX commands and end of line characters. The example below takes care of the former issue, but not of the latter. Is there a ...
8
votes
0answers
210 views

Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \listfiles \usepackage{fontspec} \setmainfont[Ligatures={Common,Rare}]{Hoefler Text} \begin{document} ff fi fl ffi ffl ...
7
votes
0answers
4k views

eps-converted-to.pdf not found

I was trying to include a figure in LuaLatex, but got an error message of !Package pdftex.def Error: File 'test-eps-converted-to.pdf' not found. The same code run in pdfLaTex+MakeIndex+bibTex. ...
6
votes
0answers
34 views

Misplaced Accents in Cyrillic Text

In educational material for the Russian language and linguistic literature the need to put accents on Cyrillic vowels often arises. However when I tried to do this with luaLaTeX the accents where ...
6
votes
0answers
142 views

Can LuaTeX create HTML?

I hear that LuaTeX provides access to internals of TeX. Is it possible to modify the output routine with LuaTeX so that HTML is produced instead of DVI or PDF? If possible, are there any projects ...
6
votes
0answers
174 views

Does LuaTeX access write18 differently from pdftex?

Im trying to make a speedup-option for gnuplottex using md5 checksums. This works like a charm for pdftex, but it fails for LuaTeX. The comparison of the checksums work, the difference occurs when ...
5
votes
0answers
50 views

xdvipdfmx parse error when using particular font with fontspec

I am using the font IM FELL English PRO (open-source otf here) via the fontspec package, and when I tried typesetting the characters \"{a}, \'{n} or \"{o}, I got this error: xdvipdfmx:fatal: Type2 ...
5
votes
0answers
60 views

Eadui font and luatex

Eadui, based on the hand of an eleventh-century scribe, is freely available at the Open Font Library. I can use Eadui easily with xelatex, but lualatex produces a puzzling error. For example: ...
5
votes
0answers
123 views

LuaLaTeX - Problem with defining Cambria Math only for special font types

I've got a problem, that I can't fix. As soon as I try to use Cambria Math as font for \mathscr and \mathbfscr I get a "missing \endcsname inserted" as error. I'm new to LuaLaTeX so I simply ...
5
votes
0answers
61 views

Namespace in luatex

Is it possible from luatex access registers where all names of command sequences are stored. Is it possible to pull out this list of names? I am looking for a way to trace how namespace changes during ...
5
votes
0answers
120 views

How to use punctuation marks in LuaLaTeX with unicode-math?

I also posts this here: http://texwelt.de/wissen/fragen/3000/interpunktion-in-lualatex-mit-unicode-math-von-hauptschriftart. The problem is that I want to have the \period symbol (also range="002E ...
4
votes
0answers
61 views

Is it the best or simpliest way to use a lua variable in LaTex Code?

\documentclass{article} \usepackage{luacode} \begin{document} \begin{luacode} for i = 1,10 do a = math.random(0,10) ; tex.print("--") tex.print("$\\sqrt{"..a.."}$") % <- simpliest ? ...
4
votes
0answers
125 views

LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS)

I'm probably missing something obvious. I'm using MacTeX 2014. I want to use the font Optima that ships with the Mac OS (10.8.5) -- it is a .ttc font. If I typeset the following TeX file I get no ...
4
votes
0answers
85 views

How to typeset a letter or grapheme specimen with alternates?

I want to print a font specimen for certain letters, each of which should cover a complete A4 page. The Open Type font contains many letters with several glyphs, which are accessible as character ...
4
votes
0answers
55 views

How to hyphenate Russian text with dvilualatex?

I'm failing to hyphenate Russian text with LuaTeX in DVI mode (dvilualatex). Please, don't tell me to use fontspec I need a DVI file. MWE: \documentclass{article} \usepackage[T1,T2A]{fontenc} ...
4
votes
0answers
48 views

LuaTeX readline encoding

Must LuaTeX's \readline use latin-1 encoding? In the example below, I first store é in a file (well, and ^^J) which works well. Then I read it back in, using \readline and get two characters é (and ...
4
votes
0answers
78 views

LuaTeX/ConTeXt connect to SQL Server

I am looking to connect ConTeXt to a SQL Server database. I have looked through the manuals, and even read pragma-ade's SQL PDF (which, for me, seems a bit abstract). I am not extremely familiar with ...
4
votes
0answers
160 views

Querying a SharePoint list and typesetting the response with LuaLaTeX

I would like to generate some reports from data stored in SharePoint lists. It is possible to query the lists using web services and retrieve the data in a xml data format. For example, sending a ...
4
votes
0answers
253 views

Tufte-book under XeTeX

I am trying to use tufte-book with either XəLaΤεχ or LuaΤεχ. Both give me a ‘Missing \begin{document}’ error, which is obviously not the real cause as it is indeed there. The whole skeleton I am ...
4
votes
0answers
143 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 ...
4
votes
0answers
414 views

How should I use an alternative font such as TeX Gyre Pagella? LuaLaTeX?

I have long been using the TeX Gyre Pagella font for my documents. However, like many users, when I'm trying to find out how to customize documents by searching StackExchange (or often) googling, ...
4
votes
0answers
269 views

Copy oldstyle numbers from pdf (Minion Pro)

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 ...
4
votes
0answers
210 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. ...
4
votes
0answers
355 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. ...
3
votes
0answers
67 views

Synctex in Texmaker and LuaLaTeX

I am using Texmaker 4.3 and LuaLaTeX. I have set the "-synctex=1" option to the pdflatex command. But the built-in pdf viewer will not jump directly to the position in the PDF file that corresponds to ...
3
votes
0answers
46 views

Using pstool with LuaLaTeX

I am trying to use psfrag in conjunction with pstool an LuaLaTeX to replace a tag in an .eps plot generated with gnuplot. I'm not sure if pstool is generally working with LuaLaTeX, however, the ...
3
votes
0answers
89 views

How to get box dimensions within lualatex

I'm new to lualatex, which looks phenomenal. I wonder what the easiest way is to access the dimensions of a box from within lualatex. I intend to use it in more complicated situations than this (as ...
3
votes
0answers
65 views

Combining diacritical mark is misaligned with luatex, but not with xetex

Consider the following code: \documentclass{article} \usepackage{fontspec} \setmainfont[BoldItalicFont = {* Semibold Italic}]{Linux Libertine O} \begin{document} \textit{\textbf{V\char"0306}} ...
3
votes
0answers
93 views

External PDF from pgfplots contains several pages when with floatrow

Plotting with pgfplots and the external library creates the single PDFs for every plot as wanted. But every of those PDFs contains several pages, each showing the same plot. Sometimes there are three ...
3
votes
0answers
200 views

Compiler error “save size exceeded”

I have a problem with compiling my thesis. Due to a new plot I inserted, it lo longer compiles. According to this guide, i increased the limits for lualatex as follows: pool_size=5000000 ...
3
votes
0answers
47 views

Getting the filename of the current input from within “show_error_hook”

In the luatex reference guide, status.filename is described to return "the name of the current input file". The luatex wiki describes how to use this along with show_error_hook to produce better error ...
3
votes
0answers
169 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 ...
3
votes
0answers
702 views

PDF images not showing up with lualatex/pdflatex

I am trying to include an image in PDF format into my document as a figure. When compiling with lualatex or pdflatex, the image does not appear. If I take that very PDF image and convert it to PNG and ...
3
votes
0answers
61 views

How to debug error message from luaotfload-database.lua

I am beginning to think it was a really bad idea to update to TeXLive 2013. Since this update almost none of my old documents compile any longer. Does anyone have any idea what LuaLaTeX is trying to ...
3
votes
0answers
175 views

Having Problem using math environment in LuaLaTeX

I am at learning stage of LaTeX. While working with lualatex with fontspec package, i am not being able to use any math environment. My document's preamble: \documentclass[a4paper, 14pt]{memoir} % ...
3
votes
0answers
97 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 ...
2
votes
0answers
41 views

Using Lua in listed elements (List of Figures, List of Tables, List of Content)

I am not sure if I use the wrong approach or if this is an issue in LuaLaTex in general. I tried to integrate some internationalization (I18n) to our documentation framework using Lua. Long story, ...
2
votes
0answers
124 views

Small caps font is not enabled with fontspec and MinionPro

I can't make lualatex generate small caps font when I use MinionPro as my main font: \documentclass[a4paper,justified,nobib,notoc]{tufte-book} \usepackage{fontspec} \title{ABC} \author{Arthur ...
2
votes
0answers
67 views

Error when using luaotfload-tool

i am trying to install Myriad Pro at my Ubuntu PC to use it with Lualatex and fontspec. The font is correctly installed and can be used in LibreOffice. fc-list | grep -i myriad -> Myriad ...
2
votes
0answers
83 views

LuaLaTeX error when compiling visual counter

I asked a question about visual counters in beamer, for which I got this answer. Now I need to compile it by LuaLaTeX in order to use the package luapersian(below code), but it returns some errors. ...
2
votes
0answers
118 views

generating combining characters in LuaLaTeX with Garamond Premr Pro

I'm trying to produce the œ́ character using Garamond Premier Pro in LuaLaTeX. I'm using fontspec in TeXLive 2012 to load the font. I seem to recall having had success doing this rather easily with a ...
2
votes
0answers
99 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
0answers
99 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
122 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 ...
2
votes
0answers
114 views

Is this the best way to make two landscape pages for each portrait page?

With the new age I get large amounts of text in pdf format to read and assess. Initially I used perl code to add headers and then create a tex file that has a toc and a section per submission which I ...