The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [luatex]

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}.

Filter by
Sorted by
Tagged with
0
votes
2answers
69 views

Fill page with lines

I am trying to put together a book, that could be thought of as a kind of book of anniversaries with some certain prefilled entries. So there is one page per day, and most days are going to have an ...
94
votes
6answers
30k views

Why choose LuaLaTeX over XeLaTeX?

There are questions on TeX.sX already about what the differences between LuaLaTeX and XeLaTeX are (Differences between LuaTeX, ConTeXt and XeTeX), what one should be keep in mind when going from ...
4
votes
1answer
64 views

Is there a list of math delimiters?

I recently discovered that the double square brackets \llbracket and \rrbracket from stmaryrd are available as unicode characters ⟦ and ⟧, which makes them easy to use with LuaLaTex.I was even more ...
5
votes
1answer
117 views

Apostrophe in math formula prevents luatex compilation for Slovak

The following example can be compiled with pdflatex or xelatex without any problems, but with lualatex, the compilation comes never to an end. \documentclass{article} \usepackage[slovak]{babel} \...
0
votes
0answers
39 views

loca table not found [duplicate]

I'm trying to create a PDF from a file test.tex: \documentclass{article} \usepackage{fontspec} \setmainfont{Noto Color Emoji} \begin{document} 😺 🌍 \end{document} Running the command: lualatex ...
1
vote
2answers
227 views

IEEEtran: Getting fonts “right” with lualatex

