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
1 answer
31 views

LuaLaTeX - Table (tabularx) Can't get rid of underfull hbox (badness 10000)

Ok so I have tried various solutions to this problem and the ~10 underfull hbox warning have been reduced to 1. But this one's really sticky and I'm at my wit's end. The warning is directed to the ...
user avatar
0 votes
1 answer
21 views

How to pass the content of a TeX variable to Lua without luastring and luacode?

I try to pass the content of a Tex variable to lua, but I don't use luacode. Is there a way to avoid it ? \documentclass{article} %\usepackage{pgfkeys} %\pgfkeys{ % JobName/.code={\directlua{ ...
user avatar
  • 16.4k
1 vote
0 answers
39 views

Jake's resume cannot be compiled with LuaLaTeX or XeLaTeX

Jake's resume is a famous resume template, its link is https://www.overleaf.com/latex/templates/jakes-resume/syzfjbzwjncs I want to modify it for Chinese characters, for example, change \section{...
user avatar
1 vote
1 answer
56 views

How to change font from old pdflatex packages to new lualatex definitions

Lualatex allows to load fonts directly and without packages and other dependencies. The problem I see is that the usage is well documented for pdflatex and the old style and not documented for ...
user avatar
3 votes
1 answer
103 views

Understanding implicit error on a recursive function

I was originally following the idea from Garrick Peschke To import all .tex files inside a folder, but I want my Lua function to also search inside subfolders. Unfortunately I can't make the Lua ...
user avatar
  • 31
0 votes
0 answers
30 views

Newest version of luatexja interferes with vertical alignment of text

Today when I was compiling a document, I found that the header was mis-aligned. After a bit debugging, it seems to be the package luatexja (version 20220807) that is causing the problem. Below is a ...
user avatar
  • 6,566
2 votes
1 answer
61 views

Dealing with curly braces in LuaLaTeX

