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)

2
votes
2answers
53 views

overlappings when texgyrepagella is used with stmaryrd

Consider running xelatex or lualatex on the following code: \documentclass[compsoc]{IEEEtran} \usepackage{unicode-math} \setmathfont[Extension=.otf]{texgyrepagella-math} %\usepackage{mleftright} % no ...
5
votes
1answer
81 views

In LuaTeX, how can I escape text that will be inserted in LaTeX?

I wrote a Lua function that dumps data from a TXT file in my LaTeX document. The problem I have right now is that the data the TXT file is treated as LaTeX code so I need to escape special characters ...
2
votes
0answers
50 views

Devanagari Combined Glyphs

Having some trouble with combined (ligature) glyphs in LaTeX. Not a hindi speaker (native or otherwise) but have been tasked with transferring translated documents in hindi into TeX format. When I ...
3
votes
1answer
31 views

Substitutions of initials by feature file, and mixing rules

I tried to add a substitution rule to the feature file from Defining an initial variant through a feature file, but the second (non-contextual) substitution only works if the first is commented out. ...
2
votes
1answer
29 views

Defining a class of glyphs when some are not in the bold font

I discovered that adding the line {\bf παπαῖ} to the answer in Defining an initial variant through a feature file results in a fatal error, because some of the glyphs in the class do not exist in the ...
2
votes
0answers
34 views

Microtype problem with line-endings

today i noticed that when i compile my Tex-File with LuaLaTeX and the Microtype-Package that the line-endings are not correctly formatted. Here an small example where you can see that the punctuation ...
7
votes
1answer
76 views

Defining an initial variant through a feature file

\documentclass{article} \usepackage{fontspec,filecontents} \begin{filecontents*}{junicode.fea} languagesystem DFLT dflt; languagesystem latn dflt; feature calt { sub \beta by \uni03D0; } calt; \...
4
votes
2answers
92 views

LuaLaTex Hyphenation not working with Times New Roman loaded

i have the problem that the Hyphenation ist nor working correctly when i have loaded the Font Times New Roman. I'm using LuaLaTex and here you can see my MWE: \documentclass[% a4paper, 12pt, DIV=...
1
vote
1answer
57 views

Luatex vs Xelatex automatic graphs drawing

I have question about automatic graphs drawing with latex. So I want to use \usegdlibrary To generate my graphs layout automatically without my interruption where to put states and nodes. Is it ...
1
vote
0answers
51 views

Using pdfx with LuaLaTeX results in error

When I try to compile the following MWE with lualatex (on Miktex), i get this error: ! LuaTeX error (ext5): cannot open file for embedding. \reserved@a ...viceRGB} file{"\pdfx@rgb@profile "} ...
2
votes
1answer
57 views

Bold math with siunitx, fourier and amsmath problem

With this configuration I can't have bold siunitx otherwise than using \pmb, but with an ugly side effect : \documentclass[margin=5pt]{standalone} \usepackage{fourier} \usepackage{fontspec} \...
0
votes
0answers
22 views

ltxdockit and non-latin characters

I know that ltxdockit is not really a properly supported package. Still, I would welcome if someone could help me. ltxdockit seems to have problems with non-latin alphabets. The following example in ...
3
votes
2answers
85 views

Cyrillic hyphenation with lualatex using luainputenc

It seems the Cyrillic hyphenation with lualatex using \usepackage[lutf8x]{luainputenc} does not work. Is any solution of this? % !TeX program = lualatex % !TeX encoding = utf8 % !TeX spellcheck = ...
1
vote
2answers
64 views

Missing control sequence inserted when using LuaLaTex

When I try to compile my LuaLaTex template file, I get the following error. ./fi-lualatex.toc:33: Missing control sequence inserted. <inserted text> \inaccessible l.33 ...} sectioning commands.}...
0
votes
0answers
32 views

How to add Hindi/Devnagari font in the document using sharelatex?

I am facing problem to embed Hindi font in my document. when I am using this http://pastebin.tlhiv.org/BIRP0Hot it works fine , but when I use http://pastebin.tlhiv.org/zdHxUMEb, it shows error. ...
3
votes
1answer
57 views

Scaling TikZ from Gnuplot export

Say we plotted in Gnuplot using terminal tikz resulting in output tikz.tex . In our main.tex we \include{tikz} Now that messes up everything because the picture is way too large for our beamer ...
3
votes
0answers
114 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} \...
11
votes
2answers
231 views

