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)

19
votes
5answers
2k views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
7
votes
1answer
307 views

AUCTeX changes name of pdf file when compiling with LuaTeX

I'm using AUCTeX with emacs 24.1 on Ubuntu 11.10. I have the TeX Command set to compile using LuaTeX and to produce pdfs. Everything works except that the name of the pdf changes from the file name ...
13
votes
1answer
905 views

When to use LuaJitTeX in favour of LuaTeX?

Since a few weeks LuaJitTeX is available ¹, which is LuaTeX with Lua replaced by LuaJIT. Binaries are available for various platforms. It is already included in the ConTeXt standalone distribution. I ...
9
votes
1answer
166 views

Expex glosses get broken when unicode-math is loaded in XeLaTeX and LuaLaTeX

I'm trying to typeset multiline numbered examples with John Frampton's expex package (version 4.1). Since I'm using XeLaTeX (TeXLive 2012), I've picked unicode-math to typeset maths. The ...
19
votes
4answers
1k views

How to read a file with luatex

I tried to read a file with lua and set the content as normal text in my document, but I didn't worked it out. Here my code: \documentclass{scrartcl} \usepackage{luatextra} \usepackage{filecontents} ...
10
votes
1answer
745 views

Bad position equation number Lualatex

If a math display is too wide, then the \eqno appears on the next line on the left instead of on the right as it should. Does anyone know how to solve this problem? This is an example: ...
7
votes
1answer
277 views

Trying to use FreeSerif as a maths font — what am I doing wrong?

Always in search of the ideal font combination unicorn, I thought I'd try the GNU Free UCS Outline Fonts (FreeSerif, FreeSans, and FreeMono). I seem to have fallen at the first hurdle: ...
6
votes
2answers
5k views

LuaLaTeX + fontspec: Font not found

This refers to my previous thread How to use the calibri font. I am using the Calibri font with lualatex. MWE: \documentclass[11pt,table,a4paper]{article} \usepackage{fontspec} ...
3
votes
1answer
242 views

bidi's undefined environments in (my) LuaLaTeX system

