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)

8
votes
0answers
32 views

luatex and starting TeX macros which handle new line characters

This here is actually some kind of isolated follow-up question to Workaround for open lualatex bug in \scantokens? . I tried to use tex.print("<some tex macro>{<something with a newline ...
4
votes
1answer
75 views

how to pass the content of the TeX variable to Lua

How can I pass the content of the TeX variable \jobname to a Lua variable? (I am using LuaLaTeX with the luacode package.)
5
votes
1answer
67 views

Compile Error: lualatex with PSTricks

I compile the file below with lualatex --shell-escape but I get the error : ! Undefined control sequence. l.14 \savedata ...
5
votes
3answers
53 views

Long list of tabular figures inside minipage goes off page

Using the follow MWE, I'm able to create a beautiful lists of photos on the left and a caption on the right (similarly, I could also use the sidecaption package or floats directly). MWE [LuaLaTeX]: ...
0
votes
0answers
34 views

context to run side by side with LaTeX in Windows 8 64bit

I have installed context in Windows 8 64 bit. Already I have been running MIKTEX 2.9 successfully. Now when I try to test context in CLI I get the following error message. ...
15
votes
0answers
148 views
+200

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS). I have ...
4
votes
0answers
98 views

LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS)

I'm probably missing something obvious. I'm using MacTeX 2014. I want to use the font Optima that ships with the Mac OS (10.8.5) -- it is a .ttc font. If I typeset the following TeX file I get no ...
2
votes
1answer
103 views

Translating LaTeX document to XeLaTeX or LuaLaTeX

I'm writing a Thesis on the ''use of history to teach mathematics''. The first four chapters are already typed and compiled in pdfTex, I used the memoir document class. Recently I read this Lua post ...
13
votes
0answers
87 views

Workaround for open lualatex bug in \scantokens?

