The following used to work (still working in texlive) but no longer working (latest minimals), I get the page number and the rule but not the text. Bug? \setuppagenumbering [alternative=doublesided, location=] \setupheadertexts [] [\setups{text:header:odd}] [\setups{text:header:even}] [] \startsetups text:header:odd \getmarking[chapter][current] \quad\vrule\quad \pagenumber \stopsetups \startsetups text:header:even \pagenumber \quad\vrule\quad \getmarking[section][current] \stopsetups \starttext \chapter{Chapter} \dorecurse{10} { \section{Section} \input knuth \page } \stoptext -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On 6-1-2011 4:04, Khaled Hosny wrote:
The following used to work (still working in texlive) but no longer working (latest minimals), I get the page number and the rule but not the text. Bug?
sort of ... chapter refers to a section-* name so we need to get the parent: methods[v_current] = function(name,range) local top = stack[topofstack] return top and top[parentname(name)] or "" end (you know where to patch this) 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 -----------------------------------------------------------------
On Thu, Jan 06, 2011 at 04:53:16PM +0100, Hans Hagen wrote:
On 6-1-2011 4:04, Khaled Hosny wrote:
The following used to work (still working in texlive) but no longer working (latest minimals), I get the page number and the rule but not the text. Bug?
sort of ... chapter refers to a section-* name so we need to get the parent:
methods[v_current] = function(name,range) local top = stack[topofstack] return top and top[parentname(name)] or "" end
Thanks, works now.
(you know where to patch this)
Indeed :) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
participants (2)
-
Hans Hagen
-
Khaled Hosny