If you have a question about LuaTeX this is the book with the answers. LuaTeX: Questions and Answers takes some of the best questions and answers asked on the tex.stackexchange.com website. You can use this book to look up commonly asked questions, browse questions on a particular topic, compare answers to common topics, check out the original source and much more. This book has been designed to be very easy to use, with many internal references set up that makes browsing in many different ways possible. Topics covered include: Fonts, Fontspec, XeTeX, PdfTeX, LuaTeX, Unicode Math, Unicode, Ligatures, Microtype, OpenType, Hyphenation, Luaotfload, Macros, Babel, Math Mode and many more.
Author(s): George A. Duckett
Series: Questions and Answers #5
Publisher: CreateSpace Independent Publishing Platform
Year: 2016
Language: English
Pages: 1312
Table of Contents......Page 1
About this book......Page 3
Q: Which Lua environment should I use with LuaTeX (LuaLaTeX)?......Page 4
Q: Why should I be interested in Lua?......Page 7
Q: LuaJIT and LuaTeX......Page 10
Q: "Lua tree" (analogue of texmf tree)......Page 12
Q: How to read a file with luatex......Page 13
Q: Can the Lua part of LuaTeX know about tokens?......Page 18
Q: \documentclass: undefined control sequence......Page 20
Q: How to access LaTeX lengths in LuaTex?......Page 22
Q: Would you consider Luatex to be ready for a production environment......Page 24
Q: how for Lua commands......Page 27
Q: luatex and starting TeX macros which handle new line characters......Page 29
Q: Problem using length operator in Lua......Page 33
Q: LuaLaTeX for dummies: how to add LaTeX macros into \directlua?......Page 37
Q: Printing LaTeX code in LuaTeX......Page 39
Q: In which order is Lua Code in LuaTeX being processed......Page 43
Working with Google......Page 50
Processing the Data......Page 51
Q: What does \luaescapestring do for us?......Page 53
Q: The strange \luaescapestring in LuaTeX......Page 56
Q: Can I create a node list from some text entirely within lua?......Page 58
Q: How to access LaTeX counters in luatex?......Page 62
Q: How to do a 'printline' in LuaTeX......Page 65
Q: percent signs in luacode* environment (LuaLaTeX)......Page 67
Q: Interactive lualatex compiling......Page 69
Q: Get value of macro from lualatex directly......Page 71
Q: My first luaLaTeX example......Page 73
Q: How to check for Lua definitions......Page 79
Q: LuaLaTeX, sprint verbatim text......Page 80
Q: Accessing pointers in LuaTeX......Page 83
Q: LuaTeX gets stuck when "." is added to pattern-expression......Page 84
Q: Cannot access arguments in a lua block......Page 87
Q: Problem with luacode in sty file......Page 90
Q: LuaTeX: \luaexec leads to 'Missing number, treated as zero.'......Page 93
Q: Token expansion with the token library......Page 94
Q: Using lua code to obtain rules of different lengths......Page 95
Q: How to convert glue spec like `\parfillskip=0pt plus 1fil' to LuaTeX glue node......Page 97
Q: lualatex print, directlua env, and newline......Page 99
Q: lualatex: how to produce PDF acceptable by arxiv?......Page 101
Q: Problems with multi-page output when building nodes directly with node.write()......Page 102
Q: In LuaLaTeX, how do I pass the content of an environment to Lua verbatim **Without displaying it** in a beamer frame?......Page 106
Q: Using LuaLaTeX and SQLite3......Page 109
Q: Find node above and under......Page 112
Q: Why the luatex85 package and the luatex manual does not share the same definitions for \pdf...?......Page 113
Q: In LuaTeX, how can I escape text that will be inserted in LaTeX?......Page 115
Fonts......Page 117
Q: microtype settings for dummies......Page 118
Q: How to keep a "rare" ligature from interfering with a "common" ligature?......Page 121
Q: Why does it take LuaLaTeX so long to load fonts and can I speed it up?......Page 125
Q: Suppress certain ligatures generally......Page 128
Q: FontAwesome font not found?......Page 130
texlive-fontconfig.conf from TeX Live 2015......Page 133
Q: How do I get a list of all font features supported by current font......Page 135
Q: Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts......Page 140
Q: How to enable ligatures for emdash/endash in LuaTeX ?......Page 146
Q: Specify different fonts for bold and italic with fontspec......Page 151
Q: How do I get a list of all available fonts for luaotfload?......Page 153
Edit for Texlive 2014......Page 154
Edit for TeXlive 2015 / MiKTeX in july 2015......Page 155
Q: Lualatex: Font table with examples......Page 157
Q: How to properly install and use a new font with LuaLaTeX?......Page 160
Edit......Page 164
Q: Conflict between microtype, LuaLaTeX, and otf fonts when typesetting material in small-caps......Page 165
Q: How to set-up LuaTeX, Microtype, with Minion Pro, Myriad Pro......Page 169
Q: LuaLaTeX: use or don't use classical font packages?......Page 172
Q: TeX accents do not seem to work with fontspec and xe/lua/latex......Page 174
Q: Bembo, Bembo Book or Garamond Premier Pro? And how to exploit all their features with LuaLaTex?......Page 176
Q: Can't generate ligatures with LuaLaTeX under MacTeX2014 and MacTeX2015 when using certain fonts......Page 184
Q: How to use OpenType fonts with plain-LuaTeX?......Page 193
Q: Problem while compiling friggeri CV template with: ' fontspec error: "font-not-found"'......Page 195
Q: How does fontspec select fonts "by name"?......Page 197
Q: Reference about "modern" LaTeX usage for scientific works......Page 198
Q: Selecting optical sizes for all fonts in a family......Page 199
Q: Selecting main math font in LuaTeX?......Page 206
Q: Best practice - how can I get my whole document (including math) to only use font X with LuaLaTeX and fontspec?......Page 207
Q: How to find out which glyphs are different in an OpenType style set?......Page 212
Q: Which fonts can be used with *unicode-math* package?......Page 216
Q: How can you check if fontspec (with LuaLaTeX) can load a font?......Page 217
Q: Prevent LuaLaTeX from splitting umlauts......Page 219
Q: How to generate compounded diacritical fonts for Sanskrit with XeTeX and LuaTeX?......Page 222
Q: How do I combine fonts for different scripts?......Page 232
Q: Why does LuaLaTeX produce smaller files than pdfLaTeX in this example?......Page 234
Q: How is a TeX document written when using LuaLaTeX?......Page 236
Q: In LuaTex is it possible to change font/language according to the script/glyphs used?......Page 238
Q: Switching to lualatex: How to translate font setups?......Page 243
Q: Fake bold in LuaLaTeX......Page 248
Q: Can we stop recommending fontspec as first choice in case lualatex is used?......Page 251
Q: Create a font table for all available characters for a particular font......Page 257
Q: Fixing fonts with LuaTeX feature files......Page 259
A little guide to feature files......Page 261
Q: Accent positioning on 'oe' character with feature file in fontspec......Page 268
Q: Replacing greek glyphs in math mode......Page 270
Q: LuaTeX cannot find existing font......Page 275
Q: Sans-serif to go with EB Garamond (no math)?......Page 276
Q: uneven line spacing......Page 279
Q: How can I replace a character (zero)?......Page 284
Q: How to use fakeslant as slanted but not italic font with fontspec?......Page 287
Q: Embedding Type 1C fonts using LuaLaTeX......Page 289
Q: Reduce compilation time for opentype fonts (otf)......Page 290
Q: Measuring the true height of a character......Page 291
Q: LuaTeX with unicode-math, how to get the font id of current math font......Page 294
Q: Select a font via luaotfload on lua side......Page 297
Q: How to get \copyright when mixing T1 fonts and fontspec?......Page 299
Q: Why is etmainfont case sensitive with XelateX but not with LuaLaTeX?......Page 302
Q: Problem with й (\cyrishrt) in LuaLaTeX......Page 304
Q: Why does LuaTeX not generate some fonts automatically, in contrast with TeX?......Page 305
Q: Can one instruct LuaLaTeX to use T2A encoded fonts?......Page 309
Q: First steps with LuaLaTeX and ttf fonts......Page 313
Q: luatex cannot find font metric data......Page 323
Q: Ligatures in (Graphite) TrueType fonts......Page 325
Q: Using \fontsize in XeLaTeX and LuaLaTeX......Page 328
Q: Double quotes with monospaced font and LuaLaTeX......Page 331
Q: Is using \addfontfeatures (much?) less efficient than defining a \newfontface?......Page 333
Q: Command \texteuro unavailable in encoding T1......Page 335
Q: LuaLaTeX sees a font while fc-list doesn't......Page 338
Q: greek accents with TeX Gyre Termes in lualatex and xelatex......Page 340
Q: luaotfload can't find fonts......Page 344
Q: Problems with luaotfload and certain font shapes......Page 346
Q: How can I enter Unicode bold Fraktur math characters with LuaTeX?......Page 349
Q: Luatex and unicode math without unicode-math......Page 351
Q: Use other font in restricted area won't compile......Page 352
Q: Font package in lualatex gives the cm style figure......Page 355
Q: After MiKTeX update: suddenly all fonts (incl. existing path-referenced ttf files) are not found by fontspec / LuaLaTeX anymore......Page 357
Q: Strange output with LuaTeX's fontloader library......Page 358
Q: Fix ligature mapping of obscure old font with LuaLaTeX or XeLaTeX......Page 363
Q: Remove ligature in a font using luaotfload (TeXLive 2016)......Page 364
Q: Linux Libertine Biolinum xelatex and lualatex......Page 365
Q: System-wide feature file in lualatex......Page 367
Q: Font name in LuaTeX's fontspec......Page 369
Q: Font issue on using lualatex with beamer......Page 372
Q: Loading fonts in LuaTeX (plain TeX)......Page 373
Q: Avoid update font name database by luaotfload......Page 374
Q: When using unicode math, the math glyphs disappear......Page 375
Q: Does lualatex embed fonts for compatibility?......Page 379
Q: Changing numbers font features while changing shape......Page 381
Q: Macro to calculate \baselineskip for given font......Page 383
Q: Using Iwona as a math font with lualatex......Page 385
Q: How to use TeX Gyre Pagella in pdflatex for arXiv......Page 387
Q: LuaLaTeX: Font table with examples of font files (not system or TEXMF installed)......Page 388
Q: Can I downsize lua tables generated by luaotfload?......Page 392
Q: LuaLaTeX: german special character ß with `newpxtext`......Page 397
Q: Can I use Wolfram Mathematica fonts in XeTeX / LuaTeX?......Page 400
Q: How to suppress a "Rare" ligature that pre-empts a "Common" ligature for the same character pair?......Page 401
Q: An example of changing kerning of a font in LuaLaTeX......Page 405
Q: Bad interaction between fontspec and some lua code that performs string-related search and replace operations......Page 407
Q: How can I access a specific glyph in LuaLaTeX/Fontspec?......Page 416
Xetex......Page 420
Q: Lualatex (luaotfload) broke after upgrading to Mavericks......Page 421
Q: LuaLaTeX protrusion problem with Negative value......Page 423
Q: How do I change the font size in LuaLaTeX?......Page 429
Q: Towards a \ucshape and \textuc command for uppercase text (XeTeX, LuaTeX)......Page 432
Q: Lualatex : € as a utf8 character is not recognized : why?......Page 438
Q: Kerning and ligatures in TeX without TeX......Page 442
Q: Getting started with Greek and Hebrew in LuaLaTeX......Page 447
Q: fontspec: what does Renderer=Basic do?......Page 449
Q: Is it possible now to use microtype with opentype fonts?......Page 450
Q: using Hoefler Text font under lualatex and MacOSX......Page 451
Q: fontspec throwing error with lualatex - broken?......Page 454
Q: Replacing Unicode non-breakable spaces by normal spaces......Page 457
Q: Check for missing font characters in LuaLaTeX......Page 459
Q: Contextual Substitution with LuaLateX......Page 461
Q: Why does fontspec change the maths accents (and only with lualatex)?......Page 466
Q: fontspec option "Renderer=Basic" - what does it mean?......Page 468
Q: How to typeset a letter or grapheme specimen with alternates?......Page 472
Q: What is the implication of the warning in the fontspec manual with respect to babel and LuaTeX?......Page 479
Q: A Big fancy "Q"......Page 480
Q: LuaLaTeX: Load order fontspec, microtype (breaks hyphenation in bibliography)......Page 482
Q: LuaLaTeX, fontspec and tracking with microtype......Page 484
Q: Modifying fraction macro for in-line text and exponents......Page 485
MWE to illustrate the problem......Page 490
MWE to demonstrate that this problem is specific to Beamer......Page 491
Non-satisfactory workaround......Page 492
Why I do not consider this workaround a satisfactory solution......Page 494
Q: How to have Helvetica or helvet font with lualatex having similar look as with pdflatex?......Page 496
Q: Strange interaction between fontspec, lua and pgfplots......Page 498
Q: Automatically alter letterspacing (intra-word spacing) to avoid loose lines with LuaLaTeX......Page 501
Q: Math digits are in CM with newtxmath and fontspec (LuaLaTeX, TeX Live 2017)......Page 508
Q: LuaLaTeX: option clash for package graphicx when loaded after fontspec......Page 514
Q: xelatex hangs when using fontspec......Page 516
Q: placement of dot-below accent using LuaLaTeX: significant variations depending on text font......Page 517
Q: Is this a bug with fancyvrb, fancyhdr and fontspec?......Page 521
Q: How can I use the Optima font delivered with my Mac in LuaLaTeX?......Page 525
Q: Arithmetic overflow with fontspec and LuaTeX......Page 527
Q: Where does fontspec store newfontfamily name?......Page 529
Q: french: Add \usepackage{fontspec} to the preamble of your document......Page 530
Q: ettowidth in preamble wrong with fontspec+lualatex w/ MWE......Page 533
Q: How to use otf fonts correctly?......Page 534
Q: Using LuaTeX, HSRM beamer theme, fontspec says DANTE font not found. .sty file has no reference to DANTE......Page 537
Q: Why are Accented Capital Letters not well decoded in QRCODE?......Page 538
Q: Circumflex over Numeral with fontspec......Page 544
Q: Differences between LuaTeX, ConTeXt and XeTeX......Page 545
Q: Drawbacks of XeTeX/LuaTeX......Page 548
Q: The ^^ notation in various engines......Page 551
Q: What have been the most important changes to LaTeX in the last five years? (2011–2016)......Page 559
Q: Are XeTeX and LuaTeX platform dependent?......Page 561
Q: What are lccode and uccode used for?......Page 564
Q: Detect which TeX engine is used......Page 567
Q: Considerations when migrating from XeTeX to LuaTeX?......Page 569
Q: Will LaTeX work on any TeX?......Page 570
Q: Combining \ifxetex and \ifluatex with the logical OR operation......Page 572
Q: PDF file size with LuaLaTeX vs XeLaTeX......Page 576
Q: Analog of \pdfelapsedtime for LuaTeX and XeTeX......Page 577
Q: How to use xindy with XeTeX/LuaTeX?......Page 579
Q: What is the latest progress in the realm of TeX?......Page 583
Q: Choosing TeX engine for novel --- just how unstable is LuaTeX?......Page 585
Q: dealing with thin spaces in XeLaTeX and LuaLaTeX......Page 587
Q: Remapping LaTeX symbol to another unicode value......Page 591
Q: Using XeTeX for automatic transliteration of cyrillic letters......Page 592
Q: Accessing side-bearings in LuaTeX......Page 601
Q: Access specific characters in LuaTeX......Page 606
Q: Do XeTeX and LuaTeX always use Unicode?......Page 608
Q: PDF/X-1a on TeX Live 2014 for publishing with POD lightining source......Page 609
Q: Fix message about outdated xelatex......Page 613
Q: British hyphenation with either xelatex or lualatex......Page 615
Q: XeLaTex and TexMaker "cannot-use-pdftex"......Page 617
Q: Can XeLaTeX | LuaTeX import movies?......Page 619
Q: Expex glosses get broken when unicode-math is loaded in XeLaTeX and LuaLaTeX......Page 620
Q: Place TikZ picture over top of text......Page 622
Q: How are non-unicode glyphs referenced in LuaTeX .dvi files?......Page 625
Q: How to write a LaTeX command that could discriminate if it's being called with pdfLaTeX in order to use PSTricks?......Page 627
Q: How does XeLaTeX and LuaLaTeX extend the dvi format?......Page 630
Q: Defining `commands' or `macros' with unicode names......Page 632
Q: List of all post original TeX control commands......Page 634
Q: LuaLaTeX + libertine... the issue of math font......Page 636
Q: Define MakeUppercase list with XeLaTeX/LuaLaTeX......Page 639
Q: Latex command for unfilled \bigstar......Page 641
PdfTeX......Page 643
Q: Frequently loaded packages: Differences between pdfLaTeX and LuaLaTeX......Page 644
Q: Abandon LaTeX2e for LaTeX3 or LuaTeX......Page 647
Q: Highlight every occurrence of a list of words?......Page 651
Q: pgfplot: plotting a large dataset......Page 661
Q: Compile all tex files within a folder at once......Page 664
Q: How to get accented unicode characters that can be copy-pasted?......Page 665
Q: \ifpdf returns true when using LuaLaTeX......Page 668
Q: hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp}......Page 671
Q: Selectively disable dash ligatures in LuaLaTeX......Page 672
Q: Problems with mixing Icelandic and German with LuaLaTex......Page 675
Q: Using \input|texlua... to emulate \directlua in pdfTeX......Page 683
Q: Hyphenation does not work with acro and luatex, but with pdftex......Page 688
Q: Does the lualatex shell enable behavior differ from pdflatex on purpose?......Page 691
Q: How to increase bufsize for lualatex or pdflatex?......Page 693
Q: char to integer cast in latex......Page 694
Q: warning (pdf backend): pop empty color page stack 0......Page 696
Q: What is the right way to input prime with Unicode-math (LuaTeX backend)......Page 699
Q: LuaTeX: Wrong/missing italic correction in TeXLive 2015 vs 2014......Page 704
Q: clash between mathtools and unicode-math......Page 706
Q: Is direct utf8 input of combining diacritics in math mode possible with lualatex?......Page 709
Q: Spacing changes when using unicode-math range feature. Why?......Page 715
Q: How to use unicode-math with beamer and lualatex?......Page 718
Q: pgfplots + unicode-math + lualatex gives the error "kernel/command-already-defined"......Page 721
Q: Less vertical space in frac......Page 723
Q: Invisible math characters with unicode-math and ntheorem......Page 727
Q: Unicode math with amsmath, new error......Page 728
Q: Arrow length in LuaTeX in combination with the unicode-math package......Page 729
Q: How can I change math font with etmathfont inside a group?......Page 732
Q: How can I avoid that a functions argument touches the brackets using unicode-math?......Page 737
OpenType......Page 738
Q: How can I enable italic correction for LuaTeX?......Page 739
Q: lualatex: smallcaps and microtype don't work together......Page 741
Q: OpenType fonts for Metapost Labels......Page 742
Q: Asymptote with lualatex and otf fonts......Page 744
Q: LuaLaTeX OpenType style sets by 4-character style set code......Page 747
Q: Migrating from pdfTeX to LuaTeX: Problems with reproducing output for legacy projects......Page 751
Q: LuaLaTeX and hyperref ate my document (properties). How do I get them back?......Page 755
Q: Write18: LuaTeX has an encoding problem, where XeLaTeX does not......Page 758
Q: How to write infix macro/newcommand?......Page 759
Q: How to insert a specific unicode character (such as the ZWNJ symbol) into the text stream via lua code compiled by Lua(La)TeX?......Page 760
Q: Any suggestions/requests for features for a new package that allows disabling ligatures for (pre)selected words?......Page 761
Q: How to suppress the operation of a luatex-defined macro on a string if the string is part of macro or a label......Page 767
Q: Ligature suppression algorithm fails if the word in question contains an Umlaut (dieresis) before the ligature......Page 776
Q: How do I customize a LuaLaTeX cmap?......Page 778
Q: LuaTeX does not respect brace groups used for disabling ligatures......Page 782
Errors......Page 784
Q: Tex capacity exceeded compiling only 50 lines latex file (pdftex), seg. fault (lualatex)......Page 785
Q: After MiKTeX update when using LuaLaTeX: Package pgf Error: Driver file ``pgfsys-luatex.def'' not found......Page 796
Q: why lualatex gives erorr "Too many open files" but pdflatex does not on same latex file?......Page 797
Q: MiKTeX's LuaLaTeX and minitoc: "I can't write on file ...mtc"......Page 800
Q: How to place a dot below for example: e?......Page 802
Q: Who's at fault with this error concerning csquotes and LuaLaTeX?......Page 803
Q: How to raise a LaTeX warning from within Lua code?......Page 807
Q: How to get csquotes, polyglossia with german and hyperref work together?......Page 810
Q: Outputfile generated on error......Page 814
Q: l3names error in lualatex (\reserveinserts{32})......Page 815
Microtype......Page 820
Q: How to set expansion and protrusion for TeX Gyre Pagella using LuaLaTeX?......Page 821
Q: hanging punctuation with microtype and luaLaTeX......Page 824
Q: How can I fix a problem where italics prevent line breaking when using microtype?......Page 827
Q: Letterspacing titles with LuaLaTeX......Page 829
Macros......Page 832
Q: Lua function to see if a macro is defined or not......Page 833
Q: Solution to 'Multiple PDF generation with one tex file' does not work anymore with TeXLive 2016......Page 836
Q: How to pass a LaTeX argument verbatim to lua?......Page 839
Q: Matrix multiplication (and other operations) macro using lua module......Page 841
Q: Use lualatex to create macros......Page 850
Q: Use luatex to \let command to other......Page 852
Q: luacode and ExplSyntaxOn/Off......Page 854
Q: LuaTeX: How to handle a Lua function that prints TeX macros......Page 856
Q: Why does the ragged2e package screw up my emphasized text and headings?......Page 858
Q: Check all hyphenations within a document......Page 862
Q: Reviewing hyphenations with LuaTeX......Page 863
Q: Ancient Greek hyphenation in LuaLaTeX......Page 865
Q: Why does hyphsubst not work with LuaTeX?......Page 869
Q: How to avoid a linebreak before a comma in Lua(La)TeX?......Page 875
Q: Latin text not hyphenated at all with LuaLaTeX and polyglossia......Page 877
Q: Does polyglossia with LuaLaTeX hyphenate greek text?......Page 880
Q: How to disable hyphenation in lualatex?......Page 882
Q: LuaTeX cyrillic hyphenation problems......Page 893
Q: Redefining the emdash so as to allow hyphenation......Page 895
Q: Who maintains babel now?......Page 896
Q: How to fix this interaction bug between pgfplots and babel-french module?......Page 897
Q: How to get LuaLaTeX to work with babel's \textgreek?......Page 899
Q: Chinese, Russian and English (and Arabic, and Thai, if possible) in LuaLaTeX......Page 901
Q: Russian in document with Japanese as main language (LuaLaTeX + ltjsarticle)......Page 906
Tikz Pgf......Page 914
Q: \tikzexternalize doesn't work with lua code......Page 915
Q: \pgfmathdeclarefunction and LuaLaTeX......Page 917
Q: Lua code with Tikz......Page 919
Q: Why can I include tikz in a custom latex format with pdftex and not with luatex?......Page 922
Q: Passing options to a macro......Page 925
Q: LuaTeX and graphics......Page 927
Q: Using tikz/pgf and gnuplot with lualatex......Page 928
Q: Symbols for left and right limits......Page 930
Q: lualatex-luatextra math mode issue......Page 931
MiKTeX......Page 934
Q: How do I use LuaTex in MikTeX?......Page 935
Q: Is it possible to pass options to mpost.exe using luamplib?......Page 936
Q: LuaTeX stumbles over special characters in path names, is this a bug?......Page 938
Q: How to run latexmk with LuaTeX on Windows?......Page 939
ConTeXt......Page 940
Q: Concerns on Switching to Plain LuaTeX or ConTeXt Mark IV......Page 942
Q: How to debug METAPOST inlined in ConTeXt? (Or "message" primitive and "loggingall;" in inlined METAPOST)......Page 946
Q: How to put signature number in footer (derived from page number)?......Page 948
Q: Write unit tests for Lua in ConTeXt......Page 951
Q: Replacing matching text with a macro containing information from a CSV file......Page 954
Q: How to make a font book in context/texlua?......Page 957
Q: Difference between setting parindent and hangindent......Page 960
Q: How to display only certain lines of a paragraph?......Page 963
Q: Namespace in luatex......Page 972
Q: How to not have widows and orphans without using raggedbottom......Page 973
Symbols......Page 976
Q: How to pick a specific symbol from a specific font?......Page 977
Q: Printing backslash from a luacode* environment......Page 978
Polyglossia......Page 980
Q: Changing language back and forth with polyglossia......Page 981
Q: Macro definition not working when using LuaLaTeX and polyglossia (with ` etmainlanguage{german}`)......Page 983
Q: How should I have found out that LuaTeX removed \write18?......Page 988
Q: gnuplottex and lualatex......Page 992
Q: Using macros in \DeclareGraphicsRule statement using shell command......Page 995
Q: LuaLaTeX:PGFplots can't read data passed by Lua......Page 997
Q: Is lualatex supposed to be a superset of pdflatex? (regarding production of PDF)......Page 1002
Q: When does a glue node have type `xspaceskip` in LuaTeX?......Page 1006
MetaPost......Page 1010
Q: Why won't this Metapost while loop terminate?......Page 1011
Q: btex and etex in luamplib labels......Page 1016
Q: How to use mplib directly from lua?......Page 1018
Q: Replacement(s) for TeX's paragraph builder using LuaTeX......Page 1020
Q: Why do user-defined whatsit nodes affect LuaTeX pagebreaking?......Page 1021
Answers......Page 1023
Q: Paragraph callback to help with widows/orphans hand tuning......Page 1028
Q: In LuaTeX, what is the ``identity'' linebreak_filter? (Or: how can we use `tex.linebreak` to match the default line-breaking algorithm?)......Page 1039
Q: LuaLaTeX, TeXLive 2016, standalone: undefined control sequence......Page 1042
Q: datetime package does not work with lualatex in TL 2016......Page 1044
Q: Error with tex4ht under TL 2016 when using lua. String contains an invalid utf-8 sequence......Page 1048
Q: lualatex texlive 2016 tcolorbox......Page 1051
Q: Error using pdfpages and lualatex......Page 1058
Beamer......Page 1059
Q: pdfx, beamer and lua(la)tex: is it possible?......Page 1060
Q: LaTeX3 versus pure Lua......Page 1062
Q: How to access the last line of a paragraph with LuaTeX......Page 1070
Q: Can luaLaTeX convert xlsx tables into LaTeX code?......Page 1077
Q: How can one get a list of the available functions in Lua(La)TeX......Page 1078
LaTeX3......Page 1079
Q: Why do I need Lua or LaTeX3 in a plain old technical document?......Page 1080
Q: Will LaTeX3 have proper support for hooks? Does LuaTeX?......Page 1081
Q: hyperref, lualatex and unicode bookmarks issue (garbled page numbers in AR for Linux)......Page 1084
Q: Possible LuaLaTeX Problem (compilation seems to hang)......Page 1086
Q: How does one retrieve \rpcode values in LuaTeX?......Page 1092
Q: Can LuaTeX change the PAGE-breaking algorithm......Page 1094
2. Assumption......Page 1096
Context Mkiv......Page 1097
Q: Escape a string printed from Lua using ConTeXt......Page 1098
Q: How can I list fonts available to LuaTeX in ConTeXt (TeX Live 2013)?......Page 1100
Q: Hiring someone to help me with LaTeX for my PhD thesis......Page 1102
Q: how to get lualatexmk to run in \nonstopmode......Page 1105
Q: How to set the interactive editor in TeXLive? lualatex bug?......Page 1107
Q: How can I dump Lua code to a format file?......Page 1109
Q: LuaTeX 0.85 \pdf* primitive changes and format file generation......Page 1111
Q: Good lua code in .tex doesn't work in .sty?......Page 1117
Windows......Page 1119
Q: Is it possible to run LuaTeX from a USB flash drive......Page 1120
Q: Precompiled header in Lualatex on Windows?......Page 1121
Conditionals......Page 1122
Q: Check if LuaTeX is running......Page 1123
Q: Testing for TeX boolean in Lua code......Page 1124
Graphics......Page 1125
Q: Ploting a function using mplib in lualatex......Page 1126
Q: How to handle verbatim material in LuaLaTeX?......Page 1134
Q: show content of token register as a string in the document......Page 1139
Q: Is there latexmk functionality for LuaTeX?......Page 1143
Q: Specify timezone for \today and \currenttime......Page 1144
Q: Value of LuaTeX's \mathstyle in \frac (de)nominator......Page 1146
Q: write the content of an hbox in an auxilary file......Page 1149
Q: How to get box dimensions within lualatex......Page 1151
TeX4ht......Page 1153
Q: text4ht and LuaTeX......Page 1154
Q: tex4ht corrupts "--" inside CDATA in the HTML file......Page 1156
Q: What happened to \luatextextdir?......Page 1163
Q: Typesetting arabic with LuaLaTeX......Page 1164
Q: Is there a limit to the size of a tex-file?......Page 1166
Tcolorbox......Page 1168
Q: Possible Lualatex problem with documentation library from tcolorbox......Page 1169
Q: TeX Live 2016: minted doesn't work with LuaLaTeX (bug fixed in June 2016)......Page 1170
Q: How to use luatex callbacks to generate a verbatim copy of the input file......Page 1177
Q: Footnote numbers in index (e.g., 23n3)......Page 1181
Q: Convert color name to pdfliteral code......Page 1186
Listings......Page 1187
Q: error with LuaLaTeX, lstinputlisting and an extension-less file......Page 1188
Q: Installing Lua Modules for use in LuaLaTeX - the sequel......Page 1189
Q: Updating to Beta Builds of ConTeXt / LuaTeX from tlcontrib breaks MacTeX......Page 1191
Q: Which is the best editor for LuaTeX?......Page 1196
Biblatex......Page 1200
Q: Engines of Tex-Editors and Biber/Biblatex......Page 1203
Q: \lastnodetype not working as expected in luaTeX......Page 1205
Q: Parsing files through LuaTeX......Page 1211
Catcodes......Page 1214
Q: cantokens in LuaTeX......Page 1215
Q: Automatically fixing catcode output......Page 1216
Q: Convert numbered pinyin to pinyin with tone marks......Page 1220
Terminal Output......Page 1227
Q: Accessing to .log messages from LuaTeX. Is it possible?......Page 1228
Q: ^^M garbles my terminal output......Page 1231
Letterspacing......Page 1233
Q: How to letter space (German) abbreviations automatically......Page 1234
Q: LuaTeX hpack_filter callback not triggering on certain hlist creations......Page 1246
Q: How to use LuaTeX `append_to_vlist_filter` callback......Page 1247
Texdoc......Page 1249
Q: Why does texdoc call luatex......Page 1250
Header Footer......Page 1252
Q: How can I achieve dictionary headers for two page spreads in LaTeX......Page 1253
Q: LaTexing vs LaTexTools (Sublime text plugins)......Page 1259
Q: Lualatex and a5 paper format......Page 1262
Q: Compound representation of numbers. Possible?......Page 1263
Scripts......Page 1269
Q: What are the advantages of Lua over other scripting languages for a TeX implementation?......Page 1270
Q: LuaLaTeX: Calculate length in Lua......Page 1273
AUCTeX......Page 1275
Q: AUCTeX changes name of pdf file when compiling with LuaTeX......Page 1276
Q: Extract data from excel file with lualatex......Page 1277
Q: Obtain a TikZ tree from a Lua table/string......Page 1280
Q: LuaLaTeX and \pdfminorversion......Page 1284
Q: How do you configure Texmaker to use LuaTeX?......Page 1286
Q: pdfcrop using luatex engine minimal setup......Page 1288
Typein......Page 1291
Q: incompatibilities between LuaLaTeX and \typein ?......Page 1292
Q: Lua reimplementations of PGF math?......Page 1293
Forward Inverse Search......Page 1295
Q: When is Synctex file written?......Page 1296
Q: How to use ocg-p with LuaLaTeX (TeXlive 2015)?......Page 1299
Q: Getting lilyglyphs working in LuaTeX......Page 1303
Q: etextools throws error when run with LuaLaTex......Page 1306
Q: LuaTeX analogue of \ifcsname for active characters......Page 1308
Q: How can I use cbgreek with lualatex?......Page 1311
Copyright......Page 1312