Public bug reported:

Binary package hint: groff

The .RD macro in /usr/share/groff/*/tmac/m.tmac causes .ie / .el pairs
to mis-behave IN THE USER'S CODE if the optional 'string' argument is
not passed to the .RD macro.

The problem seems to be a bug in the RD macro which contains  ab .ie without a 
mathcing .el (it should be just .if, not .ie).
This causes the next .el to be seen by the roff processor to be matched with 
the .ie inside the RD macro, even though
the .el is in a enclosing block, such as the user's code.

I will attach a small demo script and a patch.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: groff 1.20.1-10
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
Architecture: amd64
Date: Sat Mar 19 04:48:06 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 
(20100928)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: groff

** Affects: groff (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738169

Title:
  .RD macro contains .ie without .el, breaking caller's code

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to