[Top][All Lists]

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

Re: .el .ie does not work in groff 1.21

From: Werner LEMBERG
Subject: Re: .el .ie does not work in groff 1.21
Date: Wed, 13 Feb 2013 21:03:17 +0100 (CET)

> groff <<'EOF'
> .warn
> .ie     1 .tm action1
> .el .ie 0 .tm action2
> .el .ie 0 .tm action3
> .el       .tm defaultaction
> 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 \{\ ... \}

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. :-)


reply via email to

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