groff
[Top][All Lists]
Advanced

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

Re: [Groff] misleading warning


From: Werner LEMBERG
Subject: Re: [Groff] misleading warning
Date: Thu, 29 Jun 2006 09:17:06 +0200 (CEST)

> a minor issue:
>
> when formatting a document including .PSPIC directives
> with -Tlatin1 (i.e. for the terminal) one gets the warning:
>
> macro `PSPIC' not defined (probably missing space after `PS')
>
> while notification that the macro does not exist is OK, the guess
> that this might be due to a missing space after PS is of course not
> so close to the "bull's eye".

The message `probably missing...' appears only if the used macro
packages actually define a macro `.PS', so the warning makes sense.

> 1.)
> should the text be modified, e.g. to something like
>
> macro `PSPIC' not defined (unsuitable for this device or missing space
> after `PS'?)

Such a warning can only be emitted by PSPIC itself.  You might extend
it with

  pspic.tmac: No image support for output device `foo'.  Using an
              empty rectangle instead.

Then the file pspic.tmac can be always loaded at start-up.

Patches welcome.

> 2.)
> or should PSPIC be silently ignored for devices (at least for
> -Tlatin1)?

No.

> 3.)
> or should (maybe only a free space the size of) the 'bounding box' be
> drawn as done by gxditview (-X -TX100)?

Yes, see above.


    Werner




reply via email to

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