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)

7
votes
1answer
107 views

Problem with interword spacing in LuaLaTeX

I have a problem with LuaLaTeX and interword spacing using fontspec. This is my MWE: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} ...
0
votes
0answers
86 views

Problem with TOC editing

I work with TeX Live 2015 and LuaTex. I get "Something's wrong -- perhaps a missing \item" error. I edited the TOC as suggested here (1), in order to obtain a similar graphical result. Eventhogh the ...
4
votes
1answer
42 views

Issue with TOC alignment when using fontspec and titletoc with font size >10pt

I am in the process of switching a large document to lualatex for various reasons, and I noticed an issue with the table of contents when the packages fontspec and titletoc are loaded together, AND ...
2
votes
1answer
63 views

MathTime Pro 2 with luatex

I'm using Tex Live on Linux (Ubuntu). I have the MathTime Pro 2 (lite version) fonts installed, using the script I found here. I always used them with tex, pdftex or xetex and they worked correctly. ...
3
votes
1answer
81 views

The diagram in ConTeXt remains invisible

I found nice examples of Metapost, http://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html. When I use the example number 270, the pdf only contains a page number. Question: what I am doing ...
2
votes
1answer
81 views

Problem with fontspec and LuaLaTeX [closed]

I want to write in french, using Lualatex using TexStudio. Therefore, I need to use characters like é, è or à. As Lualatex uses UTF-8 there should not be any problem, but those characters are not ...
0
votes
0answers
47 views

unicode-math v.0.8c and LuaLatex error

I try to select math fonts using unicode-math and LuaLaTeX. After a lot of troubleshooting i used the following MWE (similar to the one given in the unicode-math manual): \documentclass{article} ...
5
votes
1answer
73 views

Problems with bigfoot and lualatex in TL15

Consider the following MWE (for lualatex): \documentclass{article} \usepackage{etoolbox} \usepackage{fontspec} \usepackage{biblatex} \usepackage{bigfoot} \begin{document} Test \end{document} Up ...
2
votes
2answers
117 views

Running R code from latex. (alternative to knitr)

If you want to export the output of an R script to latex and create a pdf document you can use the package Knitr with RStudio. But I guess this is only a good practise for short results. What if I ...
2
votes
0answers
60 views

What hyperref options should be used for correct Unicode output?

I am trying to work out which hyperref options allow all Unicode characters to display properly, and whether XeLaTeX, LuaLaTeX, and pdfLaTeX have different configuration requirements. The hyperref ...
8
votes
1answer
185 views

What happened to \luatextextdir?

As of today, the command \luatextextdir does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands: ...
1
vote
1answer
44 views

Weird warning about fixltx2e on beamer

I'm doing a presentation at beamer (after Powerdot showed its limitations) but I just found an unusual warning (for me) would not let me compile and refers to a package that I don't use directly, but ...
3
votes
1answer
296 views

Document compiles with pdflatex but not lualatex but why?

Using the current TexLive 2015 on Windows 7 I can successfully compile the following MWE with pdflatex: \documentclass[tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.12} ...
3
votes
0answers
54 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 ...
6
votes
3answers
144 views

LuaLaTeX and TeX Gyre Pagella in pdflatex for arXiv

Since arXiv still doesn't seem to support LuaLaTeX, I need to make my document work with pdfLaTeX instead. The only LuaLaTeX-specific stuff is \usepackage{fontspec} \usepackage{unicode-math} ...
7
votes
2answers
111 views

package clash fontspec eulervm amsmath

This minimal working example doesn't compile under lualatex on my machine: \documentclass{article} \usepackage{fontspec} \usepackage{eulervm} \usepackage{amsmath} \begin{document} foo \end{document} ...
3
votes
2answers
188 views

API JSON in Latex

I want to know if it's possible to get data from a website using api json in a document .tex I want to do this without luatex because the idea is compile online with the sharelatex website, that ...
6
votes
0answers
50 views

How to change hyphenation codes with the change of \language in LuaTeX?

