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)

8
votes
1answer
256 views

Problem with й (\cyrishrt) in LuaLaTeX [closed]

Initially I've asked a different question, but digging up I've found a true reason. The problem occurs when Cyrillic letter й is used with maths in another font in the same paragraph. Here is the ...
2
votes
2answers
275 views

Hebrew words causes strange errors with ConTeXt IV / LuaTeX

I am experiencing strange problems with ConTeXt IV / LuaTeX. I have some hebrew words which continues to throw following errors: error: /usr/share/texmf/tex/context/base/font-otn.lua:1809: attempt to ...
10
votes
2answers
695 views

LuaLaTeX:PGFplots can't read data passed by Lua

I wanted to give a LuaLaTeX answer to this question Here it is the listing I wrote: % !TEX encoding = UTF-8 % !TEX program = LuaLaTeX % !TEX spellcheck = en_GB \documentclass{standalone} ...
15
votes
3answers
5k views

How to set-up LuaTeX, Microtype, with Minion Pro, Myriad Pro

Since recently I am using LuaLaTeX with the most recent beta version of Microtype, along with the fonts Minion Pro and Myriad Pro. In the manual of Microtype it says: Currently, this package ...
5
votes
1answer
436 views

Loading fonts in LuaTeX (plain TeX)

I am trying to understand how fonts work with (plain) LuaTeX. I use the standard ConTeXt suite, and I made a luatex-plain format using the file luatex-plain.tex from the distribution: luatex --ini ...
5
votes
4answers
759 views

Layout Problems due to Using the Libertine Font in Beamer

Using Linux Biolinum as the sans font in beamer leads to layout problems for several themes. This seems to be related to a bug in the font, since it does not provide the right x-value, see here. I am ...
1
vote
0answers
77 views

Sorting tlpdb.tlu output [closed]

I get an output from tlpdb.tlu, which is unsorted. When I now use table.sort the output as a pdf is still unsorted. tlpdb = read_tlpdb( kpse.var_value("SELFAUTOPARENT") ) table.sort(tlpdb) Do I ...
5
votes
1answer
449 views

How to write infix macro/newcommand?

Is it possible to write a new command/macro in infix syntax instead of prefix syntax; especially I'd like to have this for $\frac{a}{b}$. I use LuaLaTeX and with \newunicodechar{‾}{\overline} I can ...
4
votes
2answers
169 views

How to suppress a line completely from a LuaTeX process_input_buffer callback?

I'm using a process_input_buffer callback to look at lines read from LuaLaTeX input before passing them on to TeX, to be processed as »verbatim« text (code and command examples). There are some lines ...
7
votes
1answer
799 views

How to pick a specific symbol from a specific font?

Using LuaLatex, I need two very specific symbols from two very specific fonts, namely from the ZapfDingbats and the WingDings font. I understand how I could use the fontspec package to set those ...
18
votes
3answers
1k views

In LuaLaTeX, how do I pass the content of an environment to Lua verbatim?

In LuaLaTeX, how would I go about capturing the content of an environment for (verbatim) processing by Lua? For example, consider something like \begin{foobar} Hello {World} \end{foobar} I'd like ...
28
votes
4answers
573 views

Any suggestions/requests for features for a new package that allows disabling ligatures for (pre)selected words?

I'm starting to put together a LaTeX package, which I hope to distribute broadly, that provides lualatex code to disable ligation of character pairs and triplets for selected words (globally within ...
6
votes
1answer
835 views

Font issue on using lualatex with beamer

I am trying to use beamer with lualatex to produce a presentation (MacTex 2011). Somehow, it doesn't seem to honor the font settings. See the sample below, is there anything I am missing here? ...
7
votes
1answer
709 views

Too much space after integral sign with unicode-math and lualatex

(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.) Consider the minimal example \documentclass{article} ...
5
votes
2answers
525 views

char to integer cast in latex

I am wondering what an integer in LaTeX is. I take this from pdfTeX release notes (2005-08-01) \pdfelapsedtime is a read-only integer that (initially) returns the amount of time passed ...
10
votes
2answers
728 views

Do XeTeX and LuaTeX always use Unicode?

I am writing some functions to manipulate strings. A typical way to produce a character with a given character code is the \lowercase primitive. The following code produces a character with code 234, ...
4
votes
1answer
509 views

Follow up question: TeX accents do not seem to work with fontspec and xe/lua/latex

This is a follow up to this question. How would the same look for the dot above? That is, what's the standard definition for \. ? Or does somebody in the meantime know a better solution to the whole ...
24
votes
2answers
660 views

