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)

4
votes
1answer
194 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
0answers
125 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
182 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 ...
3
votes
1answer
1k views

How to compile properly a document using “fontspec” package?

How to compile properly a document using fontspec package? Example code (15.1. XeTeX @ LaTeX-wikibooks.pdf) \documentclass{article} \usepackage{fontspec} \setmainfont{Arial} \begin{document} Lorem ...
3
votes
2answers
174 views

Why does using Greek break em-dashes?

I know the conversion of --- to an em-dash is an on-going problem with lualatex. But I don't understand why using Greek in one font should (afterwards) break conversion of 3 hyphens to an em-dash in ...
3
votes
1answer
399 views

LuaTeX error (font expansion): font has been expanded with different expansion step

I am suddenly getting the following error when trying to compile my document with LuaLaTeX and my simple question is: what does it mean? LuaTeX error (font expansion): font has been expanded with ...
3
votes
1answer
605 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: ...
3
votes
2answers
475 views

Latex command for unfilled \bigstar

\bigstar produces a black star. What is the LaTeX command for white or unfilled \bigstar? The unicode-math package has a command \bigwhitestar, but I am not able to use it in the usual way. When I ...
3
votes
1answer
129 views

Does Lua(La)TeX use external lua or built in? [duplicate]

Possible Duplicate: LuaJIT and LuaTeX There is a JIT for Lua called LuaJIT that has many speed improvements over standard Lua(in some cases up to 60 times). I'm curious if this could be ...
3
votes
1answer
190 views

\DeclareUnicodeCharacter and LuaTeX

Is there an equivalent command to \DeclareUnicodeCharacter for LuaTeX that allows me to define alias commands for special UTF-8/Unicode characters? I am using a custom Fraktur font that uses Unicode's ...
3
votes
2answers
87 views

Can/does hyphenation ignore accents?

LuaLaTeX MWE: \documentclass[11pt]{article} \usepackage{polyglossia} \setotherlanguage{russian} \usepackage{tabu} \usepackage[textwidth=6.5in,textheight=9in,nohead,headheight=39pt,headsep=12pt, ...
3
votes
1answer
395 views

LuaLaTeX: No error but no output files

I am trying to use LuaLaTeX in TeXnicCenter (or TeXworks as well), due to TeX capacity issues. However, no output files are produced (.log, .pdf), and I cannot see any error in the build output; I ...
3
votes
1answer
101 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 ...
3
votes
1answer
614 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} ...
3
votes
2answers
324 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} ...
3
votes
1answer
44 views

combination of ngerman and fontspec brings a lot of errors

I was using the package ngerman and fontspec with luatex in one document in march 2014 and it worked fine. In the meanwhile, i installed a new arch linux and TeX Live. Now I get a lot of errors like ...
3
votes
1answer
116 views

port this template to lualatex

I am new to lualatex and I am trying to port the template at this link http://www.lorenzopantieri.net/LaTeX_files/TesiClassica.zip from pdflatex to lualatex. This template uses komascript, ...
3
votes
1answer
52 views

Hyphenation problem on very narrow column and \flushleft

I have a strange problem with hyphenations, when the column is very narrow. My text is finnish and I'm using lualatex. In my narrow column, I have words "Ympärileikkauksen liitto". It breaks up as ...
3
votes
2answers
262 views

How to stop a block of code from being parsed?

I would like to pass some latex code to lua directly without it being parsed: \directlua{ PrintPrettyLatexCode("LATEX CODE GOES HERE!") } BUT latex tries to parse the "LATEX CODE GOES HERE!". I ...
3
votes
2answers
662 views

Specifying an oldstyle number font with fontspec

I have some trouble setting oldstyle numbers in my document. I load the font (in this case an early palatino) and define the smallcaps font via fontspec. But the oldstyle numbers are in the smallcaps ...
3
votes
1answer
738 views

Passing two or more dimensional arrays to lua

I can write: \def\myarray{{Nrs,1,2,3}} then I can call lua: \luadirect{myfunc(\myarray)} and access the values in the array/table. How would one do it for multidimensional ones? I initially ...
3
votes
1answer
245 views

Trying to use Luatex: luatex.fmt not found, etex.ini not found

