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

1
vote
1answer
26 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
48 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
0answers
17 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
37 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
2answers
818 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 ...
11
votes
2answers
447 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{...
0
votes
0answers
26 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
22 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
28 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
32 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
40 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'...
7
votes
4answers
665 views

Plot complete Fermi-Dirac integral in Lualatex

I am trying to plot this function with lualatex
4
votes
1answer
24 views

Feynman diagram: sides switched

In my t-channel Feynman diagram (with tikz-Feynman), the lower two particles of the t-channel are switched. It appears that for s-channel, the right hand side particles are switched too. Code for t-...
1
vote
1answer
47 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 ...
5
votes
2answers
197 views

Index in KOMA-Script layers does not work

Background. I would like to replace the intentionally blank pages or vacat pages in scrbook with a page which shows a new quote on every new blank page. Thanks to scrbook and LuaTeX this is not ...
1
vote
0answers
43 views

How to print data in pdf in callbacks?

Give me please at least one example that,how i can print some data in document in callbacks using pdf.print or help me please,how i can insert information in any part of document during callbacks? For ...
0
votes
2answers
37 views

Extension of `rotating` package to set PDF rotation

I am trying to extend the rotating package to also show the respective pages properly rotated in the PDF output by setting the PDF page attribute /Rotate. I have a working version for XeLaTeX, however,...
3
votes
2answers
78 views

Included lilypond files being processed by lualatex can't contain % symbol comments

My MWE below shows two files working together to create a document containing music using the lyluatex package. Unfortunately, I've observed that if I add any comments to the contents anywhere in the ...
10
votes
1answer
115 views

What is the least resource intensive way to generate the luatex font cache for a new font?

When a font is first used with lualatex, luaotfload does some magic to produce font cache files. For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory. I have an old ...
17
votes
2answers
560 views

Aligning a text in 3d diagram

I have a 3d object created with inkscape as shown below: Now I am trying to place a text in the same orientation as the light-blue colored area. However, I want to insert the text with latex instead ...
3
votes
2answers
119 views

fontspec no-math option changes the math bold alphabet

I have a setup that works well with pdflatex and that I would like to carry it over to xelatex or lualatex, but fontspec seems to be changing the math-bold alphabet -- even if called with the [no-math]...
1
vote
0answers
35 views

Unicode glyph not displaying in LuaTeX [duplicate]

I need to use some unicode glyphs relating to greek metric, namely ⎯ ⏑ ⏒ ⏓ ⏔ ⏕ ⏖, but I can't make them display on the document. I've got \documentclass{beamer} \usepackage[ngerman]{babel} ...
0
votes
0answers
30 views

How to accurately set the font size for different lines?

I need to create the cover page for my thesis. The university provides the specifications like this: ‐ Univerity logo. ‐ Faculty name: Palatino Lynotipe, 16pt, capitalized. ‐ Department: Palatino ...
2
votes
2answers
83 views

Error during using callback start_page_number in lualatex

I updated miktex and all packages and now i have an error,when i try use callback start_page_number in my document. The error appeared even in very small document,for example in this document: \...
1
vote
2answers
424 views

\includegraphics with spaces, dots and underscores

I've already tried 10 billion advices like using \usepackage{grffile}, wrapping the filename into {} and/or "" (in any combination). Nothing is working! So, I have a file with path plots/task-1/...
0
votes
0answers
52 views

What callbacks i must to register,to catch start and end of paragraf and any other structures in lualatex

Help me please,what callbacks i must register to catch starting and ending of structures in lualatex such as paragrafs,lists,items of lists,tables,sections,subsections,sub...subsections,ETC. How i can ...
4
votes
1answer
1k views

How to build a Makefile that builds a LaTeX document with dependencies in one run

I am trying to create a Makefile for my paper where I can type just make and it will compile everything in one go. The paper has several figures which are generated from scripts. However, everything I'...
2
votes
1answer
28 views

semantic package: Floating premises with nested \inference

I am typing setting some big step semantics using the package semantic and its command \inference. I use the LuaLaTeX compiler. However, when I compose more inference commands, and one of them ...
3
votes
1answer
117 views

Building a token list in lua

In TeX, a 'write' node is inserted with, say: \write1{\string\doit{\the\lastypos}} With pure luatex, a node could be created with: local n = node.new(8, 1) n.stream = 1 n.data = <token-list> ...
3
votes
1answer
84 views

Microtype package produces warning when using LuaTex

I am receiving the following warning message whenever I include microtype: Module microtype Warning: overwriting function `keepligature' on input line 59 Here is a minimum working example: \...
1
vote
1answer
77 views

How to print mathematical object in text mode in lualatex?

In one of the callbacks of lualatex in lua (build_filter) i print the first argument of function. \begin{luacode} function f(a) tex.print(a) end luatexbase.add_to_callback("buildpage_filter",f,"...
2
votes
1answer
63 views

How to register callbacks in lualatex

Help me please,how i can register callbacks in lualatex. For example it need to me catch,when the page of my document started or ended and print number of this page*2. I found in luatex documentation ...
2
votes
1answer
66 views

luajittex ignores fonts luatex finds

With LuajitTeX, Version 1.10.0 (TeX Live 2019) and ConTeXt ver: 2019.02.26 20:04 MKIV beta fmt: 2019.3.1 I can run the following MWE: \setupbodyfont[postscript,sans,12pt] \starttext Test \stoptext ...
5
votes
2answers
54 views

Greek letters wiith continuing circumflex

I've noticed that LuaTeX seems to incorrectly render continuing characters (like a circumflex, U+0302) when they follow Greek letters. I'm particularly interested in getting this to work with a ...
3
votes
1answer
39 views

how create new command with formated string

When i try create new command,which contains formatted string, I get an error: \directlua]:1: unfinished string near <eof>. Help me please fixed my error. this is a code of my document and ...
2
votes
1answer
46 views

How can I use math.log10 function with the directlua?

I would like to know how I can use math.log10 function with the directlua, because I always get none from directlua. Following a minimal example: %Engine: LuaLaTeX; %Encoding: UTF-8; \documentclass[...
0
votes
1answer
69 views

issue on lualatex and mongo

I have an issue with lualatex and mongo % !config % arara: lualatex :{shell : yes , synctex : yes} % arara : tikzmake :{ jobs : 1, force : yes} \documentclass[12pt,a4paper]{book} \usepackage{Bibles} \...
2
votes
1answer
30 views

“Simple table” with differing alignments

I am facing an issues with tables. Currently my MWE looks like this: \documentclass[12pt,a4paper]{scrreprt} \usepackage[left=2.50cm, right=2.50cm, top=2.50cm, bottom=2.00cm]{geometry} \usepackage{...
3
votes
0answers
167 views

ℕ goes as N into the text layer?

Let's compile the following code with {xe|lua}atex: \documentclass{standalone}% or article, doesn't matter \usepackage{unicode-math} \setmathfont{TeX Gyre Termes Math}%% or TeX Gyre Pagella Math, ...
0
votes
1answer
55 views

miktex: forest tex capacity exceeded [save size=50000]

this is follows-up question to forest tex capacity exceeded [save size=50000] which receive two answers. both solve op problem with suggestion to upgrade op latex distribution to texlive 2018. i ...
3
votes
2answers
41 views

Create an environment to translate sentences

I'm trying to create a command to use when I need to translate the language or make examples to both languages. So far I have created a box around the text and two columns, one for each language. \...
19
votes
1answer
426 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{...
0
votes
0answers
18 views

how to tell if I am using XeLaTeX, LuaLaTeX or pdfTex? What exactly are? [duplicate]

I have installed LaTeX on Ubuntu 18.04 using sudo apt-get install texlive-full How can I tell if I am using XeLaTex, LuaLaTeX or pdfLaTeX? What are they exactly? I edit my tex files with the ...
1
vote
0answers
22 views

Indextools package and custom index. (Section and any counter)

My problem is that I need to create a custom index that shows more than the page. Like this: Word, s.5,o.6,p.9 , where s. is section, o. a dummy counter, and p. page. My MWE: \documentclass{book} \...
1
vote
2answers
42 views

Is there a standard way to assert the engine used or similar and cause an error otherwise?

Is there something analogous to the assert command offered by various programming languages to assert certain conditions? In particular I am looking for a way to outfit my .tex files with assertions ...
5
votes
2answers
65 views

Different fonts inside and outside math-mode

When processing the simple file: \documentclass{report} \begin{document} 1234567890 $1234567890$ \end{document} with pdflatex one get a PDF with one font only (CMR10), but when processing with ...
0
votes
1answer
29 views

Manually sort entries without glossaries-extra package

since none of my issues could be solved yet ( Define special sorting for Lualatex glossaries in Japanese? ) ( Bib2Gls doesn't compile CJK characters correctly ) and I won't be able to turn in my ...
3
votes
1answer
94 views

Disable smart (contextual) quotes for entire document?

Is it possible to disable smart (contextual) quotes for an entire document? If yes, how? In particular, can the single quote ', double quote ", and backtick ` be left as-is by some option or method ...
0
votes
0answers
53 views

Very common question: Feynman Diagrams in LaTeX

I know about a lot of solutions how to draw Feynman diagrams in LaTeX. Unfortunately, noone of them is perfect. I know about TikZ-Feynman and it is the best variant (may be) but I do not understand ...
3
votes
0answers
33 views

Luatex and system luarocks mismatch problem

I've been working on using lua to read a yaml file and print out a nice latex table but I've hit a snag. My lua code uses lyaml installed using luarocks, but luarocks only sees my system lua, which is ...