summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--TODO6
-rw-r--r--luatexbase-cctb.dtx10
3 files changed, 7 insertions, 10 deletions
diff --git a/Changes b/Changes
index f6afb4b..decd17b 100644
--- a/Changes
+++ b/Changes
@@ -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
diff --git a/TODO b/TODO
index 42c735f..fa38543 100644
--- a/TODO
+++ b/TODO
@@ -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