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)

10
votes
1answer
89 views

hanging punctuation with microtype and luaLaTeX

I want to get this style of hanging punctuation: Quotation marks «...» „...“, brackets (...) [...] {...} and bullets are put beyond the left margin. Quotation marks, brackets, periods, ...
12
votes
1answer
109 views

Ligatures are not used in OpenType maths families?

The appended plain TeX example shows three cases: maths alphabets \rm, \bf, \it using plain TeX setup similarly maths alphabets loaded from "classical" Latin Modern fonts similarly maths alphabets ...
2
votes
0answers
32 views

Loading system (OTF/TTF) fonts from plain TeX with LuaTeX [duplicate]

In XeTeX, I can set up a font pretty straightforwardly with: \font\foo="Minion Pro" at 10pt I don't quite see how to do it. This question suggests that the answer is "use luaotfload.sty." Is that ...
2
votes
0answers
21 views

Does LuaTeX change the message in “Output Routines Part IV: Horizontal Techniques”?

In the excellent article "Output routines: examples and techniques Part IV: Horizontal techniques", David Salomon explores three techniques for dealing with communication from horizontal mode to the ...
0
votes
0answers
27 views

Change \emph to swash in fontspec

I read this post Activate swash or alternate for Italic only about swash and \emph command. Reading comments I see that \emph just chooses between \textit and \textrm depending on the slope of the ...
3
votes
1answer
38 views

Erratic behavior of mdframed environment right after headings

First of all, I have seen and read this question it appears to be a different albeit potentially related issue. I'm using mdframed 1.9b from 2013 with LuaLaTeX. Now the problem I encounter can be ...
2
votes
1answer
44 views

Problem with math symbols unicode-math

I'm begginer with lualatex, fontspec and unicode-math packages. I try load differents fonts for text and for math operators. But some math symbols not appears. For example, I try this (just to show ...
7
votes
2answers
82 views

Latin text not hyphenated at all with LuaLaTeX and polyglossia

I recently noticed that there are numerous under- and overfull hboxes in the document I'm working on. Further inspection revealed that such problems almost always arose when there was Latin text ...
1
vote
1answer
30 views

pgfplots point meta using luatex

I am trying to make a plot and color the points according to a third column using only marks, point meta=\thisrow{Lz\N} in addplot. I get the error-Log entry: Package pgfplots info on input line 1: ...
5
votes
1answer
35 views

handling of `--` in minted

I'm using minted for pretty printing console output and have just noticed that double hyphens, i.e. --, for program options are getting turned in en-hyphens, i.e. –. A MWE is: \documentclass{memoir} ...
0
votes
0answers
29 views

Error changing mathbb font with unicode-math

I'm using unicode-math, and want to revert back to the old nice style mathbb font (Blackboard Bold?). I found the solution here: Using a unicode-math font that looks like computer modern roman, but ...
12
votes
1answer
122 views

How can you check if fontspec (with LuaLaTeX) can load a font?

I want to check if fontspec (with LuaLaTeX) can load a certain font and if not try to load another one. For pdflatex I did by checking if the package file exists; but I don't find an easy way to do it ...
6
votes
1answer
72 views

Chinese, Russian and English (and Arabic, and Thai, if possible) in LuaLaTeX

following up on THIS QUESTION, I want to embed the solution in a document (Beamer presentation) I compile (in English) with LuaLaTeX, but I just don't find the way. I just want to include a slide with ...
9
votes
1answer
98 views

Can LuaTeX change the PAGE-breaking algorithm

One of the often highlighted features in LuaTeX is the ability to replace the default TeX line-breaking algorithm by something else. I wonder if it is similarly possible to replace the page-breaking ...
8
votes
1answer
41 views

How to load an OFM-based PFB font with fontspec?

In my ḍād package (for Arabic typesetting, see also the TUGboat paper) I use a PostScript font with OFM metrics file. I load the font in the usual way, going through an FD file. This works only for ...
16
votes
2answers
365 views

Getting started with LuaTeX and ConTeXt

I've been using LaTeX now for roughly about 20 years. Only within the past 3 years or so have I tried understanding the internal workings of TeX. There are not a few posts here for which the OP is ...
16
votes
5answers
388 views

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like ...
5
votes
1answer
65 views

URW Grotesk for XeLaTeX/LuaLaTeX (fontspec)?

