Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.el .ie does not work in groff 1.21

1 view
Skip to first unread message

Jim Avera

unread,
Feb 13, 2013, 2:04:01 PM2/13/13
to bug-...@gnu.org
groff <<'EOF'
.warn
.ie 1 .tm action1
.el .ie 0 .tm action2
.el .ie 0 .tm action3
.el .tm defaultaction
EOF
action1
<standard input>:4: warning: unbalanced .el request
<standard input>:5: warning: unbalanced .el request

---discussion---

These warnings seem wrong. In

.ie cond anything

it nowhere says that "anything" may not be another conditional,
so you ought be able to write "case" constructs like the above
without having to enclose all the "else" branches in \{\ ... \}

Werner LEMBERG

unread,
Feb 13, 2013, 3:03:17 PM2/13/13
to james...@yahoo.com, bug-...@gnu.org
Well, it's not only groff which complains. Using heirloom troff,
which is *much* nearer to the original AT&T implementation, you get
the same warning:

troff -x3 ...

troff: .el without matching .ie; line 4
troff: .el without matching .ie; line 5

You have to live with that limitation. :-)


Werner

0 new messages