From 79239bc6a14e7f5723e2027696b349d1f8cc11c9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 Oct 2015 22:00:41 +0000 Subject: luatexbase (1oct15) git-svn-id: svn://tug.org/texlive/trunk@38513 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/luatex/luatexbase/NEWS | 158 --------------------- Master/texmf-dist/doc/luatex/luatexbase/README | 43 ------ Master/texmf-dist/doc/luatex/luatexbase/README.md | 7 + Master/texmf-dist/doc/luatex/luatexbase/TODO | 50 ------- .../doc/luatex/luatexbase/luatexbase-attr.pdf | Bin 473100 -> 0 bytes .../doc/luatex/luatexbase/luatexbase-cctb.pdf | Bin 500530 -> 0 bytes .../doc/luatex/luatexbase/luatexbase-compat.pdf | Bin 497806 -> 0 bytes .../doc/luatex/luatexbase/luatexbase-loader.pdf | Bin 444808 -> 0 bytes .../doc/luatex/luatexbase/luatexbase-mcb.pdf | Bin 514508 -> 0 bytes .../doc/luatex/luatexbase/luatexbase-modutils.pdf | Bin 494422 -> 0 bytes .../doc/luatex/luatexbase/luatexbase-regs.pdf | Bin 487141 -> 0 bytes .../doc/luatex/luatexbase/luatexbase.pdf | Bin 412487 -> 261642 bytes .../doc/luatex/luatexbase/test-attr-latex.tex | 30 ---- .../doc/luatex/luatexbase/test-attr-plain.tex | 30 ---- .../doc/luatex/luatexbase/test-base-latex.tex | 15 -- .../doc/luatex/luatexbase/test-base-plain.tex | 15 -- .../doc/luatex/luatexbase/test-cctb-latex.tex | 50 ------- .../doc/luatex/luatexbase/test-cctb-plain.tex | 49 ------- .../doc/luatex/luatexbase/test-compat-latex.tex | 21 --- .../doc/luatex/luatexbase/test-compat-plain.tex | 21 --- .../doc/luatex/luatexbase/test-loader-latex.tex | 18 --- .../doc/luatex/luatexbase/test-loader-plain.tex | 18 --- .../doc/luatex/luatexbase/test-loader.lua | 13 -- .../doc/luatex/luatexbase/test-loader.sub.lua | 13 -- .../doc/luatex/luatexbase/test-mcb-aux.tex | 1 - .../doc/luatex/luatexbase/test-mcb-latex.tex | 48 ------- .../doc/luatex/luatexbase/test-mcb-plain.tex | 47 ------ .../texmf-dist/doc/luatex/luatexbase/test-mcb.lua | 129 ----------------- .../doc/luatex/luatexbase/test-modutils-latex.tex | 17 --- .../doc/luatex/luatexbase/test-modutils-plain.tex | 17 --- .../doc/luatex/luatexbase/test-modutils.lua | 35 ----- .../doc/luatex/luatexbase/test-regs-latex.tex | 54 ------- .../doc/luatex/luatexbase/test-regs-plain.tex | 54 ------- 33 files changed, 7 insertions(+), 946 deletions(-) delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/NEWS delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/README create mode 100644 Master/texmf-dist/doc/luatex/luatexbase/README.md delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/TODO delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-attr.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-cctb.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-compat.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-loader.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-mcb.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-modutils.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/luatexbase-regs.pdf delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-attr-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-attr-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-base-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-base-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-cctb-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-cctb-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-compat-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-loader-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-loader-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-loader.lua delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-loader.sub.lua delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-mcb-aux.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-mcb-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-mcb-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-mcb.lua delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-modutils-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-modutils-plain.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-modutils.lua delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-regs-latex.tex delete mode 100644 Master/texmf-dist/doc/luatex/luatexbase/test-regs-plain.tex (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/luatex/luatexbase/NEWS b/Master/texmf-dist/doc/luatex/luatexbase/NEWS deleted file mode 100644 index 311ed94f9dd..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/NEWS +++ /dev/null @@ -1,158 +0,0 @@ - Changes in the luatexbase package/bundle - -2013/05/11 v0.6 - all - - move away from the module() function (deprecated in Lua 5.2) - - attr, loader and cctb now use provides_module - attr - - hack to make luatexbase and luatex.sty compatible for attribute - allocation (same thing should be done for catcodetables) - - adding user-defined whatsit node allocation functions (see doc) - modutils - - adding functions to check the availability and version of a module - - fixing small error in module date requirement - - update documentation to reflect the move from module() - loader - - do not output included file paths when called by texlua - mcb - - passing most of the term output to the log - -2013/04/13 v0.5 - all - - input luatex.sty before doing anything, as luatex.sty - breaks if loaded after luatexbase - mcb and loader - - compatibility with Lua 5.2 (LuaTeX >= 0.74) - loader - - fix an important bug making the kpse lua loader never used, - it should make package searching a bit faster. - - dropping support for LuaTeX < 0.45. - - small improvement to make x.y.lua look for x/y.lua, not - x/y/lua. - modutils - - fixing a bug printing "luatexbase-attr" in all documents - in plain TeX - -2011/05/24 v0.4 - cctb - - implement catcode table stacks à la luatex.sty - - fix \CatcodeTableLaTeX(Package): 10 (newline aka ^^J) was catcoded - 15 instead of 12 - - rename \setcatcoderange to \SetCatcodeRange (the old name remains - for compatibility but will be removed in the next version) - luatex 0.5 - - new package replacing luatex.sty from the oberdiek bundle - (see luatex.pdf for details) - -2011/05/21 v0.31 - attr - - Bugfix: \unsetluatexattribute didn't work (reported by Dohyun Kim) - -2010/10/10 v0.3 - [BI] marks backward-incompatible changes - all not using LuaTeX results in an error (formerly a warning) - modutils - - [BI] \luatexUseModule and \luatexRequireModule replaced by - \RequireLuaModule with a unified syntax. - - [BI] luatexbase.use_module removed (use luatexbase.require_module with - a single argument instead). - - [BI] luatexbase.module_term removed. - - [BI] removed support for version check using a floating point - number, only date is supported now. - - module_{error,warning,info,log} now apply string.format - automatically - - date, version and description are now optional. - - improved formatting of messages. - - luatexbase.require_module now returns curstom err/war/inf functions. - mcb - - [BI] rationalise "list"-type callbacks handling. The new calling - convention differs from the old one only in edge cases. - - add user documentation - - misc code tuning (more locals, etc) - -2010/10/04 - - various documentation updates/fixes uploaded to CTAN - - luatexbase.sty used to be broken on CTAN (bad docstrip) - -2010/05/27 v0.2a - attr - - allocate from 1 to avoid problems with some external code - - provide a Lua interface: new_attribute() and unset_attribute(). - modutils - - fix bug with module require_module()-ed many times. - luatexbase - - new, loads: compat,loader,regs,attr,cctb. - -[BI] Summary of backwards-incompatible interface changes between 0.1 and 0.2: - - Lua objects are now in table luatexbase, not luatextra. - - Lua tables tex.attributenumber and tex.catcodetablenumber are not - created any more, use their couterparts in luatexbase. - - \luatexsetcatcoderange has been renamed to \setcatcoderange. - - luamcallbacks has been renamed; Lua objects are now in luatexbase, - no more in callback.* or luamcallbacks.* - - module error/warning etc now apply string.format to the arguments. - -2010/05/12 v0.2 - all - - use luatexbase as the Lua module name - - change the filename of the lua module (suppress luatexbase.) - - load luatexbase-compat - luatexbase-compat - - new - luatexbase-attr - - don't create tex.attributenumber - - load luatexbase-compat - luatexbase-cctb - - don't create tex.catcodetablenumber - - rename \luatexsetcatcoderange to \setcatcoderange - - load lua-compat - luamcallbacks -> luatexbase-mcb - - rename package, new version numbering starting at 0.2 - - functions are now in luatexbase rather than luamcallbacks, they - are no more copied to callbacks either - - lua objects are now local (except for the public interface) - - test file now for plain and latex - luatexbase-loader - - require"foo.bar" now looks for foo/bar then foo.bar, see doc for - details - - better cooperation with the original package loader - - works with luatex 0.25.4 - luatexbase-modutils - - module error/warning etc now apply string.format to the arguments. - - use error() instead of \errmessage. - -2010/03/28 - luatexbase-* - - add catcode defenses - -2010/03/27 - luatexbase-loader 0.1 - - add very minimal test files for luatex and lualatex - luatexbase-modutils 0.1 - - add minimal test files for luatex and lualatex - - use require() (with luatexbase-loader) for loading - luatexbase-attr, luatexbase-cctb, luamcallbacks (test file) - - use luatexbase-loader - -2010/03/26 - luatexbase-cctb 0.1 - - add minimal test files for luatex and lualatex - - fix allocation range (1->65535) - - make sure newly allocated tables are initialised - - fix sensitivity to the current value of \escapechar - - new macro \setluatexcatcodetable - -2010/03/11 - luatexbase-attrs 0.1 - - add minimal test files for luatex and lualatex - - make sure newly allocated attributes are unset - - fix sensitivity to the current value of \escapechar - -2010/01/21 - luatexbase-regs 0.1 - - add test files for luatex and lualatex - - extend registers with Plain-based format too - - fix \box and \marks allocation (\mathchardef -> \chardef) - - fix \*blk macros (\mathchardef -> \chardef) - -Version 0 of the bundle is part of the 2010/01/12 version of luatextra. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/README b/Master/texmf-dist/doc/luatex/luatexbase/README deleted file mode 100644 index cb3c8bacdca..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/README +++ /dev/null @@ -1,43 +0,0 @@ - The luatexbase generic package for LuaTeX - - -This package provides resource management for the LuaTeX macro programmer. -It is composed of the following sub-packages, which can be used independantly -if desired: - -– luatexbase-compat: compatibility helpers; -– luatexbase-loader: Lua module loading; -– luatexbase-regs: allocation of registers and the like; -– luatexbase-attr: attribute and whatsit node allocation; -– luatexbase-cctb: catcode table allocation; -– luatexbase-modutils: Lua module declaration; and -– luatexbase-mcb: callbacks extensions. - -The development takes place on https://github.com/lualatex/luatexbase. - - -Installation ------------- - -Here are the recommended installation methods (preferred first). - -1. If you are using TeX Live 2010 or later, use 'tlmgr install luatexbase'. - If your are using MiKTeX, use the MiKTeX Package Manager. - Alternatively, try you Linux distribution's package management system. - -2. a. Grab the sources from CTAN or github. - b. Run 'make install TEXMFROOT=/path/to/texmf'. - (Warning: 'make install' without giving a TEXMFROOT will - put files in './texmf', which is probably not what you want.) - c. See 2c. - - -License -------- - -This work and the derived files are under the Creative Commons CC0 license, -which is as close to public domain as possible in the country of the authors. -See the full text [1] or the FAQ [2]. - -[1]: http://creativecommons.org/publicdomain/zero/1.0/legalcode -[2]: http://wiki.creativecommons.org/CC0 diff --git a/Master/texmf-dist/doc/luatex/luatexbase/README.md b/Master/texmf-dist/doc/luatex/luatexbase/README.md new file mode 100644 index 00000000000..bbcb8d46543 --- /dev/null +++ b/Master/texmf-dist/doc/luatex/luatexbase/README.md @@ -0,0 +1,7 @@ +The LaTeX kernel (LaTeX2e 2015/10/01 onward) builds in support for +LuaTeX functionality, also available as `ltluatex.tex` for users for +users of plain TeX and those with older LaTeX kernel implementations. +This support is based on ideas taken from the original `luatexbase` +package, but there are interface differences. This 'stub' package +provides a compatibility layer to allow existing packages to upgrade +smoothly to the new support structure. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/TODO b/Master/texmf-dist/doc/luatex/luatexbase/TODO deleted file mode 100644 index 1f368269f32..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/TODO +++ /dev/null @@ -1,50 +0,0 @@ -Next actions ------------- - -- Coordinate release with Heiko (luatex-loader?) - -all ---- - -- use infwarerr -- use ltxcmds? -- \lltxb as a prefix means nothing -- regression checks on the results of the tests (sed+diff the log) - or generalise use of qstest -- add debug messages to be used in the test suite? -- mark all occurences of version-dependent stuff in the code -- support the syntax foo = require"foo" in modutils? How? - -compat ------- - -- import some error checking from Heiko's \LuT@MakeLuatexPrimitive? - -modutils --------- - -- make `\listfiles` show Lua modules? or provide \listluafiles for that - -cctb ----- - -- support for unicode-letters? -- make the functions compatible with luatex.sty - -mcb ---- - -- add an analogue of `callback.find()`, see #4 -- revise priority system: use real numbers and don't change them -- provide a list()? -- allow temporary disabling of callbacks -- do something with open_read_file etc -- make callback.register = luatexbase_add_to_callback? -- check if there are functions in the callbacks before luatexbase is loaded - and import them - -bytecode registers ------------------- - -- create submodule for that (really? is it useful at all?) -- only lua interface, most probably diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-attr.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-attr.pdf deleted file mode 100644 index 1652ce46df6..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-attr.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-cctb.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-cctb.pdf deleted file mode 100644 index 580675eaa7a..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-cctb.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-compat.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-compat.pdf deleted file mode 100644 index ed69d0ad92a..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-compat.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-loader.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-loader.pdf deleted file mode 100644 index e1a32480b42..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-loader.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-mcb.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-mcb.pdf deleted file mode 100644 index 2013298330f..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-mcb.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-modutils.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-modutils.pdf deleted file mode 100644 index 70f80dd3ec4..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-modutils.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-regs.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-regs.pdf deleted file mode 100644 index 95ed519e71d..00000000000 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase-regs.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase.pdf b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase.pdf index 5393aecd59e..bec42aeb82a 100644 Binary files a/Master/texmf-dist/doc/luatex/luatexbase/luatexbase.pdf and b/Master/texmf-dist/doc/luatex/luatexbase/luatexbase.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-attr-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-attr-latex.tex deleted file mode 100644 index 4904a085974..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-attr-latex.tex +++ /dev/null @@ -1,30 +0,0 @@ -%% -%% This is file `test-attr-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-attr.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase-attr} -\newluatexattribute\testattr -\setluatexattribute\testattr{1} -\ifnum\testattr=1 \else \ERROR \fi -\unsetluatexattribute\testattr -\ifnum\testattr<0 \else \ERROR \fi -\catcode64 11 -\luatexbase@directlua{assert(luatexbase.attributes.testattr)} -\luatexbase@directlua{luatexbase.new_attribute('luatestattr')} -\luatexbase@directlua{assert(luatexbase.attributes.luatestattr)} -\begingroup -\escapechar64 -\newluatexattribute\anotherattr -\endgroup -\setluatexattribute\anotherattr{1} -\luatexbase@directlua{assert(luatexbase.attributes.anotherattr)} -\stop -\endinput -%% -%% End of file `test-attr-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-attr-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-attr-plain.tex deleted file mode 100644 index 5d8d2026929..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-attr-plain.tex +++ /dev/null @@ -1,30 +0,0 @@ -%% -%% This is file `test-attr-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-attr.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase-attr.sty -\newluatexattribute\testattr -\setluatexattribute\testattr{1} -\ifnum\testattr=1 \else \ERROR \fi -\unsetluatexattribute\testattr -\ifnum\testattr<0 \else \ERROR \fi -\catcode64 11 -\luatexbase@directlua{assert(luatexbase.attributes.testattr)} -\luatexbase@directlua{luatexbase.new_attribute('luatestattr')} -\luatexbase@directlua{assert(luatexbase.attributes.luatestattr)} -\begingroup -\escapechar64 -\newluatexattribute\anotherattr -\endgroup -\setluatexattribute\anotherattr{1} -\luatexbase@directlua{assert(luatexbase.attributes.anotherattr)} -\bye -\endinput -%% -%% End of file `test-attr-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-base-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-base-latex.tex deleted file mode 100644 index f543bb11ab4..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-base-latex.tex +++ /dev/null @@ -1,15 +0,0 @@ -%% -%% This is file `test-base-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase} -\stop -\endinput -%% -%% End of file `test-base-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-base-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-base-plain.tex deleted file mode 100644 index 5167d5b00e4..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-base-plain.tex +++ /dev/null @@ -1,15 +0,0 @@ -%% -%% This is file `test-base-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase.sty -\bye -\endinput -%% -%% End of file `test-base-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-cctb-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-cctb-latex.tex deleted file mode 100644 index da360ddb585..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-cctb-latex.tex +++ /dev/null @@ -1,50 +0,0 @@ -%% -%% This is file `test-cctb-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-cctb.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\catcode00 15 -\RequirePackage{luatexbase-cctb} -\begingroup \catcode64 11 \global\let\lua\luatexbase@directlua \endgroup - -\newluatexcatcodetable\testcctb -\lua{assert(luatexbase.catcodetables.testcctb)} -\begingroup -\escapechar64 -\newluatexcatcodetable\anothercctb -\endgroup -\lua{assert(luatexbase.catcodetables.anothercctb)} -\def\test#1#2#3{% - \begingroup - \ifcsname CatcodeTable#1\endcsname \else \INTERR \fi - \luatexcatcodetable\csname CatcodeTable#1\endcsname - \ifnum\catcode#2=#3 \else \ERROR \fi - \endgroup} -\test {IniTeX} {00} {09} -\test {IniTeX} {92} {00} -\test {IniTeX} {64} {12} -\test {IniTeX} {65} {11} -\test {String} {92} {12} -\test {String} {65} {12} -\test {String} {32} {10} -\test {Other} {92} {12} -\test {Other} {65} {12} -\test {Other} {32} {12} -\test {LaTeXAtLetter} {64} {11} -\test {LaTeX} {64} {12} -\test {Expl} {32} {09} -\documentclass{minimal} -\lua{% - tex.sprint('\string\\setbox0=\string\\hbox{') - tex.sprint(luatexbase.catcodetables.string, "\string\\undef # _^&") - tex.sprint('}') - } -\stop -\endinput -%% -%% End of file `test-cctb-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-cctb-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-cctb-plain.tex deleted file mode 100644 index ae37b2a0425..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-cctb-plain.tex +++ /dev/null @@ -1,49 +0,0 @@ -%% -%% This is file `test-cctb-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-cctb.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\catcode00 15 -\input luatexbase-cctb.sty -\begingroup \catcode64 11 \global\let\lua\luatexbase@directlua \endgroup - -\newluatexcatcodetable\testcctb -\lua{assert(luatexbase.catcodetables.testcctb)} -\begingroup -\escapechar64 -\newluatexcatcodetable\anothercctb -\endgroup -\lua{assert(luatexbase.catcodetables.anothercctb)} -\def\test#1#2#3{% - \begingroup - \ifcsname CatcodeTable#1\endcsname \else \INTERR \fi - \luatexcatcodetable\csname CatcodeTable#1\endcsname - \ifnum\catcode#2=#3 \else \ERROR \fi - \endgroup} -\test {IniTeX} {00} {09} -\test {IniTeX} {92} {00} -\test {IniTeX} {64} {12} -\test {IniTeX} {65} {11} -\test {String} {92} {12} -\test {String} {65} {12} -\test {String} {32} {10} -\test {Other} {92} {12} -\test {Other} {65} {12} -\test {Other} {32} {12} -\test {LaTeXAtLetter} {64} {11} -\test {LaTeX} {64} {12} -\test {Expl} {32} {09} -\lua{% - tex.sprint('\string\\setbox0=\string\\hbox{') - tex.sprint(luatexbase.catcodetables.string, "\string\\undef # _^&") - tex.sprint('}') - } -\bye -\endinput -%% -%% End of file `test-cctb-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-compat-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-compat-latex.tex deleted file mode 100644 index d6e53db0037..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-compat-latex.tex +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is file `test-compat-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-compat.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase-compat} -\catcode64 11 -\luatexbase@directlua{local answer = 42} -\luatexbase@ensure@primitive{primitive} -\luatexprimitive\relax -\luatexbase@directlua{assert(type(luatexbase.luatexversion) == 'number')} -\luatexbase@directlua{assert(type(luatexbase.luatexrevision) == 'number')} -\stop -\endinput -%% -%% End of file `test-compat-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex deleted file mode 100644 index e60b83bfaff..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex +++ /dev/null @@ -1,21 +0,0 @@ -%% -%% This is file `test-compat-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-compat.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase-compat.sty -\catcode64 11 -\luatexbase@directlua{local answer = 42} -\luatexbase@ensure@primitive{primitive} -\luatexprimitive\relax -\luatexbase@directlua{assert(type(luatexbase.luatexversion) == 'number')} -\luatexbase@directlua{assert(type(luatexbase.luatexrevision) == 'number')} -\bye -\endinput -%% -%% End of file `test-compat-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-loader-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-loader-latex.tex deleted file mode 100644 index bc76deccfb2..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-loader-latex.tex +++ /dev/null @@ -1,18 +0,0 @@ -%% -%% This is file `test-loader-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-loader.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase-loader} -\catcode64 11 -\luatexbase@directlua{require "test-loader"} -\luatexbase@directlua{require "test-loader.sub"} -\stop -\endinput -%% -%% End of file `test-loader-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-loader-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-loader-plain.tex deleted file mode 100644 index 996ccd9b129..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-loader-plain.tex +++ /dev/null @@ -1,18 +0,0 @@ -%% -%% This is file `test-loader-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-loader.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase-loader.sty -\catcode64 11 -\luatexbase@directlua{require "test-loader"} -\luatexbase@directlua{require "test-loader.sub"} -\bye -\endinput -%% -%% End of file `test-loader-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-loader.lua b/Master/texmf-dist/doc/luatex/luatexbase/test-loader.lua deleted file mode 100644 index 7aee8008ed7..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-loader.lua +++ /dev/null @@ -1,13 +0,0 @@ --- --- This is file `test-loader.lua', --- generated with the docstrip utility. --- --- The original source files were: --- --- luatexbase-loader.dtx (with options: `testdummy') --- --- See the aforementioned source file(s) for copyright and licensing information. --- -return true --- --- End of File `test-loader.lua'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-loader.sub.lua b/Master/texmf-dist/doc/luatex/luatexbase/test-loader.sub.lua deleted file mode 100644 index 8c9c9b34365..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-loader.sub.lua +++ /dev/null @@ -1,13 +0,0 @@ --- --- This is file `test-loader.sub.lua', --- generated with the docstrip utility. --- --- The original source files were: --- --- luatexbase-loader.dtx (with options: `testdummy') --- --- See the aforementioned source file(s) for copyright and licensing information. --- -return true --- --- End of File `test-loader.sub.lua'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-aux.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-aux.tex deleted file mode 100644 index f5d5fef42e2..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-aux.tex +++ /dev/null @@ -1 +0,0 @@ -\relax diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-latex.tex deleted file mode 100644 index a8527067a18..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-latex.tex +++ /dev/null @@ -1,48 +0,0 @@ -%% -%% This is file `test-mcb-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-mcb.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase-mcb} -\catcode 64 11 -\def\msg{\immediate\write16} -\msg{===== BEGIN =====} -\luatexbase@directlua{dofile('test-mcb.lua')} -\def\test#1#2{% - \msg{^^J*********^^J* Testing #1 (type #2)^^J*********} - \msg{* Add two functions} - \luatexbase@directlua{add_#1()} - \csname test_#1\endcsname - \msg{* Remove one} - \luatexbase@directlua{rm_one_#1()} - \csname test_#1\endcsname - \msg{* Remove the second} - \luatexbase@directlua{rm_two_#1()} - \csname test_#1\endcsname - \msg{* Add two functions again} - \luatexbase@directlua{add_#1()} - \csname test_#1\endcsname - \msg{* Remove all functions} - \luatexbase@directlua{luatexbase.reset_callback("#1")} - \csname test_#1\endcsname -} -\catcode`\_ 11 -\everypar{} -\def\test_hpack_filter{\setbox0=\hbox{bla}} -\def\test_hyphenate{\showhyphens{hyphenation}} -\def\test_find_write_file{\immediate\openout15 test-mcb-out.log} -\def\test_process_input_buffer{\input test-mcb-aux.tex} -\test{hpack_filter}{list} -\test{hyphenate}{simple} -\test{find_write_file}{first} -\test{process_input_buffer}{data} -\msg{===== END =====} -\stop -\endinput -%% -%% End of file `test-mcb-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-plain.tex deleted file mode 100644 index 7108e4910d6..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb-plain.tex +++ /dev/null @@ -1,47 +0,0 @@ -%% -%% This is file `test-mcb-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-mcb.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase-mcb.sty -\catcode 64 11 -\def\msg{\immediate\write16} -\msg{===== BEGIN =====} -\luatexbase@directlua{dofile('test-mcb.lua')} -\def\test#1#2{% - \msg{^^J*********^^J* Testing #1 (type #2)^^J*********} - \msg{* Add two functions} - \luatexbase@directlua{add_#1()} - \csname test_#1\endcsname - \msg{* Remove one} - \luatexbase@directlua{rm_one_#1()} - \csname test_#1\endcsname - \msg{* Remove the second} - \luatexbase@directlua{rm_two_#1()} - \csname test_#1\endcsname - \msg{* Add two functions again} - \luatexbase@directlua{add_#1()} - \csname test_#1\endcsname - \msg{* Remove all functions} - \luatexbase@directlua{luatexbase.reset_callback("#1")} - \csname test_#1\endcsname -} -\catcode`\_ 11 -\def\test_hpack_filter{\setbox0=\hbox{bla}} -\def\test_hyphenate{\showhyphens{hyphenation}} -\def\test_find_write_file{\immediate\openout15 test-mcb-out.log} -\def\test_process_input_buffer{\input test-mcb-aux.tex} -\test{hpack_filter}{list} -\test{hyphenate}{simple} -\test{find_write_file}{first} -\test{process_input_buffer}{data} -\msg{===== END =====} -\bye -\endinput -%% -%% End of file `test-mcb-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb.lua b/Master/texmf-dist/doc/luatex/luatexbase/test-mcb.lua deleted file mode 100644 index 6172127059d..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-mcb.lua +++ /dev/null @@ -1,129 +0,0 @@ --- --- This is file `test-mcb.lua', --- generated with the docstrip utility. --- --- The original source files were: --- --- luatexbase-mcb.dtx (with options: `testlua') --- --- See the aforementioned source file(s) for copyright and licensing information. --- -local msg = texio.write_nl -local function sample(head,...) - return head, true -end -local prio = luatexbase.priority_in_callback -msg("\n*********\n* Testing management functions\n*********") -luatexbase.add_to_callback("hpack_filter", sample, "sample one", 1) -luatexbase.add_to_callback("hpack_filter", sample, "sample two", 2) -luatexbase.add_to_callback("hpack_filter", sample, "sample three", 1) -assert(prio("hpack_filter", "sample three")) -luatexbase.remove_from_callback("hpack_filter", "sample three") -assert(not prio("hpack_filter", "sample three")) -luatexbase.reset_callback("hpack_filter") -assert(not prio("hpack_filter", "sample one")) -local function data_one(s) - texio.write_nl("I'm data 1 whith argument: "..s) - return s -end -local function data_two(s) - texio.write_nl("I'm data 2 whith argument: "..s) - return s -end -local function data_three(s) - texio.write_nl("I'm data 3 whith argument: "..s) - return s -end -msg("\n*********\n* Testing user-defined callbacks\n*********") -msg("* create one") -luatexbase.create_callback("fooback", "data", data_one) -msg("* call it") -luatexbase.call_callback("fooback", "default") -msg("* add two functions") -luatexbase.add_to_callback("fooback", data_two, "function two", 2) -luatexbase.add_to_callback("fooback", data_three, "function three", 1) -msg("* call") -luatexbase.call_callback("fooback", "all") -msg("* rm one function") -luatexbase.remove_from_callback("fooback", "function three") -msg("* call") -luatexbase.call_callback("fooback", "all but three") -msg("* reset") -luatexbase.reset_callback("fooback") -msg("* call") -luatexbase.call_callback("fooback", "default") -function add_hpack_filter() - luatexbase.add_to_callback('hpack_filter', function(head, ...) - texio.write_nl("I'm a dummy hpack_filter") - return head - end, - 'dummy hpack filter') - luatexbase.add_to_callback('hpack_filter', function(head, ...) - texio.write_nl("I'm an optimized dummy hpack_filter") - return true - end, - 'optimized dummy hpack filter') -end -function rm_one_hpack_filter() - luatexbase.remove_from_callback('hpack_filter', 'dummy hpack filter') -end -function rm_two_hpack_filter() - luatexbase.remove_from_callback('hpack_filter', - 'optimized dummy hpack filter') -end -function add_hyphenate() - luatexbase.add_to_callback('hyphenate', function(head, tail) - texio.write_nl("I'm a dummy hyphenate") - end, - 'dummy hyphenate') - luatexbase.add_to_callback('hyphenate', function(head, tail) - texio.write_nl("I'm an other dummy hyphenate") - end, - 'other dummy hyphenate') -end -function rm_one_hyphenate() - luatexbase.remove_from_callback('hyphenate', 'dummy hyphenate') -end -function rm_two_hyphenate() - luatexbase.remove_from_callback('hyphenate', 'other dummy hyphenate') -end -function add_find_write_file() - luatexbase.add_to_callback('find_write_file', function(id, name) - texio.write_nl("I'm a dummy find_write_file") - return "dummy-"..name - end, - 'dummy find_write_file') - luatexbase.add_to_callback('find_write_file', function(id, name) - texio.write_nl("I'm an other dummy find_write_file") - return "dummy-other-"..name - end, - 'other dummy find_write_file') -end -function rm_one_find_write_file() - luatexbase.remove_from_callback('find_write_file', - 'dummy find_write_file') -end -function rm_two_find_write_file() - luatexbase.remove_from_callback('find_write_file', - 'other dummy find_write_file') -end -function add_process_input_buffer() - luatexbase.add_to_callback('process_input_buffer', function(buffer) - return buffer.."\\msg{dummy}" - end, - 'dummy process_input_buffer') - luatexbase.add_to_callback('process_input_buffer', function(buffer) - return buffer.."\\msg{otherdummy}" - end, - 'other dummy process_input_buffer') -end -function rm_one_process_input_buffer() - luatexbase.remove_from_callback('process_input_buffer', - 'dummy process_input_buffer') -end -function rm_two_process_input_buffer() - luatexbase.remove_from_callback('process_input_buffer', - 'other dummy process_input_buffer') -end --- --- End of File `test-mcb.lua'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-modutils-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-modutils-latex.tex deleted file mode 100644 index ec25bb52afa..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-modutils-latex.tex +++ /dev/null @@ -1,17 +0,0 @@ -%% -%% This is file `test-modutils-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-modutils.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase-modutils} -\RequireLuaModule{test-modutils} -\RequireLuaModule{test-modutils}[1970/01/01] -\stop -\endinput -%% -%% End of file `test-modutils-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-modutils-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-modutils-plain.tex deleted file mode 100644 index 1829334411e..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-modutils-plain.tex +++ /dev/null @@ -1,17 +0,0 @@ -%% -%% This is file `test-modutils-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-modutils.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase-modutils.sty -\RequireLuaModule{test-modutils} -\RequireLuaModule{test-modutils}[1970/01/01] -\bye -\endinput -%% -%% End of file `test-modutils-plain.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-modutils.lua b/Master/texmf-dist/doc/luatex/luatexbase/test-modutils.lua deleted file mode 100644 index 45a644dfab4..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-modutils.lua +++ /dev/null @@ -1,35 +0,0 @@ --- --- This is file `test-modutils.lua', --- generated with the docstrip utility. --- --- The original source files were: --- --- luatexbase-modutils.dtx (with options: `testdummy') --- --- See the aforementioned source file(s) for copyright and licensing information. --- -local err, warn, info, log = luatexbase.provides_module { - name = 'test-modutils', - date = '2000/01/01', - version = 1, - description = 'dummy test package', -} -luatexbase.provides_module { - name = 'test-modutils2', - date = '', - version = 1, - description = 'dummy test package', -} -info('It works!\nOh, rly?\nYeah rly!') -log("I'm a one-line info.") -info("1 = "..luatexbase.get_module_version('test-modutils')) -if is_module_loaded('test-modutils') then - info("ok!") -else - err("problem!") -end -info("2000/01/01 = "..luatexbase.get_module_info('test-modutils').date) -info("20000101 = "..luatexbase.get_module_date_int('test-modutils')) -info("-1 = "..luatexbase.get_module_date_int('test-modutils2')) --- --- End of File `test-modutils.lua'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-regs-latex.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-regs-latex.tex deleted file mode 100644 index db8f9a83e0c..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-regs-latex.tex +++ /dev/null @@ -1,54 +0,0 @@ -%% -%% This is file `test-regs-latex.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-regs.dtx (with options: `testlatex') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\RequirePackage{luatexbase-regs} -\def\checkregister#1{% - \edef\newregister{\expandafter\noexpand\csname new#1\endcsname}% - \edef\locregister{\expandafter\noexpand\csname loc#1\endcsname}% - \count0 1 - \loop - \newregister\dummy - \locregister\dummy - \ifnum\count0<30000 - \advance\count0 1 - \repeat} -\checkregister{count} -\checkregister{dimen} -\checkregister{skip} -\checkregister{muskip} -\checkregister{box} -\checkregister{toks} -\checkregister{marks} - -\count0 1 -\loop \ifnum\count0<100 - \csname newinsert\endcsname\dummy - \advance\count0 1 -\repeat - -\globcountblk \dummy{3000} -\globdimenblk \dummy{3000} -\globskipblk \dummy{3000} -\globmuskipblk\dummy{3000} -\globboxblk \dummy{3000} -\globtoksblk \dummy{3000} -\globmarksblk \dummy{3000} - -\loccountblk \dummy{1000} -\locdimenblk \dummy{1000} -\locskipblk \dummy{1000} -\locmuskipblk \dummy{1000} -\locboxblk \dummy{1000} -\loctoksblk \dummy{1000} -\locmarksblk \dummy{1000} -\stop -\endinput -%% -%% End of file `test-regs-latex.tex'. diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-regs-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-regs-plain.tex deleted file mode 100644 index bc51cf58e32..00000000000 --- a/Master/texmf-dist/doc/luatex/luatexbase/test-regs-plain.tex +++ /dev/null @@ -1,54 +0,0 @@ -%% -%% This is file `test-regs-plain.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% luatexbase-regs.dtx (with options: `testplain') -%% -%% See the aforementioned source file(s) for copyright and licensing information. -%% -\input luatexbase-regs.sty -\def\checkregister#1{% - \edef\newregister{\expandafter\noexpand\csname new#1\endcsname}% - \edef\locregister{\expandafter\noexpand\csname loc#1\endcsname}% - \count0 1 - \loop - \newregister\dummy - \locregister\dummy - \ifnum\count0<30000 - \advance\count0 1 - \repeat} -\checkregister{count} -\checkregister{dimen} -\checkregister{skip} -\checkregister{muskip} -\checkregister{box} -\checkregister{toks} -\checkregister{marks} - -\count0 1 -\loop \ifnum\count0<100 - \csname newinsert\endcsname\dummy - \advance\count0 1 -\repeat - -\globcountblk \dummy{3000} -\globdimenblk \dummy{3000} -\globskipblk \dummy{3000} -\globmuskipblk\dummy{3000} -\globboxblk \dummy{3000} -\globtoksblk \dummy{3000} -\globmarksblk \dummy{3000} - -\loccountblk \dummy{1000} -\locdimenblk \dummy{1000} -\locskipblk \dummy{1000} -\locmuskipblk \dummy{1000} -\locboxblk \dummy{1000} -\loctoksblk \dummy{1000} -\locmarksblk \dummy{1000} -\bye -\endinput -%% -%% End of file `test-regs-plain.tex'. -- cgit v1.2.3