|
From: | Ken Mandelberg |
Subject: | Re: [Groff] groff MM problem with AU/AT |
Date: | Mon, 23 Jan 2012 08:36:21 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.25) Gecko/20111214 Lightning/1.0b2 Thunderbird/3.1.17 |
Anton Shepelev wrote, On 01/21/2012 05:35 AM:
Ken Mandelberg:It seems like AU/AT with the MM macros is not working properly.The problem is with the Memorandum-style signature macro. Without .warn in the beginning of your file you were missing several warnings from Groff. I added it and saw where the errors were. It turns out that the ..SG macro requires that at least four arguments be passed to the .AU macro. This example works: .warn .TL "Anton's title" .MT 5 .AU Smith J. Location Dept. .AT "CEO" .P testing .FC .SG The "--" you are talking about are two field divi- sors, between location, department and initials, and the signature macro seems to handle them incorrectly when at least one of them is empty. Anton
Anton I'm missing something. I tried your example and this is what I get: ********** testing Yours very truly, Location‐Dept.‐J. Smith *********** If I move the .MT 5 down after the .AT I get *********** Charge Case Anton’s title January 22, 2012 testing Yours very truly, Location‐Dept.‐J. Smith ************* Still no CEO.I'm trying to convert from the AT&T roff code on Solaris to groff on Linux. On Solaris I get CEO.
[Prev in Thread] | Current Thread | [Next in Thread] |