For a word to be "hyphenatable", all its characters must have \lccode>0. With \savinghyphcodes=1 in e-TeX all characters are associated with hyphenation codes by means of a special table (this is the ...
2
votes
1answer
102 views

mintinline inside tabularx causes “Missing Pygments output” error

I'm working on a reference table for printf format strings: \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{minted} \usepackage{fontspec} \setmonofont{ubuntu Mono} ...
2
votes
0answers
50 views

LuaTeX issue with space in path?

Using TeXnicCenter on Windows 7 I stumbled over an issue with LuaTeX from TeXLive 2015 where certain documents would not compile. I tried different things and found a common theme: if there is a space ...
3
votes
1answer
116 views

Copy-and-paste small-caps with ConTeXt and simplefonts

I am trying to typeset some text with small caps in ConTeXt (mkiv — version 2015.05.18 12:26), and have that text available for copy–and–paste. Here's a minimum problematic setup: % !TEX encoding = ...
2
votes
1answer
100 views

How to change input encoding in LuaTeX?

Suppose that we have a font with a fixed encoding and want to change mapping between input characters and font slots. How to configure luatex so that if we type A we get B, not changing the font? An ...
1
vote
2answers
107 views

Compilation Process: Flow Chart

I am searching for a flow chart of the compilation process for LuaLaTeX (or pdfLaTeX). The chart should include packages like hyperref, varioref, etc. that use additional calls of lualatex.exe. ...
2
votes
0answers
83 views

Which TeX engines support OFM fonts?

I'm extremely unhappy with the limitation of tfm fonts of 15 heights / 15 depths / 63 italic corrections. This is why I'm looking for a TeX engine which can load ofm fonts, probably etex, xetex or ...
7
votes
1answer
51 views

Outputfile generated on error

If I run this example: \documentclass{article} \begin{document} Foo \newpage \barbaz \end{document} using lualatex --halt-on-error minimal.tex The log yields: ! ==> Fatal error occurred, ...
3
votes
2answers
134 views

Italic math font (via \mathit) not working for greek symbols with fontspec/lualatex/TeX Live 2015

(Updated to reflect newest findings.) I recently switched to TeX Live 2015 and am struggling with a few problems in code that worked perfectly fine in TeX Live 2014. For instance: \mathit does not ...
2
votes
0answers
94 views

How to embed tweets in LuaTex

I was wondering whether there is a way to embed a tweet in a LuaTex document so it looks as similar to tweets embedded on websites? (like shown here: https://dev.twitter.com/web/embedded-tweets) I've ...
1
vote
0answers
55 views

Why does kerning work with LuaLaTex but not XeLaTex for the same font?

Consider the following MWE: \documentclass[varwidth]{standalone} \usepackage{ifluatex} \usepackage{ifxetex} \usepackage{metalogo} \usepackage{fontspec} \setmainfont{Bembo}[BoldFont = Bembo Bold] ...
1
vote
1answer
64 views

Permuting an index list; and creating an index list of 0's and 1's

I want to run the steps of a loop in random order and also save the order in which the iterations were carried out: \documentclass[english]{article} \usepackage{tikz} ...
6
votes
1answer
71 views

Package 'showhyphens' won't show actual hyphenation points for words with ligatures

What exactly does the package showhyphens tell us about hyphenation points? According to its documentation, it "will show all possible hyphenation points". But when the word contains a ligature, it ...
9
votes
1answer
133 views

How to avoid a linebreak before a comma in Lua(La)TeX?

This is a (somewhat late) follow up to the question How to avoid a linebreak before a comma? where @MostlyHarmless shows that a line break may be introduced after a word ending with a hyphen even if ...
3
votes
0answers
105 views

\setmathfont[range=\sqrt]{…} changes size of integrals

Using the suggestion from this answer, I used the \sqrt sign from Asana Math with TeX Gyre Pagella Math to decrease the height of some inline math. However, this apparently had some unintended ...
7
votes
3answers
171 views

greek accents with TeX Gyre Termes in lualatex and xelatex

\documentclass[11pt,a4paper]{scrartcl} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{TeX Gyre Termes} \begin{document} This is English with some Greek: γέγονεν. Isn't that quite nice? εὕρηκα! ...
5
votes
2answers
114 views

Iterate over all the entries in a bib file

I have a big bib file that contains a lot of entries such that most of them contain a note filed. I would like to automatically iterate over all the entries and for each entry insert into the document ...
4
votes
1answer
73 views

\newif inside function definition in LuaTeX

In a function I have in a package I'm working on I'm trying to add the following line: \expandafter\newif\csname ifgre@scale@#1\endcsname% Now, this works fine under LuaLaTeX, but the package is ...
3
votes
1answer
81 views

Line height with \sqrt and TeX Gyre Pagella Math

Using TeX Gyre Pagella Math as a math font with unicode-math, I've noticed that inserting an inline square root such as $\sqrt{S}$ in a paragraph results in a line that is too high, creating a very ...
12
votes
1answer
106 views

unicode-math breaks \not command

\documentclass{scrartcl} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} $\not\propto$ \end{document} Results in: How ...
1
vote
1answer
47 views

Compiling in latex-suite halted with lualatex error with pattern not found

So I'm getting this error after compiling a .tex file with an import \usetikzlibrary{graphdrawing.force} and compiling hitting ,ll in vim's latex-suite. Pattern not found: \Vn LuaTeX to use the ...
3
votes
1answer
106 views

lualatex does not work with import/subimport when used in standalone setup

Using TL 2015. I have this setup main.tex folderA/a.tex a.png and using standalone to combine both documents. The file a.tex has an includesgraphics{a.png} where the file a.png is in the ...
5
votes
1answer
73 views

Combine “traditional” font packages (e.g. Type 1) with fontspec

I was having problems trying to combine a "traditional" font package (berasans) with fontspec (using TeX Gyre Pagella). Just using both correctly changed the text font to TeX Gyre Pagella, but text ...
1
vote
1answer
47 views

Polyglossia problem: “italian not defined, using english instead”

I have the problem mentioned above, reported in the log. I have a master-file where I insert first a preamble-file with the \input command and then a config-file in the same way. The first one ...
2
votes
0answers
41 views

Bad `\limits` spacing with lualatex [duplicate]

Compiling this example: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \begin{equation} ...
6
votes
1answer
136 views

Mathsf Greek Symbols Lualatex

I am using Lualatex with Latin Modern as math font. I want to produce mathsf greek symbols. However, it seems that it doesn't work for greek symbols (Using \setmathfont[\range=mathsf]{Latin Modern ...
12
votes
2answers
229 views

How to use ocg-p with LuaLaTeX (TeXlive 2015)?

If I compile the following MWE \documentclass{scrartcl} \usepackage{ocg-p}%Layers \begin{document} \end{document} with luaLaTeX, it stops with the following error: ! Package ocg-p Error: pdfeTeX, ...
1
vote
0answers
97 views

How to manually install a package for LuaLaTeX

I used to have an old version of a package (pgfplots v 1.9) and I manually installed a later version (v 1.12) complete with new documentation. pdflatex indeed compiles with the newest version while ...
1
vote
1answer
75 views

Use tikzexternalize for pgf-groupplots with \uncover in beamer

I successfully used the answer to Beamer overlays, tikz external and custom file name in my presentation. However the proposed solution does just seem to work for \only. When I use \uncover I get a ...
7
votes
1answer
97 views

LuaTeX gets stuck when “.” is added to pattern-expression

today on SE I got inspired to try LuaTeX. I'm facing a problem where the compilation process stalls at some point if I add a single "." to a pattern matching expression. In short, this works: line ...
1
vote
1answer
154 views

How to learn LaTeX in the right way? [closed]

Many people always say that LaTeX is the best typesetting system which is flexible and powerful. For me, I have used LaTeX for one year already but I still have some problems with it. Let me talk ...
1
vote
1answer
113 views

XeLaTex - fontawesome: compiles without errors, but doesn't show symbols

I have trouble using fontawesome symbols with XeLaTex. Set up MikTex 2.9 on Windows 8.1 from scratch. Fontawesome installed properly. When I try to use fontawesome symbols with XeLaTex I don't get any ...
3
votes
1answer
63 views

special characters cannot show after changing font with lualatex

I was using the following preamble with lualatex. I have many sanskrit words using unconventional Roman script, such as ahaḿtattva, rúpa, tanmátra. \documentclass[12pt, b5paper]{book} ...