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)

0
votes
1answer
161 views

Using the "use a build subdirectory for output files' option in TeXMaker in combination with LuaLaTeX

I want to use LuaLaTeX since I have some quite large .tikz files, but when I do so TeXMaker does not put the output files in the 'build' directory like it would do if I use PdfLaTeX. I find the build ...
1
vote
0answers
43 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 ...
2
votes
0answers
64 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, ...
1
vote
0answers
17 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
23 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
58 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 ...
4
votes
1answer
80 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 ...
3
votes
1answer
89 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 ...
5
votes
2answers
96 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 ...
9
votes
2answers
157 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 ...
20
votes
3answers
380 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. ...
6
votes
1answer
165 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} ...
9
votes
1answer
264 views

How to report a bug in LuaTeX? [closed]

I think I found a bug in LuaLaTeX. I use the current version from TeX Live 2012. lualatex --version This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012) When I compile the following ...
3
votes
0answers
52 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 ...
14
votes
2answers
759 views

ConTeXt: Using system-installed TrueType/OpenType fonts

I'm trying to use Cambria for text and Calibri for headings in a ConTeXt document, but I don't understand what is happening at all, nothing seems to have any effect and in the end it falls back to ...
2
votes
1answer
31 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
63 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} ...
4
votes
1answer
100 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 ...
11
votes
1answer
463 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 ...
2
votes
1answer
52 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 ...
4
votes
1answer
70 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 ...
2
votes
0answers
24 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
64 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
52 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} ...
7
votes
2answers
331 views

btex and etex in luamplib labels

I've been experimenting with METAPOST and in particular with luamplib. I found that I couldn't have tex typeset labels with the btex/etex construct as apparently is possible with straight up METAPOST. ...
3
votes
1answer
42 views

luatexluaescape string and backslash

I'm new to LuaLatex and I'm trying to write simple macros. However, when I send a string to lua that contains a backslash (like \R^n), then the code doesn't work as expected. For example, my lua ...
5
votes
1answer
254 views

Anybody ever encountered “arithmetic: number too big” when importing an image?

I'm trying to insert an image, which I've done probably a thousand times before, but I'm having issues with this one. The image is a jpg I just created in Paint - it's not excessively large or high ...
0
votes
0answers
23 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
19 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 ...
3
votes
2answers
4k views

LuaLaTeX + fontspec: Font not found

This refers to my previous thread How to use the calibri font. I am using the Calibri font with lualatex. MWE: \documentclass[11pt,table,a4paper]{article} \usepackage{fontspec} ...
4
votes
1answer
21 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} ...
1
vote
1answer
574 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 ...
9
votes
2answers
2k views

\tikzexternalize doesn't work with lua code

The following code from the pgf manual compiles fine with lualatex --shell-escape \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize \begin{document} A simple image ...
2
votes
1answer
45 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 ...
3
votes
0answers
117 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), ...
1
vote
1answer
52 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. ...
1
vote
1answer
55 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 ...
6
votes
1answer
1k views

How to create luatex.fmt

I wanted to try the latest version of LuaTeX, so I downloaded the official precompiled binaries but these raw binaries are useless without a luatex.fmt. How can this file be created?
3
votes
2answers
105 views

fontawesome scaling, deedy-resume pgfplots axis, XeTeX, LuaTeX issues

I am currently working on a document using the deedy-resume template http://www.latextemplates.com/template/deedy-resume-cv in LaTeX and I have two issues which result in a dilemma and I can't ...
9
votes
1answer
168 views

General guide on how to set up Minion Pro for math in lualatex

Minion Pro is one of the most beautiful fonts and comes with many Adobe products. A complementary set of symbols is provided by the MnSymbol fonts and package, which is not fully compatible to ...
6
votes
2answers
120 views

Define certain letter in math-mode to be always non-italic - using unicode-math in lualatex

I once had this question a while ago, asking about how to set the letter j always to be non-italic j in math mode without using \mathrm. The provided solution was: ...
1
vote
1answer
44 views

image/graph looks bad in template

I have some problem with a graph packet in LaTeX. http://www.texample.net/tikz/examples/drawing-graphs/ is the package I'm using. It worked fine for me to compile the example from the webbpage but ...
3
votes
1answer
38 views

How to pass a string to a custom documentclass for use in pre-compiled preambles in lualatex?

I've got a heavy class definition and want to modify it for the use with precompiled preambles. Minimal example preamble.tex \documentclass{myClass} \def\preambleloaded{Precompiled preamble ...
3
votes
1answer
50 views

Fitting text of unknown length into a box through font scaling

In a scenario where TeX documents are generated by a script the challenge is to nicely fit text of variable length into boxes of fixed size. There's a default font size suited for 80% of the cases ...
2
votes
1answer
36 views

luatexja-preset: deluxe option crashes

deluxe option for luatexja-preset crashes. For example, when I compile the following code: \documentclass[12pt,a4paper]{ltjsarticle} \usepackage[hiragino-pro,deluxe]{luatexja-preset} ...
8
votes
1answer
114 views

LuaLaTeX: Load order fontspec, microtype (breaks hyphenation in bibliography)

The microtype documentation clearly states: With LuaTeX, load fontspec before microtype However, this breaks hyphenation in some cases in the bibliography, created with biblatex/biber. The same ...
4
votes
1answer
34 views

etextools throws error when run with LuaLaTex

I was trying to use the etextools package with LuaLaTeX and ran into the following error ! String contains an invalid utf-8 sequence. l.233 \csdef{ettl@ifdef#2}##1#1##2/End ...
1
vote
0answers
54 views

Colored mainfont with fontspec in a textblock yields to pdf error with LuaLaTex [closed]

When I (1) change the color of the mainfont with the fontspec package, (2) put some text in a textblock environment and (3) compile the document with LuaLaTex, the resulting pdf when opened with Adobe ...
2
votes
1answer
60 views

graphics flowing in the text

I am trying to plot a graph G= on a slide and write some text under and over it but the graph is on its own page(and that page is much smaller then a normal one) How can I get the graph flow in the ...
1
vote
0answers
91 views

How to use the fontspec package in a LaTeX document?

I'm trying to make a simple document which uses the fontspec package in Tex Maker 4.4.1 with LuaLaTeX engine. Code I'm using \documentclass{article} \usepackage{fontspec} ...