Update of bug #56500 (group groff):

                 Summary: documentation should mention trap restriction =>
[troff] documentation should mention trap restriction

    _______________________________________________________

Follow-up Comment #9:

[comment #8 comment #8:]
> As of now there appears to be no evidence this is a legitimate restriction,
> so closing.

I'd phrase it differently; the restriction ventured in comment #0, quoting
Werner, appears to not exist, so the _claim_ would be illegitimate, not the
restriction.

> This can be reopened if contrary info comes to light.

I fleshed out my demonstrator a little bit.


$ cat EXPERIMENTS/56500.roff
.de T1
This text is from trap macro T1.
.tm T1a: nl=\\n(nlu
.  sp 4i
.tm T1b: nl=\\n(nlu
.  \"ab if traps can't nest, aborting now prevents T2 from springing
..
.de T2
This text is from trap macro T2.
.tm T2a: nl=\\n(nlu
.  sp 4i
.tm T2b: nl=\\n(nlu
..
.wh 1i T1
.wh 2i T2
This is the top of the document.
.sp 1i
All traps have sprung by now.
.nr i 4i
.tm just before end of document, vertical position is \n(nlu (4i=\niu)
$ ~/groff-1.23.0/bin/nroff EXPERIMENTS/56500.roff | cat -s
T1a: nl=240u
T2a: nl=480u
T2b: nl=1480u
T1b: nl=1480u
just before end of document, vertical position is 1480u (4i=960u)
This is the top of the document.

This text is from trap macro T1.

This text is from trap macro T2.

All traps have sprung by now.

$ ~/groff-1.23.0/bin/nroff EXPERIMENTS/56500.roff | cksum
T1a: nl=240u
T2a: nl=480u
T2b: nl=1480u
T1b: nl=1480u
just before end of document, vertical position is 1480u (4i=960u)
3826764619 191
$ ~/groff-1.22.3/bin/nroff EXPERIMENTS/56500.roff | cksum
T1a: nl=240u
T2a: nl=480u
T2b: nl=1480u
T1b: nl=1480u
just before end of document, vertical position is 1480u (4i=960u)
3826764619 191
$ ~/groff-1.22.4/bin/nroff EXPERIMENTS/56500.roff | cksum
T1a: nl=240u
T2a: nl=480u
T2b: nl=1480u
T1b: nl=1480u
just before end of document, vertical position is 1480u (4i=960u)
3826764619 191


One may wish to uncomment the `ab` request if more persuasion is required.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56500>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to