[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Trouble with mm
From: |
Larry Kollar |
Subject: |
Re: [Groff] Trouble with mm |
Date: |
Wed, 18 Apr 2012 12:58:04 -0400 |
Cedric Sodhi wrote:
> I recently decided to use mm instead of ms because it appeared that mm
> offered far more but I'm having a hard time getting it to do what I
> want.
>
> In particular, I'm missing the information about which macro has to be
> invoked when, where and in which context together with what other
> macros.
That was something I attempted to address a while ago, but got sidetracked. The
goal would be to have mm documented as well as ms is now.
> I thought I'd have to start with specifying the overall format of the
> document …
>
> .LT BL
> .LO SJ "A subject"
> .MT 5 \" <--- What *is* a memorandum type?
> .WA "Me" "Mr."
> Blümchenstraße 12
> .WE
> .HU "Dear Mr. or Mrs."
> This is my letter with references\*(Rf
> .RS
> Such as this one
> .RF
The "memorandum type" specifies a particular type of document (which affects
cover pages and other formatting). I suspect that using .LT and .MT in the same
document is thus a bad idea.
Some old XENIX documentation I have laying around suggests rearranging the
order:
.WA "Me" "Mr."
Blümchenstraße 12
.WE
.LO SJ "A subject"
.LT BL
.HU "Dear Mr. or Mrs."
This is my letter with references\*(Rf
.RS
Such as this one
.RF
The idea is that the document type (.LT, .MT, etc) uses the information
specified by .WA/.WE and .LO to format the "front matter."
As for the ß character, try using the -k option to invoke the preconv(1)
preprocessor. That should also fix any other non-ASCII characters (vowels with
umlauts, for example) as well.
Hope this helps,
-- Larry