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)

3
votes
1answer
141 views

Passing environment to \luatexluaescapestring fails

Can anyone explain why the macro \makequesone below fails and/or suggest a fix? The verbatim option works (as in the MWE) but I would like the content of the argument to be able to contain relatively ...
3
votes
1answer
752 views

problem compiling some 'math' using LuaLaTeX

Have a couple of documents with the following sort of construct: \begin{equation} y=\sqrt[n]{\prod_{i=1}^{n} x_{i}} \end{equation} Compiles/renders fine using 'standard' LaTeX, but fails miserably ...
3
votes
1answer
304 views

lualatex and lilypond/music notation

Is there any easy way to embed musical notation into lualatex projects without too much hassle? (hopefully complete transparency) I was thinking something like lilypond without having to do multiple ...
3
votes
1answer
722 views

Font mixup with Neo Euler and Fontspec

For my document I would like to use Linux Libertine as main font and Neo Euler as maths font. However, there seems to be some conflict with the code I am using. Here is a MWE and its output: ...
3
votes
2answers
638 views

LuaLaTeX + unicode-math + semantic package

I am trying to use lualatex with the unicode-math and semantic packages. I have some problems with the semantic package - when I load full version or with the shorthand option I get "Invalid math ...
3
votes
1answer
177 views

LuaLaTeX returns illegal unit of measure for .tikz

I have a large graph generated from matlab2tikz (~1.3mb) that I am trying to compile. Latex gives me out of memory errors so I am trying LuaLaTeX. The problem is LuaLaTeX gives me an error: Illegal ...
3
votes
1answer
351 views

LuaLaTeX and PDF Viewer

Is there any way to make Texmaker automatically display my LuaLaTeX generated PDF in his internal PDF viewer ? It works if I use an external PDF viewer: lualatex --interaction=nonstopmode ...
3
votes
1answer
105 views

How to catch missing font error and use another font?

I write a TeX-document on two PCs, the files are transferred via USB-Stick. The document should be printed with a specific font. For legal reaons the font is only available on one PC. When I ...
3
votes
1answer
147 views

LuaSSEQ problem

I am trying to compile a Lualatex file using the luasseq package My minimum working example is \documentclass{article} \usepackage{luasseq} \begin{document} \end{document} When I run 'lualatex' on ...
3
votes
1answer
190 views

LPeg self-referential pattern

I am trying to create a self-referential pattern in lua/lpeg local group = lpeg.P(sep1 * (1 - sep2)^0 * group^0 * sep2) notice that group refers to itself. This is not possible since group is ...
3
votes
1answer
152 views

Fitting display math with luatex?

I took a latex file and edited it to be more readable on my phone. Specifically, I used the geometry package to typeset it on pages measuring 3x4. I set the text to be left justified to keep words ...
3
votes
1answer
65 views

How to get the missing Angstrom symbol displayed with siunitx?

I'm currently using XITS and XITS Math with Lualatex. Everything is fine. The only problem is that for some reason, \SI{0}{\cubic\angstrom} is not working as expected: \documentclass{standalone} ...
3
votes
1answer
84 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/ ...
3
votes
1answer
102 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 ...
3
votes
1answer
377 views

Same mathematical fonts with LuaTeX and ConTeXt

I use LuaLaTeX to compile my documents with this in the preamble : \documentclass[12pt,a4paper]{article} \usepackage{etex} \usepackage[no-math]{fontspec} ...
3
votes
3answers
848 views

ForwardSearch: “Cannot execute the command” when using LuaLaTeX

If I try to compile with the LuaLaTeX-compiler in TeXnicCenter with the below outputprofile-settings, there showing up this error: [ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)] Cannot execute the command ...
3
votes
1answer
614 views

make texmaker show compile error output (Message/Log) with custom lualatex user-build-command

i want to compile documents with a lualatex user build command within texmaker on mac os x. here is my command: /usr/texbin/lualatex -synctex=1 -interaction=nonstopmode %.tex|open %.pdf It ...
3
votes
1answer
238 views