As package author I am in need of writing a manual with lots of examples. Now I started to make heavy use of lualatex in order to speed up operations which take a long time in TeX (of my package, not ...
1
vote
1answer
53 views

How can I specify a minimum length for my graph's edges?

I've just started to use the (new?) graphdrawing library (see section 27 of the TikZ & PGF 3.0.0). It's awesome! However, I can't seem to effect a minimum length for my graph's edges. That's ...
9
votes
1answer
139 views

Cover whole page with squares arranged in a “spiral”

I'm trying to cover a whole landscape A4 paper with small squares – drawn in TikZ – starting from the bottom left corner of the page and moving towards to the center of the page in a ...
2
votes
2answers
87 views

Beamer: Use Libertine and Computer Modern monospace (pdflatex vs lualatex)

I am using beamer to write a presentation. I included the libertine package to change the default font, and I am using the professionalfonts theme to avoid clashes with beamer's font settings. I ...
7
votes
1answer
61 views

Is using \addfontfeatures (much?) less efficient than defining a \newfontface?

Consider the following file: \documentclass{article} \usepackage{fontspec} \setmainfont[Numbers={Lining,Proportional},Ligatures=Common]{EB Garamond} ...
6
votes
1answer
86 views

Write unit tests for Lua in ConTeXt

I would like to write some unit tests for Lua code being used by ConTeXt, and would like to know if anyone else has done this and what may be require in setting up the framework. The Lua code in ...
0
votes
0answers
40 views

nextfoot in scrlttr2

I do not understand some of the features the nextfoot variable has in the scrlttr2 KOMA-script class. \documentclass[]{scrlttr2} \pagestyle{headings} \usepackage{fontspec} \setmainfont{Linux ...
1
vote
1answer
64 views

\LaTeX macro: “Font shape `OT1/LatinModernSans(0)/m/n' undefined”

I tried compiling the following example using LuaLaTeX (LuaTeX v0.76/TeX Live 2013): \documentclass{beamer} \usepackage{fontspec} \usepackage[ngerman]{babel} \defaultfontfeatures{Ligatures=TeX} ...
1
vote
2answers
74 views

How can I run pdflatex on multiple .tex files on Windows 7?

I built some graphics with TikZ and pgfplots. I have put the code with the most minimal necessary preamble into a standalone document for each figure. Say I put all those files for chapter 3 (hence ...
3
votes
0answers
63 views

Synctex in Texmaker and LuaLaTeX

I am using Texmaker 4.3 and LuaLaTeX. I have set the "-synctex=1" option to the pdflatex command. But the built-in pdf viewer will not jump directly to the position in the PDF file that corresponds to ...
5
votes
0answers
55 views

Eadui font and luatex

Eadui, based on the hand of an eleventh-century scribe, is freely available at the Open Font Library. I can use Eadui easily with xelatex, but lualatex produces a puzzling error. For example: ...
6
votes
1answer
76 views

Implementing \DeclareUnicodeCharacter in LuaLaTeX an XeLaTeX

In my code, I used to write \DeclareUnicodeCharacter{27E6}{\begin{description}} % ⟦ \DeclareUnicodeCharacter{27E7}{\end{description}} % ⟧ \DeclareUnicodeCharacter{2022}{\item} % • which worked ...
0
votes
0answers
26 views

pdflatex error for TikZ externlization when using LuaLaTeX [duplicate]

This is how I am calling LuaLaTeX in TeXstudio: lualatex.exe -synctex=1 -interaction=nonstopmode --shell-escape %.tex Doing a test run of my main document, I get this error throughout the document ...
14
votes
3answers
375 views

Best practice - how can I get my whole document (including math) to only use font X with LuaLaTeX and fontspec?

Considering one uses math symbols in a document, it is desirable to have them all displayed in the serif font one is using for text, or in basically any font x one would like to use for this sort of ...
4
votes
2answers
178 views

LuaTeX and polyglossia -> Warnings

I am using an up-to-date version of MikTeX. As soon as I compile a document with LuaLaTeX and including the package polyglossia I get two warnings: Module luaotfload-main warning: LuaTeX v0.76 ...
2
votes
2answers
83 views

æ ø å giving “Package inputenc Error: Keyboard character used is undefined”

I am having a problem with my masters project, i can not write my name as it have a ø in it. when i compile do i get the error. Package inputenc Error: Keyboard character used is undefined (inputenc) ...
1
vote
1answer
74 views

Italic greek letters, upright operators and working partial sign with unicode-math and TeX Gyre Pagella

I need upright math operators such as \sin, \tan etc., italic uppercase greek letters and a working \partial operator. With the code below I was able to get two out of three, but I was told that it's ...
3
votes
1answer
64 views

Arch Linux: fontspec does not find system fonts

I am running an Arch Linux / Windows 7 dual boot laptop. The windows partition is mounted under arch and i made the windows fonts usable with ln -s /windows/Windows/fonts/ ...
8
votes
2answers
93 views

Escape a string printed from Lua using ConTeXt

This seems to have come up a couple times, but I cannot glean an answer to the generic question of how one might protect an arbitrary string in Lua to ensure its characters are printed. In other ...
4
votes
1answer
80 views

compiled pdf doesn't show utf-8 character

If i compile a document with lualatex that contains specific utf-8 characters most pdf-viewers (okular, evince, xpdf) don't show them. For example if i compile the following example i just see a bank ...
2
votes
0answers
41 views

Using Lua in listed elements (List of Figures, List of Tables, List of Content)

I am not sure if I use the wrong approach or if this is an issue in LuaLaTex in general. I tried to integrate some internationalization (I18n) to our documentation framework using Lua. Long story, ...
3
votes
0answers
44 views

Using pstool with LuaLaTeX

I am trying to use psfrag in conjunction with pstool an LuaLaTeX to replace a tag in an .eps plot generated with gnuplot. I'm not sure if pstool is generally working with LuaLaTeX, however, the ...
3
votes
1answer
52 views

OpenType MPlib labels with luatex-plain

I am trying to get the luamplib to work with the luatex-plain -format. I installed BasicTeX2014, and then did tlmgr install context. Then I did luatex --ini ...
2
votes
1answer
386 views

Want to add the Skype and LinkedIn Icon on the left side of Friggeri Resume?

\documentclass[]{myfriggeri-cv} % Add 'print' as an option into the square bracket to remove colors from this template for printing \usepackage{unicode-math} \usepackage{fontawesome} ...
5
votes
2answers
137 views

Command \texteuro unavailable in encoding T1

I want to know how does LaTeX figures out if the Eurosymbol (€) is a glyph of a given T1 font. I tried \iffontchar but it seems the value is not unique. AFAIK it's not a standard symbol of the 256 ...
0
votes
0answers
44 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} ...
2
votes
1answer
182 views

FontAwesome is not working in Friggeri resume?

\documentclass[]{friggeri-cv} % \documentclass{article} \usepackage{unicode-math} \usepackage{FontAwesome} \definecolor{light-gray}{gray}{0.55} \definecolor{skype}{HTML}{12A5F4} ...
4
votes
0answers
80 views

How to typeset a letter or grapheme specimen with alternates?

I want to print a font specimen for certain letters, each of which should cover a complete A4 page. The Open Type font contains many letters with several glyphs, which are accessible as character ...
8
votes
0answers
107 views

How to pass a LaTeX argument verbatim to lua?

I would like to pass an argument verbatim from LaTeX to lua including LaTeX commands and end of line characters. The example below takes care of the former issue, but not of the latter. Is there a ...
3
votes
0answers
83 views

How to get box dimensions within lualatex

I'm new to lualatex, which looks phenomenal. I wonder what the easiest way is to access the dimensions of a box from within lualatex. I intend to use it in more complicated situations than this (as ...
2
votes
0answers
115 views

Small caps font is not enabled with fontspec and MinionPro

I can't make lualatex generate small caps font when I use MinionPro as my main font: \documentclass[a4paper,justified,nobib,notoc]{tufte-book} \usepackage{fontspec} \title{ABC} \author{Arthur ...
0
votes
0answers
16 views

checksum mismatch in font futr8t.vf ignored [duplicate]

With this MWE : \documentclass{beamer} \RequirePackage{fontspec} \usefonttheme{serif} \RequirePackage{lmodern} \RequirePackage{fourier} \beamertemplatenavigationsymbolsempty ...
2
votes
0answers
23 views

Is it a bug? (LuaLaTeX AND [russian](Polyglossia OR Babel) AND Cleveref) => ERROR [duplicate]

So, with the following code \documentclass[12pt, russian]{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX},Renderer=Basic} \setmainfont[Ligatures={TeX,Historical}]{Linux Libertine ...
5
votes
1answer
73 views

Problem with \setmathfont and siunitx

I have some problem with the following code. \documentclass{minimal} \usepackage{fontspec,luatextra,unicode-math} \usepackage{icomma} \usepackage[noload=abbr]{siunitx} \sisetup{decimalsymbol=comma, ...
4
votes
2answers
79 views

Remove space before punctuation

I need to remove locally spaces arround (especially before) punctuation signs. This spaces are added by french polyglossia. \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} ...
6
votes
1answer
74 views

Problem with luacode in sty file

I'm trying to include a gcd function using lua in a sty file. Here is the code of euclide.sty : \RequirePackage{ifluatex,luacode,luatextra} \ifluatex \begin{luacode} function euclide(a,b) ...
10
votes
1answer
207 views

XeLaTeX can't use TikZ 3 features?

I copied this code from this answer. \documentclass[tikz]{standalone} \begin{document} \tikz [blend group=screen] { \fill[red!90!black] ( 90:.6) circle (1); \fill[green!80!black] (210:.6) ...
5
votes
0answers
117 views

LuaLaTeX - Problem with defining Cambria Math only for special font types

I've got a problem, that I can't fix. As soon as I try to use Cambria Math as font for \mathscr and \mathbfscr I get a "missing \endcsname inserted" as error. I'm new to LuaLaTeX so I simply ...
4
votes
1answer
65 views

Compilation sequence with lualatex

I'm looking to make automatised table using lualatex (I just want to make some conversion and be able to modify the input easily). But I can't find how the code would be parsed and compile by ...
1
vote
1answer
62 views

references to floats without ever using figure numbers (possbily using lua or python)

Stephen Wolfram's 'A New Kind of Science' states in its colophon that it has 973 illustrations spread out over 1280 pages. Remarkably, he accomplishes this without ever using figure numbers. No figure ...
3
votes
1answer
90 views

Why does the switch to ClearSans font fails in LuaLateX?

At the moment I am experimenting with a sans-serif font for figures and a serif font for the rest of the document. When compiling this MWE with pdflatex everything seems to work smoothly. Switching to ...
4
votes
0answers
50 views

How to hyphenate Russian text with dvilualatex?

I'm failing to hyphenate Russian text with LuaTeX in DVI mode (dvilualatex). Please, don't tell me to use fontspec I need a DVI file. MWE: \documentclass{article} \usepackage[T1,T2A]{fontenc} ...