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

0
votes
1answer
17 views

LuaLaTex + MakeIndex + BibTex to html or docx file

Is there any way to convert my (LuaLaTex + MakeIndex + BibTex) main.tex from MikTex file to html or docx? I've tried this https://tex.stackexchange.com/a/73092/189401 but it's not what I want. Any ...
8
votes
4answers
19k views

fontspec LuaTeX error

I have installed "ProTeX" with "TeXstudio 2.3" & "Miktex 2.9". I get an error ! The fontspec package requires either XeTeX or LuaTeX to function when I attempt to run \documentclass{article} \...
1
vote
1answer
124 views

interpolate with graphicx and beamer in luatex

In TeX Live 2015, using the interpolate option of \includegraphics{...} with lualatex causes an error unless one specifies \pdftexversion appropriately. For example, following Knut’s explanations in ...
0
votes
1answer
43 views

I cannot plot this negative graph for some reason on Latex

I am trying to plot the equation -\frac{7}{6}\frac{1}{16\pi^2}x^3 but I keep getting the error, missing number treating as zero. I have no idea what is going on because I am a newbie at this.
4
votes
3answers
83 views

Transforming a statement into a mathematical expression

Is there a way, where I could automatically transform a string (using a command) like: (1/SF) * (MDD\_a) * (1/LDD\_b) * (MBS\_b) * (1/SSA\_ab) into a mathematical expression like: $(\frac{1}{SF}) * ...
4
votes
1answer
103 views

Create a Table with Luatex

I want to make make a template table with parameters. I found different types of solutions but then I try to do some changes, it doesn't work anymore. I tried two different ways: First way \...
31
votes
6answers
8k views

Reading data from a relational database into a LaTeX table

