diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-23 00:16:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-23 00:16:18 +0000 |
commit | a6f953f4816835c3e6460c8623361f6cc7978ee5 (patch) | |
tree | bebd23f3118698497ca50f1ac3b6f7fcbc49ac4e /Master/texmf-dist/doc/luatex | |
parent | b3e52d29b04fed8c4f0a8695fbca2b113a36d4ad (diff) |
new luatex package luatextra
git-svn-id: svn://tug.org/texlive/trunk@13902 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatextra/README | 76 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatextra/luaextra.pdf | bin | 0 -> 91521 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatextra/luamcallbacks-test.tex | 45 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatextra/luamcallbacks.pdf | bin | 0 -> 100964 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatextra/luatextra-reference.pdf | bin | 0 -> 104317 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatextra/luatextra.pdf | bin | 0 -> 141658 bytes |
6 files changed, 121 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luatextra/README b/Master/texmf-dist/doc/luatex/luatextra/README new file mode 100644 index 00000000000..416e28d930c --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatextra/README @@ -0,0 +1,76 @@ + The luatextra generic bundle + + +LuaTeXtra is a collection of three coherent packages: + +luatextra provides low-level functions for LuaTeX use with LaTeX and Plain, for +instance the macro \newluaattribute. It also provides a way to use and register +new lua modules, inspired by the LaTeX packages system. + +luamcallback provides a way to register several functions in a LuaTeX callback. + +luaextra provides extra lua functions useful for package development. + +These packages are really necessary if you want to take advantage of the new +LuaTeX functions in a safe way. + +Note that this package automatically loads luaotfload. + +Please see the luatextra-reference.pdf documentation for more details. + +This package is developped on <http://github.com/eroux/lualatex/tree/master>. + + +Installation +------------ + +Here are the recommended installation methods (preferred first). + +1. If you are using TeX Live 2008 or later, use 'tlmgr install luatextra'. +Alternatively, try your (TeX or Linux) distribution's package management system. + +2. a. Grab luatextra.tds.zip on the CTAN. + b. Unzip it at the root of one or your TDS trees. + c. You may need to update some filename database after this, see your TeX +distribution's manual for details. + +3. a. Grab the sources from CTAN or github. + b. Run 'make install TEXMF=/path/to/texmf'. + c. See 2c. + +4. Try to figure it out by looking at the Makefile and comments in the sources. + + +Manifest +-------- + +Source files: + luaextra.dtx + luamcallbacks.dtx + luatextra.dtx + luatextra-reference.tex + +Derived files: + luatextra-reference.pdf introduction to luatextra packages + luaextra.pdf + luamcallbacks.pdf + luatextra.pdf + luamcallbacks-test.tex + luaextra.lua + luamcallbacks.lua + luatextra-latex.tex + luatextra.lua + luatextra.sty + +License +------- + +This work and the derived files are under the Creative Commons CC0 license. + +See the full text at + +http://creativecommons.org/publicdomain/zero/1.0/legalcode + +and a FAQ at + +http://wiki.creativecommons.org/CC0 diff --git a/Master/texmf-dist/doc/luatex/luatextra/luaextra.pdf b/Master/texmf-dist/doc/luatex/luatextra/luaextra.pdf Binary files differnew file mode 100644 index 00000000000..617a9f2686f --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatextra/luaextra.pdf diff --git a/Master/texmf-dist/doc/luatex/luatextra/luamcallbacks-test.tex b/Master/texmf-dist/doc/luatex/luatextra/luamcallbacks-test.tex new file mode 100644 index 00000000000..0ca669b26c5 --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatextra/luamcallbacks-test.tex @@ -0,0 +1,45 @@ +%% +%% This is file `luamcallbacks-test.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% luamcallbacks.dtx (with options: `test') +%% This is a generated file. +%% +%% Copyright (C) 2009 by Elie Roux <elie.roux@telecom-bretagne.eu> +%% +%% This work is under the CC0 license. +%% +%% This work consists of the main source file luamcallbacks.dtx +%% and the derived files +%% luamcallbacks.lua, luamcallbacks-test.tex, luamcallbacks.pdf. +%% +\input luatextra.sty + +This is just a test file. +\luadirect{ +local function one(head,...) + texio.write_nl("I'm number 1") + return head, true +end + +local function two(head,...) + texio.write_nl("I'm number 2") + return head, true +end + +local function three(head,...) + texio.write_nl("I'm number 3") + return head, true +end +callback.add("hpack_filter",one,"my example function one",1) +callback.add("hpack_filter",two,"my example function two",2) +callback.add("hpack_filter",three,"my example function three",1) +callback.remove("hpack_filter","my example function three") +} + +\bye +\endinput +%% +%% End of file `luamcallbacks-test.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatextra/luamcallbacks.pdf b/Master/texmf-dist/doc/luatex/luatextra/luamcallbacks.pdf Binary files differnew file mode 100644 index 00000000000..e8722725147 --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatextra/luamcallbacks.pdf diff --git a/Master/texmf-dist/doc/luatex/luatextra/luatextra-reference.pdf b/Master/texmf-dist/doc/luatex/luatextra/luatextra-reference.pdf Binary files differnew file mode 100644 index 00000000000..fc32d8d87d6 --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatextra/luatextra-reference.pdf diff --git a/Master/texmf-dist/doc/luatex/luatextra/luatextra.pdf b/Master/texmf-dist/doc/luatex/luatextra/luatextra.pdf Binary files differnew file mode 100644 index 00000000000..8077deb1dd6 --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatextra/luatextra.pdf |