groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

weird behaviour of .sp| with expression


From: Ulrich Lauther
Subject: weird behaviour of .sp| with expression
Date: Thu, 11 Nov 2021 15:10:56 +0100

Hi all,

look at this code:

      .nr t1 5c
      .nr t2 5c
      .nr foo1 \n[t1]u+\n[t2]u
      foo1 \n[foo1]
      
      .nr foo2 (\n[t1]+\n[t2])u
      foo2 \n[foo2]
      .sp |10c
      10 c
      .sp |\n[t1]u+\n[t2]u
                    no braket
      .sp |(\n[t1]+\n[t2])u
      with braket

It prints
      foo1 283464

      foo2 283464

so both esxpressions are evaluted to the same result.

Then it prints "10c  no bracket" on one line somewhere in the middle of my page.
But "with bracket" is printed o few lines below.

How come?

        -ulrich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]