What does “LuaTeX error cannot read stdin: Bad file descriptor.” mean?

I'm trying to compile with LuaLaTeX for my first time but don't get results. The goal is to get microtype to work with the standard font for scrreprt (Latin Modern I think). Or maybe to check out ...
3
votes
1answer
126 views

combine macro arguments with text

I have a macro where I need to combine one of it's arguments with text to form a string that is used in lua. \newcommand{\mymacro}[1]{\directlua{ myfunc("#1 4") } if I call \mymacro{alpha} I ...
3
votes
1answer
320 views

microtype character code

I am using lualatex This is LuaTeX, Version beta-0.70.1-2011062107 (rev 4277) with microtype [2011/08/18 v2.5 <beta-07> Micro-typographical refinements (RS)]. My computer has an american ...
3
votes
0answers
17 views

Error when using selnolig and lua-check-hyphen: attempt to index global 'debug' (a boolean value)

\documentclass{article} \usepackage{fontspec} % required for selnolig \usepackage{selnolig} \usepackage{lua-check-hyphen} \begin{document} Foo \end{document} Using my two favorite lualatex packages ...
3
votes
0answers
65 views

XeLaTeX and LuaLaTeX: which is faster?

Beacuse I typeset in Japanese, I don't use LaTeX and now want to know which compiles faster: XeLaTeX or LuaTeX? Is Lua language allows to make the compile faster?
3
votes
0answers
70 views

Synctex in Texmaker and LuaLaTeX [on hold]

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 ...
3
votes
0answers
46 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
0answers
89 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 ...
3
votes
0answers
66 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
0answers
77 views

Luatex ligatures after \newpage [closed]

I am seeing some very strange behavior with LuaLaTeX. It is hard to describe, so I will begin with a MWE: \documentclass{book} \usepackage{fontspec} %\defaultfontfeatures{Ligatures={Common, TeX}} ...
3
votes
0answers
94 views

External PDF from pgfplots contains several pages when with floatrow

Plotting with pgfplots and the external library creates the single PDFs for every plot as wanted. But every of those PDFs contains several pages, each showing the same plot. Sometimes there are three ...
3
votes
0answers
55 views

LuaLateX (luaotfload & blacklist) do not work in Mac OS X Mavericks (Segmentation error) [duplicate]

I have the same problem as already stated by Till A. Heilmann under: Lualatex (luaotfload) broke after upgrading to Mavericks After updating to Mavericks, LuaLaTeX does no longer work for me and when ...
3
votes
0answers
201 views

Compiler error “save size exceeded”

I have a problem with compiling my thesis. Due to a new plot I inserted, it lo longer compiles. According to this guide, i increased the limits for lualatex as follows: pool_size=5000000 ...
3
votes
0answers
47 views

Getting the filename of the current input from within “show_error_hook”

In the luatex reference guide, status.filename is described to return "the name of the current input file". The luatex wiki describes how to use this along with show_error_hook to produce better error ...
3
votes
0answers
169 views

Difference in PDF loading in lua- and xelatex

