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
0answers
76 views

Error when using luaotfload-tool

i am trying to install Myriad Pro at my Ubuntu PC to use it with Lualatex and fontspec. The font is correctly installed and can be used in LibreOffice. fc-list | grep -i myriad -> Myriad ...
4
votes
2answers
279 views

Changing language back and forth with polyglossia

I'm using polyglossia and lualatex to compile my source, and I am switching languages back and forth inside my document. It looks like polyglossia (or myself), is not doing what it is supposed to do: ...
0
votes
1answer
101 views

Colorbar for pgfplots contour plot

I have to draw a contour plot of a large dataset, so I use lualatex as compiler. This example also works with normal latex, i.e. latex+dvips+ps2pdf. It works fine in latex but for the large amount of ...
1
vote
0answers
53 views

ConTeXt with LuaTeX to compile mathml

I am using ConTeXt with LuaTeX to compile mathml. I would like to change the MathML fonts to a OTF Font. Please advice how this could be done. I have included a sample code below. \usemodule[mathml] ...
34
votes
1answer
742 views

Poisson disc sampling implemented in luatex

In this answer by @Jake to the question Filling specified area by random dots in TikZ I learned about the poisson disc sampling technique to generate nice looking random patterns. Jake's answer ...
8
votes
2answers
126 views

How to manipulate a multi-line string in luatex?

I want to write a Lua function that processes some multi-line string. Thus, I created a new file test.lua which contains userdata = userdata or {} function userdata.surroundwithdashes(str) str = ...
3
votes
0answers
72 views

Combining diacritical mark is misaligned with luatex, but not with xetex

