Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 22:13:58 -0800
From:      "Bruce A. Mah" <bmah@FreeBSD.ORG>
To:        Murray Stokely <murray@freebsdmall.com>
Cc:        "Bruce A. Mah" <bmah@FreeBSD.ORG>, Randy Pratt <rpratt@ezwv.com>, freebsd-doc@FreeBSD.ORG
Subject:   Re: eps images not building in online handbook 
Message-ID:  <200201230613.g0N6DwH79666@bmah.dyndns.org>
In-Reply-To: <20020123054546.GI27267@freebsdmall.com> 
References:  <200201230442.g0N4g5U19156@mail.ezwv.com> <200201230502.g0N52tV78982@bmah.dyndns.org> <20020123054546.GI27267@freebsdmall.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If memory serves me right, Murray Stokely wrote:
> On Tue, Jan 22, 2002 at 09:02:55PM -0800, Bruce A. Mah wrote:
> > I also note that Murray Stokely's release engineering article (any
> > others?) don't seem to be linkable from the main docs page:
> 
>   I'm waiting for the admins to update ghostscript on freefall.  Once
> that is done the article will build properly and I can link it to the
> build again.  All of this because people complained that I used TeX to
> generate my figure.

I wasn't one of those people, for the record.  :-)

> The figure is now done in PIC (which I admit is
> much nicer) but there is a bug in in the ps2epsi program in many
> versions of ghostscript.

Is this a bug where sed keeps barfing and causes gs to coredump?

I did the hack below to get around this, because I was too lazy to see 
if a more recent version of the port fixes this error.  Apparently I'm 
running ghostscript-gnu-6.52.

Bruce.

--- /usr/local/bin/ps2epsi      Mon Nov 19 16:03:43 2001
+++ /usr/users/bmah/bin/ps2epsi Mon Jan 21 10:09:17 2002
@@ -62,7 +62,7 @@
 BEGINEPS
 
 cat ${infile} |
-sed -e '/^%%BeginPreview:/,/^%%EndPreview[^!-~]*$/d' -e '/^%!PS-Adobe/d'\
+sed -e '/^%%BeginPreview:/,/^%%EndPreview[^!-~]*$/d' -e '/^%!PS-Adobe/d' \
 -e '/^%%[A-Za-z][A-Za-z]*[^!-~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d'
 
 cat << ENDEPS




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201230613.g0N6DwH79666>