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)

2
votes
0answers
53 views

Tex capacity exceeded despite system call lualatex

I'd like to plot some measured values with tikz, but despite "calling" Lualatex I get the error message that TeX's main memory is exceeded. I can compile the plots under Lualatex but it doesn't work ...
6
votes
1answer
74 views

Why are Accented Capital Letters not well decoded in QRCODE?

Double accented capital letters, such as ÙÇ, ÙÉ, ÀÇ, and ÈÏ, are not well decoded in a qrcode. Is there a way to fix that ? \documentclass[french]{article} \usepackage{fontspec} % if this package is ...
14
votes
1answer
810 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 ...
2
votes
1answer
47 views

wrap logo and sender's address with scrlttr2

I have a problem with scrlttr2 and Lualatex when I use a logo and the english manual of Koma-script don't help. I want to have it next to the sender's address, partly in the margin, and with the ...
9
votes
2answers
637 views

OpenType fonts for Metapost Labels

Is it possible to use OpenType fonts in MetaPost labels? I use MiKTeX 2.9. I hoped something like mpost --tex=dvilualatex <myfile>.mp might work, but no luck. Suggestions? I tried this, but ...
32
votes
1answer
2k 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. ...
2
votes
0answers
46 views

PDF optimization packages/options

I noticed that when compiling any document in TeX, the resulting PDF can be reduced in size by quite much. For example, take \documentclass{article} \begin{document} Lorem ipsum dolor sit amet, ...
0
votes
0answers
69 views

LuaLaTex is consuming 40 sec .. is there a way to reduce

I'm currently using, MikTex with LuaLaTex as compiler. When provided with the .TEX file, it is taking about 40 sec time (approx.) Is there a way to reduce this time? The point here is, this process ...
5
votes
2answers
127 views

Place TikZ picture over top of text

I'm designing some letterhead using LuaLaTeX (interchangeable with XeLaTeX at this point) where I want my signature and name to be drawn like this: The signature is a TikZ drawing, the text is ...
4
votes
1answer
43 views

Command doesn't expand into other commands after string substitution

The MWE should explain it all (use LuaLaTeX): \documentclass[11pt]{memoir} \usepackage[T1]{fontenc} \usepackage{fontspec} \usepackage{xstring} \usepackage{easylist} \begin{document} ...
2
votes
0answers
83 views

Is LuaTeX planned to have as good font capabilities as XeTeX? [closed]

The title almost says it all. As I understand it, XeTeX was built from the ground up for its font support, while LuaTeX only got fontspec support years after its creation. While font support will ...
1
vote
0answers
42 views

HowTo create a LuaLatex package

I would like to develop LuaLatex packages. I am very interested by the scripting capability of LuaLatex, so I'd like to use it as much as possible instead of Latex or Tex. Is there a "standard" or ...
4
votes
2answers
25 views

Delayed expansion of StrSubstitute argument with active characters

This is an extension of my previous question. The accepted answer provided a way for me to delay expansion of a marked-up easylist list until the string was processed inside the environment. I'm ...
1
vote
2answers
41 views

How to align text at multiple specific places?

Up till yesterday I have always done all my layout in InDesign. However, there are places where this makes things tedious, so I'm trying to see how to do all the hard work in tex. In my tex file I ...
2
votes
1answer
59 views

luacode error: LuaTex is required for this package

I am a new bie to Tex and when i try to run the sample code given in the posting Ways to parse JSON in LaTeX?, i run into the error: Package luacode Error: LuaTeX is required for this package. ...
7
votes
2answers
98 views

LuaLaTeX: Replace character “ß” in CMU fonts

The glyph for the character "ß" differs considerably between Latin Modern and the CMU fonts (CMU Serif, CMU Sans Serif etc., which use the same glyphs for ß as cm-super; see this answer): I much ...
3
votes
2answers
69 views

(New) Century Schoolbook Font in LuaLaTeX

I recently made the switch to LuaTeX from pdfTeX. Before the switch, I used the fouriernc package to set the document's font to New Century Schoolbook. I've come to understand (from this document) ...
4
votes
1answer
88 views

LuaLatex and MathTime Professional 2 (mixing font-types)

