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)

0
votes
0answers
64 views

“Kernel_Property unknown”… The key property '.choice_code:n' [on hold]

I was just using some primary versions of MikTeX 2.9 and had below error within using both LuaLaTeX & XeLaTeX: `Enter file name: C:\Program Files\MiKTeX 2.9.5105>lualatex.exe ...
4
votes
3answers
186 views

LuaLaTeX : write latex “commands” to file

I made a randomly chosen quiz machine using LuaLaTeX and beamer for audience part that produce a pdf containning one frame per question, one slide per second to show the count down: it make a pdf with ...
0
votes
0answers
38 views

Unable to add a XeLaTeX-based .sty file [on hold]

I am going to use this XeLaTeX (or LuaLaTeX) based template to build a CV. The org-preamble-xelatex.sty file is necessary, which has been located within the corresponding directory just next to the ...
3
votes
0answers
22 views

Incorrect rendering for Khmer using LuaLaTeX

When I compile the following MWE with XeLaTeX, it works pretty fine. But when I compile with LuaLaTeX some Khmer vowels are missing. Does LuaLaTeX support Khmer Unicode? Or is this a problem caused ...
4
votes
1answer
48 views

\thinspace/\, inserts no space

In my greek-german document, the second \, of the combination \,--\, doesn't actually insert a space. It rather looks as if I wrote just \,-- (Often, the same occurs with other languages and fonts, ...
1
vote
0answers
48 views

Substitute a character by another one (Lualatex)

The lowercase figures of Adobe Garamond Pro are very nice, but the 1 can be confusing: Is this 11 (as it should be) or 2 in Roman? I would like to replace automatically this lowercase 1 with ...
40
votes
1answer
904 views

Why do PDF files produced by pdflatex not pass validation?

Why do simple PDF files compiled with pdflatex contain so many PDF errors? The simplest example I can see is "Hello World!" that once compiled, \documentclass{report} \begin{document} Hello ...
0
votes
0answers
15 views

directlua : misinterpretation of % as latex comments [duplicate]

What is the good way to avoid LaTeX interprete % as comments in \directlua ? Or in this case one must use an auxiliary file ?
1
vote
1answer
23 views

LuaLaTeX : pass a list to lua as macro parameter, but not seen as a table

I try to pass a list to lua as LaTeX parameter but can not make it interpreted as a table by lua. if "#1" I get : a,b,c,d,e – n 1 –, table of one entry if #1 I get : n 5 – ?? Even with \unexpanded ...
3
votes
1answer
18 views

LuaLaTeX : passing test condition n~=3 to lua as macro parameter problem

I try to pass lua test condition as latex macro parameter and have a problem in case of ~= with the next error message. How to avoid that. ! LuaTeX error [\directlua]:1: invalid escape sequence ...
2
votes
0answers
38 views

Convert LaTeX to SymPy format

I'm trying to convert LaTeX to SymPy understandable format and I feel it's hard to comply all conditions. So Im wondering if you can suggest any tools, free or paid, that will be great. What I'm ...
0
votes
0answers
44 views

How can i obtain youtube glyph using font awsome

I would like to use font awsome glyphs to link social media. \documentclass[11pt,a4paper,hidelinks]{article} \usepackage{fontspec} \usepackage{verdana} \usepackage{fontawesome} \begin{document} ...
0
votes
0answers
42 views

CV template run time error in TeXstudio

i am trying to make cv by using LaTex template but there is an error when i start compilation. Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX to ...
1
vote
1answer
71 views

Tikz Externalize, Lualatex through pdflatex and big data

I am plotting data from an infrared camera with pgfplots in an image as discribed and solved under this topic. A 194x194 data matrix is the input. I am compiling the document with lualatex through ...
2
votes
0answers
20 views

\luaexec inside \num causes errors

To me, an attractive feature in LuaTeX is the ability to effectively perform calculations directly in the document. Now say I want a command \proc that performs calculations and then formats the ...
5
votes
0answers
59 views

Strange rendering bug when using LuaLaTeX, Polyglossia, Cambria/Consolas font and/or texttt

I’ve found a rather strange bug, where the letter ‘å’ is sometimes (though very rarely) incorrectly rendered when using LuaLaTex. I’ve managed to reduce it to the following minimal document exhibiting ...
5
votes
1answer
38 views

Circumflex over Numeral with fontspec

For a music analysis paper I'm working on, I need to enter an arabic numeral with a circumflex over it to represent a musical scale degree. Normally, I can just use \^3, but as soon as I load the ...
0
votes
0answers
24 views

Lualatex paths with spaces and backward slashes

If I run lualatex (version beta-0.80.0 (TeX Live 2015/W32TeX) (rev 5238)) as follows: lualatex "D:\Documents\index Spaces" I get an error (directly at the start of compiling) ! Emergency stop. ...
7
votes
1answer
103 views

LuaTeX unicode escape sequence in an ASCII file (for graceful degradation)

I have a reusable component in which I would like to include a few unicode symbols. I use LuaLaTeX. However, I want the file to fail gracefully (it should detect running under something else and e.g. ...
0
votes
0answers
14 views

LuaTeX equivalent of \XeTeXglyph [duplicate]

Does LuaTeX have an equivalent of \XeTeXglyph? Or better yet, is there a command to select a glyph by number that works both with xelatex and lualatex? I did find a handmade version in German, but ...
6
votes
1answer
68 views

Is it possible, in LuaTeX, to replace text from the input buffer but only inside math mode?

I am trying to create a Lua script that lets me replace all instances of -> inside my equations with \rightarrow. I found this answer that suggests a hack involving a process_input_buffer callback: ...
15
votes
2answers
246 views

Is it possible to view the latex code after Lua expansion is made?

When using Lua code inside Latex file, where Lua code sends to Tex Latex code to insert into the document at the location the lua code is made, it will be useful to look at the content of Latex file ...
2
votes
1answer
50 views

How to use luacode* to eliminate need to escape “\”?

I am struggling trying to understand how to actually use luacode* environment, so that I do not have to escape all the \ characters in the strings that Lua builds before sending to Tex. The whole ...
19
votes
1answer
213 views

LuaTeX: Wrong/missing italic correction in TeXLive 2015 vs 2014

Italic correction for OTF math fonts seems to be broken in LuaTeX in TL15. MWE: \documentclass{article} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} \begin{equation} ...
4
votes
3answers
109 views

Problem printing LaTeX from lua in lualatex

I am having difficulty printing LaTeX from a lua function in a LaTeX document processed with lualatex (version 0.70.2). I have a sample that works (if I remove all newlines from the code) and a case ...
0
votes
1answer
25 views

How to insert unicode text in IEEE paper? [duplicate]

I am writing a paper for IEEE conference. I would like to know how to insert some unicode text into the paper. The primary language of the paper is English.
2
votes
1answer
57 views

How to insert Bengali text in IEEE conference paper?

I am writing a paper for an IEEE conference using IEEEtran.cls. The primary language of the paper is English but my work deals with Bengali language. I want to know how do I insert some Bengali words ...
3
votes
1answer
43 views

Can Luatex (or latex) detect presence of non-latin1 character in string?

Using Luatex Unicode, I would like to detect whether or not a string contains any characters outside the Latin-1 set. If it does, then I would like to fork. Something like this: ...
3
votes
1answer
48 views

pgfplots external with large dataset (lualatex?)

I have fairly large datasets with densely strucutred data that i cant downsampe much without loosing structure. I use TexMaker on Ubuntu 14.04LTS. I use \usepackage{tikz,pgfplots,pgfplotstable} ...
2
votes
1answer
42 views

LuaLaTeX luaotfload: LuaTeX error: stack overflow (too many arguments)

As I was trying to compile a document with LuaLaTex, which used to compile well before, lualatex finished on an error: luaotfload | db : Font names database not found, generating new one. luaotfload ...
12
votes
1answer
126 views

hanging punctuation with microtype and luaLaTeX

I want to get this style of hanging punctuation: Quotation marks «...» „...“, brackets (...) [...] {...} and bullets are put beyond the left margin. Quotation marks, brackets, periods, ...
14
votes
1answer
151 views

Ligatures are not used in OpenType maths families?

The appended plain TeX example shows three cases: maths alphabets \rm, \bf, \it using plain TeX setup similarly maths alphabets loaded from "classical" Latin Modern fonts similarly maths alphabets ...
2
votes
0answers
35 views

Loading system (OTF/TTF) fonts from plain TeX with LuaTeX [duplicate]

In XeTeX, I can set up a font pretty straightforwardly with: \font\foo="Minion Pro" at 10pt I don't quite see how to do it. This question suggests that the answer is "use luaotfload.sty." Is that ...
2
votes
0answers
22 views

Does LuaTeX change the message in “Output Routines Part IV: Horizontal Techniques”?

In the excellent article "Output routines: examples and techniques Part IV: Horizontal techniques", David Salomon explores three techniques for dealing with communication from horizontal mode to the ...
0
votes
0answers
30 views

Change \emph to swash in fontspec

I read this post Activate swash or alternate for Italic only about swash and \emph command. Reading comments I see that \emph just chooses between \textit and \textrm depending on the slope of the ...
3
votes
1answer
46 views

Erratic behavior of mdframed environment right after headings

First of all, I have seen and read this question it appears to be a different albeit potentially related issue. I'm using mdframed 1.9b from 2013 with LuaLaTeX. Now the problem I encounter can be ...
2
votes
1answer
64 views

Problem with math symbols unicode-math

I'm begginer with lualatex, fontspec and unicode-math packages. I try load differents fonts for text and for math operators. But some math symbols not appears. For example, I try this (just to show ...
7
votes
2answers
95 views

Latin text not hyphenated at all with LuaLaTeX and polyglossia

I recently noticed that there are numerous under- and overfull hboxes in the document I'm working on. Further inspection revealed that such problems almost always arose when there was Latin text ...
1
vote
1answer
34 views

pgfplots point meta using luatex

I am trying to make a plot and color the points according to a third column using only marks, point meta=\thisrow{Lz\N} in addplot. I get the error-Log entry: Package pgfplots info on input line 1: ...
5
votes
1answer
38 views

handling of `--` in minted

I'm using minted for pretty printing console output and have just noticed that double hyphens, i.e. --, for program options are getting turned in en-hyphens, i.e. –. A MWE is: \documentclass{memoir} ...
0
votes
0answers
32 views

Error changing mathbb font with unicode-math [on hold]

I'm using unicode-math, and want to revert back to the old nice style mathbb font (Blackboard Bold?). I found the solution here: Using a unicode-math font that looks like computer modern roman, but ...
13
votes
1answer
131 views

How can you check if fontspec (with LuaLaTeX) can load a font?

I want to check if fontspec (with LuaLaTeX) can load a certain font and if not try to load another one. For pdflatex I did by checking if the package file exists; but I don't find an easy way to do it ...
6
votes
1answer
77 views

Chinese, Russian and English (and Arabic, and Thai, if possible) in LuaLaTeX

following up on THIS QUESTION, I want to embed the solution in a document (Beamer presentation) I compile (in English) with LuaLaTeX, but I just don't find the way. I just want to include a slide with ...
10
votes
1answer
105 views

Can LuaTeX change the PAGE-breaking algorithm

One of the often highlighted features in LuaTeX is the ability to replace the default TeX line-breaking algorithm by something else. I wonder if it is similarly possible to replace the page-breaking ...
8
votes
1answer
48 views

How to load an OFM-based PFB font with fontspec?

In my ḍād package (for Arabic typesetting, see also the TUGboat paper) I use a PostScript font with OFM metrics file. I load the font in the usual way, going through an FD file. This works only for ...
16
votes
2answers
404 views

Getting started with LuaTeX and ConTeXt

I've been using LaTeX now for roughly about 20 years. Only within the past 3 years or so have I tried understanding the internal workings of TeX. There are not a few posts here for which the OP is ...
17
votes
5answers
445 views

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like ...
6
votes
1answer
73 views

URW Grotesk for XeLaTeX/LuaLaTeX (fontspec)?

How can I use URW Grotesk font with XeLaTeX/LuaLaTeX (fontspec) ? Or if this is not possible/easy, are there a good heavy font replacement for it (if possible that works as well with PDFLaTeX) ? ...
4
votes
1answer
81 views

Extract data from excel file with lualatex

I have an Excel file that I use as a database. Of course, there are a lot of entries (more than 4000) and I don't want to use all the data to create my PDF. So I was thinking of using LuaLaTeX to ...
1
vote
0answers
13 views

Change abstract title in IEEEtran when used with other language [duplicate]

When I use the ieeetran-class with a german babel-package loaded, the title of the abstract automatically gets translated to Zusammenfassung. However I'd like it to be Kurzfassung. The solution one ...