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)

12
votes
1answer
427 views

Why does LuaLaTeX produce smaller files than pdfLaTeX in this example?

I am discovering LuaLaTeX... I want to produce pdf files from my tex sources as small as possible. If I compile the following code with LuaLaTeX, the size of the generated pdf is 9 kB. ...
5
votes
1answer
186 views

Using different text and math fonts with unicode-math

When using pdfLaTeX it is sometimes possible, when using different text and math font sets, to take the fonts for operators like sin and cos from the text font even within formulae. Thus, using the ...
8
votes
1answer
132 views

\pgfmathdeclarefunction and LuaLaTeX

Is it possible to use LuaLaTeX in \pgfmathdeclarefunction? I tried with sinh which seems to work in pgfmathsetmacro but not in \pgfmathparse and pgfplots. How should I declare a pgf function with ...
9
votes
0answers
154 views

XeTeX font spacing awfulness [duplicate]

When using the Lato font (e.g., Google fonts or Lato fonts), I get completely overlapping text: When I view the PDF in Google Chrome's PDF viewer, it looks fine on the screen: but it still ...
3
votes
1answer
358 views

make texmaker show compile error output (Message/Log) with custom lualatex user-build-command

i want to compile documents with a lualatex user build command within texmaker on mac os x. here is my command: /usr/texbin/lualatex -synctex=1 -interaction=nonstopmode %.tex|open %.pdf It ...
7
votes
2answers
100 views

Use other font in restricted area wont compile

im trying to change the font of only one character in the document, but it wont compile with lualatex, what am missing ? \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} ...
3
votes
0answers
54 views

How to debug error message from luaotfload-database.lua

I am beginning to think it was a really bad idea to update to TeXLive 2013. Since this update almost none of my old documents compile any longer. Does anyone have any idea what LuaLaTeX is trying to ...
3
votes
1answer
71 views

Using pst-barcode, fontspec and standalone at the same time?

I am trying to generate a series of labels using TikZ and the standalone document class. Normally, this works fine, but this time I want to use a system font and to include a barcode. Below is an ...
2
votes
0answers
57 views

Regular Chaparral comes out bold, bold Chaparral comes out regular. Why? [closed]

Chaparral.tex: \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \setmainfont{Chaparral Pro} \begin{document} Hamburgefonstiv Regular \textbf{Hamburgefonstiv Bold} ...
3
votes
1answer
120 views

Fontspec + Cabin + LuaLaTeX

I want to use the Cabin fonts (which are available on CTAN). It seems possible to use these fonts with LuaLaTeX, since there are type1 fonts available, and on CTAN it says: LuaLaTeX and xeLaTeX ...
1
vote
0answers
184 views

Beamer and babel packages in TeX

I tried to create slides with beamer and the babel package with Farsi option \usepackage[farsi]{babel}. When run I it with lualatex some error generate such as String contains an invalid UTF-8 ...
2
votes
0answers
132 views

Having Problem using math environment in LuaLaTeX

I am at learning stage of LaTeX. While working with lualatex with fontspec package, i am not being able to use any math environment. My document's preamble: \documentclass[a4paper, 14pt]{memoir} % ...
4
votes
1answer
157 views

Tracing group-level and position in LuaTeX

