bug-groff
[Top][All Lists]
Advanced

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

[bug #45502] [troff] .if, .ie, .el parsing incompatible with Unix V7, DW


From: Dave
Subject: [bug #45502] [troff] .if, .ie, .el parsing incompatible with Unix V7, DWB, and Heirloom Doctools troff
Date: Fri, 5 Apr 2024 03:51:49 -0400 (EDT)

Follow-up Comment #7, bug #45502 (group groff):

[comment #6 comment #6:]
>    If an `el` request or the
>    conditional expression of an `if` or `ie` request is followed
>    immediately by a newline, then (A) if in AT&T compatibility
>    mode, ignore the newline character as AT&T troff did

This description doesn't seem to match AT&T behavior.  "Ignore the newline
character" implies, to me, that AT&T troff processed

.if 1
.tm true

as if it were written

.if 1 .tm true

But in fact AT&T troff processes it as if it were

.if 1 .do-nothing
.tm true

So AT&T troff is in essence ignoring the .if request...which is what's written
next in the commit message, for NON-compatibility mode:

>    (B) otherwise, emit a warning in
>    category `el` and ignore the _request_.

Are these descriptions backwards, or is my understanding?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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