I'm trying to use MathTime Professional 2 (mtpro2) and Times New Roman (the TrueType fonts bundled with Windows) with LuaLatex as follows: \documentclass{article} \usepackage{fontspec} \setmainfont{ ...
3
votes
1answer
103 views

LuaTeX - unexpected symbol near '>'

I wrote my first Lua code and it works as expected when running through lua.exe. But when I try to include the lua file or its complete source code I always get the error ! LuaTeX error mr.lua:11: ...
9
votes
1answer
183 views

Is it possible to use Lua to obtain the current working directory?

Package currfile with the abspath option can obtain the absolute path of the current file. However, it relies on running pdflatex with the -recorder flag. Would it be possible to achieve the same ...
3
votes
1answer
57 views

LuaTeX RTL text: Wrong horizontal spacing in headlines

When typesetting syriac RTL text in LuaTeX, it seems the right-alignment of section and subsection headlines has a bug. It seems that the small horizontal space between number and headline text is ...
4
votes
2answers
39 views

eledmac/eledpar/LuaTeX: right alignment of RTL text paragraphs in pages enviroment

I have a LuaTex + eledmac + eledpar setup for critical editions in syriac and english (on facing pages). Strangely, the syriac text, which is running RTL, is not aligned on the right, but on the left ...
4
votes
2answers
78 views

plain TeX error. Undefined control sequence. \pgfutil@