I want to disclaim that I am very inexperienced with latex. I am using Texmaker 4.3 with Miktex 2.9 on Windows 7. I am writing an article (let's call it "test") which includes several packages to ...
3
votes
1answer
117 views

Changing Math Fonts with luaotfload in Plain TeX

Changing Math Fonts with luaotfload in Plain LuaTeX Without a major exposition on all the options tried, here is the short of it: Using Tex Live 2013, LuaTeX, plain.fmt and luaotfload.sty, ...
3
votes
1answer
90 views

How to typeset Chinese from word dictionary in tone colors?

I have installed MDBG Word dictionary which is using CC-CEDict database. I've installed Windows version but we can try the dictionary online, I am using word sleep as a test case. How could we typeset ...
3
votes
1answer
143 views

Fontspec + Cabin + LuaLaTeX

I want to use the Cabin fonts (which are available on CTAN). It seems possible to use these fonts with LuaLaTeX, since there are type1 fonts available, and on CTAN it says: LuaLaTeX and xeLaTeX ...
3
votes
1answer
141 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 ...
3
votes
1answer
160 views

smashoperator produces black line with Linux Libertine O

When I use fontspec to set the main font to "Linux Libertine O", the smashoperator command (and also mathclap and friends) produce a black line above the smashed subscript (with luatex). ...
3
votes
1answer
200 views

LuaTeX example invalid (printing)

On page 127 of the luatex manual it has the example before\directlua{tex.sprint("\\relax")tex.sprint(" inbetween")}after but the double slash throws an error. Similarly a single slash also has the ...
3
votes
1answer
250 views

Replacement for CJK's \Unicode macro

I need a replacement for the \Unicode macro from CJK. It takes two decimal numbers as arguments and inserts #1*256 + #2 into the token stream (or something like that; it's a way to write Unicode ...
3
votes
2answers
598 views

LuaLaTeX and counters

I'm trying to use values from expanded macros within a direct lua block, but I can't figure out how to get a value from any macro that has braces in it. \directlua { tex.print(\value{footnote}} } ...
3
votes
1answer
144 views

ConTeXt's user namespace seems somewhat empty

With ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.12.18 int: english/english the ConTeXt code \starttext \message{one} \directlua{print(1)} \message{two} \usercode{print(2)} ...
3
votes
1answer
33 views

Is cyrillic actually missing in LinLibertine monospace?

If you consider this MWE, then for me lualatex does not display texttt{Привет, мир!} but non-monospaced cyrillic text is displayed fine. \documentclass[notitlepage,oneside]{article} ...
3
votes
2answers
55 views

Lualatex error with polyglossia's \setotherlanguages and ntheorem

Consider this MWE: \documentclass[10pt,twoside,openright]{book} % http://tex.stackexchange.com/a/44701/2595 \usepackage{iftex} \ifPDFTeX \usepackage[greek,danish,english]{babel} ...
3
votes
1answer
54 views

Partial Sign with Unicode Math

I have a problem with Linux Libertine and the \partial sign. I use following code, but there is no \partial sign (I left all my fonts there, but the problem is the font for range=\mathit): ...
3
votes
1answer
64 views

OpenType MPlib labels with luatex-plain

I am trying to get the luamplib to work with the luatex-plain -format. I installed BasicTeX2014, and then did tlmgr install context. Then I did luatex --ini ...
3
votes
1answer
112 views

Why does the switch to ClearSans font fails in LuaLateX?

At the moment I am experimenting with a sans-serif font for figures and a serif font for the rest of the document. When compiling this MWE with pdflatex everything seems to work smoothly. Switching to ...
3
votes
1answer
89 views

Using pgf to print raw numbers without math delimiters

I'm trying to have pgf output a number in raw format, but I don't know how to do it so any help would be greatly appreciated. If you look below, the problem is that \roundednumber expands to $1,000$, ...
3
votes
2answers
3k views

XeLaTex and TexMaker “cannot-use-pdftex”

I would like to use the CV template provided by this link. In the .tex file the author recommends to compile with XeLaTeX. In TeXmaker 4.0, I've used the right option to compile but the following ...
3
votes
1answer
1k views

tikz externalization using lualatex over pdflatex

I am trying to externalize tikz plots using lualatex while encapsulating the whole tex file with pdflatex. I still couldn't figure out why this method is not working. I am using miktex and texstudio. ...
3
votes
1answer
110 views

Using pst-barcode, fontspec and standalone at the same time?

I am trying to generate a series of labels using TikZ and the standalone document class. Normally, this works fine, but this time I want to use a system font and to include a barcode. Below is an ...
3
votes
1answer
183 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 ...
3
votes
1answer
196 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. ...
3
votes
1answer
218 views

Russian language within figure captions in unicode-aware systems [duplicate]

When I try to compile the following document caption package seem to convert caption text to \cyr.. sequences and fontspec don't understand them. Is it possible do somehow get around that without ...
3
votes
1answer
184 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} ...
3
votes
1answer
152 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 ...
3
votes
1answer
781 views

problem compiling some 'math' using LuaLaTeX

Have a couple of documents with the following sort of construct: \begin{equation} y=\sqrt[n]{\prod_{i=1}^{n} x_{i}} \end{equation} Compiles/renders fine using 'standard' LaTeX, but fails miserably ...
3
votes
1answer
320 views

lualatex and lilypond/music notation

Is there any easy way to embed musical notation into lualatex projects without too much hassle? (hopefully complete transparency) I was thinking something like lilypond without having to do multiple ...
3
votes
1answer
788 views

Font mixup with Neo Euler and Fontspec

For my document I would like to use Linux Libertine as main font and Neo Euler as maths font. However, there seems to be some conflict with the code I am using. Here is a MWE and its output: ...
3
votes
2answers
671 views

LuaLaTeX + unicode-math + semantic package

I am trying to use lualatex with the unicode-math and semantic packages. I have some problems with the semantic package - when I load full version or with the shorthand option I get "Invalid math ...
3
votes
1answer
51 views

LuaLatex, \includespread and libreoffice table with %

I've using LuaLatex for the last couple of days and been enjoying it despite of lack of documentation on \includespread. Nevertheless, got it to work for tables that don't have a percentage value ...