I typeset Arabic text with LuaLaTeX. I am using the following definitions and it works nicely: \newcommand{\arabtext}[1] % Arabic inside LTR {\bgroup\luatextextdir TRT\arabicfont #1\egroup} ...
30
votes
0answers
511 views

The Last Obstacle — Measuring sidebearings in LuaLaTeX [duplicate]

I've just realised that this question might be interpreted as a duplicate of Accessing side-bearings in LuaTeX, and therefore eligible to be closed as such. Apologies for the lapse of memory; I'll ...
6
votes
2answers
912 views

Does the lualatex shell enable behavior differ from pdflatex on purpose?

I am trying to use TikzEdt, an editor for TikZ graphics. For some tasks TikZ needs to call other commands so I tried to enable this by the parameter --shell-escape passed to lualatex (on Windows, ...
5
votes
1answer
289 views

MonTeX (mls, manju, mongolian) with Latin script with diacritics

I am using the montex package to type text in Manchu (manju). In my documents, I also use Latin script with diacritics. When I load montex, these diacritics no longer appear, and when characters with ...
2
votes
0answers
235 views

Conflict between luatex-ja and fontspec [closed]

I am using LuaLaTeX to write my thesis, because LuaLaTeX has better compatibility. However, now I found that there seems to be conflict between the package luatex-ja (which provides neccessary CJK ...
7
votes
1answer
284 views

Metapost intersectiontimes

In the code below intersectiontimes is not giving an intersection point of the two paths. Could anyone provide some guidance on how to find (and mark) the intersection points of the curves below? ...
9
votes
1answer
267 views

Spacing changes when using unicode-math range feature. Why?

You can use the range feature of unicode-math to set the math font for a specific unicode slots or the macro accessing the glyph. I tried this with the sum sign & Latin Modern, see my example: ...
0
votes
0answers
122 views

XeTeX, LuaTeX: a good investment? [duplicate]

Possible Duplicate: Drawbacks of XeTeX/LuaTeX I'm only writing in English and French. In order to get the best appearance (ligatures, spacing between words and letters...), would it be a ...
16
votes
3answers
2k views

Starting with TeX (not LaTeX)

I've been using LaTeX for 3 years and I'm decided to switch to (plain) TeX. For the moment I'm reading The TeXbook for the third time (I quietly start to read the double-danger signed paragraphs) and ...
11
votes
2answers
627 views

Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX

I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages. There are a number of questions comparing these TeX ...
4
votes
1answer
186 views

Can LuaTeX do something to alter linebreaks inside math inline automatically?

This is kind of a follow up to this question. Consider the sample code: \documentclass{minimal} \begin{document} A text with an inline equation which is broken in to two parts but is not wanted right ...
41
votes
4answers
1k views

Are XeTeX and LuaTeX platform dependent?

One of the main goals that Don Knuth had when developing TeX (other than the obvious one of creating high-quality documents) was a 100% platform independence. A document produced on one system should ...
7
votes
1answer
475 views

lualatex and string.format

I´m doing my first steps with lualatex and don´t understand, why the following code results in an error: \documentclass[ngerman, pagesize]{scrartcl} \usepackage{luatextra} \begin{document} ...
1
vote
0answers
384 views

How to assign distinct font, color and style to each sectioning environment of a document? [closed]

I am trying to compose with *TeX a document that looks like a GDR manual. Basically I need to set a different font, style and color for chapter, section, subsection and subsubsection labels. It is ...
38
votes
1answer
1k views

How to suppress a “Rare” ligature that pre-empts a “Common” ligature for the same character pair?

In several documents I'm creating with LuaLaTeX (using MacTeX2012 on a Mac that's running MacOS X 10.7.5), I primarily use the Adobe-issued font Garamond Premier Pro as the main text font. I use this ...
18
votes
3answers
1k views

Conflict between microtype, LuaLaTeX, and otf fonts when typesetting material in small-caps

I'm using the microtype package (microtype beta 2.5 build 08) to modify my document and I'd like to retain its functionality across all font shapes with the exception of small-caps (\scshape). How do ...
9
votes
1answer
745 views

Problems with \bm and LuaLaTeX

I recently started using LuaLaTeX (after years of just pdflatex) and I seem to be having trouble with the bm package. For example, when I try to compile the simple document: ...
9
votes
1answer
1k views

Speeding up latex/lua/tikz

I have a rather large LaTeX document in that it generates a lot of LaTeX code using lua (small .tex file on disk but large amount of generated LaTeX code). It is very slow to compile and takes about 1 ...
29
votes
3answers
1k views

Create bitmap within TeX file

I'd like to create a bitmap (black and white) from within LuaTeX (or pdfTeX) and rescale it afterwards. For example (a 4x4 bitmap) could be made by \makebitmap{0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0} I ...
7
votes
2answers
4k views

Changing typesetting engine from pdfLaTeX to LuaTeX in TeXnicCenter

How does one change the typesetting engine from pdfLaTeX to LuaTeX in TeXnicCenter? Is it sufficient to just change the path to the .exe in Build->Define Output Profiles?
6
votes
0answers
102 views

Differing hyphenation in xelatex and lualatex [duplicate]

Possible Duplicate: lualatex and line breaks after em-dashes I am working on a manuscript that can be compiled with either with xelatex or lualatex. The PDF output from xelatex looks ...
5
votes
1answer
1k views

How to use otf fonts correctly?

I'm using Linux. I'd discovered that is possible to run lualatex and use my system fonts. Well, I'm trying to see how they look like. Here is my sample: \documentclass[11pt,a4paper]{amsart} ...
51
votes
1answer
4k views

Frequently loaded packages: Differences between XeLaTeX and LuaLaTeX

Adding the missing member to pdfLaTeX vs. XeLaTeX and pdfLaTeX vs. LuaLaTeX, here's the last of the big three: XeLaTeX vs. LuaLaTeX. Where would a typical template for XeLaTeX differ from one for ...
1
vote
0answers
45 views

Footnote mark alignment with italic text [duplicate]

Possible Duplicate: superscripts with xelatex? (footnotes, natbib) I'm adding a footnote to a sentence that is italicized, and the placement of the footnote mark seemed to be off. I'm ...
7
votes
1answer
909 views

xelatex hangs when using fontspec

I'm using TexStudio 2.5.1 on Windows 7 with MiKTeX. The following brief .tex file will cause xelatex to hang: \documentclass[12pt]{article} \usepackage{fontspec} \begin{document} Test \end{document} ...
5
votes
1answer
551 views

Sawasdee Font in Beamer Poster

I'm trying to use the "Sawasdee" font in a beamer poster (installed as a TrueType font from fonts-tlwg-sawasdee ubuntu package). I can activate it in a regular (scractl) document by using ...
5
votes
1answer
330 views

Using savetrees with LuaLaTeX

Apparently I can't use savetrees with lualatex - is there another way to expand the writable area to the whole page (for US-letter currently, I think other people are interested in A4)? I get this ...
5
votes
3answers
471 views

Changing numbers font features while changing shape

I am writing a document with the main font set up with old numbers, but I would like to have the "normal" style in the tables. This works but one particular table has some of the numbers in italic and ...
6
votes
2answers
360 views

System-wide feature file in lualatex

I have a font (Dolly) with f_i and f_l ligatures, which requires a feature file to make them work. Everything works fine using the following: # dolly.fea languagesystem DFLT dflt; languagesystem ...
7
votes
2answers
691 views

XeTeX and Luatex fail to display correctly biblical hebrew fonts

My question is related to both XeTeX and LuaTeX; both fail to display correctly biblical hebrew fonts. More precisely, the text is truncated at some point, and the nikud (meaning something like ...
0
votes
0answers
56 views

Problems with largesymbols in mathptmx and LuaLaTeX [duplicate]

Possible Duplicate: problem compiling some ‘math’ using LuaLaTeX This is a MWE \documentclass{minimal} \usepackage{mathptmx} \usepackage{amsmath} \usepackage{lualatex-math} ...
7
votes
2answers
403 views

l3names error in lualatex (\reserveinserts{32})

I have the following 'test file' in which I am working, works without problems when compiling with '(La/Xe/pdf) TeX' but throws an error when compiling with 'LuaLaTeX': Package: l3names 2012/09/24 ...
11
votes
1answer
799 views

How to generate compounded diacritical fonts for Sanskrit with XeTeX and LuaTeX?

I'm trying to use diacritical marks for Sanskrit with a font that does not natively support all the marks (Minion Pro). So they are compounded somehow by XeTeX. This works almost fine in using: ...
15
votes
2answers
715 views

Bar plots in sans serif font

I want to typeset my bar plots with a sans serif font (using LuaTeX). I tried many options that I found searching the manual and the internet. None of them solved my problem---using different fonts ...
13
votes
1answer
448 views

fontspec: what does Renderer=Basic do?

I'm writing a document using LuaLaTeX on Windows, using Arial (please do not comment on that) as its main font with: \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} ...
7
votes
2answers
359 views

btex and etex in luamplib labels

I've been experimenting with METAPOST and in particular with luamplib. I found that I couldn't have tex typeset labels with the btex/etex construct as apparently is possible with straight up METAPOST. ...
10
votes
1answer
238 views

querying whether a font feature has been activated via a fontspec command

A LaTeX package I'm currently writing makes use of -- and definitely requires -- some of the power of LuaLaTeX. I would like to make my package's user interface -- in particular, the options that need ...
9
votes
1answer
287 views

How to raise a LaTeX warning from within Lua code?

I want to raise a warning from within Lua code. With advice from the LuaTeX wiki and LaTeX 2𝜀 for class and package writers, I arrived at the following (working) solution: \documentclass{article} ...
4
votes
1answer
389 views

subscript is set too low in math-mode with xits-math

I use unicode-math with xits-math as math font and asana-math for math double-struck symbols. I compile with lualatex, and my packages are from TeXlive 2011. Now, when use asana-math mixed with xits, ...
8
votes
1answer
498 views

Fix message about outdated xelatex

I'm a new to (La)Tex. The problem I'm having it that every output document (pdf) starts with Your xelatex format appears to be outdated!Please update your system and recreate it with fmtutil. ...
53
votes
2answers
7k views

microtype settings for dummies

More than a year ago, a friend of mine was totally excited about microtype features in LaTeX. He was talking about it quite a bit and then said to me: "Show me your document, let me add some lines of ...
5
votes
1answer
401 views

\settowidth in preamble wrong with fontspec+lualatex w/ MWE

I am getting some strange behaviour using luaLaTeX and a rather simple command definition. I am using TeXLive 2012, Linux x86_64. When \settowidth is used in the preamble to compute the width of some ...