I am absolutely new to LuaTeX and I have few questions about it. First of all I learned that in LuaTeX it is possible to trace all TeX tokens with `token filter' callback. Is it possible to get some ...
9
votes
3answers
583 views

Luaotfload: version mismatch

Compiling with LuaLaTeX and the recent update seems to produce some disturbance: ... ) (/usr/local/texlive/2013/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty ...
6
votes
0answers
2k views

eps-converted-to.pdf not found

I was trying to include a figure in LuaLatex, but got an error message of !Package pdftex.def Error: File 'test-eps-converted-to.pdf' not found. The same code run in pdfLaTex+MakeIndex+bibTex. ...
0
votes
0answers
98 views

Execute lua file out of a pdf, lua doesn´t execute “io.open” command

I would like to run program out of the compiled pdf via link. \documentclass[12pt]{article} \usepackage[colorlinks, linkcolor = black, citecolor = black, filecolor = black, urlcolor = ...
1
vote
1answer
104 views

How to convert a TeX file with lualatex-script?

I want to convert a TeX file to a PDF file with a lua script. I can execute the lualatex.exe with os.execute("...path\lualatex.exe") Then I have to fill it out by hand, which file should be ...
1
vote
1answer
167 views

Undefined control sequence ``\let`` in ``hyperref`` included after ``unicode-math``

Consider the following document: \documentclass{article} \usepackage{unicode-math} \usepackage{hyperref} \begin{document} aaa \end{document} When I compile it with lualatex, I get the following ...
3
votes
1answer
45 views

Hyphenation problem on very narrow column and \flushleft

I have a strange problem with hyphenations, when the column is very narrow. My text is finnish and I'm using lualatex. In my narrow column, I have words "Ympärileikkauksen liitto". It breaks up as ...
14
votes
1answer
220 views

align* environment left-aligned with LuaTeX and RTL math direction

When using LuaLaTeX, with the math direction set right-to-left, the contents of an align* environment is left-aligned instead of centered. Why does this happens? How can I fix it? ...
10
votes
0answers
124 views

Why does fake slant only seem to work after italics has been used?

Based on this question, can someone explain this behavior: \documentclass{article} \usepackage{fontspec} \setmainfont[ SlantedFont={Linux Libertine O}, SlantedFeatures={FakeSlant=0.30}, ...
2
votes
0answers
91 views

Is this the best way to make two landscape pages for each portrait page?

With the new age I get large amounts of text in pdf format to read and assess. Initially I used perl code to add headers and then create a tex file that has a toc and a section per submission which I ...
8
votes
1answer
6k views

Problem while compiling template CV with: ' fontspec error: “font-not-found”'

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this ...
2
votes
0answers
62 views

LuaTeX: Strange symbol proportions when using Minion Pro for math [duplicate]

I'm writing my master's thesis in Minion Pro using LyX and I would like to use that font for math, too. For PDF output I use LuaTeX due to several nice features I got used to in the past (such as easy ...
6
votes
1answer
236 views

A Big fancy “Q”

One time I remember seeing a Q ligature in \setmainfont{EB Garamond} (fontspec, EB Garamond, etc.) that involved a wonderful long swash. Now I don't know how to get it. Contrary to most other ...
5
votes
1answer
487 views

Error message about an invalid utf-8 sequence (LuaLaTeX on a Mac)

I am using LuaLaTeX on a Mac and I want to have my PDF in Calibri font. I have issues with Umlauts. \documentclass{minimal} \usepackage{fontspec} \setmainfont{Calibri} \begin{document} äöüß ...
3
votes
0answers
93 views

LuaTeX bug with bold italic text? [closed]

Ok, so this is in a sense a bug report. But I have failed at going through the regular channels (cf. How to report a bug in LuaTeX?). The bug tracker never sent me a confirmation e-mail for an ...
0
votes
1answer
399 views

fontspec (xelatex) finding fonts by name, installed or in TEXMFHOME

This is related to my other question: fontspec search path in TEXMFHOME I'm trying to write a package using a specific opentype font through fontspec. Using TeXLive 2013 on a Debian computer (a ...
4
votes
1answer
182 views

microtype tracking disables small caps in luaLaTeX

Normall microtype tracking loosens the tracking of small caps. However, with fontspec's \setmainfont{ebgaramond}, small caps are completely disabled and I get a loose normal text, as opposed to ...
3
votes
0answers
114 views

LuaLatex: Showing nonexisting errors [closed]

I am trying to use LuaLatex for printing plots (as PdfLaTeX doesn't have enough memory) but I have a problem with it. I am using TeXLive 2013 with TeXMaker. I was trying to compile a file once with ...
3
votes
1answer
1k views

FontAwesome font not found?

I'm using the latest version of MacTeX 2013 on OS X 10.8.4. All of my Tex Live packages are fully up-to-date. Tex Live also lists the fontawesome package as installed. I'm trying to use the ...
36
votes
2answers
1k views

Making “C♯” on my resume searchable

As discussed on How to make the correct hash-symbol in C Sharp, I chose to render the name of the C# language on my resume as C$^\sharp$ I'd like to keep that typographical touch. But I'm afraid ...
7
votes
3answers
348 views

unicode-math and braces scaling

I am trying to create a minimal lualatex distribution, and hence try to eliminate as much non OTF fonts as possible (I try to get rid of the .afm, .pfb, .map, etc files to save space). Everything is ...
4
votes
1answer
196 views

How hard is it to use typo-dir.lua in LaTeX?

I tried to use typo-dir.lua from ConTeXt distribution in LaTeX but I could not. I searched all context sources and I added all missing functions but still it did not work. Is it possible to use this ...
10
votes
2answers
295 views

Get cell content from a Google doc spreadsheet using LuaTeX

I know that LuaTeX can access network resource (at least ConTeXt can). Would it be possible to get cell values in a macro, from a Google Docs spreadsheet, dynamically at compilation time, with ...
4
votes
1answer
183 views

How can I avoid that a functions argument touches the brackets using unicode-math?

Maybe, I am doing something wrong, but please have a look on the alignment in this formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage[% ,math-style=ISO ...
6
votes
0answers
142 views

Does LuaTeX access write18 differently from pdftex?

Im trying to make a speedup-option for gnuplottex using md5 checksums. This works like a charm for pdftex, but it fails for LuaTeX. The comparison of the checksums work, the difference occurs when ...
21
votes
4answers
1k views

Why choose LuaLaTeX over XeLaTeX?

There are questions on TeX.sX already about what the differences between LuaLaTeX and XeLaTeX are (Differences between LuaTeX, ConTeXt and XeTeX), what one should be keep in mind when going from ...
7
votes
2answers
249 views

How to insert a specific unicode character (such as the ZWNJ symbol) into the text stream via lua code compiled by Lua(La)TeX?

How does one instruct Lua(La)TeX -- specifically, the lua code invoked via a \directlua directive -- to insert a non-ASCII unicode symbol, such as a "zero width non-joiner" symbol (code U+200C), into ...
1
vote
1answer
234 views

lualatex uses DejaVuSans ExtraLight instead of DejaVu Sans

LuaLaTeX does not use the correct font shape. The following minimal example \documentclass{scrartcl} \usepackage{fontspec} \setmainfont{DejaVu Serif} \setsansfont{DejaVu Sans} \setmonofont{DejaVu ...
6
votes
2answers
117 views

Redefining the emdash so as to allow hyphenation

OK, so I use the emdash as follows: someword---anotherword, but the problem is this prevents hyphenation of both words around the dash. I can fix this by replacing --- with \textemdash, but I was ...
10
votes
2answers
237 views

Lua calculation fails with a negative number

The macro runs except when the real b is negative. Why ? \documentclass[a4paper,12pt]{article} \usepackage[upright]{fourier} \usepackage[no-math]{fontspec} \usepackage{luacode,luatextra,luaotfload} ...
8
votes
2answers
272 views

Accessing side-bearings in LuaTeX

This question has been solved, in XeTeX, by this code: \def\kright#1{\leavevmode #1\kern-\XeTeXglyphbounds3 \the\XeTeXcharglyph`#1 } \def\kleft#1{\leavevmode \kern-\XeTeXglyphbounds1 ...
1
vote
0answers
157 views