I'm trying to compile the fix mentioned by egreg in this thread: Strange behaviour with PGF/TikZ and Plain TeX output routine Here's the code: \input pgf \catcode`@=11 \newbox\pgfutil@@Output@Box ...
14
votes
1answer
205 views

XeLaTeX, LuaLaTeX, fontspec, unicode and normalization

I am troubled by the way LuaTeX and XeLaTeX normalize unicode composed character. I mean NFC / NFD. See the following MWE \documentclass{article} \usepackage{fontspec} \setmainfont{Linux Libertine ...
3
votes
0answers
32 views

ArabXeTeX-like interface for lualatex

I would like to know if and how it would be possible to parse and convert ArabXeTeX ascii input to unicode under LuaLaTeX. I came across the ḍād package by Yannis Haralambous, but as far as I know ...
13
votes
2answers
3k views

UTF8 not working in LuaTeX in TeXLive 2010

I've been trying to set a document using lualatex in my TeXLive 2010 installation. Unfortunately, the non-ASCII characters are left out from the output. In the following minimal document produces a ...
10
votes
1answer
94 views

Use luatex to \let command to other

still looking for LuaTeX, I understand how I can execute Lua code insided TeX code (via \luadirect) but not how I could execute TeX code inside Lua code. I explain : I would like to make a series of ...
6
votes
2answers
126 views

LuaLaTeX, Fontspec: Wordspacing and Letterspacing

I have a command \work which will format titles in SmallCaps and with less letter spacing. Now the funny thing: If I try to add some word spacing, too, and only for SmallCaps, it affects the whole ...
2
votes
0answers
28 views

luatexluaescape string and backslash

I'm new to LuaLatex and I'm trying to write simple macros. However, when I send a string to lua that contains a backslash (like \R^n), then the code doesn't work as expected. For example, my lua ...
6
votes
1answer
55 views

write the content of an hbox in an auxilary file

I know that TeX can't write the content of hbox in an auxiliary file (Re-parse the content of a box register). That mean that \newwrite\foo \immediate\openout\foo=\jobname.txt \setbox0=\hbox{bar} ...
1
vote
1answer
47 views

How to change font for axes, labels, etc in pgfplots using fontspec (lualatex)?

I need to make figure with Garamond font applied to axes and labels, as well to text in nodes. This is my MWE: \documentclass[12pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} ...
4
votes
1answer
50 views

pgfplots + unicode-math + lualatex gives the error “kernel/command-already-defined”

With the following MWE compiled with lualatex, I get the error: ... LaTeX error: "kernel/command-already-defined" Control sequence \crampeddisplaystyle already defined. ... l.637 ...
3
votes
1answer
66 views

Externalization of contour gnuplots

Based on a datafile (XYZ.csv) I want to have a contour plot within my .tex file. I'm using lualatex for compilation. The main issue is the externalization of the gnuplot contour plot in combination ...
11
votes
3answers
563 views

Compile all tex files within a folder at once

Is there a way to compile all tex files within a specific folder, from LINUX terminal, at once? I would like to do this using pdflatex or lualatex in a way to create a pdf file for each distinc ...
11
votes
1answer
7k 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. ...
0
votes
0answers
42 views

What are XeTeX and LuaTeX? [duplicate]

I have been using LaTeX for nearly a year now, but I have never heard about XeTeX and LuaTeX. What is the difference between them and LaTeX? Since I use the TeXMaker as interface for LaTeX, can I ...
4
votes
0answers
78 views

unicode-math + siunitx + lualatex = long compile times. Why?

The following MWE, compiled under several situations (with appropriate lines removed) gives the following timings (with all output files removed between runs), as timed by Measure-Command on Windows 7 ...
2
votes
0answers
37 views

auto-pst-pdf and ucl thesis style

I have a problem with compiling my thesis which uses the ucl latex template style. While I've tried to reduce it to a minimal working example, I'm not sure whether it's still relevant. The error I get ...
39
votes
1answer
829 views

What are the incompatibilities of pdftex, xetex and luatex?

[Please correct me if my statements are wrong] TL;DR: pdftex, xetex and luatex exhibit different behaviour. What are these differences and why are they present. I know of three engines, which ...
0
votes
0answers
46 views

Using tikzlibrary spy without magnifying line width and/or mark size with groupplots

This question has been asked before here: Using tikzlibrary spy without magnifying line width and/or mark size However, I have a problem with its solution. I tried both solutions posted and I would ...
1
vote
0answers
58 views

How well does microtype “font expansion” work with LuaLaTeX?

Using LuaLaTeX and a an OpenType font loaded with fontspec (like, say, Linux Libertine), can the "font expansion" feature of microtype be considered stable and fully functional? And can I feel safe by ...
3
votes
0answers
45 views

LuaLatex setup a different font for numbers and the rest

This question is a duplicate of this older question that strayed from the subject. I would like to make a presentation using latex class beamer, however I would like to use different fonts than the ...
0
votes
0answers
65 views

How to run LuaLaTeX or sagetex?

I have OSX. Texlive2014 is installed. I am using Texmaker. But I cannot compile a simple lualatex or sagetex source file. I get lots of errors. I have to install something or set something in the ...
0
votes
0answers
26 views

Trademark and Copyright with language specific symbols

Is there any way to display the trademark,copyright symbols in different language? As Canadian French language is displaying like MC,MD for trademark and copyright symbols respectively. How can we ...
3
votes
0answers
79 views

How is the support for polyglossia in LuaLaTeX?

The polyglossia manual states that Polyglossia is a package for facilitating multilingual typesetting with XeLaTeX and (at an early stage) LuaLaTeX. However, I could not find any words about ...
6
votes
2answers
82 views

How to use Chinese with lualatex?

Searching through tex.stackexchange.com, I've come to understand that xetex is currently the preferred engine for documents that include Chinese characters. In xetex, one simply uses the xeCJK or ctex ...
7
votes
4answers
250 views

Using \fontsize in XeLaTeX and LuaLaTeX

In the Wikibooks/TeX article on fonts, it is stated that The \tiny...\Huge commands are often enough for most contents. These are fixed sizes however. In most document processors, you can usually ...
10
votes
1answer
133 views

Define fallback font for specific Unicode characters in LuaLaTeX

This closed question prompts me to propose a more general question and a solution I don't think has been demonstrated here. When compiling with LuaLaTeX and using Unicode input, how do you set up a ...
2
votes
1answer
105 views

How to get ϱ and ɔ working with MinionPro [closed]

Using LuaLaTeX and MinionPro (the one from Adobe Reader), I apparently cannot print the characters ϱ and ɔ ("symbolic rho" and "open o"). This I find a bit strange in a professional font. Can that ...
4
votes
1answer
105 views

Russian in document with Japanese as main language (LuaLaTeX + ltjsarticle)

I need to use some Russian text fragment in ltjsarticle class, which provides the Japanese settings like Japanese caption for LuaLaTeX. In the current MWE, There are big intervals between Russian ...