Someone is trying to install a package of mine (http://www.ctan.org/pkg/lilyglyphs) in MiKTeX on Windows 7. After some hassles with file and font paths we managed to get him going, but there is one ...
3
votes
0answers
189 views

'Moderncv classic 1.5.1' lualatex compilation fails when using \itshape and awesome icons and sans font with MacTeX2013 [closed]

When compiling this tex code on SnowLeopard, MacTeX2013 with lualatex test.tex: \documentclass[11pt,a4paper,sans]{moderncv} % moderncv 1.5.1 version \moderncvstyle{classic} \moderncvicons{awesome} ...
3
votes
0answers
704 views

PDF images not showing up with lualatex/pdflatex

I am trying to include an image in PDF format into my document as a figure. When compiling with lualatex or pdflatex, the image does not appear. If I take that very PDF image and convert it to PNG and ...
3
votes
0answers
3k views

Problem viewing document in TEXmaker “Fontspec requires XeTeX or LuaTeX” [duplicate]

I'm trying to use a template from online and when I upload the zip into Texmaker it gives the following error "! Fatal fontspec error: "cannot-use-pdftex" ! ! The fontspec package requires either ...
3
votes
0answers
61 views

How to debug error message from luaotfload-database.lua

I am beginning to think it was a really bad idea to update to TeXLive 2013. Since this update almost none of my old documents compile any longer. Does anyone have any idea what LuaLaTeX is trying to ...
3
votes
0answers
176 views

Having Problem using math environment in LuaLaTeX

I am at learning stage of LaTeX. While working with lualatex with fontspec package, i am not being able to use any math environment. My document's preamble: \documentclass[a4paper, 14pt]{memoir} % ...
3
votes
0answers
108 views

LuaTeX bug with bold italic text? [closed]

Ok, so this is in a sense a bug report. But I have failed at going through the regular channels (cf. How to report a bug in LuaTeX?). The bug tracker never sent me a confirmation e-mail for an ...
3
votes
0answers
128 views

LuaLatex: Showing nonexisting errors [closed]

I am trying to use LuaLatex for printing plots (as PdfLaTeX doesn't have enough memory) but I have a problem with it. I am using TeXLive 2013 with TeXMaker. I was trying to compile a file once with ...
3
votes
0answers
97 views

How to use a lualatex FeatureFile to adjust sidebearings in math mode?

I am trying to use Linux Libertine as a letter font (and a bit more) in math with unicode-math and luaLaTeX. It should be good to adjust some details, and I hoped to be able to do it with a .fea ...
3
votes
0answers
69 views

Is there any reason to used pdflatex instead of lualatex? [duplicate]

As I understand it pdflatex has been discontinued, and the replacement is LuaLaTeX. But pdflatex is still included in most (all?) distributions, along with LuaLaTeX. LuaLaTeX supports lots of new ...
3
votes
0answers
454 views

Bold small caps with XeLaTeX and LuaLaTeX [closed]

I am having some issues with LuaLaTex and/or fontenc and bold small caps while using the Adobe Garamond Pro font. Here are my files: When I compile with XeLaTeX and these options: ...
3
votes
0answers
530 views

Weird permissions problem with TeX Live 2013, Ubuntu 13.04, LuaTeX and problem fonts [closed]

Update at bottom I recently installed vanilla TeX Live 2013 on my Ubuntu 13.04 system. Most everything works. It's just when I run into certain problematic fonts using LuaLaTeX that things go awry. ...
3
votes
0answers
163 views

latest updates to lua* break … something [closed]

So, now, after most recent (23 Apr) updates (I'm using MiKTeX 2.9) to various things related to lualatex, I noticed that compilation of anything takes twice as long as it did (say) 10 minutes ago ...
3
votes
0answers
113 views

copy&paste: diacritics and special characters [closed]

Why can't I correctly copy&paste from my pdf documents (created by LuaLaTeX)? E.g., I get Faḫr al-Din̄ al-Rāzī instead of Faḫr al-Dīn al-Rāzī. Surprisingly, most other things (including Arabic ...
2
votes
1answer
1k views

How to compile properly a document using “fontspec” package?

How to compile properly a document using fontspec package? Example code (15.1. XeTeX @ LaTeX-wikibooks.pdf) \documentclass{article} \usepackage{fontspec} \setmainfont{Arial} \begin{document} Lorem ...
2
votes
1answer
3k views

font-not-found error: font “HoeflerText” cannot be found — LuaLaTex error! [closed]

I am running this CV/Resume example from here: Here is a relevant fraction of the code: \documentclass[10pt]{article} %!TEX encoding = UTF-16 % See geometry.pdf to learn the layout options. There ...
2
votes
1answer
447 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} ...
2
votes
1answer
146 views

Problem with mathastext package

The following very simple code does not work here: \documentclass{article} \usepackage{fontspec} \setmainfont{Droid Sans} \usepackage[italic]{mathastext} \begin{document} \section{test} ...
2
votes
2answers
121 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 ...