groff
[Top][All Lists]
Advanced

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

Re: [Groff] Groff Pic and colored objects!


From: pod
Subject: Re: [Groff] Groff Pic and colored objects!
Date: Sat, 24 May 2008 10:44:36 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Hi Dean Hi Deri

My problem is solved now. I installed the latest groff version 1.19.2. But I am a bit surprised that it works with your version

1.18.1?

Anyway it works.

thx for your help



Dean Allen Provins, P. Geoph. schrieb:
Pod:

On Fri, May 23, 2008 at 11:38:35PM +0200, pod wrote:
Hi Dean

I tested it on my Kubuntu (GNU troff (groff) version 1.18.1 / Ghostscript SVN PRE-RELEASE 8.61) and on my Suse System (Groff version 1.18.1 / ESP Ghostscript 8.15.3) but the failure exists on both systems. May it possible that you have some additional packages installed, which I dont have? The problem has to do something with the colors. I made a few tests:
*No failure but I get black boxes: *
.PS
box width 3 height 3 shaded "gray";   //I get a black box
.PE

.PS
box width 3 height 3 shaded "yellow98";  //I also get a black box?
.PE

*Failure with:*
.PS
box width 3 height 3 shaded "grey";
.PE
*and*
.PS
box width 3 height 3 shaded "grey98";
.PE

So there must be something wrong with the colors. Maybe I dont have these colors on my systems?

thx best regards pod

I now have the following code, that creates a 3 page output.
***NOTE***:  I am using the "ms" macros to create it, so that may have
some bearing on the problem.  The commandline being executed is (it is
my standard invocation):

  groff -etpU -ms -Tps file | ps2pdf - > file.pdf

and the file reads:

.LP
.PS
box height 0.3 color "black" "foofoo" shaded "yellow" ;
arrow arrowwid 1;
box width 3 height 3 shaded "grey98";
{"foofoo" at last box .n + (0,-0.1);}
box  width 1.8 height 1.5 shaded "pink" at last box .w + (1.5,0);
.ps 8
{"\fBfoofoo()\fR" at last box .n + (0,-0.3);}
.PE

.\" Pod gets a black box - change "gray" to "grey98"
.PS
box width 3 height 3 shaded "grey95";
.PE

.\" Pod gets a black box - drop the "98" and see page 2
.PS
box width 3 height 3 shaded "yellow";
.PE

.\" *Failure with:* both the following - OK, see pp. 2 and 3
.PS
box width 3 height 3 shaded "grey";
.PE

.PS
box width 3 height 3 shaded "grey98";
.PE

Dean






reply via email to

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