Difference between revisions of "Main Page"
From LuaTeXWiki
(Added link to process_input_buffer.) |
(Added link to show_error_hook.) |
||
Line 22: | Line 22: | ||
* [[Show the hyphenation points]] does what it says; it is also an example of use of the <tt>post_linebreak_filter</tt>. | * [[Show the hyphenation points]] does what it says; it is also an example of use of the <tt>post_linebreak_filter</tt>. | ||
* The page on [[process input buffer|the <tt>process_input_buffer</tt> callback]] illustrates how to read documents with non-UTF-8 encoding, and how to write TeX with lightweight markup instead of the usual commands. | * The page on [[process input buffer|the <tt>process_input_buffer</tt> callback]] illustrates how to read documents with non-UTF-8 encoding, and how to write TeX with lightweight markup instead of the usual commands. | ||
+ | * Another callback is [[show error hook]], which lets you enliven your error messages! | ||
== From the old bluwiki.com == | == From the old bluwiki.com == |
Revision as of 11:26, 8 May 2011
Welcome to the LuaTeX wiki
This is a wiki for LuaTeX, a typesetting engine derived from TeX that includes Lua as an embedded scripting language.
See all the articles or the recent changes.
Getting help
- There are two mailing lists related to LuaTeX, one for general discussions and questions about LuaTeX ("luatex users") and one more related to the development of LuaTeX ("dev-luatex")
- There is also a LuaLaTeX (LaTeX with LuaTeX) mailing list.
- tex.stackexchange.com is a q&a site for questions related to TeX, and you can ask (and answer) LuaTeX related questions there.
- The online reference manual (pdf) describes every aspect of LuaTeX, but is rather technical and concise. There also exists a short reference (pdf).
Some articles
- Writing Lua in TeX explains how to write Lua code in a TeX document (and back).
- Callbacks introduces callbacks and how to use them.
- Show the hyphenation points does what it says; it is also an example of use of the post_linebreak_filter.
- The page on the process_input_buffer callback illustrates how to read documents with non-UTF-8 encoding, and how to write TeX with lightweight markup instead of the usual commands.
- Another callback is show error hook, which lets you enliven your error messages!
From the old bluwiki.com
(Mostly by and thanks to Yannis Haralambous)
- An example of code traversing TeX nodes before an horizontal list goes through the line breaking engine;
- An example of code traversing tokens just before execution or expansion;
- you want to explore the table obtained from a TrueType font, loaded by font.read_ttf;
- you want to explore the internal font table of a pre-loaded font or of a font you have loaded by \font and then used for at least one glyph;
- how to use a TrueType font without going through a TFM or a OFM file;
- how to do kinsoku (Japanese and more generally CJK typesetting);
- you want a newline in your log file or on the terminal? add \string\n to your string;
- you want to sort a token list;
- you want to split a comma-separated list;
- you want to encrypt your document using ROT13;
- you want to typeset non-TeX files by converting them using Lua code;
- example code to mirror characters with Bidi_Mirrored property;
- using mplib to write metapost with LuaTeX