How can I use URW Grotesk font with XeLaTeX/LuaLaTeX (fontspec) ? Or if this is not possible/easy, are there a good heavy font replacement for it (if possible that works as well with PDFLaTeX) ? ...
4
votes
1answer
67 views

Extract data from excel file with lualatex

I have an Excel file that I use as a database. Of course, there are a lot of entries (more than 4000) and I don't want to use all the data to create my PDF. So I was thinking of using LuaLaTeX to ...
1
vote
0answers
12 views

Change abstract title in IEEEtran when used with other language [duplicate]

When I use the ieeetran-class with a german babel-package loaded, the title of the abstract automatically gets translated to Zusammenfassung. However I'd like it to be Kurzfassung. The solution one ...
1
vote
1answer
43 views

Missing \endcsname in xparse

I am trying to make my own class, with options for referencing. Short quotes work absolutely fine, but when it gets to longer quotes, for some reason, I get errors. essay.tex: ...
2
votes
1answer
96 views

Perl, Python, Lua or just Latex/Xetex [closed]

Recently I finished my thesis in LyX and this was my first steps into latex (even indirect steps). Even though LyX does a lot of thing automatically, when you want to do something yourself, then ...
2
votes
1answer
61 views

How to detect LuaLaTex inside my .tex file and exclude bits and pieces conditionally

Let me state my "problem" first. When using PdfLateX my .tex file compiles rather swiftly and all is fine. I use TeXStudio and make use of the PDF preview feature. Since my LaTeX fu isn't the ...
1
vote
0answers
73 views

How to compile .tex file to a pdf using luajittex engine?

I have recently found that modern TeX Live 2014 distribution has new LuaTeX engine luajittex. As far as I know this is just experimental however if we consider that luatex is beta version, almost ...
1
vote
0answers
34 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 ...
3
votes
1answer
30 views

How can one manually add a line to the pdflatex -recorder .fls file?

I'm using a LuaLaTeX package that includes a feature that calls an external executable (i.e. something that requires -shell-escape) to generate a TeX file from a distinct source file, which is then ...
5
votes
2answers
66 views

How can I access Garamond Premier Pro's straight “quotedbl/quotesingle” using lualatex?

Idea (from here): I use \symbol{idx}, where idx is the glyphs index. To determine these two glyphs' indexes I had a look into ...texmf-var\luatex-cache\generic\fonts\otf\garamondpremrpro.lua and ...
3
votes
1answer
91 views

How can I use the SBS font in Xe|Lua|La|TeX and specify which words to replace?

The Sans Bullshit Sans (SBS) font uses (currently only three) ligatures to replace words that are hard coded into the font's internal glyph substitution table. How can I use the SBS font in ...
4
votes
1answer
123 views

LuaLaTeX from texlive-2014: Command \textsubscript unavailable in encoding EU2

Here is a minimal example of a file that lualatex from texlive-2013 compiles fine: \documentclass[11pt]{article} \usepackage{fontspec} \begin{document} X\textsubscript{Y} \end{document} If I try to ...
5
votes
2answers
103 views

How to get proper placed closing German doublequotes using lua|xelatex and Garamond Premier Pro Opticals (Regular)?

