[Remind-Fans] rem2ps stopped working

René van Bevern rvb at pro-linux.de
Thu Jul 28 14:31:58 EDT 2005


On 15.07.05, Craig B Agricola wrote:

Hi.

> PostScript is a guilty pleasure for me, so feel free to send me the
> output of rem2ps and I'll see if I can figure out what might be wrong
> with it.

I append a working PostScript file as generated by rem2ps 03.00.22 and a
diff to a broken PostScript file as generated by rem2ps 03.00.23.

The problem is definitively caused by rem2ps 03.00.23. Merely exchanging
it by rem2ps 03.00.22 works in this case.

As I have very little or no understanding of PostScript, I'd very much
appreaciate your help. :)

    René van Bevern,
      http://progn.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps2.ps
Type: application/postscript
Size: 20409 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20050728/1dc6dcb1/attachment.ps>
-------------- next part --------------
--- ps2.ps	2005-07-28 19:18:21.000000000 +0200
+++ ps1.ps	2005-07-28 19:18:13.000000000 +0200
@@ -165,8 +165,22 @@
    /width exch def
    /xleft exch def
    /curline () def
+   % The last two strings in the word array are actually the PostScript
+   % code to execute before and after the entry is printed.
+   dup dup
+   length 1 sub
+   get
+   exch
+   dup dup
+   length 2 sub
+   get
+   dup length 0 gt
+   {cvx exec} {pop} ifelse
+   dup length 2 sub 0 exch getinterval
    {EnterOneWord} forall
    FinishFormatting
+   dup length 0 gt
+   {cvx exec} {pop} ifelse
    y
 } bind def
 % Variables for calendar boxes:
@@ -357,6 +371,7 @@
 Border ytop 5 xincr mul MinX add xincr
 [
   [(Chuck's)(17th)(birthday)]
+()()]
 ]
 (15)
 DoCalBox
@@ -366,6 +381,7 @@
 Border ytop 6 xincr mul MinX add xincr
 [
   [(Dom's)(32nd)(birthday)]
+()()]
 ]
 (16)
 DoCalBox
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20050728/1dc6dcb1/attachment.pgp>


More information about the Remind-fans mailing list