Enable extra hyphenation points for compound words that already contain a hyphen character?

Friends :), I would like to have compound words that contain hyphen characters, such as "Baden-Württemberg", to be permitted to be hyphenated at all points in the component words as well (here: "Ba-...
1
vote
0answers
52 views

How to keep page break points when publishing the same content with two different styles?

I would like to publish two or more versions of the same document. The content is the same, the style is different and the page breaks should be the same too, so that I can refer to the same page ...
4
votes
1answer
53 views

Spurrious warning when using mathdesign for Adobe Garamond Pro in conjunction with fontspec

I am using lualatex to typeset documents with Adobe Garamond Pro, using the mathdesign package with the "adobe-garamond" option for the math fonts. However, this nets me a warning upon loading ...
0
votes
0answers
37 views

Font not recognised while using TexMaker

I am using TexMaker on Ubuntu 14.04 LTS. And I am trying to run the following .tex file. MWE: \NeedsTeXFormat{LaTeX2e} \documentclass[border=10pt]{standalone} \usepackage{fontspec} \newcommand*{\...
1
vote
0answers
184 views

Why am I getting this xunicode.sty error in Ubuntu 14.04 LTS?

So, I am trying to convert a file into PDF using the LuaLatex package. I am attaching the .tex file as well here. On running the command, lualatex abc where abc is the name of the .tex file, I get the ...
6
votes
1answer
73 views

csquotes: pdflatex vs. lualatex/xelatex

The following test document \documentclass[english]{article} \usepackage{babel} \usepackage{ifxetex,ifluatex} \ifluatex\else \ifxetex\else \usepackage[utf8]{inputenc} \fi \fi \usepackage{...
2
votes
0answers
60 views

What do the various values of the Ligatures= option of fontspec do?

The fontspec package has a Ligatures option, usually encountered with the value Ligatures=TeX. This enables traditional TeX ligatures (or typing conventions) like mapping --- to an em dash. But what ...
5
votes
2answers
72 views

How do I get the XITS font to work with unicode-math and hepnames in lualatex

I have been trying to get the XITS font, hepnames and unicode-math to behave correctly together for quite some time now, but I have been unable to find a solution to my problem. Perhaps, I have been ...
42
votes
1answer
383 views

How to keep a “rare” ligature from interfering with a “common” ligature?

In ligature-rich Opentype fonts which feature both "common" and "rare" ligatures, it can happen that a "rare" ligature is applied first to one character pair, pre-empting the use of a "common" or "...
0
votes
0answers
89 views

Wrong math symbols using LuaLaTeX after updating MikTeX

Last week, I updated my MikTeX distribution (both as administrator and user). When using the LuaLaTeX compiler, the resulting math symbols are incorrect. The same has been noticed before when using ...
2
votes
0answers
68 views

LuaLaTeX vs XeLaTeX hyphenation and line layout [closed]

I am typesetting my journal just for the fun of it. I am using KOMA-script's scrartcl with two columns. I am testing with both LuaLaTeX and XeLaTeX. I haven noticed page count is different between the ...
2
votes
1answer
48 views

formular with cyrillic in Xe/Lua

Cyrillic in formular (https://www.ctan.org/pkg/formular) does not work with (Xe/Lua)LaTeX, but works in pdfLaTeX: \documentclass{article} \usepackage{ifxetex} \ifxetex \usepackage{fontspec} \...
4
votes
1answer
45 views

tex4ht problem with matlab-prettifier package. lstlisting code shows differently from lstinputlisting

It seems like a lost case using Matlab code in Latex when it comes to tex4ht. I switched to using matlab-prettifier package instead of mcode package to load Matlab code in Latex since I found too ...
4
votes
1answer
70 views

Is there a way to step through LuaLaTeX macros using a remote debugger?

Writing LaTeX macros has always been difficult, and it seems like writing a major package can only be accomplished by a Real Programmer. Fortunately, LuaTeX is on its way, and writing Lua macros is ...
3
votes
0answers
28 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
2answers
75 views

No accents and ¿ ¡ in pdf bookmarks

I'm doing a book with LateX in spanish language and I'm having some problems with spanish accents and symbols ¿ and ¡. Here's my preamble, sorry, it's very huge: \documentclass[10pt,a4paper,twoside=...
3
votes
1answer
67 views

“Rare” ligatures in LuaLaTeX and LMR font

How do I get "Rare/Discretionary" ligatures with the Latin Modern Roman Font in LuaLateX? So far I have loaded the fontspec package and have tried several different approaches the most promising ...
10
votes
0answers
113 views

Setting up PDF outlines from Lua

In recent versions of LuaTeX, the PDF outline hierarchy may be set up from the TeX side with \pdfextension outline; for example: \pdfextension outline goto page \the\c@page {} count 1 {Chapter 1} \...
1
vote
2answers
65 views

Assign custom fontfamily to setmonofont

Is there an easier way instead of writing those commands twice? \newfontfamily\codefont[ Scale=MatchLowercase, Path = fonts/] {Inconsolata-dz} \setmonofont[ Scale=MatchLowercase, Path = ...
0
votes
1answer
94 views

Modern TeXes handling of Unicode [closed]

I just may be misinformed, but roughly: Is still true that PDF is in principle able to use only 8bit encoding vectors? If not, how do LuaTeX/XeTeX handle larger glyph sets?
5
votes
1answer
31 views

visible hyphen char, why?

The pdf output of the following small example document is wrong if compiled with lualatex (Version beta-0.80.0): \documentclass{article} \usepackage{fontspec}% {2016/02/01}{2.5a} \begin{document} lm ...
5
votes
1answer
91 views

LuaLaTeX Manual Hyphenation not working

i globally declared the hyphenation of a word like this \hypenation{dis-tri-bu-tion-point-objekt} The Word is a mix of english an german (the last part objekt is in german language). But the word ...
2
votes
2answers
37 views

Extra space by polyglossia

The LuaLaTeX code... \documentclass{article} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{german} \begin{document} English/\textgerman{German} \end{document} ...results in ...
9
votes
1answer
134 views

How can I define my own ligatures in lualatex?

Why are my ligatures not working? \documentclass[12pt,a4page]{article} \usepackage{fontspec} \setmainfont[FeatureFile=pytanie.fea, Path = /usr/share/fonts/dejavu/, Extension=.ttf]{DejaVuSerif} \...
0
votes
0answers
32 views

How to exclude ligatures from hyphenation, if their constituent characters have non-zero lccode?

Is there some trick to make LuaTeX hyphenate ``xxaaxx'' in the following example? \language255 \righthyphenmin=2 \lefthyphenmin=2 \hyphenation{xx-aa-xx} \parindent=0pt \hsize=1pt \hfuzz=100pt \lccode`...
4
votes
0answers
63 views

Callback to be run at the end of the job

My Lua initialization script opens some files that are written to in the course of the run. I would like to additionally write some last bytes to them when LuaTeX is done processing all code. It ...
2
votes
1answer
126 views

LuaTex doesn't open installed packages with openin_any=p options

I plan to launch online LuaTeX compile service. I installed LuaTeX using TexLive 2015 in CentOS 7. For security concerns, I want to restrict opening files. Therefore, I set openin_any=p. But, it also ...
2
votes
1answer
56 views

User UTF-8 string in ConTeXt

I need to use input from a JSON inside my text. Sometimes it contains UTF-8 code. For example: Belgi\u00e cre\u00ebren How can I use such string in ConTeXt LuaTeX, so the result is a correctly ...
0
votes
0answers
59 views

Cannot compile old luatex code

I can't compile the answer given here: In LuaTex is it possible to change font/language according to the script/glyphs used? Is it because it's old? My compiler says that \luatexdirectlua is ...
3
votes
1answer
52 views

unicode-math and redefine a built-in math command

I'm trying to redefine a math command (let's say \int) so that it will always do more (let's say \int lol) using the following trick: http://tex.stackexchange.com/a/47353/15659 BUT, now I want to use ...
3
votes
1answer
93 views

Use libertine numbers in math mode and with siunitx

I am here again to seek your help. I would like all numbers in my document to be the same (in text or math mode). Now I have Please note also the size difference. What is the way to have all ...
0
votes
0answers
174 views

Having trouble using fontspec package with LuaLaTex in TexWorks

I am trying to compile the following code in TexWorks with LuaLaTex: \documentclass{article} \usepackage{fontspec} \begin{document} Hello \end{document} It works without the line: \usepackage{...
5
votes
1answer
102 views

Layered Graph from Tikz Manual

I suppose I have quite some experience with vanilla latex (which I have used to write several documents), but I am making my first baby steps with tikz. In particular, I am trying to reproduce the ...