Hi Wolfgang, I just rsynced the latest beta, the error I posted in previous mail is gone, but a new one comes. ! Argument of \doplacepagenumberatlocation has an extra }. <inserted text> \par <to be read again> } \doattributes ...name #1#2\@EA \endcsname \fi {#4} \dostopattributes \dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}}}}} \egroup <argument> ...?tk \v!header \v!text \c!righttext } \@@nmpos {\getvalue {\??tk... \dododoplacelayouttextline ...#2 #3}\hbox to #1{#4 }\stoplayoutcomponent \get... ... l.19 \stoptext The error appears when set 'pagenumber' in \setupheadertexts or \setupfootertexts. Here is the minimal example. \setupheadertexts[pagenumber][][][] %\setupfootertexts[pagenumber][][][] \starttext \input knuth \stoptext Best wishes, Wei-Wei Wei-Wei Guo 写道:
Hi Wolfgang,
Problem with footertexts.
! Undefined control sequence. <argument> \@@plaatspaginanummer
\firstoftwoarguments #1#2->#1
\doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes \dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}}}}} \egroup <argument> ...?tk \v!footer \v!text \c!righttext } \@@nmpos {\getvalue {\??tk... \dododoplacelayouttextline ...#2 #3}\hbox to #1{#4
}\stoplayoutcomponent \get... ... l.71 \stopbodymatter
The minimal example:
\setupfootertexts[][pagenumber][pagenumber][]
\starttext \input knuth \stoptext
Best wishes, Wei-Wei