> 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 \{\ ... \}

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

_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to