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
1answer
16 views

Odd error when using Arabic in babel (TeXLive 2019)

I am facing a weird problem. Files that compiled correctly on earlier versions of TeXLive do not work on TeXLive 2019. The problem seems to be with babel and arabic (or a modified persian). See this ...
0
votes
2answers
50 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 ...
92
votes
6answers
29k 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
60 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
96 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
32 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
186 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
31 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
36 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
99 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
61 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
47 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
29 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
61 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
27 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
41 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
92 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 ...
0
votes
1answer
27 views

IguanaTeX in Powerpoint: problem computing bounding box

This question is essentially an exact duplicate of this one, which alas went unanswered. I am using IguanaTeX to format LaTeX in PowerPoint (not something I’ve ever done before), and obtain the ...
1
vote
1answer
37 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
63 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
13 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
164 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
53 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
469 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
74 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
52 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/...
5
votes
0answers
94 views

Spacing, delimiter, and Libertinus Math

I would like to have a command that stretches the common delimiters according to the content. The standard \sin\left( is known to have a bad spacing, the packages https://ctan.org/pkg/mathtools and ...
42
votes
8answers
40k 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
98 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
103 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
63 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
39 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
19 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
38 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
14 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
63 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
19 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
35 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
82 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
43 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 ...
6
votes
1answer
200 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
37 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
24 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
728 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
9 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
26 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
129 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:...