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)

3
votes
0answers
34 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 ...
5
votes
2answers
97 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 ...
1
vote
0answers
35 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 ...
2
votes
0answers
75 views

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

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 ...
4
votes
2answers
22 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 ...
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
1answer
58 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. ...
1
vote
2answers
40 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 ...
7
votes
2answers
87 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
60 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
82 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
97 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: ...
3
votes
1answer
55 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
74 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 ...
9
votes
1answer
182 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 ...
14
votes
1answer
198 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 ...
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 ...
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 ...
1
vote
1answer
44 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} ...
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} ...
4
votes
1answer
44 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 ...
4
votes
2answers
35 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 ...
3
votes
1answer
60 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 ...
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
74 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 ...
0
votes
0answers
45 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 ...
2
votes
0answers
36 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 ...
1
vote
0answers
56 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
44 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
25 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
77 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 ...
10
votes
1answer
128 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 ...
7
votes
4answers
237 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 ...
0
votes
0answers
10 views

How to install and run beamer theme on MikeTeX 2.9 [duplicate]

I've been trying to use this beamer theme: https://github.com/ppletscher/beamerthemezurich/. When I try to compile the sample .tex file included it gives me an error that reads: ! Fatal fontspec ...
6
votes
1answer
96 views

Bug in TikZ's math and calc with PDFLaTeX and LuaLaTeX : workaround?

We can use calc library inside tikzmath to do calculations with coordinates. Everything works fine if we want to calculate something like \p3=(0,0)!.5!(2,0); (inside and outside functions). But if we ...
13
votes
1answer
540 views

Choosing TeX engine for novel — just how unstable is LuaTeX?

I am using LaTeX for typesetting some novels and am in a dilemma about which engine to use. pdfLaTeX has full microtype support, but I am not free to choose the font I want For XeLaTeX, the ...
3
votes
1answer
92 views

Write/Read values of the LaTeX commands (like \title, \ author etc) in file using Lua

This problem relate with other my question here . I found a solution with pdfpages package thanks to TX.SX: \documentclass[]{scrbook} \usepackage{authblk} \usepackage{pdfpages} ...
3
votes
1answer
54 views

LuaLaTex/XeLaTex with KOMA for Cyrillics

How can I use LuaLatex/XeLaTex with KOMA-script for Cyrillics? When I try to write: \documentclass[twoside]{scrartcl} \usepackage{polyglossia} \newfontfamily\cyrillicfont{CMU Serif} ...
7
votes
0answers
107 views

Why is \setmainfont case sensitive with XelateX but not with LuaLaTeX?

Consider the following MWE \documentclass{article} \usepackage{lipsum} \usepackage{fontspec} \setmainfont{tex Gyre Pagella} \begin{document} \lipsum[1] \end{document} If I compile it with LuaLaTeX ...
6
votes
2answers
77 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 ...
5
votes
1answer
99 views

Convert all all-caps words to small caps

I'd like to turn all all-uppercase words, acronyms etc. into small caps, preferably automatically on the fly and without changing the source files. The ideal solution would also allow me to block some ...
5
votes
1answer
109 views

LuaLatex change main text font for everything a part of numbers

Thanks the abundance of templates on the Internet seldom I use LaTeX (LuaLaTeX engine) also for non-academic texts like relations or letters. So sometime I like to use other fonts than the Computer ...
10
votes
1answer
108 views

Antykwa Torunska font: How to get correct \hbar in LuaLaTeX

I'm using TeX Live 2014 with lualatex. Using the font Antykwa Torunska (anttor) for math, \hbar is not displayed correctly. The default LaTeX settings do not give good results at all scales: ...
11
votes
3answers
513 views

Ways to parse JSON in LaTeX?

I'm writing my recipes (food) in a small textfile in JSON. Are there any ways to parse this in LaTeX? I know, that are lots of templates dealing with recipes, but I want to have my own style, which ...
3
votes
0answers
167 views

Tikz Externalize with LualateX - Fontspec?

There are several questions already posted about issues externalizing tikz with the Lualatex engine. However, most of these are dead ends with no correct answer. The reasons for externalizing are ...
2
votes
0answers
74 views

Annoying list of error messages pointing to missing Myriad Pro font

I'm getting an awfully annoying list of error messages pointing to Myriad Pro font missing when I use moderncv and xelatex or lulatex: \setmainfont{Myriad Pro} \setsansfont{Myriad Pro} the whole ...
4
votes
1answer
103 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 ...