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

learn more… | top users | synonyms (1)

2
votes
1answer
31 views

Disable some xunicode macros in case of T1 font encoding?

I was hoping that, except for inputenc/fontenc versus fontspec, old .tex files encoded in UTF-8 could be used without changing anything with either pdftex, xetex or luatex engines. But the following ...
3
votes
0answers
61 views

How to manually typeset text in parallel on facing pages in (Lua)LaTeX?

I want to typeset a bilingual text in parallel on facing pages using LuaLaTeX. The existing solutions to automate this task have proven unsatisfactory as they don't allow for footnotes (parallel), ...
0
votes
1answer
38 views

Change font automatically when typing CJK characters, possibly lualatex

The title says it all already. I found how to change fonts with fontspec and lualatex, however I wonder if there is an easy way to mix Latin characters with Japanese characters without explicitly ...
1
vote
1answer
38 views

Lualatex not found

When I run pandoc markdown.md --template=/Users/xxx/Documents/Pandoc-Templates/default_copy.latex --latex-engine=lualatex -o test.pdf I get the following error message: pandoc: lualatex not found. ...
2
votes
0answers
38 views

hyphenation with languages in transliteration // forced hyphenation?

I am typesetting (lualatex) a document in a couple of languages. The main language is English. If I use other languages I usually use commands such as \foreigntextquote{french}{text} and ...
3
votes
2answers
76 views

fontawesome scaling, deedy-resume pgfplots axis, XeTeX, LuaTeX issues

I am currently working on a document using the deedy-resume template http://www.latextemplates.com/template/deedy-resume-cv in LaTeX and I have two issues which result in a dilemma and I can't ...
5
votes
2answers
95 views

Define certain letter in math-mode to be always non-italic - using unicode-math in lualatex

I once had this question a while ago, asking about how to set the letter j always to be non-italic j in math mode without using \mathrm. The provided solution was: ...
0
votes
0answers
50 views

is pdfTeX from TeX Live 2015 supposed to work with LyX 2.1.3? [closed]

I am trying to compile a PDF in LyX with the pretest TeX engines installed, and so far they break. I don't recall what else would have changed from using the folder instead of the 2014 analog. pdfTeX ...
1
vote
1answer
41 views

image/graph looks bad in template

I have some problem with a graph packet in LaTeX. http://www.texample.net/tikz/examples/drawing-graphs/ is the package I'm using. It worked fine for me to compile the example from the webbpage but ...
3
votes
1answer
37 views

How to pass a string to a custom documentclass for use in pre-compiled preambles in lualatex?

I've got a heavy class definition and want to modify it for the use with precompiled preambles. Minimal example preamble.tex \documentclass{myClass} \def\preambleloaded{Precompiled preamble ...
3
votes
1answer
39 views

Fitting text of unknown length into a box through font scaling

In a scenario where TeX documents are generated by a script the challenge is to nicely fit text of variable length into boxes of fixed size. There's a default font size suited for 80% of the cases ...
2
votes
1answer
34 views

luatexja-preset: deluxe option crashes

deluxe option for luatexja-preset crashes. For example, when I compile the following code: \documentclass[12pt,a4paper]{ltjsarticle} \usepackage[hiragino-pro,deluxe]{luatexja-preset} ...
8
votes
1answer
89 views

LuaLaTeX: Load order fontspec, microtype (breaks hyphenation in bibliography)

The microtype documentation clearly states: With LuaTeX, load fontspec before microtype However, this breaks hyphenation in some cases in the bibliography, created with biblatex/biber. The same ...
4
votes
1answer
31 views

etextools throws error when run with LuaLaTex

