Hi all, 5 years ago, on the mailing list, there was a thread started by Pablo Rodríguez (http://www.mail-archive.com/ntg-context@ntg.nl/msg62140.html) about line numbers in headers. Wolfgang Schuster replied that in principle, it's possible to have line numbers in headers, "but it’s not usable because the numbers are always shown on the next page." He made the following example (which I have slightly adapted): \definemarking[linenumber] \define\LinenumberCommand {\normalexpanded{\setmarking[linenumber]{\linenumber}}} \setuplinenumbering[command=\LinenumberCommand] \startsetups linenumber \doiftext { \getmarking[linenumber] } { \getmarking[linenumber][top] – \getmarking[linenumber][bottom] } \stopsetups \setupheadertexts[\texsetup{linenumber}] \starttext \dorecurse{6}{\input tufte\par} \startlinenumbering \dorecurse{20}{\input knuth\par} \stoplinenumbering \resetmarking[linenumber] \dorecurse{6}{\input tufte\par} \stoptext Hans wrote: "currently it's not possible but it's no big deal to add that feature at some point." I have now a similar problem with markings in a header. Is there a solution to this? Could it be implemented now? Thanks, and best wishes Thomas
participants (1)
-
Thomas A. Schmitz