Consider the following code: \documentclass{article} \usepackage{fontspec} \setmainfont[BoldItalicFont = {* Semibold Italic}]{Linux Libertine O} \begin{document} \textit{\textbf{V\char"0306}} ...
5
votes
1answer
136 views

LuaLaTeX - Linux libertine (math and pgfplots)

I have some problems using Linux libertine font within equations or pgfplots and tried this answer but it doesn't work. \documentclass{article} \usepackage{fontspec} \usepackage{pgfplots} ...
3
votes
1answer
129 views

\DeclareUnicodeCharacter and LuaTeX

Is there an equivalent command to \DeclareUnicodeCharacter for LuaTeX that allows me to define alias commands for special UTF-8/Unicode characters? I am using a custom Fraktur font that uses Unicode's ...
3
votes
1answer
127 views

Hindi words not displayed properly in pdf (generated by xelatex)

The words are not getting displayed properly in the pdf even though they are getting displayed correctly in source file. And when I tried to copy words from the pdf file and paste them, they are ...
2
votes
1answer
243 views

Installing EB Garamond (miktex lua) encore encore

There are many related questions and answers. I looked at Installing EB Garamond for pdfLaTeX (encore) and tried the lua answer there. lualatex from a freshly instlled Miktex on this MWE ...
4
votes
1answer
46 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 ...
7
votes
1answer
275 views

How to customize Latexian to use other TeX engines or biber?

The Mac editor Latexian has built in methods for compiling using latex+dvips, pdflatex and xelatex. Furthermore, it assumes bibtex and makeindex to deal with bibliographies and indexes, respectively. ...
0
votes
0answers
83 views

Maintaining Optical Margins with Hanging Punctuation

To achieve hanging quotation marks, I am changing their protrusion settings in my preamble: \documentclass{minimal} \setlength{\parindent}{0cm} \usepackage{luatextra} \setmainfont{Times} ...
4
votes
0answers
57 views

LuaTeX readline encoding

Must LuaTeX's \readline use latin-1 encoding? In the example below, I first store é in a file (well, and ^^J) which works well. Then I read it back in, using \readline and get two characters é (and ...
6
votes
1answer
51 views

Discovering which (La)Tex element is shown by lua-visual-debug (print to stdout)?

I am trying to troubleshoot what happens in the code in Wrong placement (and/or size) of picture / plot with groupplot of table?. So I added \usepackage{lua-visual-debug} to that example, and built it ...
1
vote
0answers
119 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ...
1
vote
1answer
238 views

Micro-Typography with Luatex

Since I wanted to use Opentype with Latex, I had to go with Luatex and consequently am now missing some features of Microtype (spacing, kerning). (I tried converting my openfonts but failed) Here is ...
14
votes
1answer
225 views

FR: Staplers corner

I like twocolumn documents, but sometimes people complain that stapeling pages together made it hard to read the top left text of the left column on all pages after the first page. OK, I could have ...
3
votes
1answer
80 views

Using pgf to print raw numbers without math delimiters

I'm trying to have pgf output a number in raw format, but I don't know how to do it so any help would be greatly appreciated. If you look below, the problem is that \roundednumber expands to $1,000$, ...
0
votes
0answers
90 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
3answers
243 views

lualatex: Need help with using different fonts

I could need some start-up aid with using fonts in lualatex. I have 3 questions (sorry): A) I want to use a nice mainfont for normal text. The lmodern-default was nice with pdflatex, but the default ...
4
votes
0answers
87 views

LuaTeX/ConTeXt connect to SQL Server

I am looking to connect ConTeXt to a SQL Server database. I have looked through the manuals, and even read pragma-ade's SQL PDF (which, for me, seems a bit abstract). I am not extremely familiar with ...
2
votes
1answer
135 views

curious luatex warning checksum mismatch in font txr.vf ignored

The warning mentioned in the title occurs only if luaotfload is loaded. The txr.vf + txr.tfm files are OK: other TeX engines or dvips etc. don't have problem, tftopl and vftovp show that the checksum ...
1
vote
0answers
105 views

latex to lualatex error at compilation [closed]

Solution: having an up to date system I've download a template from LaTeXtemplates: http://www.latextemplates.com/template/classicthesis-typographic-thesis This is a template I want to use but ...
4
votes
0answers
22 views

Different output between xelatex and lualatex with the same font [duplicate]

With the following code, I get the small caps with lualatex but not with xelatex, \documentclass{article} \usepackage[no-math]{fontspec} \setmainfont[SmallCapsFeatures={LetterSpace=155}] {Charis SIL} ...
1
vote
1answer
330 views

Cannot open Tex file - Default encoding setting (UTF-8) not working

Texmaker cannot open a .tex file. It says It seems that this file cannot be correctly decoded with the default encoding setting (UTF-8) and asks me to choose an encoding option. ISO-8859-1 and ...
19
votes
0answers
376 views

wxLua in LuaLaTeX

I have some problems using wxLua in LuaLateX. This works: lua simpleui.lua (print instead of tex.print) But if i try this: lualatex wx.tex it doesn't work. \documentclass{article} ...
3
votes
1answer
103 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, ...
0
votes
1answer
101 views

Hieroglyphs: How could we map several font files?

This question is for (TeX) archaeologists Notice: We have got better fonts for hieroglyphs these days stored in a single font file, or in SVG file(s), or in a series of GIFs covering all the ...
2
votes
1answer
101 views

How to differentiate glyphs by script (semi-)automatically?

I am trying to emulate this poster which I've found at http://www.brill.com/about/brill-fonts. How could we define different color per script and get a similar glyph poster?
5
votes
1answer
196 views

Learning Plain TeX via ConTeXt's LuaTeX-plain Format

Succinctly as I can: Want to learn Plain TeX (but with modern conveniences such as UTF-8, mplib, TiKz, etc.) Have much respect for the ConTeXt group of people. Liked the idea, when I stumbled upon ...
3
votes
1answer
81 views

How to typeset Chinese from word dictionary in tone colors?

I have installed MDBG Word dictionary which is using CC-CEDict database. I've installed Windows version but we can try the dictionary online, I am using word sleep as a test case. How could we typeset ...
3
votes
0answers
177 views

Font found with XeLaTeX not found with LuaLaTeX on Linux [closed]

The following MWE will build correctly with XeLaTeX but not with LuaLaTeX. \documentclass{article} \usepackage{unicode-math} \setmainfont{TimesNewRomanPSMT} \setmathfont{CambriaMath} ...
8
votes
1answer
154 views

Why does using small caps break endash ligatures in lualatex?

I've spent most of my day trying to migrate a project from pdftex tolualatex. The experience has been mostly positive but there are a few gotchas I can't make heads or tails of. Most recently I've ...
6
votes
2answers
63 views

How to disable hyphenation in lualatex?

I am using the mechanism outlined in this answer to generate a text-only version of a fairly complex document for spell-checking. This is my first attempt to use lualatex, so this might be littered ...
2
votes
1answer
242 views

Using MinionPro for math and ArnoPro for text

As the title says, I want to use ArnoPro as my main font for text while using MinionPro for all math (inline or display). What I did for ArnoPro was since I have Windows on my laptop as well as Linux ...
4
votes
1answer
148 views

Remapping Egyptian Hieroglyphs

Please save your time and energy on this question, I also provide a potential solution. Notice: There are much better fonts for hieroglyphs these days, this problem is quite old-fashioned. It's ...
0
votes
1answer
38 views

problem with logtabu spanning over three pages

\documentclass{scrartcl} \newcommand{\ContactDetails}{% % important contact details \vspace{-1.1em} \begin{tabbing} \textit{foo} \qquad \= foo \quad \= \texttt{\scriptsize foo} \\ \> bar \> ...
2
votes
1answer
81 views

Why aren't backtics giving me curly quotes?

I'm using the appropriate keystrokes to get curly quotes, but I'm not getting them. What is wrong here? \documentclass[nols,nohyper,openany, letterpaper]{tufte-book} ...
7
votes
1answer
119 views

How to write a LaTeX command that could discriminate if it's being called with pdfLaTeX in order to use PSTricks?

I'm writing a class for LaTeX, and I need to make it general. I want to include a simple image, a logo, within the class, which would be inserted into the document as a simple command ...
0
votes
1answer
74 views

Coloredlettrine Error: Did any one have any luck using the coloredlettrine package?

http://tex.stackexchange.com/revisions/69271/1 ^Raphink created the coloredlettrine package (https://github.com/raphink/coloredlettrine). I have tried to compile it in XeLaTeX to no avail. I ...
9
votes
2answers
3k views

LaTexing vs LaTexTools (Sublime text plugins)

I want to use sublime as my default IDE for TeX (currently I'm using Latex Studio). I've found two great packages: LaTexTools LaTexing Both has somehow the same list of features but LaTeXing ...
8
votes
0answers
225 views

Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \listfiles \usepackage{fontspec} \setmainfont[Ligatures={Common,Rare}]{Hoefler Text} \begin{document} ff fi fl ffi ffl ...
2
votes
2answers
2k views

XeLaTex and TexMaker “cannot-use-pdftex”

I would like to use the CV template provided by this link. In the .tex file the author recommends to compile with XeLaTeX. In TeXmaker 4.0, I've used the right option to compile but the following ...
3
votes
0answers
79 views

Luatex ligatures after \newpage [closed]

I am seeing some very strange behavior with LuaLaTeX. It is hard to describe, so I will begin with a MWE: \documentclass{book} \usepackage{fontspec} %\defaultfontfeatures{Ligatures={Common, TeX}} ...
1
vote
2answers
195 views

German-style quotation marks in LuaLaTeX using polyglossia

Could someone post a complete minimal input file for LuaLaTeX to output "Hallo" also to get around ,,Hallo´´ In LaTeX I would have written ``Hallo´´ %% Minimal Inputfile for LuaLaTeX ...
2
votes
0answers
88 views

LuaLaTeX error when compiling visual counter

I asked a question about visual counters in beamer, for which I got this answer. Now I need to compile it by LuaLaTeX in order to use the package luapersian(below code), but it returns some errors. ...
4
votes
1answer
96 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
0answers
180 views

Querying a SharePoint list and typesetting the response with LuaLaTeX

I would like to generate some reports from data stored in SharePoint lists. It is possible to query the lists using web services and retrieve the data in a xml data format. For example, sending a ...