I was trying to use the etextools package with LuaLaTeX and ran into the following error ! String contains an invalid utf-8 sequence. l.233 \csdef{ettl@ifdef#2}##1#1##2/End ...
1
vote
0answers
47 views

Colored mainfont with fontspec in a textblock yields to pdf error with LuaLaTex [closed]

When I (1) change the color of the mainfont with the fontspec package, (2) put some text in a textblock environment and (3) compile the document with LuaLaTex, the resulting pdf when opened with Adobe ...
2
votes
1answer
57 views

graphics flowing in the text

I am trying to plot a graph G= on a slide and write some text under and over it but the graph is on its own page(and that page is much smaller then a normal one) How can I get the graph flow in the ...
1
vote
0answers
75 views

How to use the fontspec package in a LaTeX document?

I'm trying to make a simple document which uses the fontspec package in Tex Maker 4.4.1 with LuaLaTeX engine. Code I'm using \documentclass{article} \usepackage{fontspec} ...
0
votes
0answers
64 views

Text processor for XeLaTex or LuaLatex

For my case, I'm interested in this EB Garamond font type. Because I am not very old users of Latex, can you help me to recommend me which Tex text processor can I use to make this second type font? ...
2
votes
0answers
115 views

TikZ new graphing library - how to use?

Ubuntu 14.04 tex version : TeX 3.1415926 (TeX Live 2013/Debian) After seeing this post I really wanted to play with the example and library, however I can't seem to get it working on my system. ...
5
votes
0answers
79 views

Runtime of the TeX family

I have been searching in vain for statistics about the runtime of pdfTeX, LuaTeX and XeTeX. My impression is that (ordering by increasing runtime), LuaTeX > XeTeX > pdfTeX, but exactly how big is this ...
9
votes
1answer
138 views

General guide on how to set up Minion Pro for math in lualatex

Minion Pro is one of the most beautiful fonts and comes with many Adobe products. A complementary set of symbols is provided by the MnSymbol fonts and package, which is not fully compatible to ...
14
votes
1answer
254 views

Why does texdoc call luatex

Why is it that calling texdoc runs, amongst others, luatex? What is it needed for?
15
votes
3answers
223 views

Safely overriding default paragraph breaking to something unusual

I am, as an experiment, trying to simulate a certain typgraphic style which uses only the pilcrow sign to separate paragraphs -- no line breaking. What I'm after should look like this: This example ...
6
votes
1answer
84 views

Why does the ragged2e package screw up my emphasized text and headings?

I encountered a weird behavior of the ragged2e package. \documentclass{article} \usepackage{blindtext} \usepackage{amsmath} \usepackage{ragged2e} \newcommand{\ir}[1]{_{\mathrm{#1}}} ...
1
vote
1answer
195 views

LuaLaTeX produces no output

I've decided to switch to LuaLaTeX for superior font support and built-in programming capabilities, but I cannot produce any output. It does not even generate a .log or .aux file. I've come across the ...
5
votes
0answers
44 views

Can LuaLaTeX make wrapping text around figures easier?

If there is one thing LaTeX has never been good at, it is wrapping text around figures. Well, I have grown used to LuaLaTeX always providing a solution to what seemed impossible before. So does there ...
2
votes
0answers
93 views

error: could not start the command. lualatex -interaction=nonstopmode %.tex

I have just installed texmaker 4.4.1 and MikTeX 64bit in my laptop. When I use pdflaTeX everything seems to be working fine, however when I try to switch to LuaLaTex I get the message shown in the ...
3
votes
1answer
72 views

Smallcaps don't work if fontspec's microtype is used in luaLatex

This could be a duplicate question of this one - but I'd say the problem there is still not solved. Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage{fontspec} ...
2
votes
1answer
69 views

General guide on how to set up font families for luaLatex

In A Survey of Free Math Fonts for TEX and LATEX are great examples of harmonizing fonts in Latex. For example consider the text fragment for CM Bright: With pdfLatex it was sufficient to just ...
3
votes
2answers
104 views

Change engine for “latex” command on terminal

First of all I'm working with ePiX For those who have never heard about, epix uses Latex. To compile, ePiX runs latex command on terminal. I'm always getting a message saying I've got memory limit. ...
3
votes
0answers
37 views

luatodonotes and tikz externalization won't mix

Consider the following code: documentclass[11pt]{report} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize %\usepackage{luatodonotes} \begin{document} \begin{tikzpicture} ...
5
votes
1answer
57 views

Automatic box packing

I have a number of say, subfigures, of varying shapes and would like to waste less space displaying them; their order doesn't matter, and rather than having them all lined up on the same baseline I ...
1
vote
0answers
125 views

How to use LuaLaTeX at WinEdt?

I have a problem " How to use LuaLaTeX at WinEdt ? And my MWE : \documentclass{article} \usepackage{luacode} \usepackage{tikz} \begin{document} \luaexec{ tp=tex.print ...
2
votes
1answer
37 views

\mathbb and MnSymbol

I am experimenting a little with fonts and I'd like to use the following MWE to write some math: \documentclass[% paper=a4,% fontsize=12bp,% parskip=half-,% notitlepage,% oneside,% reqno,% ...
5
votes
2answers
86 views

Obtain a TikZ tree from a Lua table/string

Let's consider I have a database where with appropriate passages I obtain the a string that describes a layered tree. Consider the following listing: % !TEX encoding = UTF-8 % !TEX program = ...
9
votes
2answers
285 views

Why does Lualatex crash after a recent update?

After updating packages of MiKTEX 2.9 lualatex stopped working. I execute this code: \documentclass[12pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[] at (0,0) {A}; ...
3
votes
0answers
34 views

Texlipse can't find font files

i have a LuaLaTeX document which should use some fonts but i get some errors which says that the font files can't be found. The fonts are in a subdirectory of the project. In the "Project Explorer" ...
14
votes
1answer
192 views

Kerning and ligatures in TeX without TeX

I am trying to get the same output as in this answer by topskip (an extended version with comments is presented in the TeX without TeX article). I am getting a paragraph consisting of 6 lines with ...
12
votes
2answers
352 views

LuaLaTeX and hyperref ate my document (properties). How do I get them back?

I use hyperref for a number of reasons, but among other things it sets up the document properties up well. As long as I compile with XeLaTeX that is. As soon as I compile with LuaLaTeX, everything is ...
17
votes
2answers
907 views

Why is LuaLaTeX so slow and is there anything I can do about it?

A while back I started bumping into issues with LuaLaTex and switched to compiling a project in XeLaTeX. Since then it seems most of my issues have been resolved upstream or are fixable one way on ...
6
votes
1answer
104 views

Why does LuaLaTeX's \IfFileExists fail where XeLaTeX succeeds?

I have a series of files that I've been compiling with XeLaTeX. I recently attempted to compile with LuaLaTex and it made a royal mess of things. I traced the issue to the use of \IfFileExists in one ...
4
votes
0answers
288 views

MikTeX Update and LuaTeX [duplicate]

Since the Miktex Update yesterday LuaTeX doesn't work any longer. Running from command line, I only get the following output: >lualatex Main.tex This is LuaTeX, Version beta-0.79.1 (MiKTeX 2.9 ...
9
votes
2answers
70 views

Workaround to make catchbetweenfiletags work with lualatex

I recently discovered that a basic example of the package catchbetweenfiletags doesn't work with lualatex (while it works with pdflatex). What follows is the MWE. Do you know if there is workaround ...
10
votes
2answers
204 views

Polyglossia and hookrightarrow

Can someone explain why there is a gap between the tail and the head of \hookrightarrow when I load polyglossia with French support ? I'm using LuaLaTeX for producing the .pdf. ...
3
votes
0answers
131 views

Minion Math with LuaLaTeX

I cannot get the font Minion Math to display correctly in LuaLaTeX. Several posts on here and the official font support page all say to use the package unicode-math. And so I try: ...
4
votes
1answer
68 views

Randomizing a given text

It sounds stupid, but it's useful to me. I want to randomize words. To input a text, and to get an output with the same words, in random order. I have no idea how to begin with, though. Therefore I ...
3
votes
0answers
47 views

Nil value error in LuaTeX when \bullet is replaced with text

I'm trying to draw a spectral sequence using luasseq, and getting the following error message: LuaTeX error /usr/share/texlive/texmf-dist/scripts/luasseq/luasseq.lua:377: attempt to index field ...
5
votes
2answers
56 views

show content of token register as a string in the document

I'm trying to implement a command that can execute its argument, but also print it. To that end I'm dumping the argument into a toks register and use LuaTex to put it back with inactive catcodes; as ...
4
votes
1answer
177 views

How to style all instances of a certain word?

In my document I want to change the colour of every instance of the * character to red. How can I style every instance of a single word or character without interfering with the document's other ...
5
votes
1answer
87 views

LuaTeX: How to handle a Lua function that prints TeX macros

Let's say that I have a Lua function that prints TeX macros: How can those macros be executed during compilation with LuaLaTeX? In the following example, I defined a LaTeX macro that should print a ...