ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Missing \endcsname in the latest current
@ 2006-11-20 22:48 Aditya Mahajan
  2006-11-20 23:12 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2006-11-20 22:48 UTC (permalink / raw)
  Cc: Hans Hagen

Hi Hans,

  There is a missing \endcsname in the latest ConTeXt  ver: 2006.11.20 
11:37 MK II  fmt: 2006.11.20  int: english/english

%-----------------------------------------
\definehead[Topic]
\starttext \Topic{test} \stoptext
%-----------------------------------------

gives me

! Missing \endcsname inserted.
<to be read again>
                    \@@kosection
<argument> \??se \@@sectie
                            \s!start
\letgvalueempty ...al \expandafter \let \csname #1
                                                   \endcsname \empty
\@@setsectionnumber ...ueempty {\??se #1\s!start }
                                                   \setcounter {\??se 
#1}{#2}...

\dosetupheadnumber ...tionnumber \@@sectie {#2#3}}
                                                   \egroup
\findsectionnumber ...r [#1][\foundsectionnumber ]
                                                   \setupheadnumber 
[#1][-1]
...
l.6 \Topic{test}

?


Aditya

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing \endcsname in the latest current
  2006-11-20 22:48 Missing \endcsname in the latest current Aditya Mahajan
@ 2006-11-20 23:12 ` Hans Hagen
  2006-11-21  0:00   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-11-20 23:12 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Aditya Mahajan wrote:
> Hi Hans,
>
>  There is a missing \endcsname in the latest ConTeXt  ver: 2006.11.20 
> 11:37 MK II  fmt: 2006.11.20  int: english/english
>
> %-----------------------------------------
> \definehead[Topic]
\definehead[Topic][section]

you either define one (extra level) or you clone
> \starttext \Topic{test} \stoptext
this is unrelated to the latest version; i can add some extra testing

Hans  

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Missing \endcsname in the latest current
  2006-11-20 23:12 ` Hans Hagen
@ 2006-11-21  0:00   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2006-11-21  0:00 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

On Tue, 21 Nov 2006, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> Hi Hans,
>>
>>  There is a missing \endcsname in the latest ConTeXt  ver: 2006.11.20 11:37 
>> MK II  fmt: 2006.11.20  int: english/english
>> 
>> %-----------------------------------------
>> \definehead[Topic]
> \definehead[Topic][section]
>
> you either define one (extra level) or you clone
>> \starttext \Topic{test} \stoptext
> this is unrelated to the latest version; i can add some extra testing

Occasionally, I need to read the manual rather than the examples in 
sources :) The following example in the source needs to be corrected

%D \starttyping
%D \def\StretchedBox#1%
%D   {\framed
%D      [frame=off,offset=.5em,align=middle,width=broad]
%D      {\sc\def\stretchedspaceamount{.3em}\stretchednormalcase{#1}}}
%D
%D \definehead[MySubject]%<--------HERE
%D \setuphead [MySubject][deeptextcommand=\StretchedBox]

Sorry for the noise.

Aditya

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-21  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-20 22:48 Missing \endcsname in the latest current Aditya Mahajan
2006-11-20 23:12 ` Hans Hagen
2006-11-21  0:00   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).