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
4 views

Different A4 paper size in XeLaTeX compared to LuaLaTeX and pdfLaTeX

If I compile my document (see below for MWE) with XeLaTeX I get a pagesize of 595.28 x 841.89 pts. If I compile the same document using LuaLaTeX or pdfLaTex I get a page size of 595.276 x 841.89 pts. ...
2
votes
2answers
46 views

LuaLaTeX, ntheorem, unicode-math and Libertinus: Math in theorem header loads Computer Modern

Consider this MWE and compile it with LuaLaTex: \documentclass{article} \usepackage{libertinus} \usepackage{ntheorem} \theoremstyle{plain} \theoremheaderfont{\normalfont\bfseries} \newtheorem{...
1
vote
1answer
29 views

Using cutwin package to get a “flowing text” effect

I am trying to get a flowing text effect using the Latex Package cutwin. I adjusted the example from the documentation but am stuck with hanging text in the right margin. Here is my minimum working ...
0
votes
0answers
32 views

unicode-math: Font “Inconsolata” has no glyph for \mathhyphen. How to remap to the normal hyphen glyph?

Compile the following MWE with LuaLaTeX \documentclass{article} \usepackage{libertinus} % Set the same teletype font for text, \mathtt and \symtt \setmonofont{Inconsolatazi4-Regular.otf}[Scale=...
0
votes
0answers
40 views

LuaLaTeX unrecognized option -max-print-line=120

I am using TeXnicCenter and I am trying to compile a file using as output profile "LuaLaTeX => PDF". However, the compilation stops almost immediately after a few lines (4 in total), the first of ...
0
votes
0answers
38 views

Find out/Tracking down why LuaLaTeX loads a certain font

I have switched to LuaLaTeX for my project and I am using unicode-math and libertinus. If I examine the resulting PDF, I see that the two fonts CMBX8 and CMBXTI10 are still partially included as Type-...
6
votes
1answer
71 views

pdflatex vs. lualatex: Libertinus and overline vs. bar

I understand that I am supposed to use \bar instead of \overline in math mode, if I want the respective character to mean "something different", because \bar is actually an accent (similar to \dot, a ...
2
votes
0answers
31 views

Libertinus pdflatex vs. lualatex: Delmiting vertical bars (left, right, middle) do not scale correctly and are too thin

Compile this MWE with PdfLaTeX and with LuaLaTeX: \documentclass{article} \usepackage{amsmath} \usepackage{libertinus} \begin{document} \begin{equation*} \left\lvert P \left[ b = b' \middle\...
0
votes
1answer
50 views

what can go inside \directlua{}?

I presume these problems are related. \documentclass[a4paper]{article} \begin{document} \message{\edef\foo{Foo}\foo} % gives %! Undefined control sequence. %l.5 \message{\edef\foo % ...
1
vote
1answer
37 views

Problem with xgreek, babel and polyglossia

First of all a code that compiles well % !TEX TS-program = xelatex \documentclass[11pt,a4paper]{article} \usepackage{xgreek} \usepackage{unicode-math} \setmainfont{Linux Libertine O} \begin{document}...
0
votes
0answers
40 views

How do I display a character in a box sized by its sidebearings?

I'm trying to make a font specimen, and want to show each glyph within its bounding box. \framebox{} looks like the right thing to use, but the box it prints doesn't accurately reflect the actual ...
0
votes
2answers
87 views

Pass and run a TeX macro from Lua

\starttext \startluacode userdata = userdata or {} function userdata.simple(c) context("\\%s{%s}{%s}",c,1,4) context.par() context[c](1,4) end \stopluacode \...
2
votes
1answer
81 views

Gregorio - Glyph missing?

I've just updated to TexLive 2019 on Mac and then Gregorio 5.2.1. This is the file I'm trying to compile (with my past distribution of TexLive 2018): % !TEX program = LuaLaTeX+se % !TEX encoding = ...
1
vote
1answer
30 views

\href italic font for external links

I'm trying to make a document (using lualatex) with internal and external links, using the xcolor and hyperref packages. I want my link setup like this: no boxes around links (underlined in a defined ...
1
vote
1answer
53 views

Subfigure with diagram's arrows

I need to implement some diagrams arrows, like the ones used with the tikz package in a subfigure template (I used subfigure because subfloats give me problems). So the subfigure template is like the ...
2
votes
1answer
85 views

Random (?) replacement of roots

A strange problem occurs with https://ctan.org/pkg/unicode-math. I have tested various fonts and math symbols and the problem seems to be the combination of https://ctan.org/pkg/unicode-math and ...
9
votes
1answer
238 views

Missing Qu-ligature with Libertinus + LuaLaTeX, but OK for Libertinus + XeLaTeX

Compile this MWE with LuaLaTeX and with XeLaTex \documentclass{article} \usepackage[defaultfeatures={Kerning=On,Ligatures={TeX,Common,Rare}}]{libertinus} \begin{document} \begin{tabular}{...
6
votes
1answer
95 views

fontspec issue with new LaTeX <2020-02-02> patch level 1

Let's compile this file with LuaLaTeX (or XeLaTeX): \documentclass{article} \usepackage{fontspec} %\setmainfont{Latin Modern Roman} % (or any other font) \newfontfamily\myfont{texgyreheros}[ ...
2
votes
1answer
99 views

How correctly redefine \maketitle to add tagged elements in LaTeX?

I want to redefine \maketitle command so that all data (author, date, thanks and title) is tagged with the tagpdf package. In my opinion it should be inside the title tag. But when I do this tagging, ...
1
vote
1answer
25 views

keep the path between two node always straight

In this mwe, I am trying to get all paths between the nodes is right angle, but I cant make it, even after seen multiple questions in this SO, e.g. this \documentclass[a4paper]{standalone} \...
0
votes
0answers
62 views

luaotfload | load : FATAL ERROR (output excerpt on the terminal after the lua run)

On a texlive2019 distribution, tex engine luatex, fonts used recognized by other engines (xetex, pdftex, csplain). Macros of OPmac - plaintex, no latex. Sourcefile: \input opmac ...
2
votes
1answer
47 views

PDF text search doesn't find first word in section title

When I run lualatex on the following MWE, open the resulting PDF in either Evince or Okular, and search for foo, I get zero matches. If I instead search for f oo (note the space between the f and oo) ...
1
vote
0answers
85 views

lualatex and unicode-math

In this MWE \documentclass{scrartcl} \usepackage[spanish, activeacute]{babel} \usepackage{unicode-math} \usepackage{hyperref} \begin{document} \section{A section} \begin{equation} j =\sqrt{-1} ...
3
votes
2answers
76 views

luatex, OPmac, texlive2019 not compiling

Thanks for both replies, the question was solved ...till today. Did a tlmgr update -all of texlive2019, rebuilt the database of fonts as described in the texlive documentation, the processes not ...
0
votes
0answers
61 views

LuaLaTeX and polyglossia 1.47

When I use Hebrew with polyglossia 1.47 and LuaLaTeX on TeXLive 2019, I get an error message that I don't get with polyglossia 1.46. Here is my MWE: %!TEX TS-program = lualatex %!TEX encoding = UTF-8 ...
0
votes
1answer
88 views

Diagram's Arrows

I have a question for you. I have some images in my latex file and I would like to connect some of them with arrows. For example something like this: Image1 --------> Image2 Image3 --------> Image4 ...
0
votes
1answer
115 views

Conflict between Minion Math font and math-mode siunitx?

Update 3 07FEB2020: When I replace Minion Math with Asana Math, it also doesn't compile! Seems like only certain fonts work, so it must be a siunitx or unicode-math issue... Update 2 of 06FEB2020: It ...
0
votes
0answers
45 views

EPS images not showing in Latex (and EPS-to-PDF conversion failing)

A couple of days ago I posted an issue here (link: XeLaTeX unable to find fonts after reinstall of MiKTeX), where I was suddenly unable to compile a document after reinstalling windows+tex software. I ...
0
votes
0answers
21 views

Tables - cellcolor does not work with tabu any more

I wrote a document with colored cells using \cellcolor with tabu. Unfortunately, it does not work any more. Here is an MWE: \documentclass{scrartcl} \usepackage{tabu} \usepackage[table]{xcolor} %\...
1
vote
0answers
133 views

XeLaTeX unable to find fonts after reinstall of MiKTeX

Dear problem solvers, After reinstalling Windows on my computer and subsequently reinstalling MiKTeX 2.9, I've been unable to compile with XeLaTeX (PDFLaTeX does work). I had no problems before. ...
2
votes
1answer
54 views

Generating PDF files with OpenType math fonts and no font embedding

I am new to TeX, working on an iPhone/iPad app that displays pages from a collection of PDF documents. Every PDF document in the collection contains one or more math expressions. Each PDF file is ...
2
votes
0answers
43 views

Weird error with unicode-math and math subscript

I stumbled across what appears to be a very weird error when using unicode-math and lualatex/xelatex. Consider: \documentclass{article} \begin{document} Test subscript: $\mathbf{a}_\mathbf{b}$. \...
0
votes
1answer
29 views

Serial letter from csv with table with multiple lines in one cell

I'm struggeling with creating a "serial letter" (not really a letter, but a document wich I will need different versions of for different people). I have all the data I need to insert in a csv file. ...
3
votes
1answer
65 views

Acrobat Reader manipulates (Xe/Lua)LaTeX-generated PDF on open

I noticed that Adobe Acrobat Reader 2017 (2017.011.30156) manipulates an opened PDF immediately, so that it asks to save the changes on exit, even if apparently no changes were applied. I was unable ...
2
votes
1answer
62 views

Font shape undefined when using OpenType font and mathdesign

I'm trying to use Adobe Utopia fonts for text and mathdesign's utopia font for math. But with this sample document: \documentclass{article} \usepackage[utopia]{mathdesign} \usepackage{fontspec} \...
2
votes
2answers
72 views

Lualatex: Check if graphic exists otherwise use file

The usage \includegraphics[width=1.7cm]{MyImage} is quite simple straight forward. If file MyImage doesn't exist the whole process is cancelled. Therefore I want to check in advance if the file exists ...
0
votes
0answers
49 views

Problem with lualatex-dev and TeXGyre Pagella Math

The next code with lualatex-dev gives warnings LaTeX Font Warning: Font shape `TU/TeXGyrePagellaMath(1)/m/up' undefined but not with lualatex % !TEX TS-program = lualatex-dev \documentclass{...
1
vote
3answers
154 views

Combining French and Greek Babel does not work in dvilualatex

For some reason, there is an error when trying to use French and Greek Babel support with dvilualatex. Try running the following, and it will work fine with dvilualatex+dvips/dvipdfmx: \...
0
votes
0answers
87 views

Including a comment environment in a LuaTeX form letter implementation

My OS is Debian GNU/Linux 10.2 (buster). TeX Live is a backport from unstable, version 2019.20190605.51237-3 (a snapshot of TeX Live 2019). The code below is an LuaTeX form letter implementation. ...
0
votes
0answers
15 views

Fixing node size and text alignment in Neural Network

I was able to modify the Latex Neural Network in the answer given by Aymon here Neural Network Tex However I can seem to do a few things get the outputs to be equivalent to the output nodes, for ...
0
votes
0answers
42 views

How to do tagging of lists?

In example of tagpdf package it exists example,how to tag any lists in latex (enumerate,description and itemize). But in this example before and after \item command we should open and close some tags. ...
1
vote
0answers
37 views

Formal Letter with distinct header - footer look depending on page length

I am trying to write a formal letter. The issue I am having is utilising fancyhdr properly. I would like to achieve the following: If only a single page: The header and footer only - without page ...
0
votes
1answer
47 views

Easy math system but lot of errors

I'm trying to do an easy system, but I received a lot of errors. \[ f(x) = \begin{cases} x & \quad \text{if x > 0\\ 0 & \quad \text{else} \end{cases} \] Probably I'm doing something ...
4
votes
1answer
96 views

Addfontfeatures not working after update

I have updated my LaTeX recently and I am getting error when using \addfontfeatures Here is my MWE (you can use any font) \documentclass{article} \usepackage{polyglossia} \setmainlanguage{english}...
9
votes
1answer
150 views

Why does the appearance of the backslash in \url, \path and \texttt look different when using lualatex/pdflatex and the package url/xurl?

Consider this minimal example: \documentclass[varwidth]{standalone} %\usepackage{xurl} \usepackage{url} \begin{document} \path{C:\} (path)\\ \url{C:\} (url)\\ \texttt{C:\textbackslash} (texttt) \end{...
4
votes
1answer
43 views

How can I use the linegoal package with LuaTeX?

It seems like \linegoal isn't working correctly with LuaTeX: With pdfTeX the output is fine: Is there a way get \linegoal working with lualatex? Or is there an alternative? MWE: % !TeX TS-program =...
1
vote
0answers
109 views

Random errors while compiling a large document with LuaLaTeX via Latexmk

I'm working on a rather large (200 pages) document. Once or twice a day, I get a compile error which references a line that does not exist in my code. That is, the line does exist, but the error ...
1
vote
0answers
51 views

How to correct expand commands,to insert it in actualtext?

I try to redefine equation environment,to insert actualtext of formula. But if i insert the space after equation,i get \test{1}{0}. When i not insert space after setting of actualtext of equation,i ...
2
votes
0answers
131 views

Latest texlive 2019 update broke files with novel class

The example files supplied with the novel class package and my own files using this package no longer compile (lualatex) after the latest update. There are everything ok with Texlive 2018 and before ...
0
votes
1answer
82 views

I wish to set PDF metadata from within LuaTeX

I found out how to implement the Lua code for setting PDF metadata. I have failed. My code: \directlua0{ pdf.setinfo ("Title", "Naked Cheerleaders on Crack") pdf.setinfo ("Creator", "LuaTeX") ...

1 2 3 4 5 54