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

1
vote
1answer
52 views

Use different font “file” for numbers in the text with fontspec

I'm trying to use a different font file just for the numerals in the text (that is, NOT in math mode), while keeping the rest of the text as is. The typeface I'm using lacks old-style numerals, so I ...
0
votes
1answer
55 views

I can't find file `luavlna'

For some reason, the package luavlna doesn't seem to be working. I am using MiKTeX and have the luavlna package installed. When I try the following example: \documentclass[a4paper, 12pt]{article} \...
2
votes
1answer
62 views

pdfx: incomplete CIDset in some fonts

I try to compile a document as pdf/x and pdf/a with pdfx under LuaLaTeX, and I am already quite successful. One thing still poses problems though: With some fonts I get the following error if I check ...
2
votes
0answers
65 views

Data input in LaTeX possible?

For my next project, I want to check my options. I would like to create a lexicographic book with genealogical data as a PDF, probably in XeLaTeX but I am open for suggestions. The book shall contain ...
3
votes
1answer
58 views

Epicycle and deferent with Tikz - Function syntax

I want to build an epicyclic graph and found a useful trigonometric function on the web (URL is in comment in my MWE). My personal issue is that I can't write a complex function as a "plot" argument. ...
0
votes
0answers
46 views

What might be preventing Unicode characters from displaying?

