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
2answers
59 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) ...
8
votes
2answers
83 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 ...
8
votes
1answer
134 views

Why does using small caps break endash ligatures in lualatex?

I've spent most of my day trying to migrate a project from pdftex tolualatex. The experience has been mostly positive but there are a few gotchas I can't make heads or tails of. Most recently I've ...
1
vote
1answer
55 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
48 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/ ...
4
votes
1answer
68 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 ...
15
votes
3answers
2k views

Which is the best editor for LuaTeX?

Many (La)TeX editors support the LuaTeX engine. However, which one offers the best support for writing LuaTeX? Which editor or plugin supports features such as syntax highlighting and auto-completion ...
2
votes
0answers
37 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
1answer
48 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 ...
3
votes
0answers
33 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 ...
2
votes
1answer
329 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} ...
34
votes
1answer
578 views

Poisson disc sampling implemented in luatex

In this answer by @Jake to the question Filling specified area by random dots in TikZ I learned about the poisson disc sampling technique to generate nice looking random patterns. Jake's answer ...
10
votes
1answer
7k 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 ...
5
votes
2answers
75 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 ...
2
votes
1answer
131 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} ...
0
votes
0answers
41 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} ...
3
votes
0answers
80 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 ...
4
votes
0answers
72 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 ...
16
votes
3answers
980 views

In LuaLaTeX, how do I pass the content of an environment to Lua verbatim?

In LuaLaTeX, how would I go about capturing the content of an environment for (verbatim) processing by Lua? For example, consider something like \begin{foobar} Hello {World} \end{foobar} I'd like ...
8
votes
0answers
92 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 ...
5
votes
1answer
347 views

Best way to use Linux Biolinum Keyboard with fontspec?

I am trying to typeset keyboard shortcuts in my document, e.g. CTRL+SHIFT+S. The Linux Libertine font family includes a nice keyboard font that I would like to use. What's the best way to use it with ...
2
votes
0answers
100 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 ...
1
vote
1answer
83 views

curious luatex warning checksum mismatch in font txr.vf ignored

The warning mentioned in the title occurs only if luaotfload is loaded. The txr.vf + txr.tfm files are OK: other TeX engines or dvips etc. don't have problem, tftopl and vftovp show that the checksum ...
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 ...
4
votes
1answer
54 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, ...
10
votes
1answer
197 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) ...
12
votes
1answer
215 views

Is there a limit to the size of a tex-file?

I've been writing a document for some time now. It is steadily growing and hopefully will continue to do so. Lately I realised that -- although I just recently bought a new MacBook -- when I work on ...
4
votes
2answers
69 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
69 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) ...
5
votes
0answers
104 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 ...
38
votes
3answers
2k views

Bounding box for each letter

How can I take input text and replace each character with a solid (and/or hollow) rectangle representing the bounding box for that character? In the case where two characters are closer together from ...
4
votes
1answer
56 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 ...
6
votes
1answer
42 views

Discovering which (La)Tex element is shown by lua-visual-debug (print to stdout)?

I am trying to troubleshoot what happens in the code in Wrong placement (and/or size) of picture / plot with groupplot of table?. So I added \usepackage{lua-visual-debug} to that example, and built it ...
3
votes
1answer
80 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 ...
1
vote
1answer
103 views

What could cause pdflatex/lualatex to halt compilation and freeze?

I am trying to run pdflatex or lualatex from ASP.NET web application using impersonation. The standard output and standard error streams are being redirected and I am saving their contents to the log ...
4
votes
0answers
48 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} ...
0
votes
0answers
178 views

installing Luatex in Miktex

How to install Luatex win 32 luatex version in Miktex 2.7, see http://www.luatex.org/download.html , my operating system is Windows XP, it seems that the luatex package is not complete, it doesn't ...
1
vote
0answers
222 views

Error using lualatex and tikzexternalize to compile document with PGFPlots

I have a fairly large document with a number of pgfplots diagrams and due to memory capacity limits in PDFLaTeX I am now using LuaLaTeX to compile. While this works well, it takes forever to produce ...
2
votes
0answers
55 views

Error when using luaotfload-tool

i am trying to install Myriad Pro at my Ubuntu PC to use it with Lualatex and fontspec. The font is correctly installed and can be used in LibreOffice. fc-list | grep -i myriad -> Myriad ...
0
votes
1answer
64 views

Colorbar for pgfplots contour plot

I have to draw a contour plot of a large dataset, so I use lualatex as compiler. This example also works with normal latex, i.e. latex+dvips+ps2pdf. It works fine in latex but for the large amount of ...
4
votes
2answers
172 views

Changing language back and forth with polyglossia

I'm using polyglossia and lualatex to compile my source, and I am switching languages back and forth inside my document. It looks like polyglossia (or myself), is not doing what it is supposed to do: ...
6
votes
2answers
1k views

LuaTeX and graphics

I'd like to know what LuaTeX offers in terms of graphics: I'm mostly interested in pstricks and tikz/pgfplots. Could it help tikz to run faster? Would it help tikz to handle 3D non-parallel figures? ...
1
vote
0answers
40 views

ConTeXt with LuaTeX to compile mathml

I am using ConTeXt with LuaTeX to compile mathml. I would like to change the MathML fonts to a OTF Font. Please advice how this could be done. I have included a sample code below. \usemodule[mathml] ...
8
votes
2answers
91 views

How to manipulate a multi-line string in luatex?

I want to write a Lua function that processes some multi-line string. Thus, I created a new file test.lua which contains userdata = userdata or {} function userdata.surroundwithdashes(str) str = ...
14
votes
1answer
222 views

FR: Staplers corner

I like twocolumn documents, but sometimes people complain that stapeling pages together made it hard to read the top left text of the left column on all pages after the first page. OK, I could have ...
3
votes
0answers
50 views

Combining diacritical mark is misaligned with luatex, but not with xetex

Consider the following code: \documentclass{article} \usepackage{fontspec} \setmainfont[BoldItalicFont = {* Semibold Italic}]{Linux Libertine O} \begin{document} \textit{\textbf{V\char"0306}} ...
3
votes
1answer
67 views

Hindi words not displayed properly in pdf (generated by xelatex)

The words are not getting displayed properly in the pdf even though they are getting displayed correctly in source file. And when I tried to copy words from the pdf file and paste them, they are ...
1
vote
1answer
184 views

Installing EB Garamond (miktex lua) encore encore

There are many related questions and answers. I looked at Installing EB Garamond for pdfLaTeX (encore) and tried the lua answer there. lualatex from a freshly instlled Miktex on this MWE ...