Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
20 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 ...
6
votes
1answer
42 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
72 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
3answers
70 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 * ...
1
vote
0answers
842 views

Beamer metropolis theme issue [closed]

So I am trying to get metropolis beamer theme work. For some reason, it worked on my El Capitain mac with no problem using LuaLaTeX. But the exact same file does not work on my Yosemite mac. Here ...
3
votes
2answers
1k views

beamer-lualatex: Option clash for package fontspec when setting up its encoding

When compiling a beamer document using lualatex, I use fontspec package without problems. However, when setting up its encoding as in this MWE, I always get this error Option clash for package ...
0
votes
0answers
27 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
71 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. ...
6
votes
3answers
271 views

`ccmp` in Lua(la)TeX/ConTeXt, with Source Han serif font

Google and Adobe released a new CJK font Source Han Serif recently. One of the amazing feature is that, using opentype ccmp feature, it becomes possible to type the chinese character biang, as ...
7
votes
2answers
4k views

fontspec – sans-serif as main font? [duplicate]

fontspec defines the commands \setmainfont{font name}[font features] \setsansfont{font name}[font features] \setmonofont{font name}[font features] to set the document’s default fonts. However, if I ...
3
votes
2answers
106 views

Warnings when using babel with LuaLaTeX

Recently I have started using LuaLaTeX over pdfLaTeX, without any real issue so far. When working on a project I have noticed some warning messages I have failed to decpiher after consulting Google ...
30
votes
3answers
23k views

LaTexing vs LaTexTools (Sublime text plugins)

I want to use sublime as my default IDE for TeX (currently I'm using Latex Studio). I've found two great packages: LaTexTools LaTexing Both has somehow the same list of features but LaTeXing seems ...
1
vote
2answers
76 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}...
14
votes
1answer
568 views

What happened to \luatextextdir?

As of today, the command \luatextextdir does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands: \newcommand{\arabtext}[1]...
1
vote
1answer
41 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 ...
0
votes
0answers
29 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....
4
votes
1answer
64 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 ...
5
votes
1answer
109 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 (...
1
vote
0answers
233 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 ...
2
votes
1answer
36 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\...
3
votes
3answers
56 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
54 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 ...
22
votes
1answer
287 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 ...
3
votes
0answers
72 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
2answers
294 views

How to detect LuaLaTex inside my .tex file and exclude bits and pieces conditionally

Let me state my "problem" first. When using PdfLateX my .tex file compiles rather swiftly and all is fine. I use TeXStudio and make use of the PDF preview feature. Since my LaTeX fu isn't the ...
3
votes
0answers
237 views

XeLaTeX/LuaLaTeX copy and paste broken and document not searchable?

I am on Windows using TeX Live 2016 and both xelatex and lualatex produce broken encodings when building the following \documentclass{scrartcl} \usepackage{fontspec,unicode-math} \...
3
votes
1answer
298 views

Updated lualatex vs. tikz-feynman

ORIGINAL QUESTION: I have major problems compiling Feynman diagrams produced with the tikz-feynman package with lualatex. To make it less likely that I am just sloppy, I copied the example from this ...
2
votes
1answer
35 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, ...
2
votes
0answers
34 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=`\-, \...
0
votes
1answer
62 views

LuaLaTeX packages for bold math symbols [closed]

I am writing a document, and this is my preamble: \documentclass[11pt]{article} % Packages dealing with fonts \usepackage{mathtools} \usepackage{amssymb} \usepackage{unicode-math} \usepackage{...
1
vote
1answer
58 views

Left quotation mark not showing in GFS Didot Classic

I don't get why the left quotation mark doesn't show here \documentclass{article} \usepackage{fontspec} \setmainfont{GFSDidot_Classic.otf} \begin{document} `ἄνθρωπος' \end{document} I've checked ...
0
votes
0answers
53 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 ...
7
votes
0answers
183 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 ...
10
votes
1answer
108 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). ...
1
vote
2answers
44 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
1answer
54 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 ...
0
votes
0answers
23 views

How to install and run beamer theme on MiKTeX 2.9 [duplicate]

I've been trying to use this beamer theme: https://github.com/ppletscher/beamerthemezurich/. When I try to compile the sample .tex file included it gives me an error that reads: ! Fatal fontspec ...
0
votes
0answers
45 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
141 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,...
30
votes
4answers
751 views

Any suggestions/requests for features for a new package that allows disabling ligatures for (pre)selected words?

I'm starting to put together a LaTeX package, which I hope to distribute broadly, that provides lualatex code to disable ligation of character pairs and triplets for selected words (globally within ...
2
votes
1answer
84 views

Margins in PDF document

I created a LaTeX document with a header and converted it to PDF with luatex. When I open the document with a PDFviewer (I tried Acrobat and pdf exchange editor) and try to print it, the PDF viewers ...
0
votes
0answers
27 views

“Undefined control sequence” error using \pagelayout command of sbabook documentclass

I am trying to build the example of the sbabook class which uses a line \pagelayout{\paperbackpage} I get an error when building this ! Undefined control sequence. l.3 \pagelayout {\...
2
votes
1answer
240 views

! Font \TU/lmr/m/n/12=[lmroman12-regular]:+tlig; at 12pt not loadable: metric data not found or bad

I'm currently using MikTeX 2.9.6809 and LuaTeX 1.07.0, and I cannot compile in LuaLaTeX (I can compile in XeLaTeX and pdfTex though). I fully updated MikTeX after encountering this error, still not ...
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
61 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
27 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=...
6
votes
2answers
75 views

Weird Vertical Spacing of '*' with Fira Code in Listings

I am recently getting started with LuaLaTeX and I was trying to set up a custom listings style for C++. Consider the following MWE: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{xcolor} ...
3
votes
1answer
88 views

Let luatex output a list of glyphs and their positions

In the Python plotting library Matplotlib (https://matplotlib.org), text can be rendered using either Matplotlib's own text layout algorithm (which includes a parser for a subset of TeX-like mathmode ...
0
votes
0answers
37 views

Can't execute jar from directory with umlaut

Okay so this is quite an exotic question and I am unsure whether it really fits on this page. But as it involves LaTeX I'll post it here. I have written a Java program that I am calling from inside ...
3
votes
1answer
452 views

Tikz graphdrawing library with tree layout throws error

When I compile the following snippet \documentclass[tikz,border=0pt]{standalone} \usetikzlibrary{graphdrawing} \usetikzlibrary{graphs} \usetikzlibrary{shapes.misc} \usegdlibrary{trees} \begin{...