When I insert the reference mark character and compile the following MWE, the character shows up in the compiled output: \documentclass{article} \usepackage{fontspec} \begin{document} ྿ \end{...
4
votes
1answer
120 views

Can luatex export coordinates of “glyph boxes”?

Consider the following sample LaTeX file: \documentclass{standalone} \begin{document} Test $x^2$ \end{document} When processed by one of the TeX engines, one gets a pdf with glyphs that are ...
1
vote
0answers
54 views

Changing to custom font on overleaf [closed]

I was trying to use a different font for my resume in LaTeX and after some search the following code seems to be the answer: \documentclass{article} \usepackage{fontspec} \setmainfont{Calibri} \...
3
votes
1answer
53 views

Parsing links via epdf library with luatex

I'm trying to get links and their destinations from external pdf. Using TL2018 luatex version 1.07. Documentation points to getAnnots and getLinks but in this version they are undefined. <Object&...
1
vote
0answers
53 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 ...
3
votes
1answer
38 views

Coerce LuaTeX into outputting a newline character

I encounter a problem when I wish to output a text file using a \directlua directive. There where I wish a newline character to be, I run into TeX problems. My solution is to invoke the dofile ...
1
vote
2answers
88 views

Displaying a character in math mode from its Unicode encoding

Can someone tell me what I am doing wrong or simply tell me how I can use the coptic letter "Me" in math mode? I want to use a coptic letter in a mathematical expression in my TeX document. From my ...
6
votes
2answers
105 views

ConTeXt does not load png file given by lua code

This is my code: \defineexpandable[1]\background{ \directlua{ local cases = { "noise-blue.png", "noise-yellow.png", "noise-red.png", "noise-green.png" } tex....
7
votes
2answers
351 views

Andika fractions

I have hand made the exercise with svg. See attachment. It was very cumbersome. If I could write the étude in markdown and then do pandoc magic I could perhaps learn how to create a library of basic ...
1
vote
1answer
55 views

microtype - pdftex 1.40 required - but installed

I have the following MWE \documentclass[a4paper,11pt]{report} \usepackage[english, ngerman]{babel} \usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=...
1
vote
0answers
60 views

Babel / LuaTex support for .otf features

Referring to this thread: Xetex support for .otf features, following the indications obtained I modified the code adopting Babel and compiling with LuaTex. In effect this way the Contextual Alternates ...
2
votes
1answer
36 views

Lualatex code to select enclosed text from another file

I am trying to write a function that would select a text delimited by some symbols (*) from another file and print it. The following gives an error. What is the right way to pass 'text' to string.gsub?...
9
votes
2answers
185 views

Glossaries links with non-latin labels in LuaLaTeX refer to wrong place

I want to make a glossary with glossaries-extra package and use Cyrillic characters as entries labels. Everything works fine with XeLaTeX. Clickable links refer to exact glossary entry. But in ...
1
vote
1answer
71 views

Inline conversion of graphics

I'm using luatatex 1.0.4 on Linux. I read several articles about directly converting image files within the LaTeX process. But somehow I fail to use it properly for converting gif-files on the fly. I ...
2
votes
0answers
54 views

Problem with prime and unicode-math package

Here is a minimal code sample. \documentclass{article} \usepackage{fontspec} %\usepackage{unicode-math} \begin{document} \[ E'_1 \] \end{document} Without unicode-math package, I get this (good ...
4
votes
3answers
139 views

LuaLaTeX + fontspec + IM FELL not providing long s

I'm attempting to get a font (any font) which automatically switches s for ſ in the middle of words. Following a number of suggestions I've found on StackExchange, I'm using IM FELL DW Pica PRO (from ...
17
votes
3answers
510 views

Are there cases where fontenc + luatex (or xetex) cause problems?

According to the luatex docs, you shouldn't use fontenc with luatex. People swear up and down that fontenc is incompatible, but I haven't been able to find an example where loading the package causes ...
1
vote
1answer
77 views

Help with MetaPost and Metaobj with latex

Kind help with two examples to do metapost and metaobj in latex running from Texicenter. what packages to include and program two examples I read through book not able to understand. First input ...
0
votes
3answers
77 views

An ellipsis with N dots

How might one define a lualatex macro \lip, taking optional arguments * and [N], such that, with no argument, the expansion is an ellipsis consisting of three dots, with [N] it has N dots, and with * ...
6
votes
1answer
69 views

Reverse direction of writing automatically with RTL script

A new interesting feature with latest release of babel a lua algorithm which detect the beginning and the end of Arabic sentences and revers direction of writing without adding explicit markup (\...
1
vote
2answers
87 views

how to emulate \message in LuaTeX

How do I emulate the \message primitive in Lua code in LuaTeX? I want something like texio.write('foobarbaz'), but without the line break within the word foobarbaz. Example with lualatex: \typeout{1}...
0
votes
0answers
32 views

May pstool call lualatex instead of pdflatex?

I'm working with a document containing huge bibliography. That forced me to switch to lualatex, because pdflatex generated errors: {\csname blx@nih@author\endcsname {{{hash=...
3
votes
2answers
75 views

Perfect alignment, LuaTex and sidebearings. Part II

I want to achieve a perfect alignment of the right (and/or left) margins of all the lines of paragraph (to the ink), among the lines themselves and eventually with other geometric elements of a page. ...
1
vote
1answer
55 views

German as main language + english and japanese

Hey @all (& a happy new year), I am currently facing the challenge of including 3 languages and 2 different writing systems in one document. These are: German as main language, English as an ...
4
votes
1answer
69 views

How to get the full filenames in the error messages?

I'm getting the following error message from lualatex: (/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/luaotfload.sty...ive/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:176: attempt to ...
1
vote
2answers
83 views

How to convert all hyphenation patterns from Unicode to T1 in lualatex?

I'm trying to use lualatex with old, 8-bit, non-Unicode fonts: \documentclass[a4paper]{article} \usepackage[utf8]{luainputenc} \usepackage{t1enc} \usepackage{lmodern} \def\myhelvetica{\fontfamily{phv}...
1
vote
0answers
272 views

Problem with miktex-2.9.6942-x64 and lualatex/luatex

I am running MiKTeX 2.9 in windows 10 x64. After making an fresh basic install with basic-miktex-2.9.6942-x64.exe (to keep the old) I run into a problem with a lualatex program. (correction of ...
5
votes
1answer
161 views

How to speed up LuaLaTeX startup with fontspec?

As a novice user of lualatex and fontspec I've found it very slow (>1.3 seconds) to load on my Linux system: % This is file compact.tex \documentclass[a4paper]{article} % This is needed only for old (...
2
votes
1answer
42 views

\H{u} and \H{o} do not appear in the lualatex output PDF

The following .tex source file has been working fine for me for decades using pdflatex: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{t1enc} \usepackage{lmodern} \def\...
0
votes
0answers
43 views

Can't compile Lualatex on TexWorks [Kubuntu 18.04]

I'm totally newbie of LaTeX and Latex Editors, so I may be wrongly set up my environment. Anyway, if I try to compile my .tex with LuaLaTeX I get an error "Unable to read environment locale: exit now....
3
votes
3answers
70 views

what .bib files do for bibtex, is there something for \href?

I wasn't even sure how to formulate this question, nor the appropriate tags, so there may be some editing or even deletion if this is a stupid question... But I think it is a feature that people would ...
0
votes
1answer
68 views

How to make LuaLaTeX multithreaded when `--shell-escape` is enabled? [duplicate]

I found this thread: How to make pdfLaTeX multithreaded when `--shell-escape` is enabled? It works great. But when I change to LuaLaTeX there is still just 1 cpu active. So is there a way to achive ...
2
votes
1answer
36 views

String parameter passed to a class vanish the spaces between words

I created a class in which I'd like to pass some parameters in \documentclass[parameters]{}. The parameters I need to pass are pdftitle and pdfsubject to the hyperref package. I succeeded in doing so, ...
22
votes
1answer
299 views

TikZ graphdrawing differences between LuaTeX versions

What I will describe below is not yet a problem but will appear when TeX Live 2019 is released and LuaTeX will be upgraded to 1.09. MikTeX users might already experience this issue. It also affects ...
0
votes
0answers
67 views

Problem with LuaLaTeX and OTF font

I have a problem using a special symbol font in OTF format with LuaLaTeX. The font itself is correctly installed and found during compilation. But the LOG file states that chars are missing (in fact ...
10
votes
1answer
115 views

marking end of words in luatex - problem with math

I'm trying to mark the end of "words" (including punctuation) with luatex callbacks. (At the end I want to inject space chars at this positions, but the example uses rules for the visualization). ...
2
votes
0answers
44 views

\addfontfeature resets \prehyphenchar and \posthyphenchar

This question is similar, but applies only to XETEX. In LuaTEX, \prehyphenchar and \posthyphenchar supposedly affect the current language: All languages start out with \prehyphenchar=`\-, \...
1
vote
2answers
76 views

arabluatex: Underlining an Arabic text

How to fix the following underlined Arabic text? \documentclass{article} \usepackage[tuenc]{fontspec} \newfontfamily\arabicfont{Amiri}[Script=Arabic, RawFeature={+anum}] \usepackage{arabluatex} \...
0
votes
0answers
52 views

PGFPlots package does not show any graphs

As I told in my previous thread, I'm trying to find my way out with the PGFPlots package. The package is installed and I added \usepackage{pgfplots} in the Latex Preamble section. I pressed the TeX ...
4
votes
1answer
174 views

How can I select one No-unicode symbol from one font?

I am using Asea font http://users.teilar.gr/~g1951d/Textfonts.zip From http://users.teilar.gr/~g1951d/ And I want to pick some characters that are not encoded in unicode, but are present in the font,...
7
votes
0answers
205 views

Convert all all-caps words to small caps #2

A question very similar to mine was asked before, but I assume that there are others with the same issue and that there are other solutions. I know several academic publishers that don't like ...
3
votes
0answers
73 views

Wrong direction of vertices in tikz-feynman remains under macOS, using PGF 3.1 and luatex 1.07 [duplicate]

This question is originally from the discussion under github issue CTeX-org/forum#4. The similar problems raised by questions Fresh install of TL2018: no tikz graph drawing libraries found, and ...
3
votes
1answer
39 views

Cite a chapter not a page of a book

I'm trying to cite to a chapter of a in the .bib file specified book. How could I change my own cite style to change the default "p. 10" to a "ch. 10" (I only have to cite chapters)? MWE: \...
2
votes
1answer
110 views

How to achieve Arial Narrow in bold face

I am not quite understanding why I am not able to achieve bold face Arial Narrow font with the following mwe. \documentclass{article} \usepackage{titlesec} % N.B. typeset with lualatex.exe % ...
1
vote
1answer
33 views

Customizing biblatex “alphabetic” style

I'm trying to customize my citation a little, but don't know how to achieve my goals. MWE: \documentclass[ fleqn, fontsize=11pt, paper=a4, bibliography=...