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

3
votes
3answers
53 views

Passing arguments from TeX to a Lua function

The following code is a simple example of passing arguments from TeX to Lua. Just passing the arguments directly (the version without \luastringN) gives an error. (./luafunction.aux)./luafunction.lua:...
0
votes
0answers
18 views

Justified text with usepackage typewriter

The text when using usepackage typewriter is not justified. Is there a way to do that? \documentclass[12pt,a4paper]{scrartcl} \usepackage{lipsum} \providecommand\ttgreyone{0.1} \...
0
votes
0answers
37 views

XeLatex file works at online OVERLEAF editor but not in my TexStudio editor

I have a problem with xelatex file which I copied from the overleaf online compiler. It works normally with no errors at overleaf but when I compiled it on my TexStudio editor it does not work even (I ...
3
votes
1answer
46 views

LuaLaTeX engine, babel and pdfx package

There is one error with the combination of spanish babel, pdfx package, and LuaLaTex engine, how it is very easy to test with this MWE: \documentclass{article} \usepackage[spanish]{babel} \...
1
vote
1answer
73 views

From Capitals to Small Capitals

If I have a font in which lookups exist c2sc as built-in, there is a command to make small caps capital letters without incurring complicated codes like this: Convert all-caps words to small caps I ...
-2
votes
1answer
39 views

Read a table from an external Lua file and print its content

I am working on a project for creating some flashcard, and I have saved the strings I want to include in the flashcard in an external file called all_text.lua and the data are stored in a linked list ...
0
votes
0answers
29 views

LuaLatex Rendering from input buffer instead of filename

I am trying to create pdf by passing buffer instead of filename but have certain issues.PDF size is only limited to two pages and can include only two pictures.Following is the full scenario. I have ...
0
votes
0answers
21 views

Trouble with the listings package command \lstnewenvironment [duplicate]

Consider the following example: \documentclass[oneside,article]{memoir} \usepackage{listings} \usepackage[lining]{ebgaramond} \usepackage[cmintegrals,cmbraces]{newtxmath} \usepackage{ebgaramond-maths}...
0
votes
1answer
37 views

React to a Command or a Comment to start the Lua Code

i asked a question a few weeks ago for some Lua Code, that splits my table cell into two cells, if i type a new line. Here is the code: \begin{luacode*} function doline(line) local splitpoint = ...
1
vote
1answer
49 views

Unicode Character/Symbol in Lua(La)TeX

I am trying to print a specific unicode character in LuaLaTeX using \documentclass{article} \begin{document} \char"2605 \symbol{"2605"} ^^^^2605 \end{document} However, none of these prints the ...
1
vote
1answer
26 views

Lualatex not see author of document

I want to override the \maketitle command, but I get a warning that no \author is given. \documentclass[11pt]{amsart} \title{test} \author{Aleksandr Kozlovskiy} \date{\today} \thanks{This document ...
0
votes
0answers
28 views

underline breaking ligatures

This is another version of my color question, as I've found another case where the problem occurs. In some behind the scenes work for spacing reasons, the pieces of a syllable get split up in ...
1
vote
2answers
50 views

Is there any way to draw box outside margin?

I am looking to create a box outside page margin with some text in it. Is there any way to manually position the box. I want desire output as follows:
0
votes
0answers
124 views

Want to add the different icons in Friggeri Resume like email, phone, mobile, skype etc [duplicate]

Want to add the different icons in Friggeri Resume like email, phone, mobile, skype etc. \documentclass[]{myfriggeri-cv} \addbibresource{bibliography.bib} \begin{document} \header{friggeri}{friggeri}...
17
votes
4answers
26k views

Problem while compiling friggeri CV template with: ' fontspec error: “font-not-found”'

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this ...
1
vote
0answers
341 views

Setting up LaTeX on Linux using Friggeri CV template [closed]

I am relatively new to LaTeX technology. 2 years ago I created my CV using Friggeri CV template on Windows. It worked flawlessly - it was fine from the installation, the program (TexWorks) generated ...
1
vote
1answer
90 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 ...
0
votes
1answer
52 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 ...
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 (...
6
votes
1answer
61 views

xcolor breaking ligatures

In some behind the scenes work for spacing reasons, the pieces of a syllable get split up in gregoriotex and then reassembled for printing. Normally this works fine, but we're running into some ...
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
44 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
84 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
112 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 \...
2
votes
1answer
63 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
99 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
27 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
67 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
37 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
35 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
70 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
46 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
590 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
83 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
89 views

Reducing the document preparation time with lualatex [closed]

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
33 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
238 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
613 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
29 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
362 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
40 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
142 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
73 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=...