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)

4
votes
1answer
133 views

Pdf bookmark error in beamer [closed]

Hi. I've compiled a Persian language beamer file by both luapersian and persian babel package using LuaLaTex, and in both I've the same problem in pdf bookmark as shown in the figure (some strange ...
4
votes
1answer
584 views

Lualatex, fontspec and externalized tikz problem in MacTeX

To enable faster compilation of large documents I'd like to externalize tikz pictures. I also have to use lualatex and fontspec. EDIT: After further testing it seems that this is a problem only when ...
4
votes
2answers
243 views

Accessing MySQL or SQLite from Lua(La)TeX

I thought it would be possible to access MySQL or SQLite from Lua(La)TeX, but couldn't google up anything on the topic. Please give me pointers to: Snippets / Examples / Documentation on that, if ...
4
votes
1answer
217 views

How hard is it to use typo-dir.lua in LaTeX?

I tried to use typo-dir.lua from ConTeXt distribution in LaTeX but I could not. I searched all context sources and I added all missing functions but still it did not work. Is it possible to use this ...
4
votes
3answers
304 views

pagebreak in ledpar (eledpar)

I am sort of restating this question -- however only sort of. I will (1) describe a problem, (2) assume something about the functions of ledpar, and (3) ask a question. 1. Problem I am typesetting ...
4
votes
1answer
336 views

subscript is set too low in math-mode with xits-math

I use unicode-math with xits-math as math font and asana-math for math double-struck symbols. I compile with lualatex, and my packages are from TeXlive 2011. Now, when use asana-math mixed with xits, ...
4
votes
1answer
199 views

Remapping fonts in unicode-math has no effect on e.g. `\mscrC`

For some reason, in this setup, \mathscr{C} and \mscrC produce different results: \documentclass[12pt,a4paper]{article} \usepackage{unicode-math} \unimathsetup{math-style=TeX} \setmathfont{Cambria ...
4
votes
1answer
919 views

LuaLaTeX and algorithm2e

The algorithm2e package seems to be not compatible with LuaLaTeX. For example, compiling the following code produces an error. \documentclass{article} \usepackage{fontspec} \usepackage{algorithm2e} ...
4
votes
1answer
536 views

(small) incompatibilities between LuaTeX+hyperref (pdftitle)+accents

The following ECM works fine when compiled with XeLaTeX, but if compiled with LuaLaTeX there is a minor problem : accented letter produces garbage in the pdftitle — but it's fine in the document . I ...
4
votes
2answers
43 views

Updating glue after changing width of a box

I need to change the width of a saved box and want it to look as if it was constructed at that width. For example, this centers A in a 4cm wide box: \hbox to 4cm{\hfil A\hfil} But this centers B ...
4
votes
1answer
116 views

Russian in document with Japanese as main language (LuaLaTeX + ltjsarticle)

I need to use some Russian text fragment in ltjsarticle class, which provides the Japanese settings like Japanese caption for LuaLaTeX. In the current MWE, There are big intervals between Russian ...
4
votes
1answer
143 views

Changing Math Fonts with luaotfload in Plain TeX

Changing Math Fonts with luaotfload in Plain LuaTeX Without a major exposition on all the options tried, here is the short of it: Using Tex Live 2013, LuaTeX, plain.fmt and luaotfload.sty, ...
4
votes
1answer
146 views

Pass an integer value to TikZ in LuaLaTeX

I want to draw a rectangle with \luacode. For rectangle points, the coordinates values will be taken from code. I try the following code. For rectangle, points are defined as '(0,0) and (1,1). But i ...
4
votes
1answer
135 views

Error-handling in next-generation TeX tools

For many beginners (and many with more experience), the biggest obstacle to using LaTeX is the difficulty of figuring out what is causing an error. A message about something not being \defed, for ...
4
votes
1answer
84 views

Quotes are not formatted correctly

Here is data about my problem that I consider relevant: a) I'm using lualatex b) Here is my prelude: \documentclass[b5paper,twoside]{memoir} \usepackage{graphicx} \usepackage{polyglossia} ...
4
votes
1answer
190 views

Tracing group-level and position in LuaTeX

I am absolutely new to LuaTeX and I have few questions about it. First of all I learned that in LuaTeX it is possible to trace all TeX tokens with `token filter' callback. Is it possible to get some ...
4
votes
1answer
213 views

LuaTeX renames the .log, .aux, etc [duplicate]

When I ran LuaTeX on my resume, it renamed all the files produced from pdfing the file. This is the first time it has every done this. The file was called resume and it renamed the pdf texput.pdf. ...
4
votes
1answer
142 views

Can LuaTeX do something to alter linebreaks inside math inline automatically?

This is kind of a follow up to this question. Consider the sample code: \documentclass{minimal} \begin{document} A text with an inline equation which is broken in to two parts but is not wanted right ...
4
votes
1answer
308 views

\settowidth in preamble wrong with fontspec+lualatex w/ MWE

I am getting some strange behaviour using luaLaTeX and a rather simple command definition. I am using TeXLive 2012, Linux x86_64. When \settowidth is used in the preamble to compute the width of some ...
4
votes
1answer
1k views

combine two sans fonts for xelatex/lualatex

I'm still finding my way around latex, so forgive me is this is an obvious question... I have two sans serif ttf fonts available at my workplace that I want to use in xelatex or lualatex. The serif ...
4
votes
1answer
478 views

Follow up question: TeX accents do not seem to work with fontspec and xe/lua/latex

This is a follow up to this question. How would the same look for the dot above? That is, what's the standard definition for \. ? Or does somebody in the meantime know a better solution to the whole ...
4
votes
1answer
106 views

LuaLatex and MathTime Professional 2 (mixing font-types)

I'm trying to use MathTime Professional 2 (mtpro2) and Times New Roman (the TrueType fonts bundled with Windows) with LuaLatex as follows: \documentclass{article} \usepackage{fontspec} \setmainfont{ ...
4
votes
1answer
40 views

unwanted double width space before inline listings when using luatexja-fontspec

I am seeing an extra big space (which looks like double width space) in my document before inline listings bits: MWE: \documentclass[]{article} \usepackage{fontspec} \usepackage{listings} ...
4
votes
2answers
72 views

minted Perl with dollar symbol

I'm using minted to display some Perl, however the "unmatched" '$' in it is breaking compilation. Escaping it with a '\' results in the \ being displayed with the rest of the code block. Is there a ...
4
votes
3answers
81 views

ConTeXt system font search path

I read from the official manual (http://wiki.contextgarden.net/Fonts_in_LuaTex#How_LuaTeX_handles_system_fonts) that I need to export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts" to specify where ...
4
votes
1answer
200 views

Make Notes from Lyx into Annotations on the PDF

Lyx Supports Notes. It would be great to have any notes in lyx show up as Annotations in a draft produced PDF. For example: LyX: PDF: The use case I have in mind is when showing this draft ...
4
votes
1answer
89 views

How do I use the kpse library to get the value of $TEXMFHOME?

Inspired by some recent experiments on the subject, I'm trying to use texlua to automate the installation, done by multiple users, of a complex environment (multiple packages, classes and formats) on ...
4
votes
2answers
500 views

How can I list fonts available to LuaTeX in ConTeXt (TeX Live 2013)?

I've looked at How do I get a list of all available fonts for luaotfload?, but the answers don't work for me in TeX Live 2013, at least not without LaTeX. This is because there they rely on the file ...
4
votes
1answer
246 views

Problem with font in theorem environment

I use LuaLaTeX, fontspec and XITS maths font. Additionally, I had a problem with theorem environment and long headers so I based my solution on this. My problem is that I now get a different font for ...
4
votes
1answer
202 views

fontspec-color not working correctly with microtype package [closed]

If I use the fontspec package together with the microtype package, the color-feature of fontspec does only colarize the last line of the paragraph instead of the whole paragraph, as the grouped ...
4
votes
1answer
154 views

Biolinum font bold 11pt issue in tableofcontents [closed]

I found an issue in adopting the Biolinum font, bold face at 11pt, in the tableofcontents. At 10pt or 12pt it works just fine, indeed. But I need to use 11pt. Compiled indifferently under LuaLaTeX ...
4
votes
1answer
242 views

Specify timezone for \today and \currenttime

Is there a way I can specify the timezone LaTeX should use when printing the \today and \currenttime (or the datetime package in general)? I need this because travisCI does build my PDF automatically ...
4
votes
1answer
47 views

Command doesn't expand into other commands after string substitution

The MWE should explain it all (use LuaLaTeX): \documentclass[11pt]{memoir} \usepackage[T1]{fontenc} \usepackage{fontspec} \usepackage{xstring} \usepackage{easylist} \begin{document} ...
4
votes
2answers
61 views

eledmac/eledpar/LuaTeX: right alignment of RTL text paragraphs in pages enviroment

I have a LuaTex + eledmac + eledpar setup for critical editions in syriac and english (on facing pages). Strangely, the syriac text, which is running RTL, is not aligned on the right, but on the left ...
4
votes
1answer
97 views

Problem with a Lua function in a \foreach loop

I have written a Lua function to position dates in a timeline that I am drawing with TikZ. The function seems to work, but when I use it in a \foreach loop I get the following error: ! LuaTeX error ...
4
votes
1answer
563 views

Kile and LuaLaTeX

After failing to compile some lualatex-code in texniccenter (see here: LuaLaTeX, TeXnicCenter, AdobeXI and Sumatra), I would like to compile a minimale example in kile. Where I can find the ...
4
votes
1answer
284 views

Get back “old” math font in LuaLaTeX+beamer

Updated my tlmgr install (and all packages I have installed today) earlier today, and something changed in the font loaded by unicode-math, which I can't figure out of. The preamble I've been using ...
4
votes
1answer
144 views

Using tex.get luatex function (segfault on Linux)?

Looking at LuaTEX Reference Manual (luatexref-t.pdf), it says: 4.13.1 Internal parameter values For all the parameters in this section, it is possible to access them directly using their names ...
4
votes
2answers
166 views

How to suppress a line completely from a LuaTeX process_input_buffer callback?

I'm using a process_input_buffer callback to look at lines read from LuaLaTeX input before passing them on to TeX, to be processed as »verbatim« text (code and command examples). There are some lines ...
4
votes
1answer
173 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
4
votes
1answer
241 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} % ...
4
votes
1answer
223 views

accessing other lua libraries in lualatex (MiKTeX)

I would like to access the other lua libraries e.g. luagraph in lualatex. If use: require("luagraph") I get a complaint about permission denied, which as far as I could determine relates to ...
4
votes
1answer
166 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 ...
4
votes
2answers
276 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 ...
4
votes
1answer
146 views

Environment variable TEXEDIT doesn't work with LuaLaTeX (?)

I like the ability to press e when running pdflatex in errorstopmode to jump directly to the line where the error occurs in my favourite editor. This works fine for pdflatex and xelatex as long as ...
4
votes
1answer
1k views

Strange problem with pgf/tikz auxlock file when invoking tikzexternalize

I'm trying to generate a number of somewhat complicated TikZ based plots using gnuplot's lua/tikz terminal. Things had been working fine last month, but when I needed to update some of these plots ...
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 ...
4
votes
0answers
96 views

unicode-math + siunitx + lualatex = long compile times. Why?

The following MWE, compiled under several situations (with appropriate lines removed) gives the following timings (with all output files removed between runs), as timed by Measure-Command on Windows 7 ...
4
votes
0answers
97 views

Future of luatex and pstricks [closed]

As far as I know it is not (yet) possible to use pstricks directly with luatex (-> pdf) as for example in xelatex. Are there any plans to implement this in luatex in near future? If so, how is the ...
4
votes
0answers
75 views

LuaLaTeX pass characters without “ ” to lua

I try to pass characters to lua but I don't want to typeset the "" that are not natural in latex syntax. Here is a dummy mwe. Here is the background : \documentclass{article} ...