Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

2
votes
2answers
86 views

`microtype`: Set Minimum Width of a Space

Problem Description I am a newbie. I use microtype package. I would like to set the minimum width of a space to a width of a regular space. However, with default settings, it is shrinked too much and ...
5
votes
3answers
452 views

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

Problem Description I am quite a newbie at *TeX, but I defined some \newcommands as some kind of paragraph styles (maybe not the proper way to do so, maybe someone could tell me how to accomplish ...
1
vote
1answer
44 views

Prevent hyphenation in `type-II` with LuaLaTeX

I want to prevent the hyphenation of type-II at the dash. I tried type\nobreakdash-II and mbox as workaround, but this is not very readable in the code and I want to separate layout information ...
0
votes
2answers
57 views

Using the unicode prime character outside math mode with unicode-math and newunicodechar

I am trying to use unicode-math, newunicodechar and LuaLaTeX/XeLaTeX to write my LaTeX code making use of unicode characters in the source text. This works fine, except for the prime character; if I ...
2
votes
2answers
66 views

Place `tikzpicture` on the left of the text

Background I’d like to write a LuaLaTeX document for the Roman Catholic Liturgy of the Holy Week (from the Psalm Sunday through Easter Sunday). I do this in Slovak language (here’s a pdf that uses ...
1
vote
2answers
79 views

How can I verify that the fonts are all embedded in my LuaLatex document?

I am working with a manufacturer who is typically used to getting pdfs from more traditional Adobe tools, read: not LuaLatex. They are telling me to "make sure" that my fonts are embedded in the .pdf ...
2
votes
0answers
51 views

Does LaTeX (lualatex) have the Adobe Illustrator equivalent of “Outline” mode?

I am working with a manufacturer (there are some language barriers) who is asking for the "outline" of some of my pdfs. What they mean: they want what Adobe Illustrator does in its "Outline" submenu. ...
24
votes
2answers
534 views

Inconsistent letterspacing (interword space) in pdflatex vs lualatex

In my documents I prefer text in small- and all-caps to be letter spaced. To that end I am using the letterspacing capabilities of the microtype package. Until now (with version 2.5 of microtype) I ...
11
votes
2answers
235 views

Engine problem? Creating dynamic diacritics using the Brill typeface

I’m trying to recreate the following image from John Hudson’s (principal designer of the Brill typeface) presentation slides: Source: The Brill Types, p. 22. The typeface is free for non-...
5
votes
1answer
107 views

Output Devanagari (Hindi) from raw unicode using luatex

I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \...
3
votes
0answers
73 views

Fraktur (blackletter) typesetting with certain automated features?

This question is somewhat related to this one. Background: I have a book from 1855 (Faust) of which I'd like to create a kind of facsimile version. At this point it isn't too important to make sure ...
0
votes
0answers
91 views

How to obfuscate text in LaTeX class

I want to do something like https://tex.stackexchange.com/a/127902/176093 however the text I want to obfuscate is in a class and currently defined as \fontsize{1cm}{0cm}\selectfont my text the class ...
5
votes
2answers
80 views

Apostrophe height in small caps with a special font

Using lualatex and fontspec with a special Garamond font. The font I use has two versions of the apostrophe: a normal high and a low small caps one. The problem occurs using small caps feature, ...
1
vote
2answers
58 views

LuaLaTeX: Extract basename from path

My question is closely related to LuaTeX: Split path string for use in macros. However, in contrast to this, I would like to have the basename. For example, I am interested in file from /path/to/file....
2
votes
1answer
193 views

Bold symbols in LuaLaTeX with setmathfont

How to type bold \wedge and \neg symbols in a selected math font? MWE1, with bm package, no math font selection: \documentclass{article} \usepackage{fontspec} \usepackage{bm} %\usepackage{unicode-...
8
votes
1answer
132 views

Change bounding box of math glyphs in LuaTeX

I'm trying to use the Garamond-Math font in LuaTeX (despite the documentation saying I should use it with XeTeX only :-). It's working more or less OK with LuaTeX, except for some unfortunate glyph ...
7
votes
1answer
899 views

Problems with luaotfload and certain font shapes

While playing around with lualatexon TL 13 I encountered a strange problem. Certain font shapes would produce an error without any visible reason. The following example is with Stempel Garamond LT Std ...
3
votes
1answer
178 views

`Package fontspec Warning: Font XXX does not contain requested Script “CJK”`, but visually it does

I have below warning in LuaLaTeX/ltjsarticle project: Package fontspec Warning: Font "fonts/HGS_Mincho/HGRMB.ttc" does not contain requested Script "CJK". I dot't know about Chinese and Korean, but ...
0
votes
0answers
26 views

Does pinlabel work with xelatex/lualatex?

Does {pinlabel} work with xelatex or lualatex? The following MWE works fine in pdflatex, but in xelatex/lualatex the figure disappears -- with no errors. \documentclass{report} \usepackage{graphicx}...
1
vote
2answers
45 views

Set dpi of locally created font

I was looking for a lightning symbol and came across this post: The lightning symbol in an equation environment I liked the lightning symbol from the ulsy package (from the second answer) and tried ...
1
vote
1answer
58 views

How I can resolve `Font shape `xxx/it' undefined` warning for CJK in LuaLaTeX?

Below CJK-contains code compiles without errors however with warnings. \documentclass[a4paper, twoside]{ltjsarticle} \usepackage{luatexja-fontspec} \usepackage[abspath]{currfile} \setmainjfont[ ...
0
votes
2answers
84 views

LuaLaTex: Plantuml from file

I have a tex-document with some text and a folder with plantuml diagrams. I need to import diagrams into a document. I've tried to use plantuml package - https://ctan.org/pkg/plantuml?lang=en. It ...
5
votes
3answers
292 views

Perform and show arithmetic with LuaLaTeX

The function I'm trying to create is one that takes two numbers and prints the result with some math. The following is my code: \documentclass[12pt,a4paper]{article} \begin{document} \directlua{ ...
0
votes
0answers
34 views

LuaLaTex and microtype - error - can anybody help? [duplicate]

I get an error with lualatex and microtype. This is my file: \documentclass[fontsize=12pt]{scrartcl} \usepackage{microtype} \usepackage{lipsum} \usepackage{fontspec} \begin{document} \lipsum \end{...
1
vote
2answers
187 views

Pandoc font family not changing

I tried to set the font family to Source Sans Pro, but pandoc gives me the following error: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. \AtBegShi@Output ......
9
votes
4answers
729 views

Plot complete Fermi-Dirac integral in Lualatex

I am trying to plot this function with lualatex
1
vote
0answers
33 views

Unknown errors with pax package with lualatex compiling

Let we have some document.tex-file with hyperlinks \documentclass[]{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{equation}\label{key} E = mc^c \end{equation} \eqref{...
9
votes
1answer
249 views

Count character in line

(source: bankfotek.pl) I have chapter and on end of each line I would write counter of chars, and before text line write a line sized of counts of chars. Please solution in LuaTeX. My LaTeX code \...
0
votes
0answers
34 views

Page is empty and I can see only titles

I dont know what happened I can see only the titles i.e "List of Tables" and "Contents" and the rest of the page is empty. Here is the list of packages I used in my code to write thesis. Comments will ...
0
votes
0answers
27 views

How check,what compiler used for compiling of pdf document [duplicate]

I want to change some package,but in the beginning of the package i need in checking,what compiler use. For example,if i use latex,i want to require one packages,for lualatex i want to require other ...
8
votes
2answers
370 views

Unable to supress ligatures in headings which are set in Caps

I am aware that similar questions have been asked a few times. However, none of the answers solved my problem. This Answer says that it is a bug in luaotfload. But I'm already using a newer version (2....
2
votes
1answer
63 views

lualatex doesn't run when under www-data

we are using lualatex to produce some automatically generated documents on our webserver. We do have an Ubuntu 18.04 based server, on which Nginx runs as webserver. Nginx does not run as root, but ...
1
vote
1answer
91 views

LuaLaTeX: How to correctly resolve absolute path with \directlua on Windows

I need to resolve absolute path to fonts: \setmainjfont[ Path = \currfileabsdir, UprightFont = fonts/HGS_Mincho/HGRMB.ttc, BoldFont = fonts/HGS_Mincho/HGRME.ttc ]{HGS ...
1
vote
1answer
74 views

LuaTeX an 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 ...
6
votes
2answers
160 views

Create test of text direction (luatex)

With luatex there is \textdir to change text direction and tex.textdir which give string representing text direction. I have created this macro to test text direction which supposedly gives TLT ...
0
votes
0answers
61 views

two nomenclatures in one document in two different pages

I am using nomencl package to build nomenclature and a list of abbreviations. I want to make the list of abbreviations to appear on a different page than the nomenclature. How do I make this happen? ...
0
votes
1answer
27 views

Operator font with lualatex not changing correctly

I'm using newpx as my document font. However I'm having some problems when compiling with lualatex because the font of math operators does not change to newpx and Computer Modern is shown instead. ...
12
votes
2answers
602 views

Decide between Polyglossia and Babel for LuaLaTeX in 2019

Which are the key questions one has to ask to decide between Polyglossia and Babel for a LuaLaTeX project in 2019? There has been a similar, more general question in 2012, but the packages have ...
0
votes
2answers
1k 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 ...
1
vote
0answers
23 views

How to add a key for glossaries which mirrors \glssymbol?

At the moment i'm writing a text with lots of equations and not less variables. So 'Thank God' for the glossaries-package. To minimize the actual code i added an extra key 'derivative', which resulted ...
5
votes
2answers
2k views

Media9 compiles but embedded video gives “Unable to connect to content” “TypeError - Error #1009”

I have a beamer presentation that I am creating and I'm trying to embed a video clip. I'm using the media9 package and having a ton of issues with it. I've gone through the documentation with a fine-...
1
vote
2answers
88 views

How to understand which control sequence in undefined in “Undefined control sequence.” message?

I got "Undefined control sequence." message, but from ...sdir{\directlua{tex.sprint(lfs.currentdir())} I do not understand, on which control sequence LuaLaTeX refers: How can I explore it? The MWE ...
1
vote
1answer
30 views

X-4 option of PDFX does not show hyperlink color with the PDF/X option (x-4)

It is indicated in the pdfx manual To produce a validating PDF/X document,pdfx overrides internal macros while keeping colors associated with link anchors. I can see the same claim in the answer ...
2
votes
1answer
33 views

How to use 'lfs' library in LuaLaTeX preamble?

I need to define absolute path of .tex file, and I already learned how to do it: \edef\currfileabsdir{\directlua{tex.sprint(lfs.currentdir())}/} What I don't know is how to include lfs library to my ...
30
votes
1answer
914 views

microtype error with lualatex: “attempt to call field warning a nil value”

no answer needed, I'm adding the question as reference After todays update of luaotfload microtype gives an error when used with lualatex: \documentclass{article} \usepackage{microtype} \begin{...
5
votes
0answers
66 views

Excessive memory use with unicode-math/Fira Sans and xfrac

When trying to use the Greek symbols in the font Fira Sans with unicode-math, I noticed that running lualatex on my document uses up enormous amounts of RAM. I have distilled my problem to a minimal ...
2
votes
1answer
60 views

Mixing Icelandic, German and Ukrainian glyphs in the same PDF

This is more or less a followup to a previous question which I asked with pdflatex in mind and regarding another document class (letter-classic). Right now I am struggling to be able to mix German, ...
2
votes
1answer
67 views

Fontspec isn't changing digits in math mode

I had been using the following in my preamble: \documentclass{article}[12pt] \usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]{mtpro2} \usepackage{fontspec} \setmainfont[Ligatures={...
0
votes
1answer
58 views

How to add compilation parameters -shell-escape with arara

I am having trouble using compiling argument lualatex -shell-escape as mentioned in this question using arara. I cant get the right syntax, and I am failing to find it in arara user manual. I tryed ...
11
votes
2answers
505 views

LuaTeX and em dashes

LuaLaTeX is not inserting em dashes unless there is space around the triple dash. It works fine when using a unicode em dash, or explicitly using the \textemdash macro. Here is a MWE: \documentclass{...