We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0answers
40 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
68 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
32 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
60 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
101 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
49 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
75 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
17 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
243 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
60 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
489 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
79 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
65 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
42k 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
109 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}]{...
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
77 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
23 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
41 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
92 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
49 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
212 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
40 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
802 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
47 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
12 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
34 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
154 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
64 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
70 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 ...
0
votes
1answer
74 views

Undefined control sequence using pdfx and Lualatex

Compiling a simple example on PDF/A with Lualatex returns the following error: ! Undefined control sequence. l.660 \ifnum\shellescape Or, for a PDF/X: ! Undefined control sequence. l.333 \...
1
vote
1answer
59 views

Avoid Pagebreak In Appendix

I am trying to get the headings on the same page and have already tried using /nopagebreak and samepage, however it will still break the page. As to my understanding, the pdf size should be small ...
4
votes
0answers
395 views

latexmk: “file not found” even though custom dependency should add it

I am working on a large document, that contains descriptions of several technical components. I have written several macros that trigger the automatic creation of ".uml" files during a lualatex-...
0
votes
1answer
29 views

Change font in baposter package

I tried to change the font to garamond in baposter.cls using the following code: \usepackage{bm} % bold stuff \usepackage{bbm} % bold stuff \usepackage{fontspec} \usepackage[T1]{fontenc} \...
2
votes
1answer
29 views

Why can't I center my table using xtable and lualatex in rmd

Can anyone help me solving my issue with xtable, please ? I create a table using xtable, based on data that I processed Rstudio. The main R code runs a Rmd script who generates a pdf with that table....
0
votes
0answers
36 views

Force recto and verso pages to be the same height or number of lines

I'm using memoir for typesetting a novel and the nowidow package to control widows, running with lualatex. To prevent widows the nowidow package will leave empty lines at the end of the page, but I ...
1
vote
0answers
49 views

Moving luacode to Lua file, accessing glyphs by name

I have a package that includes (basically) the following code (provided by a contributor after asking this question on tex.stackoverflow). \begin{luacode} documentdata = documentdata or { } ...
15
votes
2answers
834 views

Different answers of calculations in LuaLaTeX on local computer, lua compiler and on overleaf

Here is the code. It makes use of the file matrix.lua available at the following link. https://github.com/davidm/lua-matrix/blob/master/lua/matrix.lua The following code is to be run by matrix.lua ...
0
votes
1answer
46 views

LuaLaTex, TeXstudio, biber - Do not compile bibliography when using Compile command

I'm trying to compile a document including a glossary and a bibliography. For adjustment purposes, I need to compile it every few lines I write. For this I use the TeXstudio command "Compile" (F6 in ...
1
vote
0answers
34 views

Turkish.ldf and font substitution with lualatex

Referring to this tread: Xelatex vs Lualatex and font substitution the following code \documentclass[a4paper,12pt]{article} \usepackage{ifxetex,ifluatex} \usepackage{fontspec} \ifluatex \usepackage[...
6
votes
1answer
123 views

Xelatex vs Lualatex and font substitution

As is known, in the Turkish language the i exists as distinct letters in two versions, with and without a dot (with very different pronunciations): the dotted couple i / İ and the dotless couple ı / I....
7
votes
2answers
226 views

Achieving better kerning in text mode italics

In the font I'm using to set italics, the apostrophe / right single quote is outputting poorly kerned: The kerning of the first apostrophe in 'n' and the apostrophes in they've and they're is ...
1
vote
1answer
2k views

FontAwesome is not working in Friggeri resume?

\documentclass[]{friggeri-cv} % \documentclass{article} \usepackage{unicode-math} \usepackage{FontAwesome} \definecolor{light-gray}{gray}{0.55} \definecolor{skype}{HTML}{12A5F4} \definecolor{html5}{...
0
votes
0answers
155 views

Want to add the different icons in Friggeri Resume like email, phone, mobile, skype etc [duplicate]

Want to add the different icons in Friggeri Resume like email, phone, mobile, skype etc. \documentclass[]{myfriggeri-cv} \addbibresource{bibliography.bib} \begin{document} \header{friggeri}{friggeri}...