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
1answer
54 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 ...
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
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
1answer
491 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
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
3answers
727 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
1answer
268 views

LuaTeX: Use single symbol from other font in math mode

I try to use specific symbols from other (TrueType) fonts (several different fonts) in math mode (as math letters, math operators, ...). So the symbol should be defined via DeclareMathSymbol, I guess. ...
0
votes
1answer
41 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
56 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
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
2answers
150 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
203 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
3answers
207 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
63 views

Error as I try to read and display the results from JSON file [closed]

I am trying to read a JSON file and trying to display some of its content. But as I try this, I get an error saying attempt to call a nil value as also shown below. I could not understand the reason ...
0
votes
1answer
75 views

unicode-math and sans serif font with LuaTeX and MacTeX

Using unicode-math I was able to use a sans serif font with LuaTeX in math-mode in pgfplots. It still works with TeXLive 2016 but it doesn't with MacTeX 2017 and 2018. Solution to my original ...