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}.
6
votes
2answers
723 views
luaotfload can’t find fonts
I am using MiKTeX 2.9 on Windows. luaotfload does not find the fonts located in the MiKTeX-maintained root directory (which is C:\Program Files (x86)\MiKTeX 2.9\ on my system) and I am therefore ...
0
votes
0answers
51 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
1answer
207 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:
...
7
votes
2answers
159 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 ...
7
votes
1answer
429 views
Is it possible now to use microtype with opentype fonts?
LuaTeX has limited support for microtypograhpy now, and it can be invoked if only type1 fonts are used. But is it possible for microtype to work with opentype fonts loaded with fontspec now? I have ...
5
votes
1answer
353 views
lualatex: smallcaps and microtype don't work together
Compiling the following MWE with lualatex doesn't produce small caps.
There are no font warnings.
\documentclass{article}
\usepackage{fontspec}
\newfontfeature{Microtype}{protrusion=default, ...
6
votes
1answer
161 views
Inject LaTeX code 1:1 with LuaLaTeX
I would like to automate the creation of some beamer slides using LuaLaTeX. These are my first steps with LuaLaTeX so please excuse my ignorance.
\documentclass{beamer}
\begin{document}
\directlua{
...
8
votes
2answers
172 views
A bug in fontspec, lua(la)tex, or the Junicode font?
Consider the following MWE:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Junicode}
\setsansfont[Scale=MatchLowercase]{HelveticaNeue}
\setmonofont[Scale=MatchLowercase]{Consolas}
...
11
votes
1answer
352 views
How to find out which glyphs are different in an OpenType style set?
With fontspec, and XeTeX or LuaTeX it's possible to access a font's OpenType features, including the Style Sets, e.g. like this:
\addfontfeatures{RawFeature=+ss01;+ss18}
TeX.sx has already taught ...
11
votes
1answer
190 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}
...
10
votes
1answer
166 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
141 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
174 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
185 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.
...
1
vote
3answers
476 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 ...
4
votes
1answer
112 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 ...
2
votes
1answer
248 views
Problem with fontspec and EBGaramond
Im trying to typeset a book using fontspec and the EB Garamond font. I try first to use Lualatex because I wanted to experiment with some features of the impnattypo (french typography) package. ...
9
votes
3answers
812 views
Matrix multiplication (and other operations) macro using lua module
I am hoping to be able to create a macro to multiply matrices using a lua module. The module is here:
https://raw.github.com/davidm/lua-matrix/master/lua/matrix.lua
As suggested to me in a previous ...
5
votes
0answers
226 views
Problem with LuaTeX : can't write on the .aux file at second pass [closed]
I use MiKTeX 2.9 for Windows, format Plain eTeX. I have my own macro package which I've used for years, and I tried recently to use it with LuaTeX (included MiKTeX version) in order to use UTF-8 ...
3
votes
1answer
193 views
LuaLatex package: \dofile results in error “no such file or directory”
I've written some macros that randomly selects questions from a database to include on an exam. The start of my .sty file reads as follows:
\NeedsTeXFormat{LaTeX2e}
...
0
votes
0answers
154 views
LuaLaTeX compiles on mac but linux requires XeLaTeX [closed]
I have a source file using ttf fonts which I compile fine on my mac using LuaLaTeX.
Mac version:
$ latex --version
pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012)
kpathsea version 6.1.0
Copyright 2012 ...
5
votes
0answers
225 views
How to make compilation faster? [closed]
I have a rather large document (about 150~200 pages) with plenty of cross-references. I can, of course, use \include and \includeonly, but I do not only have new chapters, I also use \input for ...
9
votes
1answer
256 views
Is direct utf8 input of combining diacritics in math mode possible with lualatex?
I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue:
\documentclass{minimal}
...
3
votes
2answers
184 views
Problem with Greek language
I am trying to write an essay in Greek and I type Greek characters but it doesn't compile. I have downloaded both greektex and program Babylon but it seems that I can't make them work.
3
votes
1answer
99 views
Passing environment to \luatexluaescapestring fails
Can anyone explain why the macro \makequesone below fails and/or suggest a fix? The verbatim option works (as in the MWE) but I would like the content of the argument to be able to contain relatively ...
8
votes
2answers
206 views
How do I customize a LuaLaTeX cmap?
I'm working on a system that uses database content to produce PDFs in a variety of languages. I'm currently working on Armenian.
What we've developed so far uses pdfLaTeX. I made a special encoding ...
29
votes
3answers
2k 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 ...
6
votes
0answers
138 views
Contextual Substitution with LuaLateX
Contextual substition doesn't seem to work with LuaLateX, while it works fine with XeLateX. Am I doing something wrong or is this a bug?
\documentclass{article}
\usepackage{fontspec}
...
3
votes
1answer
174 views
Best way to use Linux Biolinum Keyboard with fontspec?
I am trying to typeset keyboard shortcuts in my document, e.g. "CTRL + SHIFT + S". The Linux Libertine font family includes a nice keyboard font that I would like to use. What's the best way to use it ...
10
votes
1answer
271 views
Lualatex and Syriac (initial, middle and final letters)
I have heard that it is possible to typeset Arabic texts with Lualatex, so I assume that it is also possible to typeset Syriac texts with LuaLatex. But when I run the following example, the output is ...
8
votes
2answers
157 views
\ifpdf returns true when using LuaLaTeX
The ifpdf package is supposed to detect if pdfTeX is running:
This package looks for pdfTeX in pdf mode and implements and sets the switch \ifpdf.
(from the ifpdf documentation)
However, when I ...
26
votes
1answer
740 views
Why does it take LuaLaTeX so long to load fonts and can I speed it up?
To test Mico's upcoming selnolig package, I tried out LuaLaTeX. While the overall experience for me as a pdfLaTeX end-user was very similar, I noticed that LuaLaTeX takes a long time to load fonts. ...
8
votes
2answers
247 views
Compound representation of numbers. Possible?
I’ve got a Glagolitic font (Epistula Croatica) with letters mapped to numbers and some ligatures programmed. I don’t want to describe the nature of the Glagolitic numeral system here but to present ...
1
vote
0answers
1k views
The fontspec package requires either XeTeX or LuaTeX to function [closed]
I am not an expert in LaTeX, but I was writing a paper, everything was going fine, until it suddenly crashed giving me the error:
The fontspec package requires either XeTeX or LuaTeX to function.
...
2
votes
3answers
636 views
How to use Times Roman (Nimbus Roman) with fontspec under Linux and LuaLaTeX
Times Roman under Linux is usually Nimbus Roman. If I use the times package, Nimbus Roman will be embedded successfully, as a Type 1 font.
Now I want to use the fontspec package to load it. This a ...
10
votes
1answer
353 views
ledpar: Get rid of any space between paragraphs while retaining the synchronization of the pagecontents
My question: Is there a way to simply get rid of any space between the paragraphs of ledpar- while retaining the pagesynch? (I understand that synchronizing paragraphs is a feature of ledpar, put I ...
24
votes
2answers
1k views
Frequently loaded packages: Differences between pdfLaTeX and LuaLaTeX
I'm in the process of switching my LaTeX document from pdflatex to lualatex. Similar to Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX I would like to know, what are typical ...
6
votes
1answer
141 views
luacode and ExplSyntaxOn/Off
I'm trying to build some sort of an interface to a lua matrix module. I've navigated a few issues and arrived at something that I felt like I could probably modify to work. Anticipating the need for ...
0
votes
1answer
177 views
Problems with undefined reference in beamer [closed]
I have some problems understanding why I get a warning about a undefined reference, which won't go away no matter how many times I compile my document. This has occured in several documents the last ...
6
votes
1answer
88 views
Luatex Pattern matching %b
I have never tried to include Lua code in a document before so please be gentle. I am after a pattern matching expression that will eventually take (stuff1)->(stuff2) and replace it with ...
5
votes
4answers
893 views
fontspec LuaTeX error
I have installed "ProTeX" with "TeXstudio 2.3" & "Miktex 2.9".
I get an error
! The fontspec package requires either XeTeX or LuaTeX to function
when I attempt to run
\documentclass{article}
...
8
votes
2answers
1k views
pgfplot: plotting a large dataset
I try to plot a dataset which is large using pgfplots. Since I'm aware of problems with large files, I used the external mode. I additionally increased main_memory from 3000000 to 6000000. It crashes ...
13
votes
1answer
584 views
TeX accents do not seem to work with fontspec and xe/lua/latex
I am using Minion Pro as mainfont and it does not have in its glyph table the character U+1E47 Latin small letter with dot below which I need only once in my document. Rather than change to another ...
10
votes
1answer
549 views
using Hoefler Text font under lualatex and MacOSX
I'm having unexpected problems getting the "Hoefler Text" font to work when using LuaLaTeX (under MacTeX2012, all the latest updates installed) on a Mac (MacOS X 10.7.4). The following MWE
...
0
votes
0answers
64 views
fonts and lualatex [duplicate]
Possible Duplicate:
How do I use a particular font for a small section of text in my document?
I am begining with LuaLaTeX and I have some basic questions.
First of all how can I change ...
14
votes
3answers
767 views
Hiring someone to help me with LaTeX for my PhD thesis
I do not know whether this is an appropriate question, but I was carrying it around for quite some weeks and now it just has to come out.
I am working on my PhD thesis. My thesis will include a long ...
12
votes
3answers
493 views
Linux Libertine: Change Numeral Set
I am using the Linux Libertine font for my document. The font provides different numeral sets, "normal" numbers which are all the same height, and medieval/minuscle numbers with varying height.
By ...
5
votes
2answers
341 views
LuaLaTeX AMS-Typesetting bug with sum\limits under sqrt
it looks as if there is a bug in math-typeseeting with lualatex using ams. An minimum example showing this is
\documentclass[12pt]{report}
\usepackage{amsmath}
\begin{document}
This looks OK, but ...
4
votes
1answer
163 views
Unmodified Source Code
I have a macro that helps me print out(or do anything really) source code in various ways using lua:
see: `xparse verbatim` with `newline`
The macro is
\def\SourceCode{%
\begingroup%
...
4
votes
2answers
206 views
lualatex print, directlua env, and newline
When using print from lua, if the log file's current line has not been terminated then the lua tex will not start on a new line. This is very annoying because many times I search for some debug string ...