Does someone suceed using `unicode-math` with LuaLaTeX on MiKTeX? [closed]

This bug should have been fixed two month ago: https://sourceforge.net/p/miktex/bugs/2276/ But I still can't work with it. I am getting as first error: lualatex> \um_set_mathcode:nnn ...
6
votes
1answer
208 views

Compilation error with LuaLaTeX

I try to compile this code without success. \documentclass[a4paper,12pt]{article} \usepackage[upright]{fourier} \usepackage[no-math]{fontspec} \usepackage{luacode,luatextra,luaotfload} ...
4
votes
1answer
121 views

Environment variable TEXEDIT doesn't work with LuaLaTeX (?)

I like the ability to press e when running pdflatex in errorstopmode to jump directly to the line where the error occurs in my favourite editor. This works fine for pdflatex and xelatex as long as ...
1
vote
0answers
223 views

Install fonts to compile with LuaLaTeX

I would like, if possible, use the same font that the document http://www.h-k.fr/publications/data/Maths_pour_Physique___Chapitre_13.pdf to compile my files with LuaLaTeX. I first tried this ...
10
votes
2answers
2k views

\documentclass: undefined control sequence

There's probably a ton of questions about this already but I've been spending all day feeling overwhelmed with the TeX learning curve. I'm trying to learn LuaTeX (by the way, if you know of a good ...
1
vote
0answers
144 views

Which bibliography package should I use for my thesis in LuaTeX? [closed]

I'm about to start writing a (B.Sc.) thesis. As there are some rather peculiar layout requirements (such as using Times New Roman) at my university chair I would like to use LuaTeX in order to be able ...
2
votes
0answers
74 views

preview with lualatex dvipng replacement? [closed]

Maybe this is TexStudio related not the general question. preview with pdflatex comlier works fine. when i switched to lulalatex preview command fail. i use lualatex --output-format=dvi ...