Porting the luatex/ConTeXt module “translate” to lualatex

In this question, which I posted a few weeks ago to TeX Stack Exchange, I asked how one should go about disabling specific ligatures (such as ff, fi, fl, and ffl) automatically for a list of ...
4
votes
0answers
129 views

Access table of available fonts [duplicate]

Possible Duplicate: How do I get a list of all available fonts for luaotfload? I wonder if there is a possibility to display all available fonts in the normalised form (see below). The ...
4
votes
0answers
183 views

Is this a fontspec bug or a font bug [duplicate]

Possible Duplicate: Lining numbers not working in certain fonts I want to use the OpenType features of the Calibri font, but things are getting weird here! I am using LuaLaTeX from the ...
6
votes
1answer
839 views

Strange behavior of XITS Math in XeLaTeX for \underset and \underaccent commands

Prompted in part by the question Is there an "underscript" command?, I started wondering if the \underset (from amsmath) and \underaccent (from accents) commands work equally when using XeLaTeX ...
6
votes
2answers
473 views

Luatex and unicode math without unicode-math

I'm using fontspec in lualatex to get a OTF main font, but I'd like to use one of the good old math fonts (like the default TeX one). After trying different packages, I didn't manage to make it work ...
13
votes
2answers
3k views

Selecting main math font in LuaTeX?

I’d to set some fairly simple maths in Minion Pro (and potentially other system fonts), using LuaTeX.  I’d hoped that something like the following should work: \documentclass{minimal} ...
4
votes
1answer
951 views

LuaLaTeX and algorithm2e

The algorithm2e package seems to be not compatible with LuaLaTeX. For example, compiling the following code produces an error. \documentclass{article} \usepackage{fontspec} \usepackage{algorithm2e} ...
5
votes
3answers
953 views

How to get LuaLaTeX to work with babel's \textgreek?

I'm completely at a loss with how to get LuaLaTeX to output Greek text. I have tested the following MWE with PDFLaTeX and LuaLaTeX on both TeXlive 2009 (Linux) and TeXlive 2011 (Win32) and in both ...
6
votes
1answer
300 views

fakebold error in fontspec or lualatex

I have been trying to fake small caps which are not available in Myriad Pro. So I used the Scale and FakeBold options. Scaling is allright, but as you all know the glyphs slim out. To work against ...
2
votes
1answer
823 views

Why does lualatex return with exit code 1 even though a PDF was built?

Using TeXLive 2011, I invoke lualatex on a TeX file from the command line. The PDF builds (mostly correctly, although the source TeX file has many many errors and warnings, none fatal). However, the ...
11
votes
1answer
597 views

Reduce compilation time for opentype fonts (otf)

I have some opentype fonts (otf) which I use with fontspec. Everything works fine. During the compilation LuaLaTeX load the otf-files in a temporary file. For example: (load: ...
1
vote
3answers
2k views

LuaTeX: tex-text at 10 pt not loadable [closed]

I am trying to use LuaTeX with Linux Biolinum. It works fine with XeLaTeX, but when I'm running LuaLaTex, it gives me the following error: ! Font ...
9
votes
2answers
1k views

British hyphenation with either xelatex or lualatex

For several reasons, I am working on a source file that should be compilable by either xelatex or lualatex. I would like British hyphenation for the text and am using csquotes and biblatex with ...
9
votes
1answer
372 views

Why does fontspec change the maths accents (and only with lualatex)?

In the minimal example that follows luatex doesn't place the accent correctly (it's too far left): \documentclass{minimal} \usepackage{fontspec} \setromanfont{Linux Libertine O} \begin{document} ...
8
votes
1answer
161 views

How to check for Lua definitions

When there is \directlua{x = 25} one can say \edef\rgf{\directlua{tex.sprint(x)}}, but when x was never created by \directlua{x = 25}, \directlua{tex.sprint(x)} will fail. Thus something like ...
5
votes
2answers
777 views

Asana-math + LuaTeX : missing greeks/arrows

