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}.
1
vote
0answers
74 views
Typesetting a bilingual English-Hebrew book with facing pages in each language
How would one go about setting, say, a bilingual novel with the English translation on the left side of the book binding (the verso) and the original Hebrew text on the right side of the book (the ...
0
votes
0answers
34 views
luaotfload cannot load system font [closed]
(I have asked this question in comp.text.tex and lualatex-dev@tug.org mailling lists, but I still haven't got any reply. I know this website is not for bug report, but since no developer responded me, ...
4
votes
1answer
95 views
How to run a program inside LuaLaTeX?
Is it possible to run a simple script inside LuaLaTeX or LaTeX?
For example, I need to use the calculator from the terminal. I'd like to write
$echo "100.83*4.53" | bc
and obtain the result in ...
7
votes
1answer
93 views
MiKTeX’s LuaLaTeX and minitoc: “I can't write on file …mtc”
When compiling the code below with LuaLaTeX I get the error: "I can't write on file 'test.mtc'". Any ideas on how to resolve this? (Btw, the file test.mtc is there and contains the word "Contents")
...
7
votes
0answers
61 views
Speeding up compilation using precompiled preamble with LuaTeX
Compiling my documents with lualatex takes quite long. I have a complex preamble, and noticed it takes long to process this part of the file.
Today I came across this website, which proposes a trick ...
6
votes
1answer
184 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. ...
12
votes
3answers
266 views
How can I access a specific glyph in LuaLaTeX/Fontspec?
The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
5
votes
1answer
416 views
+500
OpenType fonts for Metapost Labels
Is it possible to use OpenType fonts in MetaPost labels?
I use MiKTeX 2.9. I hoped something like mpost --tex=dvilualatex <myfile>.mp might work, but no luck.
Suggestions?
I tried this, but ...
7
votes
2answers
66 views
Can I create a node list from some text entirely within lua?
I'm playing around with luatex and learning about nodes and callbacks. What I'd like to do is be able to add some text via a particular callback. The type of callback that I'm interested in is one ...
11
votes
2answers
232 views
How to use OpenType fonts with plain-LuaTeX?
Is it possible to have OpenType fonts with LuaTeX using the plain format?
I have tried:
\font\test="texgyrepagellaregular"\test test\bye
but I get ! Font \test=texgyrepagellaregular not loadable: ...
0
votes
0answers
33 views
How get white space in line (lualatex)
What I can get whitespace in one line in paragraph.
I make a paragraph, after this I get how long is whitespace (the difference between the characters and the width of the paragraph), and next I ...
6
votes
2answers
194 views
More than one width of a glyph in LaTeX or LuaLatex
I don't know where I can ask about it.
I have font with 2 or 3 versions of letter 'a'.
How I can put this information to LuaLaTeX, LaTeX etc.?
When the paragraph are breaking/making LaTeX made ...
2
votes
1answer
109 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 ...
5
votes
0answers
114 views
What are current pitfalls of using LuaTeX over pdfTeX
I know that there are several closely related older posts about LuaTeX.
Using LuaTeX as a replecment for pdfTeX 3
LuaLaTeX and PSTricks
Migrating from pdfTeX to LuaTeX
As of recently I started ...
5
votes
0answers
95 views
luatex 0.76 failed to generate some ligatures [closed]
I installed texlive 2013 today. After installation, luatex cannot generate ligatures for "fi fl ff", but it can for `` '' ---. xetex works perfectly here, after update.
MWE:
\documentclass{article}
...
7
votes
1answer
93 views
Ligatures in (Graphite) TrueType fonts
When using ConTeXt MkIV (i.e. with the LuaTeX engine), I’ve noticed that ligatures don’t work properly for some TrueType fonts, even though they do work in LuaLaTeX or even LibreOffice. As far as I ...
1
vote
0answers
98 views
Is the current lualibs broken? [closed]
After the latest update to MiKTeX 2.9 it seems that my luatex installation is broken. I tried to track the error and I am not sure if it is a bug or something else strange.
What happens is that the ...
6
votes
2answers
71 views
Funny but unreadable bookmarks with backslash in section
The following document gives me a "good" document, but garbled bookmarks.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{luacode}
\usepackage[unicode]{hyperref}
\begin{document}
...
9
votes
1answer
71 views
Ancient Greek hyphenation in LuaLaTeX
Can anybody tell me the current state of hyphenation patterns in LuaLaTeX, especially with regard to Ancient Greek?
I searched here on tex.sx and on the web. There are many mailing lists discussing ...
7
votes
2answers
74 views
Adding an image in luatex
I would like to use Lua functions in order to reproduce the effect of \includegraphics{testimg}. This means that the image "testimg.pdf"
would appear centered in the following example.
...
9
votes
2answers
77 views
The strange \luaescapestring in LuaTeX
\directlua{%
local s = [[\luaescapestring{\TeX}]]
print(s)}
After \luaescapestring{\TeX}, I think I should get
T\\kern -.1667em\\lower .5ex\\hbox {E}\\kern -.125emX
then this line will be ...
4
votes
0answers
54 views
How to substitute one glyph sequence for another with OTF feature files in LuaTeX?
I am trying to do some sequence-for-sequence glyph replacement. As far as I can tell from the Adobe spec, the LHS and RHS of a "sub … by …" rule cannot both contain multiple glyphs; and in any case, ...
7
votes
1answer
293 views
Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX
I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages.
There are a number of questions comparing these TeX ...
4
votes
0answers
32 views
Pgfplots closes plot cycle when it should not [closed]
I experience a strange behaviour with pgfplots.
I plot a series of datasets with no problems, but suddenly when I plot my last set of data, a line is drawn from the last point back to the first ...
5
votes
1answer
48 views
error with LuaLaTeX, lstinputlisting and an extension-less file
I'm having troubles with LuaLaTeX and the listings package: the former doesn't seem to accept me performing \lstinputlisting on a filename that doesn't have an extension.
Minimal example:
Makefile:
...
7
votes
1answer
70 views
Count character in line
I have chapter and on end of each line I would write counter of chars,
and before text line write a line sized of counts of chars.
Please solution in LuaTeX.
My LaTeX code
\begin{document}
...
6
votes
1answer
89 views
luatex cannot find font metric data
After installing TeX Live 2012 in a non system directory (not sure if this makes a difference) and running some of the tests found at TeX Live Install, LuaTeX can't find the example font metrics even ...
33
votes
1answer
919 views
Frequently loaded packages: Differences between XeLaTeX and LuaLaTeX
Adding the missing member to pdfLaTeX vs. XeLaTeX and pdfLaTeX vs. LuaLaTeX, here's the last of the big three: XeLaTeX vs. LuaLaTeX.
Where would a typical template for XeLaTeX differ from one for ...
7
votes
1answer
310 views
How to properly install and use a new font with LuaLaTeX?
I have problems trying to get new fonts to work when compiling with LuaLaTeX. I'm working on Mac and use TexShop (with the MacTeX package).
It goes like this:
I downloaded for example the Cardo ...
9
votes
1answer
221 views
Fake bold in LuaLaTeX
I am sometimes using a font that has no boldface, so I am wondering whether or not there is a way to use some fakebold-feature in LuaLaTeX.
The fontspec documentation explains a feature for XeLaTeX, ...
3
votes
1answer
210 views
lualatex and lilypond/music notation
Is there any easy way to embed musical notation into lualatex projects without too much hassle? (hopefully complete transparency)
I was thinking something like lilypond without having to do multiple ...
10
votes
0answers
130 views
Libertine Mono and lualatex
Using lualatex on latest TeXLive 2012 I am not able to select Libertine Mono by its full name via fontspec. luaotfload is finding the font and it is written into ...
4
votes
1answer
54 views
process_input_buffer callback in LuaTeX [closed]
I try to play with the callback function process_input_buffer provided by LuaTeX, but unluckily I don't get what I expect.
The manual said that
This callback allows you to change the contents of ...
9
votes
1answer
92 views
What does \luaescapestring do for us?
It seems that all TeX command are expanded into unexpandable tokens (say, TOKENS1) and these token are converted into some other tokens (say, TOKENS2). For example
\directlua{
local var = ...
3
votes
0answers
88 views
latest updates to lua* break … something
So, now, after most recent (23 Apr) updates (I'm using MiKTeX 2.9) to various things related to lualatex, I noticed that compilation of anything takes twice as long as it did (say) 10 minutes ago ...
4
votes
1answer
82 views
Read single numbers from data file (LuaLaTeX)
Is it possible to read a number from data files?
How to read a file with luatex
I found the example above but I don't need the whole line at once.
I need somthing like:
read(file)
get(A)
get(B)
...
6
votes
1answer
100 views
How to not have widows and orphans without using raggedbottom
I know I can set \clubpenalty and \widowpenalty to 10 000 to make them “really bad”, but then TeX sees it equally bad to cut the page short when there is no vertical stretch (i.e. \parskip=0pt), and ...
5
votes
2answers
108 views
Access defined Lua global variables in TeX macros
I am a newbie in LuaTeX, but it is very interesting.
Sometimes, I need process some macro arguments by Lua code, so it will be useful that if we can access the variables defined in Lua. An example:
...
3
votes
0answers
51 views
copy&paste: diacritics and special characters
Why can't I correctly copy&paste from my pdf documents (created by LuaLaTeX)? E.g., I get Faḫr al-Din̄ al-Rāzī instead of Faḫr al-Dīn al-Rāzī.
Surprisingly, most other things (including Arabic ...
1
vote
0answers
34 views
bookmarks: diacritics, umlauts and special characters [closed]
Why are the bookmarks in my pdf documents (created by LuaLaTeX) not correct? E.g., I get Faḫr al-DÄ«n al-RĆzÄ« instead of Faḫr al-Dīn al-Rāzī. In general diacritics, umlauts and special characters ...
14
votes
6answers
923 views
\tableofcontents encoding issue with lualatex
I have a issue when trying to generate table of contents with lualatex in russian. Following example fails to build with ! Undefined control sequence.
\contentsname ->{\cyr \CYRS \cyro \cyrd \cyre ...
2
votes
1answer
55 views
Russian language within figure captions in unicode-aware systems [duplicate]
When I try to compile the following document caption package seem to convert caption text to \cyr.. sequences and fontspec don't understand them. Is it possible do somehow get around that without ...
7
votes
1answer
90 views
Strange interaction between fontspec, lua and pgfplots
While trying to combine some Lua code with plots written in pgfplots something went completely wrong. I have no idea what causes the problem, as the error message is a bit opaque to me. Here is the ...
26
votes
2answers
1k views
microtype settings for dummies
More than a year ago, a friend of mine was totally excited about microtype features in LaTeX. He was talking about it quite a bit and then said to me: "Show me your document, let me input some lines ...
12
votes
1answer
248 views
Towards a \ucshape and \textuc command for uppercase text (XeTeX, LuaTeX)
While we have \textit and \textsc, \itshape and \scshape etc., there's no \textuc and \ucshape to typeset its argument in uppercase. There is \MakeUppercase, but -- as uppercase is not a font style -- ...
10
votes
2answers
119 views
Accent positioning on 'oe' character with feature file in fontspec
There is no accented glyph for the 'oe' character in Linux Libertine. When trying to form this character, the (acute) accent is centred over the 'e' half. I'm trying to get the accent over the centre ...
6
votes
1answer
91 views
gnuplottex and lualatex
EDIT: This question covers a bug in gnuplottex which will be fixed in TeXLive 2013.If you still want to have the bug fixed, download the latest upstream version from CTAN and compile it yourself.
...
11
votes
4answers
3k views
How do you configure Texmaker to use LuaTeX?
I'm extending my use from pdfLaTeX to LuaLaTeX. However, it does not come pre-configured in the Texmaker editor.
How does one configure Texmaker to use LuaTeX?
(I am using ubuntu 10.4, but this ...
20
votes
1answer
248 views
Bad interaction between fontspec and some lua code that performs string-related search and replace operations
I'm in the process of readying a LuaLaTeX package for "official" release to the CTAN, but I need to squash a few remaining bugs first. The bug described in this question concerns incorrect behavior of ...
6
votes
1answer
161 views
List of all post original TeX control commands
Is there a well documented list of all control commands added by all post Knuth's Tex like PdfTeX, e-TeX, XeTex, LuaTeX?




