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
2
votes
1answer
63 views

Why does adding a \node in a \graph result in an endless loop?

I tried to insert a multipart node into a graph and failed in an endless loop. I know that this can happen, since TeX is a turing complete language. But I wonder why it happens whenever I place a \...
2
votes
0answers
696 views

xwatermark allpages does not work on Ubuntu [closed]

I have a document that typesets fine with MikTeX on Windows. I have tried the same source on Ubuntu but I am getting an error: ! Package xwatermark Error: No page specifier for watermark: ||{\...
2
votes
0answers
336 views

svg package: inkscape doesn't start [closed]

I use LuaLaTeX (up to date MikTeX +TexStudio)and try to get svg work under Windows. I studied both https://tex.stackexchange.com/a/74693/80573 and https://tex.stackexchange.com/a/158612/80573 And ...
2
votes
1answer
360 views

LuaTeX bug? Abrupt stop

I'm on Windows, with latest and fully updated MiKTeX. I try to compile a document with lualatex test.tex where test.tex is \documentclass{scrartcl} \usepackage{fontspec} \begin{document} code \end{...
1
vote
1answer
1k views

FontAwesome is not working in Friggeri resume?

\documentclass[]{friggeri-cv} % \documentclass{article} \usepackage{unicode-math} \usepackage{FontAwesome} \definecolor{light-gray}{gray}{0.55} \definecolor{skype}{HTML}{12A5F4} \definecolor{html5}{...
1
vote
2answers
135 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
0answers
1k views

AUCTeX: switch to LuaLaTex from PDFLaTeX [closed]

I just installed the Lucida Bright OpenType fonts, and it turns out they don't work with pdfLaTeX, which is what AUCTeX was configured to run with the "LaTeX" command when I first installed it. Now I ...
1
vote
2answers
69 views

remove “./” of “\currfileabspath” when using lualatex

I have a small problem with the package currfile and the command \currfileabspath. When compiling the file using (pdf|xe)latex I get the expected result, but if I use lualatex it adds ./ to the ...
1
vote
1answer
1k views

Tikz Externalize, Lualatex through pdflatex and big data

I am plotting data from an infrared camera with pgfplots in an image as discribed and solved under this topic. A 194x194 data matrix is the input. I am compiling the document with lualatex through ...
1
vote
1answer
465 views

EB Garamond (bold) small caps “suddenly” unavailable in lualatex?

Since I could come up with an MWE for the problem, I'm completely rewriting this post - if curious about my original problem, check this past revision (1). Consider this MWE, test.tex: \...
1
vote
2answers
81 views

Is it safe to “fake” smart quotes with active characters while using a T1 font?

I have a document which is compiled under LuaTeX (a requirement of another package in the document, but not one which affects the fonts) and makes use of the romande font package. My usual editor (...
1
vote
0answers
91 views

Using fontspec (which requires exp3-code.tex) makes lualatex slow

I recently tried luatex (TeX Live on Mac) and found that if I use fontspec to load a font, it really slows down the compilation. My test document: \documentclass{article} % \usepackage{fontspec} % \...
1
vote
1answer
2k views

What could cause pdflatex/lualatex to halt compilation and freeze?

I am trying to run pdflatex or lualatex from ASP.NET web application using impersonation. The standard output and standard error streams are being redirected and I am saving their contents to the log ...
1
vote
0answers
164 views

Why does the texlive version of (lua-)latex not have the `--aux-directory`switch? [duplicate]

On Windows (MiKTeX), lualatex has a --aux-directory switch. On Linux (TeXLive) it does not. Why is that? If it is a downstream patch only present in MiKTeX, why is it not in upstream lualatex? It ...
1
vote
1answer
158 views

While compiling expl3-code.tex takes more time than the others

What does expl3-code.tex do and why does it take longer than the others to load in LuaLaTeX. Can it be avoided. ("C:/Program Files/MiKTeX 2.9/tex/latex/l3kernel/expl3-code.tex") MWE : \...
1
vote
1answer
71 views

Extra vertical space at end of last column when loading adjustbox (only luatex)

I have noticed some odd extra vertical when placing boxes in a twocolumn layout: \documentclass[a5paper]{article} \usepackage{calc} % issue only happens with adjustbox loaded \usepackage{adjustbox} ...
1
vote
1answer
2k views

Updating Your Own Font

In my scenario I am using my own custom font. It is an OpenType font - not a tex-packaged one either, just one I've made in FontCreator (Windows 7). Now, I want to use this font with lualatex, so I ...
1
vote
0answers
58 views

What may cause bookmark accented letters not working on a specific computer? [duplicate]

I'm using package hyperref to write a book in Portuguese. Appendices should appear in TOC as in Apêndice A Title of the appendix. When I compile it with LuaLatex on a computer with Ubuntu 16.04, I ...
1
vote
1answer
73 views

TeXShop console (not log) contains entire LuaLaTeX file

I tried the example of "von" in the post Is direct utf8 input of combining diacritics in math mode possible with lualatex? regarding the use of a Lua script to allow TeX commands for combining ...
1
vote
1answer
94 views

How to append a Chinese-character string argument from an environment to first argument of \href

P.S.: The answered OP "Automatically convert unicode to percent encoding in href" might be of interest. A good answer must be able to be: compiled using LuaLaTeX The MWE below creates a great URL ...
1
vote
1answer
52 views

tex4ht non roman languages inside tabular environment

I have tables with accented letters and other non-roman scripts, but they do not appear inside the environment tabular. The letters do appear outside of the tabular environment. i compile with ...
1
vote
0answers
61 views

How can I debug LuaTeX error `referenced object has wrong type`? [closed]

Experimenting with custom LaTeX formats with luatex, I get that error (not when generating the format): ! error: (pdf backend): referenced object has wrong type others; should be obj ! ==> ...
1
vote
1answer
98 views

Revision on “Chinese, Russian and English (and Arabic, and Thai, if possible) in LuaLaTeX”

Following up on THE ACCEPTED ANSWER to a question I posted a year ago, I wanted it to be revised, as I upgraded my system from Ubuntu 14.04 to 16.04 and texlive from 2013 to 2015, and there are parts ...
1
vote
1answer
132 views

LuaLaTeX: Unable to switch off ligatures in smallcaps

I am aware of a similar question, but that answer doesn't seem to help. I am unable to switch off ligatures when using smallcaps. The following MWE is using Minion, but I tried with many similar ...
1
vote
1answer
90 views

“CONTENTS” in header issue

I am currently using a header on my document that should do one of a few things. If the current page is before any chapters or sections are defined, the header should only contain a number. If there ...
1
vote
1answer
96 views

LuaLaTeX set a path in lua

I have defined a command \newcommand{\mypath}{/Documents/Myfile/additionalresources/} that contains the path to some external files that I need in my main file. I need to use the \mypath command to ...
1
vote
1answer
208 views

How to upgrade TeXLive binaries

What is a recommended way to upgrade the TeXLive binaries, specifically, LuaTeX to v. 1.0 in TeXLive 2016? Is there a repository similar to MiKTeX Next?
1
vote
2answers
113 views

Vertically alignment in tabular seems broken

Using m columns in a tabular, I would expect to get vertically centered cells: \documentclass[a4paper, 12pt]{article} \usepackage{amsmath} \usepackage{array} \begin{document} \normalsize \textbf{...
1
vote
1answer
132 views

LuaLaTeX/dvipng: conversion fails due to missing font

I am trying to generate an image from a formula using LuaLaTeX and dvipng. Some of the formulas contain non-ascii characters like umlauts. When executing dvipng, I get errors like this: This is ...
1
vote
1answer
191 views

In Luatex, how to know effective output directory?

I need to know what is the actual output directory, as set by the -outdir or -output-dir command line switch, because I am executing external programs and I need to give them the exact location of the ...
1
vote
1answer
32 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 ...
1
vote
0answers
160 views

LuaLaTeX: Using a custom command in a font size range

My problem is that the fonts I want to use don't have optical sizes or medium cuts available and the slimming of hairlines at small text sizes disturbs me. Since the fake boldening of fontspec doesn't ...
1
vote
1answer
206 views

How to have \psframe working with LuaLatex? [duplicate]

When I try to compile the code below in Overlef, I get an error if I set LuaLaTeX as LaTeX Engine, but no error if I set Choose Automatically. \documentclass[a4paper,10pt]{book} \usepackage{pst-...
1
vote
1answer
1k views

Bold and italic command is not working

I've tried \bfseries and \textbf{} for the bold and \textit{} or \emph, but neither change the text. I'm really not sure what can I do. I'll put some examples of the code I have. \titleformat*{\...
1
vote
1answer
587 views

How can I produce vertical white space in a table with LuaLaTeX?

How to add a few blank lines without using \vspace? Trying to use \\ always gets me in trouble... Now I'm trying to format a simple lua table in LaTeX for display. I am using a combination of \\ (...
1
vote
0answers
97 views

MiKTeX/TeXworks and LuaLaTeX [duplicate]

I'm trying to compile a document with the LuaLaTeX engine, since LuaLaTeX is the only one that allows to use all fonts in my computer. But when I'm going to compile the document, I get this error ...
1
vote
2answers
62 views

How do I get the first page number of the currect chapter/section?

I would like to get the page number of the first page of the current chapter the page number of the first page of the current section Is it possible? The goal is to add the chapter/section to a ...
1
vote
1answer
68 views

Breaking of footnote with pifont in alternative4ht helpers4ht

The last update of alternative4ht, in order to fix the tables in tex4ht see here, has a consequence that the redefinition of \thefootnote with pifont is broken. there are two versions of the ...
0
votes
1answer
21 views

Manipulating page number in table of content

I would like to add a new line to the toc, but with full control of the page number on the right. That is, in the following picture I would like a 17 instead of a 5. Below is my attempt, that I do ...
0
votes
1answer
479 views

'font-not-found' error when using either the Courier or the Courier Regular fonts with fontspec + luatex

The following document: \documentclass{report} \usepackage{fontspec} \setmainfont{Courier} \begin{document} Hello, world! \end{document} doesn't compile with the LuaLaTeX format (i.e. with the ...
0
votes
3answers
205 views

LuaTeX: Split path string for use in macros

I would like to parse a path in Lua in order to split it into its folder and file components. The goal is to create a macro that accepts an argument of the form myfolder/myfile and be able to use ...
0
votes
1answer
194 views

polyglossia, Korean and LuaLaTeX

I'm confused about language names in the polyglossia package. Table 1 on page 5 of the polyglossia documentation lists the language names in lower case (e.g. 'korean', not 'Korean'). But when I try ...
0
votes
0answers
74 views

How can I debug this problem with math typesetting? [duplicate]

Possible Duplicate: problem compiling some 'math' using LuaLaTeX While trying to write an equation it seems that the square root does not like particular elements. I tried to pinpoint the ...
0
votes
0answers
36 views

biblatex 3.0 apa undefined control sequence (\mkbibdateapalongextra?) [duplicate]

I am not sure why I cannot copy from the TeXShop console anymore, but here is my problem. This does not seem to be related to my bib file or how I cite things. How can I fix this? I am calling ...
0
votes
3answers
714 views

lualatex: Need help with using different fonts

I could need some start-up aid with using fonts in lualatex. I have 3 questions (sorry): A) I want to use a nice mainfont for normal text. The lmodern-default was nice with pdflatex, but the default ...
0
votes
0answers
83 views

Unicode-math with LuaLaTeX (but not XeLaTeX) destroys spacing of my binary operator

Consider the following code: \documentclass{article} \newcommand{\tensor}{\otimes} \newcommand{\comptensor}{\mathbin{\hat{\otimes}}} %\usepackage{unicode-math} \begin{document} \[ V \...
0
votes
2answers
127 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[...
0
votes
1answer
38 views

Can we draw tikz node with lua node this way?

I've found this example of using lua node. To output Va they've: \documentclass{minimal} \begin{document} \directlua{ local g1 = node.new("glyph") g1.font = font.current() g1....
0
votes
1answer
55 views

How do I get the name of the bib file to set as the vale of a bib field?

Slightly changing topic from How to magically add the file field to each entry in a bib file?. I have the following: \DeclareSourcemap{ \maps[datatype=bibtex,overwrite=true]{ \map{ \step[...
0
votes
1answer
49 views

Saving all the latex to a file and then render reading from the file

I am rendering Latex that spawns ~2600 pages. The document is rendered from a JSON using Lua. It takes around 32 seconds to prepare the document of ~2600 pages. To verify, if there is a difference in ...