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
79 views

Lualatex : how to avoid this “unnatural” \\

I have a lua function to withch I want to pass some extra optional latex code (basycally a macro with a parameter, macro can change, parameter too). I have to double backslash the name of the macro, I ...
3
votes
2answers
488 views

Media9 compiles but embedded video gives “Unable to connect to content” “TypeError - Error #1009”

I have a beamer presentation that I am creating and I'm trying to embed a video clip. I'm using the media9 package and having a ton of issues with it. I've gone through the documentation with a fine-...
3
votes
1answer
346 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} \...
3
votes
1answer
603 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
840 views

Using MinionPro for math and ArnoPro for text

As the title says, I want to use ArnoPro as my main font for text while using MinionPro for all math (inline or display). What I did for ArnoPro was since I have Windows on my laptop as well as Linux ...
3
votes
1answer
697 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 main_memory=...
3
votes
1answer
537 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} \usepackage[urw-garamond,uppercase=upright,...
3
votes
1answer
2k 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
310 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
197 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
358 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
1answer
35 views

Print Latex Code with LuaLatex in function

I want to print Latex Code with a Lua Function. But there is a problem with my function if there are parenthesis in the string: in the example the second code will not be printed), who can help me? \...
3
votes
0answers
18 views

luatex tex.print does not trigger process_input_buffer callback?

I've defined a new LaTeX command to randomize itemize-like lists using LuaLaTeX like this: \newcommand*\Randomize{% \directlua{% questions.itemstbl = {""} luatexbase....
3
votes
0answers
39 views

Specify fonts from specific .ttf files

In order to specify the sans serif font in report I am successfully using the following and all of the font shapes are being reproduced in the pdf without warning. \setsansfont[Path = fonts/Lato2OFL/,...
3
votes
0answers
71 views

Colophon in LuaTex

Is there a way to automatically generate a colophon information in LuaTex? Ideally I would like to automatically generate a file (plain text) that will list the different font and font-families that ...
3
votes
0answers
204 views

LuaTeX bug? Abrupt stop

I'm on Windows, with latest and fully updated MiKTeX. I try to compile a document with lualatex test.tex where test.tex is \documentclass{scrartcl} \usepackage{fontspec} \begin{document} code \end{...
3
votes
0answers
43 views

LuaLaTeX escape input buffer

In order to simplify some of the LaTeX work for my co-authors, I have created a custom environment which sets up a tabular. This reads the input from the environment, processes it and spits it back ...
3
votes
0answers
121 views

biber stops during compilation, results in empty bbl file [closed]

I want to use lualatex and biber with the help of MiKTeX on Windows 8.1. Following is a MWE (test.bib) : \documentclass{scrartcl} \usepackage{fontspec} \usepackage[backend=biber]{biblatex} \...
3
votes
0answers
30 views

How to produce only devanagari vowel signs (matra)?

Using texlive 2015 on OSX, and package devanagari, I can't seem to produce only vowel signs in devanagari? I'd like to be able to write only the matras for, for example a, o, and so on. I've tried ...
3
votes
0answers
87 views

Is there any way to suggest to ConTeXt to take advantage of multiple cores?

I have access to a relatively slow, but hugely (12) multi-cored machine. My 200+ page document has compile times in the 400 second range. Are there any flags or hints that I can give to the mtx-...
3
votes
0answers
30 views

Problem with hyperref, sidewaysfigure and LuaLaTeX

I have a landscape figure inserted in a sidewaysfigure environment with a reference in the caption. If I compile the document with pdfLaTeX all works well but if I compile with LuaLaTeX the red square ...
3
votes
0answers
85 views

Using setupbackend and pdfpageattr together via ConTeXt

Is it possible to use setupbackend and pdfpageattr together via ConTeXt? I was able to use setupbackend alone via ConTeXt (LuaTeX). Got the result as expected. I was able to use pdfpageattr ...
3
votes
0answers
61 views

Why zero lccode does not stop hyphenation in LuaTeX?

Compile the following example with tex and luatex: \nopagenumbers \parindent=0pt \parskip=0pt \def\par{\endgraf\hbox to 15em{\hrulefill}} \hsize=1pt \hfuzz=15em 1 'supercalifragilisticexpialidocious \...
3
votes
0answers
67 views

Where are LaTeX-related bug trackers located? Where do I report `{pdf,lua,xe}latex` issues?

Following up this question: Is it ImageMagick's fault or pdflatex's that some JPEGs aren't working? I now want to submit a bug report. However, I'm a bit confused where exactly I ...
3
votes
0answers
148 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} \...
3
votes
0answers
182 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" ...
3
votes
0answers
99 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 'wd'...
3
votes
0answers
111 views

PDF optimization packages/options

I noticed that when compiling any document in TeX, the resulting PDF can be reduced in size by quite much. For example, take \documentclass{article} \begin{document} Lorem ipsum dolor sit amet, ...
3
votes
0answers
125 views

Is LuaTeX planned to have as good font capabilities as XeTeX? [closed]

The title almost says it all. As I understand it, XeTeX was built from the ground up for its font support, while LuaTeX only got fontspec support years after its creation. While font support will ...
3
votes
0answers
122 views

LuaLatex setup a different font for numbers and the rest

This question is a duplicate of this older question that strayed from the subject. I would like to make a presentation using latex class beamer, however I would like to use different fonts than the ...
3
votes
0answers
302 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{...
3
votes
0answers
61 views

Debug log the text returned via tex.sprint() and friends?

Is there an easy way to see what text was sent from Lua to TeX via tex.sprint(), tex.print(), and tex.write()? (e.g., print it to stdout or log it to the .log file)
3
votes
0answers
375 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ....
3
votes
0answers
91 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
173 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
57 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
251 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
219 views

lualatex and mylatexformat

I am trying to make precompiled preambles format with lualatex and mylatexformat package. I'd like to have it in a Fmt/ subdirectory of the working directory. Trying this command line luatex -...
3
votes
0answers
356 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
2k 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
86 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
202 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 account,...
3
votes
0answers
251 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
168 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
86 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
734 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: \usepackage{...
3
votes
0answers
177 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 (i.e....
3
votes
0answers
134 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 ...
3
votes
0answers
244 views

Inconsistent OSF in Table of Contents using Microtype, LuaLaTeX and Tocstyle [closed]

My table of contents should have the following properties: oldstyle figures for page numbers and labels chapter entries in spaced, lowercase smallcaps numbers close (en-space) to the entries, no ...