diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-27 14:31:03 +0100 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-27 14:34:56 +0100 |
commit | 86a8b1f74fad27b60acb9a14f0ad74a0f020885a (patch) | |
tree | 32e0560eeaf529ed73d4121314dd27e46861b1a7 | |
parent | e93e40e44167098e535e26cc41e3daf0fdb81245 (diff) | |
download | luatexbase-86a8b1f74fad27b60acb9a14f0ad74a0f020885a.tar.gz |
s/\luatexsetcatcoderange/\setcatcoderange/
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | TODO | 6 | ||||
-rw-r--r-- | luatexbase-cctb.dtx | 10 |
3 files changed, 7 insertions, 10 deletions
@@ -7,6 +7,7 @@ luatexbase-cctb - use luatexbase as the Lua module name - don't create tex.catcodetablenumber + - rename \luatexsetcatcoderange to \setcatcoderange 2010/03/26 luatexbase-cctb 0.1 @@ -4,7 +4,6 @@ general - write test files - change prefix for internal TeX macros - check for lua name conflicts ('module' used in mods) -- check for macros starting with \luatex - make TeX tests cleaner: \begingroup\expandafter\ETC. - reload check, declaration, luatex test, catcodes for plain - import/update doc @@ -17,8 +16,5 @@ Later ===== - change lua module name(s) (luatexbase or luatexbase.regs etc) +- check for macros starting with \luatex -cctb ----- - -- don't define macros starting with \luatex diff --git a/luatexbase-cctb.dtx b/luatexbase-cctb.dtx index 7c6a907..198da9c 100644 --- a/luatexbase-cctb.dtx +++ b/luatexbase-cctb.dtx @@ -142,7 +142,7 @@ and the derived files % (once they are allocated), two helper macros are available. % % \begin{quote} -% \cs{luatexsetcatcoderange}\marg{from}\marg{to}\marg{value} +% \cs{setcatcoderange}\marg{from}\marg{to}\marg{value} % \end{quote} % Set all characters code in the range \meta{from}--\meta{to} to the given % catcode \meta{value}. @@ -292,7 +292,7 @@ and the derived files % Set the catcodes for a range of characters. % % \begin{macrocode} -\def\luatexsetcatcoderange#1#2#3{% +\def\setcatcoderange#1#2#3{% \edef\luaSCR@temp{% \noexpand\@tempcnta=\the\@tempcnta \noexpand\@tempcntb=\the\@tempcntb @@ -333,8 +333,8 @@ and the derived files \catcode0 12 % nul \catcode13 12 % carriage return \catcode37 12 % percent - \luatexsetcatcoderange{65}{90}{12}% A-Z - \luatexsetcatcoderange{97}{122}{12}% a-z + \setcatcoderange{65}{90}{12}% A-Z + \setcatcoderange{97}{122}{12}% a-z \catcode92 12 % backslash \catcode127 12 } % \end{macrocode} @@ -352,7 +352,7 @@ and the derived files \newluatexcatcodetable\CatcodeTableLaTeX \setluatexcatcodetable\CatcodeTableLaTeX{% \luatexcatcodetable\CatcodeTableIniTeX - \luatexsetcatcoderange{0}{31}{15}% + \setcatcoderange{0}{31}{15}% \catcode9 10 % tab \catcode12 13 % form feed \catcode13 5 % carriage return |