After recent update of Asana-Math (packaged for MiKTeX on 2011-10-11) I noted that Greek letters and various arrows disappear from PDF file after it was saved from within Adobe Acrobat 10 (via the ...
39
votes
1answer
3k views

Which Lua environment should I use with LuaTeX (LuaLaTeX)?

Lua code environment I moved on to XeTeX (XeLaTeX) a while ago. I was using pdfLaTeX before that, but now I'm quite comfortable with XeLaTeX. Now, I'd like to use LuaLaTeX to embed Lua in some LaTeX ...
17
votes
1answer
330 views

Analog of \pdfelapsedtime for LuaTeX and XeTeX

In pdfTeX, the \pdfelapsedtime primitive gives access to the time since this pdfTeX run was started, in "scaled seconds" (1/65536 seconds). This is useful to benchmark code: repeat it many times, and ...
35
votes
3answers
4k views

Using LuaTeX as a replacement for pdfTeX

In this question Differences between LuaTeX, ConTeXt and XeTeX various differences between LuaTeX and XeTeX (and ConTeXt) are discussed. And in this question Using XeLaTeX instead of pdfLaTeX a recipe ...
3
votes
1answer
336 views

microtype character code

I am using lualatex This is LuaTeX, Version beta-0.70.1-2011062107 (rev 4277) with microtype [2011/08/18 v2.5 <beta-07> Micro-typographical refinements (RS)]. My computer has an american ...
4
votes
2answers
504 views

LuaLaTeX: mkluatexfontdb does not include Type-1-fonts ( = *.pfb-files)

I'm running texlive 2011 on a Linux machine. Years ago I bought some Type 1 fonts, namely Rotis. They have been installed properly and Libre Office e.g. can print them. But running mkluatexfontdb -v ...
13
votes
2answers
5k views

Specify different fonts for bold and italic with fontspec

The main font I use for my LuaLaTeX document lacks bold and italic variants. I'd like to specify a different font for those variants using the fontspec package. Initially what I had in my preamble ...
5
votes
1answer
1k views

Can one instruct LuaLaTeX to use T2A encoded fonts?

As it is stated in answer to Can XeTeX | LuaTeX use MetaFont fonts?, LuaLaTeX can use MetaFont fonts. If so, how can one instruct LuaLaTeX to use T2A encoded fonts (e.g. cm-super) to typeset ...
3
votes
1answer
657 views

Can XeTeX | LuaTeX use MetaFont fonts?

Can XeTeX | LuaTeX use MF fonts invented for TeX ? By default (when fontspec package is not loaded) they load Latin Modern fonts as the following exception from eu1enc.def file shows: ...
11
votes
2answers
772 views

How can I enable italic correction for LuaTeX?

LuaTeX ignores mathematical italic correction by default, as noted by Khaled Hosny. This leads to some awful errors when using some alphabet which is very slanted, like XITS' mathematical script ...
3
votes
2answers
358 views

Umlauts in label

I'm using LuaLaTeX and wonder why I cannot label theorems with words containing umlauts. For example: \documentclass[a4paper,12pt]{article} \usepackage{luatextra} \usepackage[utf8]{luainputenc} ...
0
votes
1answer
1k views

TeX Live manager 2011 database corruption?

TeX Live 2011, up to date, on Windows XP. Example: \listfiles \documentclass{article} \usepackage{fontspec} \begin{document} A \end{document} LuaTeX first error: LaTeX Warning: You have requested, ...
8
votes
2answers
581 views

Who maintains babel now?

Who manages babel now? It is said on CTAN that Johannes L. Braams is no longer active on this package. I'd like to contribute babel's support for Russian in LuaLaTeX.
0
votes
2answers
225 views

Conditional \endinput

I want to prevent processing rest part of a package in case if it is loaded not from lualatex. For some reason I cannot load ifluatex package, so I borrowed definition of \ifluatex from that package ...
3
votes
0answers
1k views

Is LuaLaTeX our future? [closed]

I've read somewhere that LuaTeX is choosen to be mainstream for LaTeX development? Is it really true? E-TEX: Guidelines for Future TEX Extensions -- revisited says nothing about that. I mean where is ...
9
votes
1answer
348 views

What is the implication of the warning in the fontspec manual with respect to babel and LuaTeX?

In the fontspec manual, there is a section on LuaTeX that states: babel   The babel package is not really supported! Especially Vietnamese, Greek, and Hebrew at least might not work ...
6
votes
1answer
502 views

Can luaLaTeX convert xlsx tables into LaTeX code?

Inspired by this question: Using external tables in TikZ, I would like to know whether it is technically possible to use a xlsx (Office Open XML) file directly with luaLaTeX, i.e. can luaLaTeX call ...
5
votes
1answer
715 views

Can I use Wolfram Mathematica fonts in XeTeX / LuaTeX?

Wolfram Mathematica comes with full (?) set of math fonts. Is it possible to use these fonts in XeLaTeX and LuaLaTeX? I mean something like \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} ...