En/na Hans Hagen ha escrit:
Xan wrote:
hm, strc-reg.mkii has
{#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}%
maybe you have a bugged version (core-reg.tex can also contain that
code)
anyhow, replace the first \else by \or
-----
In what file, Hans?: strc-reg.mkii or core-reg.tex?
in whatever you can find on your system; the latest versions don't
have core-reg any more
----------------------
What kind of version I have? I have __not__ this string in my file
core-reg.tex. I attachted you.
Xan.
%D \module
%D [ file=core-reg,
%D version=2007.05.07,
%D title=\CONTEXT\ Core Macros,
%D subtitle=Register Management,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\unprotect
% the spaces between } { are essential for texutil's split
\def\mkdefineregister#1% class
{\addutilityreset{#1}}
\def\mksaveregisterentry#1#2#3#4#5#6#7% class type reference key entry pagespec
realpage
{\expanded{\writeutility{r #2 {#1} {#3} {#4} {#5} {#6} {#7}}}}
\def\mksaveregistersee#1#2#3#4#5#6#7% class type reference key entry see
pagespec
{\expanded{\writeutility{r #2 {#1} {#3} {#4} {#5} {#6} {#7}}}}
\def\mksaveregistervariable#1#2#3% class type value
{\expanded{\immediatewriteutility{r #2 {#1} {#3}}}}
\def\mkloadregister#1% class
{\doutilities{#1}{\registerparameter\c!file}{#1}\relax\par} % par needed for
hanging indentation
\protect \endinput
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________