On Thu, Jan 22, 2009 at 3:54 PM, Alan Stone <software.list.1es9s@gmail.com> wrote:
Try: Your text has {\the\noflines} lines.

Your text has \the\noflines\ lines.  % works also

Thanks.

How do you substract/add a number from/to \noflines ?

I tried

\thinrules[n=\advance\the\noflines by -2]
\thinrules[n=\advance\noflines by -2]
\thinrules[n={\advance\the\noflines by -2}]
\thinrules[n={\advance\noflines by -2}]

neither works.

--
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2009.01.18 14:39 MKIV  fmt: 2009.1.22  int: english/english
* Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home