[NTG-context] Custom chapter footer

2012-01-01 Thread Andreas Harder
Hi Hans,

the following used to work. Has the syntax changed?

\definetext[chapter][footer][pagenumber]
\setuphead [chapter][footer=chapter]

\starttext
  \chapter{test}
\stoptext

! Undefined control sequence.

Regards
Andreas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Custom chapter footer

2012-01-01 Thread Wolfgang Schuster

Am 01.01.2012 um 22:39 schrieb Andreas Harder:

 Hi Hans,
 
 the following used to work. Has the syntax changed?

This has to be changed in page-txt.mkvi:

\def\resetlayouttextlines % public
  {\csname\??layouttextsreset\v!top   \endcsname
   \csname\??layouttextsreset\v!header\endcsname
   \csname\??layouttextsreset\v!text  \endcsname
   \csname\??layouttextsreset\v!footer\endcsname
   \csname\??layouttextsreset\v!bottom\endcsname
   \ifconditional\resyncaftertextline
 \calculateglobalvsizes
%\recalculatebackgrounds
 \page_backgrounds_recalculate
 \global\setfalse\resyncaftertextline
   \fi}

The user interface hasn’t changed but Hans is changing the names of all 
internal commands.

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___