Using Adobe's Garamond Premier Pro Opticals (latest version: 2.104) the closing German doublequotes are set exactly above (instead of behind) a sentence's closing dot (e.g. questionmark is not ...
3
votes
0answers
56 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 ...
6
votes
1answer
188 views

Create table with automatic row numbering

I am trying to create a table with subheading and automatic row numbers. The original table looks like this: The latex to generate the table is as follows: \documentclass{article} ...
20
votes
3answers
425 views

Is it ImageMagick's fault or pdflatex's that some JPEGs aren't working?

pdflatex (as well as lualatex and xelatex) cannot process (some) JPEG images which were created by my ImageMagick. I'm on OSX Mavericks, using ImageMagick v6.9.0-0 Q16 x86_64 provided via MacPorts. ...
2
votes
2answers
63 views

Problem with chinese in lualatexja (bad argument #1 to 'open')?

I'm trying the example from How to use Chinese with lualatex? (TexLive 2014, updated to frozen): \documentclass{article} \usepackage{luatexja-fontspec} \setmainjfont{FandolSong} \begin{document} 在 ...
4
votes
1answer
82 views

Symbols for left and right limits

I am using lualatex, are there symbols for left and right limits, like small "-" and "+" to put above the numbers? For now I use \documentclass[a4paper,12pt]{book} \usepackage{fontspec} ...
9
votes
2answers
194 views

Switching to lualatex: How to translate font setups?

I am a long-term pdflatex user. Once in a while I want to give lualatex a try (e.g., to try the recent TikZ graph layout engine). A couple of good answers here at tex.se describe what to do in that ...
2
votes
1answer
76 views

TikZ: Changing arrow styles when using graphdrawing

I want all arrows in a TikZ drawing to have a larger tip, so I change the arrows setting in the \tikz options. This works fine for manually created drawings, but doesn't work when generating graphs ...
11
votes
1answer
498 views

How is a TeX document written when using LuaLaTeX?

I am new to the LaTeX world and would like to start off with a book project. My target is specifically creating books for print and online. My requirements are UTF-8, Arabic, custom fonts, to ...
4
votes
1answer
141 views

PDF/X-1a on TeX Live 2014 for publishing with POD lightining source

I am trying to get a PDF/X-1a compliant PDF for sending the pdf to Lightning Source for publishing books. I searched and found the following post and tested it PDF/A with hyperref on TeX Live 2013 ...
2
votes
0answers
32 views

ConTeXt: Table header as section in TOC (while parsing xml to pdf with xmlflush)

I would like to use the header of a table as a section for the TOC (while parsing an XML to pdf) \startxmlsetups xml:table \page[yes] \dorecurse{3}{ \bTABLE[frame=on,split=no] ...
6
votes
1answer
69 views

Changing concrete preamble from pdfLatex to Lua(la)tex

I got an example handout which was written for pdflatex but since I use lualatex i'm pretty sure that I have to make some changes to the preamble. From there Frequently loaded packages: Differences ...
3
votes
1answer
70 views

LuaTeX, unable to read file in pgfplots

I am trying to switch to LuaTeX, but I am not able to compile any pgfplots figures with external data files, which used to compile with pdflatex. Here is the MWE: \documentclass{standalone} ...
0
votes
0answers
24 views

biblatex 3.0 apa undefined control sequence (\mkbibdateapalongextra?) [duplicate]

I am not sure why I cannot copy from the TeXShop console anymore, but here is my problem. This does not seem to be related to my bib file or how I cite things. How can I fix this? I am calling ...
0
votes
0answers
20 views

biblatex 3.0 and APA citation styles [duplicate]

I am using biblatex 3.0 (current with the TeX Live 2015 pretest) and hope to hove APA citations and a bibliography. Instead, the relevant lines shown below in LuaLaTeX generate a PDF with no ...
4
votes
1answer
27 views

autoref to dmath (from breqn package) generates wrong link text

In the following minimal example, what is wrong with my dmath equation? Why does hyperref call it a Figure, while autoref gets the link text correct for an equation defined with \begin{equation} ...
2
votes
1answer
47 views

Disable some xunicode macros in case of T1 font encoding?

I was hoping that, except for inputenc/fontenc versus fontspec, old .tex files encoded in UTF-8 could be used without changing anything with either pdftex, xetex or luatex engines. But the following ...
4
votes
0answers
160 views

How to manually typeset text in parallel on facing pages in (Lua)LaTeX?

I want to typeset a bilingual text in parallel on facing pages using LuaLaTeX. The existing solutions to automate this task have proven unsatisfactory as they don't allow for footnotes (parallel), ...
2
votes
1answer
70 views

Change font automatically when typing CJK characters, possibly lualatex

The title says it all already. I found how to change fonts with fontspec and lualatex, however I wonder if there is an easy way to mix Latin characters with Japanese characters without explicitly ...
1
vote
1answer
69 views

Lualatex not found

When I run pandoc markdown.md --template=/Users/xxx/Documents/Pandoc-Templates/default_copy.latex --latex-engine=lualatex -o test.pdf I get the following error message: pandoc: lualatex not found. ...
4
votes
1answer
74 views

hyphenation with languages in transliteration // forced hyphenation?

I am typesetting (lualatex) a document in a couple of languages. The main language is English. If I use other languages I usually use commands such as \foreigntextquote{french}{text} and ...