I'm trying to generate a table with bolded text using a Lua snippet. Here's a minimal example. \documentclass{article} \usepackage{luacode} \begin{document} \begin{table}[h] \centering \begin{...
user avatar
1 vote
0 answers
41 views

marginnote and framed - workaround fails with lualatex

I have this code in my 12 year old Tex files that I currently like to upgrade such that they work with lualatex. I load this code in order to fix a problem with marginnote and framed. Unfortunately I ...
user avatar
1 vote
0 answers
17 views

Error using fontspec/lualatex with italic IPA unicode symbol <ɻ> (retroflex approximant) [duplicate]

Using fontspec with lualatex, and Libertine as the font, I get an obvious misalignment whenever the IPA symbol for a retroflex approximant, <ɻ>, is used in italics, but only if it has other ...
user avatar
0 votes
0 answers
56 views

token memory size Error in tagged PDF

I was new in LaTeX Tagged PDFs process. I am getting token memory size error while using multiple page tables. I used TeXLive 2022 and used LuaLaTeX compiler. In the MWE when adding more long tables ...
user avatar
  • 1
0 votes
0 answers
26 views

TexStudio 4.2.1 Undefined Control Sequence. \outgoing and \incoming with SMS style txt'ing

Following this idea for SMS text's in LaTeX using a memoir class Boxes for SMS Conversation however, I get an error being Undefined control sequence. \outgoing or \incoming code is this % universal ...
user avatar
0 votes
0 answers
44 views

Insert specific form of tau

I want to insert this specific tau in my paper . But with the usual tau symbol, I am getting this tau,. Wth the upgreek package, I am getting this, . Therefore I am asking for your guidance about the ...
user avatar
  • 1
0 votes
1 answer
14 views

Lualatex windows system calls not functioning

I am using a light version of lualatex provided by tinytex. i have a lua file: githelp.lua function gitlogread() local pip=io.popen("echo 'ANYTHING'") gitid=pip:read() pip:close() ...
user avatar
0 votes
1 answer
55 views

mathbf font does not show in LuaLaTeX

I have resolved my earlier problem with LuaLaTeX not loading fonts, but now the \mathbf command does not produce bold math font. As an example, the following code: \[ x + y = 10 \, \mathbf{bold ...
user avatar
  • 163
0 votes
1 answer
43 views

Recovering discarded items in the output routine

A problem I had with TeX years ago was that discardable items (glue items, kerns, and penalties) are not recoverable in the output routine. This would be quite useful for complex multi-column pages ...
user avatar
0 votes
0 answers
26 views

LuaTeX compilation completed and no errors, yet font doesn't show up

I decided to try using some new fonts and LuaLaTeX, and so I downloaded some fonts and installed them using the instructions from the first answer in this post. I put the setup into my preamble and ...
user avatar
  • 163
0 votes
0 answers
20 views

Fancyhdr mismatches when trying to open file in lualatex

The fancyhdr package mismatches with lualatex when trying to open a file. The file exo.tex contains whatever you want : \documentclass{article} \RequirePackage{fancyhdr} \pagestyle{fancy} \...
user avatar
  • 16.4k
2 votes
2 answers
120 views

Troubles with listings and polish characters (lualatex)

How I can display properly polish characters in code of programming language using listings package and lualatex compiler? main.cpp: //Zażółć gęślą jaźń #include <iostream> int main() { std::...
user avatar
0 votes
1 answer
45 views

Trying to assign priorities to different breaking points in a word. Discretionary broken?

I try to assign priorities to different breaking points in a word. To this end, I work around the bug Soft hyphens with priority don't change style with their environment but should do so and ...
user avatar
  • 1,119
0 votes
0 answers
27 views

Word space missing after the word end with ligature character

word space missing few places in the output pdf, when using ArnoPro-Regular.otf font, especially the word end with f and next word start with single quotes ' I compiled the file through LuaLaTeX. How ...
user avatar
2 votes
2 answers
96 views

Soft hyphens with priority don't change style with their environment but should do so

Feeding \documentclass{article} \pagestyle{empty} \usepackage[ngerman]{babel} %%% The following 3 lines may be uncommented; it doesn't really matter. %\hyphenpenalty=49% one less than the default ...
user avatar
  • 1,119
1 vote
1 answer
49 views

Fontsetup - switch fonts

I use LuaLatex and I load \usepackage{fontsetup} Everything works fine. My question, which I didn't find anywhere: how can I switch between fonts? For example, I just want to write a sentence in a ...
user avatar
1 vote
1 answer
42 views

Make4HT - Required Output HTML File specific Name

I have using Make4Ht for Converting LaTeX to HTML and it's working great. I would like to expect the HTML filename with specific Name instead of generated HTML filename. I have mentioned required ...
user avatar
  • 2,192
1 vote
1 answer
54 views

Passing tex value to a lua function

I have some limitation in my understanding of how to deal with tex and lua variable. I would like to pass the result of a Tex command in order to do some computation on it. Inside the lua function, ...
user avatar
0 votes
0 answers
30 views

Publication of LaTeX packages for Mathematics in Web of Science / Scopus Indexed Journals

I have developed several LaTeX packages for Mathematics. It involved a substantial amount of work for a couple of years. These packages can be helpful to the Mathematical Community. Can someone ...
user avatar
  • 1,443
2 votes
1 answer
41 views

How to Prevent Titlesec from Automatically Producing an Entry in the TOC

The following code is derived from egreg's answer in Centering an Arabic Section Number Above Justified Title Text \documentclass{book} \usepackage{titlesec} \titleformat{\section}[display] {\...
user avatar
  • 5,445
0 votes
0 answers
44 views

Installing the GLS library for use with LuaLaTeX

Being on Windows 11, I am trying to install gsl-2.7.1 in C:\gsl via msys2 + mingw64: ./configure --prefix=C:/gsl make make install At first glance, the installation seems correct since I can launch a ...
user avatar
3 votes
0 answers
96 views

Support for languages other than English in LaTeX [duplicate]

I am currently using fully updated TeX Live 2022 and I am very happy to see a lot of new advancements in LaTeX which make typesetting languages other than English easy and more convenient. I have seen ...
user avatar
  • 2,318
1 vote
1 answer
36 views

Centering an Arabic Section Number Above Justified Title Text

Consider the code \documentclass{book} \usepackage{lipsum} \usepackage{titlesec} \titleformat{\section} {\sffamily\Large\bfseries} {\thesection}{1em}{} \renewcommand{\thesection}{\arabic{section}}...
user avatar
  • 5,445
2 votes
0 answers
46 views

How many pages, not frames, have been already generated before the current one?

Using LuaLaTeX to generate a Beamer presentation, at some point, I have to know (on the Lua side) how many pages (not frames) have already been generated before the current one? \documentclass{beamer} ...
user avatar
  • 16.4k
0 votes
0 answers
42 views

how to draw a full circle gluon loop using Tikz-feynman?

how to draw a full circle gluon loop using tikz-feynman? I can't find the way to draw a full circle in manual, but half circle. So using half circle I draw the diagram, but it can't be satisfying. \...
user avatar
  • 1
0 votes
1 answer
30 views

Unexpected Undefined Control Sequence in \renewcommand\thesection

I'm trying to provide editing instructions for a document inside a document, which means occasionally having to have section and subsection numbers that are not part of my document and should not be ...
user avatar
1 vote
0 answers
37 views

How to insert LaTeX commands through LuaLaTeX callbacks?

I would like to encourage LaTeX to break a line or page at the end of a sentence, after one of the following punctuation marks: "." ; "!" and "?". I would like to put a ...
user avatar
  • 325
2 votes
1 answer
90 views

Intersection line not correct in PSTricks (3D) and warning "transparency ignored"

Please look at hte following MWE, compiled in Plain XeTeX (or Plain LuaTeX): \ifdefined\directlua \input luaotfload.sty \fi \input pst-solides3d.tex \psset{unit=1cm} \psset{viewpoint=50 30 30 ...
user avatar
0 votes
0 answers
47 views

Music Typesetting Inside LaTeX Alternatives

As background: I'm a physicist who's very comfortable with LaTeX, and usually use the MiKTeX distribution primarily due to ease of installing packages on the fly compared with TeX Live. As for LaTeX, ...
user avatar
1 vote
0 answers
26 views

How to disable Luatex warning when combining Feynman diagram, beamer class and pdflatex

I am making a presentation with Latex that contains some Feynman diagram. I create the Feynman diagrams with tikz-feynman. Now I face a problem when choosing an output file: The Feynman diagram ...
user avatar
-1 votes
0 answers
34 views

crosschecking cited references and cross references

I am new to latex pdflatex most likely I am just an author. now I just need to edit IEEE access access.tex file and submit it. \documentclass{ieeeaccess} \usepackage[superscript]{cite} \usepackage{...
user avatar
0 votes
0 answers
49 views

Numbers in small caps with Palatino Linotype

I'm using Palatino Linotype as my main font, with LuaLaTeX. As you can see from the image below, the numbers in small caps appear to be too small: The result using the font TeXGyrePagellaX (used by ...
user avatar
  • 6,566
0 votes
0 answers
30 views

load etex with lualatex

I am working on my 12 year latex file. I had loaded etex, but wonder if this is still useful together with lualatex? % Description: see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=noroom % short ...
user avatar
0 votes
0 answers
19 views

Replace missing symbols from

I'm using Source Sans Pro both as the text and math font. However some symbols are missing in the Latex distribution I'm using (Overleaf 2017 Legacy) which I cannot change due to other complications. ...
user avatar
5 votes
3 answers
697 views

Problem with indices in the Polish language

Although I read some postings about indices on the forum, I still have trouble with making an index in Polish. I want to have bold letters before a group connected with a single letter (like in the ...
user avatar
3 votes
1 answer
56 views

How to Force a [Para]Footmisc Footnote to Start on the Next Line

I am using the footmisc package. Consider the code \documentclass[12pt]{book} \usepackage[para]{footmisc} %\usepackage{setspace} \begin{document} \thispagestyle{empty} This is a sentence.\footnote{...
user avatar
  • 5,445
0 votes
0 answers
38 views

SmallCaps with Babel's font loading mechanism in texlive versions prior to TL2022

Please consider the following minimal example: \documentclass{article} %% Does not work with tl version < 2022 \usepackage{babel} \babelfont{rm}[% BoldFont = MinionPro-Bold.otf,% ItalicFont = ...
user avatar
  • 2,365
5 votes
1 answer
153 views

How to set the "correct" tracking with fontspec and microtype (LuaLaTeX)

I'm using LuaTeX with Garamond Premier font. For some reason, enabling tracking from microtype package changes the tracking of small caps quite considerably. Maybe too much? See the pictures: With ...
user avatar
  • 613
1 vote
1 answer
28 views

Reduce the space between letter "f" and subscript that follows for Asana-Math (unicode-math)

Following the second part of this answer, I'm trying to do the similar thing for Asana-Math: reducing the space between letter "f" and the subscript that follows. However, my modified ...
user avatar
  • 6,566
0 votes
0 answers
35 views

Using LuaLaTeX in TeXworks

I have a template I need to use that compiles best with LuaLaTeX in TeXworks. I downloaded TeXworks and tried to select LuaLaTeX instead of pdfLaTeX from the drop-down menu, but it won't let me select ...
user avatar
3 votes
0 answers
88 views

Increase the space before letter "f" in math mode (unicode-math)

When using the font "TeX Gyre Pagella Math", I would like to add an appropriate space before the letter "f", so that becomes This question has been asked before, notably here, ...
user avatar
  • 6,566
1 vote
0 answers
27 views

Generating table from lua with garamond font results in newline being unrecognized - kind of [duplicate]

This is really specific and really weird; I am trying to generate a longtable from Lua code, typset in the font GaramondNo8 (the exact one can be downloaded here). Weirdly, while the table is ...
user avatar
0 votes
1 answer
32 views

luaotfload-tool error on Solaris Intel

Fully updated TexLive 2022 on Solaris x86_64 Intel which is preventing any docs compiling under lualatex: $ luaotfload-tool -u luaotfload | db : Font names database not found, generating new one. ...
user avatar
  • 21.5k
0 votes
1 answer
46 views

Bold is getting ignored by my captions

update: It might be that my font has no bold "ability". Test1 on Overleaf: Does my font not have boldness, or what? Test2: I commented out my own font \setmainfont{myfont.ttf} and the ...
user avatar
  • 11

1
2 3 4 5
74