bugGNU troff - Bugs: bug #24049, mm macros -- signature (SG) under...

 
 

bug #24049: mm macros -- signature (SG) under MT 5 (external letter)

Submitted by:  Werner LEMBERG <wl>
Submitted on:  Tue 12 Aug 2008 05:02:27 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: Michael H Bianchi <mbianchi>Open/Closed: Open
Planned Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 12 Aug 2008 05:02:27 PM UTC, original submission:

.\" $Id: m.tmac,v 2.24 2004/03/10 06:11:26 wlemb Exp $

Problem (or possibly several interesting features) with formatting of author(s) signature lines under MT 5 (external letter) of the mm macros.

--------------------------
example:
single author, one argurment
get lead dashes at left margin "--" in signature line
with:
.AU "John 1 Rupley"
.SG gives:
-- John 1 Rupley

--------------------------
example:
two authors, each with reference data (2 or more args)
reference data at left margin has arg 2 replicated: "jar2/jar2"
with:
.AU "John 1 Rupley" "jar1"
.AU "John 2 Rupley" "jar2" "Biosci." "Biochem. Mol. Biophys."
.SG gives
John 1 Rupley

Biosci.-Biochem. Mol. Biophys.-jar2/jar2 John 2 Rupley

--------------------------

To demonstrate the above, run the attached file through troff -mm and grops. The file is configured to show the result of the first example above. For other examples, reset the ".ig" -- ".." pairs.

Problem is in the macro "let*mt-sign" of m.tmac.

One possible revision of this macro is given on line 73ff of the attached file. Delete the ".ig" at line 74 to test it.

Werner LEMBERG <wl>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #16285:  test-sig.mm added by wl (4kB - text/x-troff-mm)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Submitted the item)
  • -unavailable- added by wl
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Aug 2008 05:02:27 PM UTCwlAttached File-=>Added test-sig.mm, #16285
      Carbon-Copy-=>Added john rupley

    Back to the top


    Powered by Savane 3.1-cleanup