Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
On 4/11/20 2:53 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.04.2020 um 13:54: >> [...] >> I really need that, since the document I’m composing needs chapter and >> part page numbering independent from the whole document page numbering. >> >> Am I missing something or have I hit a

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.04.2020 um 13:54: Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist

[NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist[chapter] use the realpage counter? According to i

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Pablo Rodriguez
On 3/16/20 7:00 PM, Wolfgang Schuster wrote: > [...] > A way to fix the wrong spacing here is to add a strut option to > \setuplist (or use always the upright font to set the strut values). Any of these ones would be great to avoid the corner cases. Pablo -- http://www.ousia.tk

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Hans Hagen schrieb am 16.03.2020 um 18:42: On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Hans Hagen
On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You can avoid this when you use a fixed lineheight (e.g. \setupinterlinespace[line=14pt])

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Henning Hraban Ramm
> Am 2020-03-16 um 14:35 schrieb Hans Hagen : >> Yes, pagella is a extreme case but when you use bold text the vertical >> spacing is also messed up. You can avoid this when you use a fixed >> lineheight (e.g. \setupinterlinespace[line=14pt]) because the default >> distance is font dependant

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Hans Hagen
On 3/16/2020 1:27 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists,

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists, e.g. \setuplist[strut=no]. The problem in this

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Pablo Rodriguez
On 3/15/20 10:56 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.03.2020 um 20:32: >> [...] >> Everthing is fine when italic fonts aren’t used. > > It can be fixed with a strut option for lists, e.g. > \setuplist[strut=no]. The problem in this case is that the ex-height for > the

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.03.2020 um 20:32: Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d

[NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Pablo Rodriguez
Hi Hans, here you have the sample: \setuppapersize[A6] \setupinteraction[state=start] \enabledirectives[references.border] \setupbodyfont[pagella] \starttext \placelist[section] [alternative=d, style=\it] \section{Section 1} \section

Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
> On 21 Mar 2016, at 15:28, Hans Hagen wrote: > > when playign with some new feature i commented too much > > around line 722, uncomment: > > \setuplistalternative > [\c!command=\strictlistparameter\c!command, > \c!symbol=.] > > Done, and it works again! Thanks Hans!

Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Hans Hagen
On 3/21/2016 9:57 AM, Schmitz Thomas A. wrote: Hi all, example attached with output from latest beta and an older one. The \placelist command appears to have changed recently; the older beta I tested is from November, but this used to work in February as well, the change must be recent

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
Hi all, example attached with output from latest beta and an older one. The \placelist command appears to have changed recently; the older beta I tested is from November, but this used to work in February as well, the change must be recent. Thanks a lot Thomas \definelist[MyTopics][criterium

[NTG-context] something about the placelist

2012-10-24 Thread feng
hi! I am a newer. I am studying the context. I think the context is very good. I had study the latex in past years. I have a question: there is a null string line above the \placelist, I don't want it. who can help me? \framed[background=frame_mp,frame=on,align=middle,width

Re: [NTG-context] something about the placelist

2012-10-24 Thread Hans Hagen
On 24-10-2012 09:53, feng wrote: hi! I am a newer. I am studying the context. I think the context is very good. I had study the latex in past years. I have a question: there is a null string line above the \placelist, I don't want it. who can help me? \framed[background=frame_mp

[NTG-context] Fwd: Re: something about the placelist

2012-10-24 Thread Hans Hagen
Original Message Subject: Re: [NTG-context] something about the placelist Date: Wed, 24 Oct 2012 10:43:00 +0200 From: Hans Hagen pra...@wxs.nl To: feng fengi...@gmail.com On 24-10-2012 10:23, feng wrote: 在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen pra...@wxs..nl 写道: sorry

Re: [NTG-context] Fwd: Re: something about the placelist

2012-10-24 Thread feng
] something about the placelist Date: Wed, 24 Oct 2012 10:43:00 +0200 From: Hans Hagen pra...@wxs.nl To: feng fengi...@gmail.com On 24-10-2012 10:23, feng wrote: 在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen pra...@wxs..nl 写道: sorry, there is still a null string line.But I find

[NTG-context] \placelist does not work

2012-04-05 Thread DB
In the current beta/nightly, \placelist has stopped working. Other parameters don't matter--the command just doesn't work, period. ___ If your question is of interest to others as well, please add an entry

[NTG-context] \placenamedformula \placelist MKIV \endgraf

2012-01-17 Thread Mathieu Dupont
, what is the use/necessity of \endgraf ? \starttext \subsubject{List of Formulas}\placelist[formula][criterium=text,alternative=c] \subsubject{Formulas}\placenamedformula[one]{First listed Formula}\startformula a = 1 \stopformula \endgraf \placeformula\startformula a = 2 \stopformula \endgraf

[NTG-context] \placelist summary alternative solution

2011-12-14 Thread Felix Ingram
I've ended up delving into the dark art that is Lua for this solution: \define[0]\SummaryTable{% \placetable[force, none]{}{% \setupTABLE[frame=off] \bTABLE \bTABLEhead \bTR\bTH Reference\eTH\bTH Title\eTH\bTH Page\eTH\eTR \eTABLEhead \bTABLEbody \startluacode for k, v in

Re: [NTG-context] \placelist summary alternative solution

2011-12-14 Thread Hans Hagen
On 14-12-2011 17:50, Felix Ingram wrote: I've ended up delving into the dark art that is Lua for this solution: \define[0]\SummaryTable{% \placetable[force, none]{}{% \setupTABLE[frame=off] \bTABLE \bTABLEhead \bTR\bTH Reference\eTH\bTH Title\eTH\bTH Page\eTH\eTR \eTABLEhead \bTABLEbody

[NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
Hello! I can't understand what I'm doing wrong here: % \setuplist[mylist] [alternative=c, width=0mm, style=\tfx, criterium=all] \starttext \placelist[mylist] \page[yes] \input knuth \writetolist[mylist]{}{Item} \stoptext

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Wolfgang Schuster
Am 13.12.2011 um 11:41 schrieb Marco Pessotto: Hello! I can't understand what I'm doing wrong here: % \setuplist[mylist] [alternative=c, width=0mm, style=\tfx, criterium=all] \starttext \placelist[mylist] \page[yes] \input

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Replace \setuplist with \definelist, before you use a list you should create it. I knew I was missing something obvious... Thanks a lot, it works. Best wishes -- Marco

[NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Hi all, I can't seem to get a list placed after a numbered heading. For example: \starttext \title{First one} \placelist[chapter] \chapter{Second one} \placelist[chapter] % This won't be placed \stoptext Is this something I should be able to do? The reason I ask is that I'm looking to generate

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 13:04 schrieb Felix Ingram: Hi all, I can't seem to get a list placed after a numbered heading. For example: \starttext \title{First one} \placelist[chapter] \chapter{Second one} \placelist[chapter] % This won't be placed \stoptext Is this something I should

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
}] \define[3]\MySummaryTable{\bTR\bTD #1 \eTD\bTD #2 \eTD\bTD #3 \eTD\eTR} \starttext \placecontent \chapter{First one} \chapter{Second one} \chapter{Third one} \chapter{Fourth one} \chapter{Fifth one} \placelist[chapter][criterium=all] \stoptext While the content gets placed it doesn't appear in a table

Re: [NTG-context] placelist

2011-11-05 Thread Willi Egger
Hi Wolfgang, On 4 Nov 2011, at 15:00, Wolfgang Schuster wrote: Am 04.11.2011 um 12:23 schrieb Willi Egger: Hi Pontus, thanks for your quick reply. I tried your suggestion, but there is no success with it. … You need \placelist but you use \placecontent. This makes indeed

[NTG-context] placelist

2011-11-04 Thread Willi Egger
Hi all, it sound strange but how do I get a TOC where only the sections are placed but not the subsections? The document contains exclusively sections and subsections. With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think

Re: [NTG-context] placelist

2011-11-04 Thread Pontus Lurcock
at examples on the wiki I think this should be the right command? \placelist[section] should do what you want -- see http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html . Pont ___ If your question

Re: [NTG-context] placelist

2011-11-04 Thread Willi Egger
where only the sections are placed but not the subsections? The document contains exclusively sections and subsections. With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think this should be the right command? \placelist

Re: [NTG-context] placelist

2011-11-04 Thread Wolfgang Schuster
Am 04.11.2011 um 12:23 schrieb Willi Egger: Hi Pontus, thanks for your quick reply. I tried your suggestion, but there is no success with it. … You need \placelist but you use \placecontent. Wolfgang

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Andreas Harder
Hi,you could play with my attached example. head-with-subtitle.tex Description: Binary data Nearly the same is wikified underhttp://wiki.contextgarden.net/Generate_Authorlist_from_Head_ContentGreeting AndreasAm 05.02.2011 um 02:13 schrieb Jeong Dalyoung:Dear all,The otherday, I asked about three

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Jeong Dalyoung
Dear Andreas, Thank you for your code. I'll try it. The other day, Wolfgang suggested me the same page in wiki. But, It looks a little bit complicate, so I use another simple method. Now, it is the time to look at it once more. Thanks again. best regards, Dalyoung

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Wolfgang Schuster
Am 05.02.2011 um 12:41 schrieb Jeong Dalyoung: Dear Andreas, Thank you for your code. I'll try it. The other day, Wolfgang suggested me the same page in wiki. But, It looks a little bit complicate, so I use another simple method. It’s no so complicated as you think. The \startchapter

[NTG-context] chapter head and placelist

2011-02-04 Thread Jeong Dalyoung
Dear all, The otherday, I asked about three line chapter head and got a solution. \chapter{\tfd Title \\ \tfc subtitle} Then, in the table of contents, it also listed as a big fonts. How to make the contents with a normal fonts? I tried \setuplist[style=normal, textstyle=normal], but no

Re: [NTG-context] \framed \placelist

2010-08-17 Thread Andreas Harder
Am 17.08.2010 um 00:49 schrieb taco: Andreas Harder wrote: Hi all, if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. \starttext \framed [background=color,backgroundcolor=gray] {\placelist[section]} \dorecurse{10

[NTG-context] \framed \placelist

2010-08-16 Thread Andreas Harder
Hi all, if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. \starttext \framed [background=color,backgroundcolor=gray] {\placelist[section]} \dorecurse{10}{\section{test #1} \input tufte } \stoptext So what is the way to put

Re: [NTG-context] \framed \placelist

2010-08-16 Thread taco
Andreas Harder wrote: Hi all, if I try to put \placelist in \framed an error (You can't use `\prevdepth' in restricted horizontal mode) occurs. \starttext \framed [background=color,backgroundcolor=gray] {\placelist[section]} \dorecurse{10}{\section{test #1} \input tufte } \stoptext So

Re: [NTG-context] \placelist

2009-05-04 Thread Otared Kavian
On 4 mai 09, at 18:09, Wolfgang Schuster wrote: Hi Hans, \placelist produce no output in mkiv. \starttext %\placelistoffigure \completelistoffigures here \placefigure{dummy}{\framed{DUMMY}} \stoptext Wolfgang Hi, As a matter of fact, the above example of \placelist gives a LuaTeX

Re: [NTG-context] \placelist

2009-05-04 Thread Wolfgang Schuster
Am 04.05.2009 um 18:20 schrieb Otared Kavian: Hi, As a matter of fact, the above example of \placelist gives a LuaTeX error (ConTeXt ver: 2009.04.21 16:11 MKIV fmt: 2009.4.25 int: english/ english): Make a update. ConTeXt ver: 2009.05.04 11:10 MKIV fmt: 2009.5.4 int: english

Re: [NTG-context] lists and notes (was: \placelist)

2009-05-04 Thread Henning Hraban Ramm
Not only list handling, but also footnotes and headers are broken (at least), while the index seems fixed in the latest beta of MkIV: \setuphead[chapter][page=no] \setupheadertexts[text][chapter][pagenumber] \setupheader[text][state=start] \setupregister[index]% [n=2, balance=no, align=yes,

Re: [NTG-context] lists and notes (was: \placelist)

2009-05-04 Thread Wolfgang Schuster
Am 04.05.2009 um 22:22 schrieb Henning Hraban Ramm: Not only list handling, but also footnotes and headers are broken (at least), while the index seems fixed in the latest beta of MkIV: - table of contents is empty, as reported And a simple \completecontent at end of the document has

Re: [NTG-context] \placelist

2009-05-04 Thread Otared Kavian
On 4 mai 09, at 20:18, Wolfgang Schuster wrote: Am 04.05.2009 um 18:20 schrieb Otared Kavian: Hi, As a matter of fact, the above example of \placelist gives a LuaTeX error (ConTeXt ver: 2009.04.21 16:11 MKIV fmt: 2009.4.25 int: english/ english): Make a update. ConTeXt ver

Re: [NTG-context] lists and notes (was: \placelist)

2009-05-04 Thread Henning Hraban Ramm
Am 2009-05-04 um 22:34 schrieb Wolfgang Schuster: - table of contents is empty, as reported And a simple \completecontent at end of the document has worked for you in the past? I needed here \completecontent[criterium=all]. Ah, sorry, I had criterium=all always in my setup. Just an

[NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Stuart Jansen
When \placelist[section][criterium=local] is used inside of \startappendices, no list is included. I don't see any error messages. I scoured the docs but found neither indication that this is the desired behavior nor any idea how to change this behavior. Any ideas? \starttext \startbodymatter

Re: [NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Taco Hoekwater
Stuart Jansen wrote: When \placelist[section][criterium=local] is used inside of \startappendices, no list is included. I don't see any error messages. I scoured the docs but found neither indication that this is the desired behavior nor any idea how to change this behavior. Any ideas? I

Re: [NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Stuart Jansen
On Thu, 2006-08-17 at 19:08 +0200, Taco Hoekwater wrote: Stuart Jansen wrote: When \placelist[section][criterium=local] is used inside of \startappendices, no list is included. I don't see any error messages. I scoured the docs but found neither indication that this is the desired

Re: [NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Taco Hoekwater
Stuart Jansen wrote: On Thu, 2006-08-17 at 19:08 +0200, Taco Hoekwater wrote: Stuart Jansen wrote: When \placelist[section][criterium=local] is used inside of \startappendices, no list is included. I don't see any error messages. I scoured the docs but found neither indication

Re: [NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Stuart Jansen
On Thu, 2006-08-17 at 19:57 +0200, Taco Hoekwater wrote: Stuart Jansen wrote: \startappendices \chapter{Corge} \placelist[section][criterium=local,alternative=c] \section{Grault} \input zapf \stopappendices How recent? I just tried it with the latest minimal

Re: [NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Hans Hagen
Stuart Jansen wrote: On Thu, 2006-08-17 at 19:57 +0200, Taco Hoekwater wrote: Stuart Jansen wrote: \startappendices \chapter{Corge} \placelist[section][criterium=local,alternative=c] \section{Grault} \input zapf \stopappendices How recent? I

Re: [NTG-context] \placelist doesn't work in \startappendices

2006-08-17 Thread Stuart Jansen
On Thu, 2006-08-17 at 23:49 +0200, Hans Hagen wrote: Stuart Jansen wrote: On Thu, 2006-08-17 at 19:57 +0200, Taco Hoekwater wrote: Stuart Jansen wrote: \startappendices \chapter{Corge} \placelist[section][criterium=local,alternative=c] \section{Grault

Re: [NTG-context] \placelist disturbs grid?

2005-08-09 Thread Vit Zyka
Hans Hagen wrote: Vit Zyka wrote: Hans Hagen wrote: Vit Zyka wrote: Hello Hans, Taco, and the next gurus, sorry for bother with another thing I can not understand. Very high glyphs like \v S disturb grid in the \placelist. The same glyph in the common paragraph with the same

Re: [Fwd: Re: [NTG-context] \placelist disturbs grid?]

2005-08-08 Thread Hans Hagen
Vit Zyka wrote: Hello, I was perhaps little descriptive in my last question. Let me discribe my real problem: you can explitly snap: \showgrid \setuplayout[grid=yes] \snaptogrid\vbox{\bf \setstrut \strut test} \snaptogrid[line]\vbox{\bfa \setstrut \strut test} \snaptogrid[line]\vbox{\bfa

[Fwd: Re: [NTG-context] \placelist disturbs grid?]

2005-08-06 Thread Vit Zyka
is bellow. Thank you for replay Vit Hans Hagen wrote: Vit Zyka wrote: Hello Hans, Taco, and the next gurus, sorry for bother with another thing I can not understand. Very high glyphs like \v S disturb grid in the \placelist. The same glyph in the common paragraph with the same (intentionally

Re: [NTG-context] \placelist disturbs grid?

2005-08-05 Thread Hans Hagen
Vit Zyka wrote: Hans Hagen wrote: Vit Zyka wrote: Hello Hans, Taco, and the next gurus, sorry for bother with another thing I can not understand. Very high glyphs like \v S disturb grid in the \placelist. The same glyph in the common paragraph with the same (intentionally) interline

Re: [NTG-context] \placelist disturbs grid?

2005-08-04 Thread Vit Zyka
Hans Hagen wrote: Vit Zyka wrote: Hello Hans, Taco, and the next gurus, sorry for bother with another thing I can not understand. Very high glyphs like \v S disturb grid in the \placelist. The same glyph in the common paragraph with the same (intentionally) interline setting preserves grid

[NTG-context] \placelist disturbs grid?

2005-08-03 Thread Vit Zyka
Hello Hans, Taco, and the next gurus, sorry for bother with another thing I can not understand. Very high glyphs like \v S disturb grid in the \placelist. The same glyph in the common paragraph with the same (intentionally) interline setting preserves grid

Re: [NTG-context] \placelist disturbs grid?

2005-08-03 Thread Hans Hagen
Vit Zyka wrote: Hello Hans, Taco, and the next gurus, sorry for bother with another thing I can not understand. Very high glyphs like \v S disturb grid in the \placelist. The same glyph in the common paragraph with the same (intentionally) interline setting preserves grid

Re: [NTG-context] \placelist is influensed by \completeregister ??

2005-08-01 Thread Vit Zyka
Taco Hoekwater wrote: Vit Zyka wrote: Dear Hans, Taco, ... I noticed strange behaviour. When I use \completeregister lists I have defined are ignored: Your post is a specific example of a more generic truth: new lists are by default influenced by the sectioning commands The solution

Re: [NTG-context] \placelist is influensed by \completeregister ??

2005-07-30 Thread Taco Hoekwater
Vit Zyka wrote: Dear Hans, Taco, ... I noticed strange behaviour. When I use \completeregister lists I have defined are ignored: Your post is a specific example of a more generic truth: new lists are by default influenced by the sectioning commands The solution is to disable that

[NTG-context] \placelist is influensed by \completeregister ??

2005-07-29 Thread Vit Zyka
, part B} %\placeregister[letter] \completeregister[letter] \placelist[somelist] \stoptext - I discovered that the source of the bug is probably \headtext the line \expanded{\systemsuppliedchapter[\currentregister]{\noexpand\headtext{\currentregister