On 16-1-2012 23:46, Wolfgang Schuster wrote:
There are a few names wrong, e.g.
\def\strc_counters_raw_sub [#1][#2]{\strc_counters_raw {#1}{#2}}
\def\strc_counters_raw_sub
#1#2{\ctxcommand{structurecountervalue("\strc_counters_the{#1}",\number#2)}}
indeed, I ran into it ... after a few days of underscores (doing font
stuff) they start shimmering before my eyes ...
Another mistake is that the \*structurecountervalue expects two arguments, to
fix this the following
\let\rawstructurecountervalue \strc_counters_raw_yes
\let\laststructurecountervalue \strc_counters_last_yes
\let\firststructurecountervalue \strc_counters_first_yes
\let\nextstructurecountervalue \strc_counters_next_yes
\let\prevstructurecountervalue \strc_counters_prev_yes
should be changed to this
\def\rawstructurecountervalue [#1]{\strc_counters_raw_yes [#1][]}
\def\laststructurecountervalue [#1]{\strc_counters_last_yes [#1][]}
\def\firststructurecountervalue[#1]{\strc_counters_first_yes[#1][]}
\def\nextstructurecountervalue [#1]{\strc_counters_next_yes [#1][]}
\def\prevstructurecountervalue [#1]{\strc_counters_prev_yes [#1][]}
ah, in that case we can also just dup them
new beta (sorry for bothering you with this checking it)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context