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
24 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
333 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
41 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 ...
2
votes
2answers
51 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 ...
2
votes
0answers
36 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. ...
0
votes
2answers
50 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 ...
0
votes
0answers
41 views

Lualatex/Japanese document compiles fine in TeXstudio, but not MacTex

I'm having trouble compiling the following document. I have done a fresh install of MacOS 10.14 and installed the full size MacTex 2018 distribution directly from TUG. I have also upgraded all ...
1
vote
2answers
53 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 ...
3
votes
0answers
44 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 ...
5
votes
1answer
90 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} \...
12
votes
2answers
172 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-...
0
votes
0answers
81 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
73 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
53 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
2answers
144 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-...
0
votes
2answers
34 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[...
9
votes
1answer
110 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 ...
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
1answer
60 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 ...
1
vote
1answer
30 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[ ...
1
vote
2answers
40 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 ...
0
votes
2answers
58 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
256 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
25 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
0answers
26 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{...
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
23 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
359 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....
7
votes
2answers
149 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 ...
4
votes
1answer
86 views

Create a Table with Luatex

i want to make make a template table with parameters. i found diffrent types of solutions but then i try to do some changes, it doesn't work anymore. i tried two diffrent ways: First way \...
1
vote
1answer
73 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 ...
0
votes
0answers
47 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? ...
1
vote
1answer
84 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 ...
0
votes
1answer
26 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. ...
10
votes
2answers
491 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 ...
1
vote
0answers
17 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 ...
1
vote
2answers
70 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
26 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 ...
0
votes
0answers
50 views

What callback to use,to catch all nodes in any document and how to print something in any part of document in lualatex?

Tell me please,what callback or callbacks better to use,to catch all nodes, which are contained in some document. Also help me please, does it really print something,for example, in the second line of ...
5
votes
0answers
57 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
56 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
61 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={...
1
vote
2answers
81 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 ......
0
votes
1answer
46 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 ...
0
votes
0answers
30 views

How can I get LuaLaTeX to turn three hyphens into an em-dash? [duplicate]

For some reason, LuaLaTeX is outputting an en-dash for both -- and --- for me. MWE: test.tex: \documentclass{article} \begin{document} blah-blah blah-...
0
votes
1answer
28 views

How to complete these side borders in Beamer? [duplicate]

There are some great answers here and here about the same issue but different code samples, in this case I am using a new package beamer-rlCTAN with last update of Babel package, it solves problems ...
0
votes
0answers
31 views

Automatical graph layout with high number of connections using TikZ package

While learning to work with LaTeX, I have found out (also in this question) that TikZ is able to create very good automatic graph layouts. In my work, I had assignment to create pretty large ...
0
votes
1answer
37 views

How use command \pdfextension in luacode enviroment of package luacode?

When i try compile,for example,this code in my document: \begin{luacode} \pdfextension literal direct{/Span <> BDC} tex.print("my text") \pdfextension literal direct{EMC} \end{luacode} ,i have a ...
1
vote
1answer
53 views

LuaLatex and bidi (Hebrew/German)

Using polyglossia or babel/bidi with LuaLatex seems to cause different problems. In my case I am totally helpless. I need to use the \texthebrew and \RL commands, but I can't get it run. Also, I don'...