I know that IEEEtran is basically pdflatex only. However, I would prefer using lualatex but it gives me a couple of font warnings for this snippet: \documentclass[conference]{IEEEtran} %\usepackage[...
1
vote
1answer
39 views

\leavevmode@ifvmode undefined for xindy/texindy?

I was getting "The control sequence at the end of the top line" referring to \leavevmodeifvmode for all my entries in an .ind file. Each entry of \indexentry in the idx file is translated to \item \...
0
votes
2answers
2k views

LuaLaTeX not recognised as a VS Code tool

I've been trying to adopt VS Code as my LaTeX editior of choice, since it has all of the features Atom has but more, once the extension LaTeX Workshop has been installed. My only gripe with it is that ...
0
votes
0answers
46 views

Sorry, but pdflatex.exe did not succeed

Now I face another problem in latex. how to solve this problem. Sorry, but pdflatex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\Maa-Baba-...
3
votes
2answers
114 views

Creating environment that includes itemize and tcolorbox

Consider the following MWE \documentclass{article} \usepackage{tikz,lipsum,lmodern} \usepackage[most]{tcolorbox} \usepackage{blindtext} % https://tex.stackexchange.com/questions/350316/create-manual-...
4
votes
1answer
65 views

Tikz - image and text inside circle

I want to have the following layout: What I have is the following code: \documentclass[12pt,a4paper,final,twocolumn]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[...
1
vote
1answer
59 views

How to get a sans-serif math wide hat in {xe|lua}latex?

Feeding \documentclass{standalone} \usepackage{unicode-math} \begin{document} \(\widehat{\strut~~~\,\,\,\ \ \ \mskip10mu\mkern10mu\strut}\) \(\mathsf{\widehat{\strut~~~\,\,\,\ \ \ \mskip10mu\...
0
votes
0answers
35 views

What to choose for [Language X], babel or polyglossia?

I’m hoping to find a sort fo canonical per-language answer whether babel or polyglossia is a better choice when typesetting with lualatex. This is a discussion of them in general, this is too short ...
3
votes
1answer
65 views

What is the LuaTex equivalent to `\pdfcatalog{/ViewerPreferences<</PrintScaling/None>>}`

With pdfLaTeX I prevent downsizing of printouts with \pdfcatalog{/ViewerPreferences<</PrintScaling/None>>}. Now how to use this with LuaLaTeX? I tried: {\pdfextension catalog=/...
0
votes
1answer
29 views

pzc font family not displaying when compiled with LuaTeX

Consider the following example code. I'm using TeX Live 2019 (2019.20190710-1) with Debian 10 (buster). \documentclass[12pt]{scrlttr2} \begin{document} \setkomavar{fromname}{Faheem Mitha} \setkomavar{...
0
votes
0answers
54 views

ConTeXt: Cross reference expansion and processing with Lua

I want to process cross-references in ConTeXt/LuaTeX, that is, to do some calculations in Lua with the page and line numbers returned by the \at and \inlinerange commands. But this does not work, as ...
1
vote
1answer
97 views

LuaTeX and the minus / hyphen sign

In light of the explanations given in LuaTeX and em dashes "\automatichyphenmode=1 avoids the problem by not converting the hyphen to a discretionary in a number of cases." and the LuaTeX Reference ...
8
votes
0answers
123 views

Discretionary macro doesn't work with microtype and Adobe Garamond Pro in LuaLaTeX [closed]

I've run into a problem with the combination of microtype package (v2.6a), LuaLaTeX (Version beta-0.80.0 (TeX Live 2015) (rev 5238)) and Adobe Garamond Pro font, when macro \discretionary doesn't work ...
1
vote
1answer
41 views

How to set up a new RTL language for babel using ini files?

How do you set up a new RTL language for babel using the new locale ini file system? e.g., consider trying to set up support for Classical Syriac. I started with babel-ar.ini and modified it to what ...
3
votes
2answers
71 views

automatic number formatting with ConTeXt

I would like to have calculated numbers automatically formatted, so that my pupils can easily read long numbers in my presentations. I figured out that setupunits combined with units, are quite ...
0
votes
0answers
15 views

Alignment of caption in sciposter

Sciposter redefines figures and similar stuff. Sadly the captions are no longer centered and things like \captionsetup{justification=centering,margin=Xcm} or format=hang do not work, becaust ...
1
vote
1answer
206 views

TexLive 2019 lualatex doesn't compile document

I have a document that compiles fine under pdflatex. But when I use lualatex the compilation process ends without doing anything. The log file has just these line: This is LuaTeX, Version 1.10.0 (...
1
vote
1answer
55 views

How to use unicode-math in an IEEEtran document

IEEEtran is to be used with pdflatex (and for journal papers, one does not have a choice for a document which should be published). But in two use cases, compilation with lualatex can be desired. ...
3
votes
2answers
480 views

bar width by units and symbolic x coords not getting along

I'm trying to make a stacked bar graph with the bars at full width and symbolic x coords. Here's a minimalish example: \documentclass{scrartcl} \usepackage[includeheadfoot,left=15mm,right=15mm,top=-...
3
votes
1answer
76 views

Titlesec not showing bookmarks in right hierarchy and not correctly typeseted in ToC for new classes

I'm creating new classes with titlesec package to work in this hierarchy: PART - Prechap -- Presec --- Presubsec I implemented them as seen in the MWE below. When I compiled the file ...
2
votes
0answers
56 views

Writing zugferd compatible invoices using lualatex

I'm currently creating invoices for a business in germany using lualatex. Now I would like the invoices to be compatible with the electronic invoice standard zugferd, see https://de.wikipedia.org/wiki/...
42
votes
8answers
41k views

FontAwesome font not found?

I'm using the latest version of MacTeX 2013 on OS X 10.8.4. All of my Tex Live packages are fully up-to-date. Tex Live also lists the fontawesome package as installed. I'm trying to use the ...
1
vote
1answer
105 views

{xe|lua}latex + svmono + newfloat + biblatex = ↯

Running xelatex or lualatex on \documentclass{svmono}%%% V 5.6 from http://www.springer.com/gp/authors-editors/book-authors-editors/resources-guidelines/rights-permissions-licensing/manuscript-...
0
votes
1answer
105 views

How do I compile an extremely large PDF?

I am using LuaLaTeX to compile a file that will have estimated 4,000 pages. Quite obviously, though for Lua engine itself there are no complications in the file, my system runs out of memory on Page ...
4
votes
0answers
65 views

Why xelatex renders arrows in tikz figures differently than lualatex?

My document can be produced with the following code: \documentclass{beamer} % only frames ...
0
votes
1answer
42 views

Changing the size of the mathfont, except for the numbers

I need to use Tex Gyre Adventor as a font in my documents. This font has no math font, so I'd like to use the numbers of that font in math mode. I managed to do it using \setmathfont[range=up/{num}]{...
0
votes
0answers
23 views

How get catcode of $ character during using process_input_buffer callback

I wrote parser,which replace $ and $$ for every line. But,as i understoode,i mustn't do it,if $ have not standart catcode. So,how i can get catcode of $ using luacode for each line because,for example,...
4
votes
1answer
45 views

\unhbox of arabic text cause an uncorrect result

Consider this example, why the result is uncorrect and how to fix it \documentclass{article} \usepackage[bidi=basic-r]{babel} \babelprovide[import=ar-DZ, main]{arabic} \babelfont{rm}{Amiri} \begin{...
0
votes
1answer
15 views

Processing luatex callback functions when creating glossary with bib2gls

In my project, I am looking for simple, but automated string replacement. For that I have hit upon this question and its answer: What packages provide text/command substitution for LaTeX, XeTeX and ...
3
votes
1answer
71 views

How to get \backprime if the main math font is Cambria Math?

Running xelatex on \documentclass{standalone} \usepackage{unicode-math} \setmathfont{CambriaMath.ttf} %\setmathfont[Ligatures=TeX,range={\backprime}]{TeX Gyre Termes Math} %\setmathfont[Ligatures=TeX,...
0
votes
0answers
22 views

Fontspec cannot find OpenType features [duplicate]

And I’m back with more fontspec trouble. Recently, I asked a question about how to access a particular character variant using fontspec (here). Ulrike Fischer’s solution — to put a newer version of ...
0
votes
0answers
38 views

How to compile a plain LuaTeX file

How do I write and compile a .tex file with plain LuaTeX? I use LuaLaTeX to compile some .tex files but how is an example of a plain LuaTeX file and how do I compile it? In the reference manual I did ...
1
vote
1answer
89 views

Proper kerning of \{f\} \sigma_0 in TeX Gyre Termes Math

Continuing https://chat.stackexchange.com/rooms/97632/discussion-between-marcel-kruger-and-mdayq6, running lualatex on \documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} % \...
1
vote
1answer
44 views

line of text preceding equation breaking over page using Lyx

I'm in the process of implementing copy-edit comments on a book that has lots of math and lots of single lines before equations in a displayed equation environment. LaTeX likes to break pages between ...
7
votes
1answer
210 views

Erroneous text layer. Mismatch between kerning in fontforge and in {xe|lua}latex

Running xelatex (or lualatex) on the input \documentclass{standalone} \usepackage{unicode-math} \setmathfont[Ligatures=TeX]{texgyretermes-math.otf} \begin{document} \(\{f\}\) \end{document} should ...
0
votes
0answers
39 views

Define fallback font for a large character set (e.g. Simplified Chinese)

I've been asked to integrate Chinese characters into a mainly-English LaTeX template. Although I found different options, such as ctex, I stumbled with its integration (mainly because the ...
0
votes
0answers
25 views

Lualatex print \\par stopped producing the result

The \par option stopped working in lualatex in 2019. tex.print(-2,x .. "\\par") produces only \par in the final text, no paragraph break. File.txt may be any text file with ^ and & to mark the ...
1
vote
1answer
770 views

Pgfplots axis x line = bottom changes plot content

I'd like to disable the top border of the plot. To do so, I used axis x line = bottom. However, this changed the plots content (the left most and right most bar are now hidden). How can I achieve this ...
1
vote
1answer
42 views

How to correctly set x,y of nodes within a custom lua layout

I am trying to understand how I can place nodes within lua at correct x and y coordinates. I have this code mainly from the pgf/tikz manual: -- This is the file RectangleTreeLayout.lua local declare ...
0
votes
0answers
11 views

References to institutions in article authors [duplicate]

I'm using the article class (with LuaLaTeX) and trying to do write a author reference to its institution and e-mail address (as commonly seen in many papers) like this one https://impa.br/wp-content/...
0
votes
1answer
32 views

Format a number/pageref range according to Oxford (OUP) elision rules

The Oxford style guide rules say this about abbreviating ranges of numbers and page references: For a span of numbers generally, use an en rule, eliding to the fewest number of figures possible: 30–...
3
votes
1answer
144 views

Calling Julia from Lua

This example code previously appeared on a blog posting by Aditya, with one minor adjustments. I tried to run it on Debian 10 (buster), but it failed with the following error. texlua julia.lua ERROR:...
0
votes
1answer
62 views

Option Numbers=Lining not working any more with font Constantia after MikTek Update

I need to use the font Constantia and thus compile my document with LuaLaTeX using \usepackage{fontspec}(Editor is TeXStudio). As I do not like the OldStyle numbers, I use \setmainfont[Numbers=Lining]{...
0
votes
1answer
86 views

Ignore part [^\\] in Lua pattern

I want to find, using lua features, char $, but only if it is no char \ before char $. For this I create the pattern: ([^\\]?)%$ However, Lua ignores the first part of my pattern and find only %$. ...
0
votes
1answer
65 views

Reference 'last page' undefined, only running latex twice shows wanted result

If I run lualatex on a .tex file I only get ?? as a result from 'lastpage' in my document. Then if I run lualatex a second time, the correct result (2) is shown in the document footer. Main ...