groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Suggestions on how to trace this out ...


From: Mike Bianchi
Subject: [Groff] Suggestions on how to trace this out ...
Date: Tue, 9 Sep 2008 20:16:05 -0400
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Folks, particularly mm folks.

I'm looking for a suggestion on how to approach this problem.

Consider the file i.mm

        .de xx yy
        .sp 2
        .yy

And the command line
        
        groff  -mm  i.mm

You would expect, and in fact get, no output.  -Tps  is the default.

BUT consider the command line

        groff -Tascii  -mm  i.mm

You would expect the same but instead get ...

        i.mm:3: warning: `yy' not defined

Huh?

        groff -Tlj4  -mm  i.mm  

Nothing.

        groff -Tlatin1  -mm  i.mm
        i.mm:3: warning: `yy' not defined


        groff -Thtml  -mm  i.mm  

Output, but no error.
        <!-- Creator     : groff version 1.18.1 -->
        <!-- CreationDate: Tue Sep  9 20:12:09 2008 -->
        <html>
        <head>
        <meta name="generator" content="groff -Thtml, see www.gnu.org">
        <meta name="Content-Style" content="text/css">
        <title></title>
        </head>
        <body>

        <hr>
        <hr>
        </body>
        </html>

The version of  contrib/mm/m.tmac  does not seem to matter.
I suspect the version of groff does, but the one that I know used to work
is from about the year 2000, so ...

I've not detected any obvious pattern, and am wondering how to proceed.

Suggestions?

-- 
 Mike Bianchi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]