I'm using Tex Live 2009 on Debian squeeze. I can upgrade if I really, really have to, but I'd rather not. I was wondering if it would be possible to do the following. Given some data in a (...
2
votes
1answer
62 views

How insert pdf literal before and after paragraph

Help me please,how i can insert pdf literal before and after paragraph node. My code works incorrect. Thanks everybody for the help. \documentclass{article} \usepackage{luacode} \usepackage{...
5
votes
1answer
90 views

Use typewriter package with fontspec

I would like to use the typewriter package along with another font. I tried to do that with the fontspec package. I wouldn't mind to use the Latin Modern font. However, the style of the font remains ...
1
vote
1answer
22 views

PDF converted from EPS output directory

How can I change the output directory of PDF figures converted from a EPS file? I have a output folder for my auxiliary files that are made on compile of the document, but figures in the format of EPS ...
0
votes
2answers
64 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
36 views

Preparing a latex installer to ship the reporting system

I have prepared a simple report making system that uses Latex to prepare all the reports. It is a simple system that prepares a 15 page report by reading a CSV file. I want to ship the system. I don'...
3
votes
1answer
34 views

Different results of \mag statement

The following example gives different results for pdfLaTeX and LuaLaTeX. I use a recent TeX Live 2019 installation. \documentclass[a4paper]{article} \usepackage{geometry} \mag=250 % \setlength\...
0
votes
0answers
64 views

Getting cross references for the total pages correct the first time

In order to have a footer at each page that displays the current page number with the total number of pages (Eg.,4 of 12), I used lastpage package and placed the statement: \rfoot{\thepage\ of \...
0
votes
1answer
44 views

Bib2gls support for non-ASCII characters or non-english languages; .glstex is unable to load non-ASCII characters

I am trying to incorporate bib2gls into glossaries managment in my project, however I hit into trouble when using my native language (czech) and its diacritics (as far as my knowledge goes, those are ...
0
votes
1answer
19 views

Getting error undefined controlled sequence when trying to make a function of module

In the following code, the function named json_parser is meant to parse the JSON. I had initially kept this function as a separate module named json.lua and required it using: local json = require("...
6
votes
3answers
586 views

TeX Gyre Pagella Math Integral sign much too small

I am writing my thesis and I use the TeX Gyre Pagella Math fonts, but I have noticed that the integral sign is much too small compared to fractions. as you can see in the above image. I am using ...
0
votes
1answer
43 views

Getting Missing number, treated as zero error when trying to fit table in the document

While trying to dynamically render a table, it gets out of the document generated and looks as follows: To avoid this, I followed the steps mentioned in: SO Post - 1, which uses tabularx SO Post - 2,...
4
votes
1answer
82 views

Unicode-math and mathrm result in missing symbols

I've played around for a while and searched quite a bit but can't find a solution. my code is the following \documentclass{article} \usepackage{hepnicenames} \usepackage{fontspec} \usepackage[math-...
3
votes
0answers
87 views

Reducing the document preparation time with lualatex [on hold]

I am trying to render a document that is around 2300 pages from a JSON file using lualatex. It takes around 32 seconds to create a document. The document is a series of tables and paragraphs. I think ...
1
vote
0answers
28 views

LuaLaTeX creates an `.ind` file. Why?

When I run lualatex on one of my files, not only is a .idx file created, but also a .ind file. Why is it so? I thought it was the job of the external makeindex program to create an .ind file based on ...
0
votes
1answer
32 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 ...
2
votes
0answers
58 views

Compound word hyphenation problem (bug?) with LuaTeX 1.07.0 (TeX Live 2018)

EDIT 2019/05/07: In LuaTeX 1.10.0 included in TeX Live 2019 compound word hyphenation works as expected. As stated in this answer from 2014 and this one from 2016, LuaTeX should allow arbitrary ...
2
votes
1answer
235 views

How to loop over the JSON object / list?

I want to loop over section in the following JSON and print name the number of times it appears under section. How could I do this? { "ID": "23", "section": [ { "name": "A", ...
18
votes
2answers
610 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 ...
0
votes
1answer
54 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
54 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 ...
1
vote
0answers
28 views

Class newlfm letter does not have bottom margin for the second page [duplicate]

I'm writing a letter with class newlfm and I have a somewhat big issue, the second page does not seem to have the bottom margin. First page bottom: Second page bottom: This is my code: \...
6
votes
1answer
360 views

Emergency stop in plain TeX, pdfTeX, XeTeX and LuaTeX?

I'm using <TeX_Engine> -jobname=TEX_TESTING -halt-on-error -interaction=nonstopmode <my_code> to TeX the one-line code A\bye. It does not work. Here are the logs: Plain TeX: This is TeX, ...
1
vote
1answer
39 views

Conditional compilation depending on the compiler (LuaLaTeX/PdfLaTeX)

I am using plantuml package, which requires LuaLaTeX, but it takes a lot of time to build every time all figures. For that reason I prefer to make a dry run (to get only the pure LaTeX outcom), but ...
1
vote
2answers
140 views

Latex & Markdown files

I am writing my project docs in latex but I have a bunch of markdown (.md) files to include as chapters. I have a problem when latex parses the md files it reads all the tables and figures as plane ...
1
vote
2answers
71 views

LuaLatex, how to use calibri font even in math mode?

I'm writing a letter in LuaLatex using the calibri font. To set up I use these commands: \usepackage{fontspec} \setmainfont{calibri}[Ligatures=TeX, SmallCapsFeatures={Letters=SmallCaps,LetterSpace=...
0
votes
0answers
41 views

Better latex output, instead of being wrapped on Terminal?

Latex output is being wrapped, even if there is space on Terminal: While if I list the files ls command output seems normal (as expected): I checked Avoid linebreaks in LaTeX console / log output (...
1
vote
1answer
46 views

Missing $ inserted: Cannot find my error

I am getting the following error message: Missing $ inserted. ...bord, le premier phaseur U1 est égal à Ue^ … but I cannot find my mistake. I would therefore appreciate your help ! % !TeX ...
0
votes
0answers
52 views

How to get correct content from PDF copying/pasting with Source Han?

I installed the “Language-specific OTFs” version of Source Han Sans from Adobe Font’s Release page, e.g., SourceHanSansSC-Regular.otf, which sets the default ideographs suitable under Simplified ...
1
vote
0answers
39 views

How to convert “traditional TeX” to Unicode?

For example if we have $\mathcal{A}$ in the code, add some conversion lines and TeX it using LuaTeX I hope to see the symbol \0x1D49C in Unicode instead of '\0x41' of the font cmsy10. Is this possible?...
1
vote
0answers
128 views

MiKTeX LuaLaTeX broken, probably font-related problems

When I updated my MiKTeX installation (on Windows 7) today, LuaLaTeX went broken. When I try this minimal example it compiles with PdfLatex and XeLaTeX but not LuaLaTeX: \documentclass[12pt]{article} ...
5
votes
1answer
68 views

Fandol with LuaTeX

The next release of babel will provide basic line breaking for CJK with luatex. When I was making some experiments I discovered an odd and puzzling behaviour in the Fandol family. The file is: \...
1
vote
1answer
28 views

How to add page numbering to CurVe CV

I'm editing this costumized CurVe CV: https://www.overleaf.com/latex/templates/a-customised-curve-cv/mvmbhkwsnmwv Sadly I'm not able to add any page numbering. How can I do it? Thanks
7
votes
3answers
1k views

LuaTeX error: “Unable to read environment locale:exit now.”

This is the output from LaTeX (MWE is at the end of this post): Running LaTeX' onluatex_test' with ``lualatex --jobname=luatex_test -file-line-error -interaction=nonstopmode "\input" luatex_test....
-1
votes
0answers
55 views

How automatic insert tag formula in formula? [closed]

Help me please,how automatic insert tag formula with actualtext, i mean what callback to use for it,and how to use this callback. For example how i can instead of formula \[a+b=1\] insert ...
4
votes
2answers
112 views

Meaning of LTL direction

@DavidCarlisle explains in an answer to a previous question about luatex direction that in LTL, the last L means that "the top of the glyphs within the line is [...] L(left)." But I don't understand ...
1
vote
1answer
259 views

Hungarian with LuaLaTex and biber

I am having trouble with getting LuaLaTex with biber working in Hungarian. I have texlive-full install on an Ubuntu 16.04 and I did not have this issue with a previous install. I'm providing below an ...
0
votes
0answers
41 views

Defining fallback fonts for entire Unicode ranges

Is it possible to automatically define fallbackfonts for specific Unicode ranges? I know there are packages to do this such as xeCJK for CJK fonts as in this answer But that's limited to those ...
0
votes
1answer
69 views

Lualatex/Japanese document compiles fine in TeXstudio, but not MacTex

I'm having trouble compiling the following document. I have done a fresh install of MacOS 10.14 and installed the full size MacTex 2018 distribution directly from TUG. I have also upgraded all ...
2
votes
0answers
48 views

LuaLaTeX and \binom [closed]

When compiling the following MWE with lualatex, \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \[\binom{5}{3}\] \end{document} the numbers inside the binomial coefficient are not ...
4
votes
1answer
46 views

Difficulty accessing OpenType ligatures with LuaLaTex and fontspec

I’ve been trying to use Greek ligatures with the font Alfios in the version available here. In particular, I’m trying to get the o-u ligature as can be seen in the image — that I get from MS Word. ...
2
votes
1answer
30 views

Numbered sections in unnumbered chapters + ToC

I want to have numbered sections in an unnumbered chapter. This is my code: \documentclass{book} \begin{document} \tableofcontents \chapter*{Introduction} \addcontentsline{toc}{chapter}{...
3
votes
2answers
80 views

`microtype`: Set Minimum Width of a Space

Problem Description I am a newbie. I use microtype package. I would like to set the minimum width of a space to a width of a regular space. However, with default settings, it is shrinked too much and ...
5
votes
3answers
430 views

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

Problem Description I am quite a newbie at *TeX, but I defined some \newcommands as some kind of paragraph styles (maybe not the proper way to do so, maybe someone could tell me how to accomplish ...