[Remind-Fans] rem2ps broken?
David Owen Kritzberg
david.kritzberg at colorado.edu
Sun Jan 29 15:53:03 EST 2006
Thanks for the sed line Craig -- that helped me find a few lines with
spaces at the end. Unfortunately I am sure that spaces are not the
only reason rem2ps sometimes fails. But at the moment, it appears to
be working. When I get a clear example of the phantom error I'll post
the input and output. It may have something to do with having too
many reminders to print out a monthly view that doesn't go over the
size of the physical page...
Wasn't 'spaces at the end' going to be treated as a bug worth fixing
in the last revision? Not to sound ungrateful -- I love remind and
use it every day for all sorts of reminders.
I don't use Wyrd or tkRemind -- I prefer to stay in text mode on the
screen, and then print calendars every couple weeks.
Is it possible to print weekly rather than monthly calendars using
rem2ps? My months take up larger than a page can fit, even in a
fairly small font. I use 'rem -m -c+' and 'rem -m -c+2' at the
terminal, but it would be nice to print this out in a slick format
like rem2ps does with month views. From what I can tell, this is not
currently possible using rem2ps.
Thanks,
Dave
Also sprach Craig B Agricola [Mon, Dec 19, 2005 at 01:04:23PM -0500]:
> David, can you make the full PostScript file available, as well as the
> reminder input files? This looks similar to the issue that was caused
> by extraneous whitespace at the end of a MSG clause, but without seeing
> the full PS file (and likely the input files too), it's hard to say...
>
> You could likely get an idea if this was caused by extraneous whitespace
> at the end of the line by doing something like:
>
> sed '/[ \t]$/!d' <remind_input_files>
>
> This will show any lines that end in a space or a tab.
>
> -Craig
>
> On Mon, Dec 19, 2005 at 01:07:32AM -0700, David Owen Kritzberg wrote:
> > Hello Remind Fans,
> >
> > I did have rem2ps working under version 3.x.x.23. But now under
> > 3.x.x.24, it isn't working anymore.
> >
> > I saw an earlier post that may have been talking about the same
> > problem, but as far as I know, no solution was posted.
> >
> > Can someone help me out?
> >
> > Thanks,
> > Dave
> >
> > Here is the output of Ghostscript after I transfered the file to my
> > local (Windows) machine:
> >
> >
> > GSview 4.7 2005-03-26
> > Unknown in Comments section at line 2:
> > %%DocumentFonts: Courier
> >
> > AFPL Ghostscript 8.51 (2005-04-18)
> > Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
> > This software comes with NO WARRANTY: see the file PUBLIC for details.
> > Displaying DSC file C:/Documents and Settings/Dave/My
> > Documents/gtd/7months.ps
> > Displaying page 1
> > Loading NimbusMonL-Regu font from C:\Program
> > Files\gs\fonts/n022003l.pfb... 2291320 966533 1577288 262838 2 done.
> > Error: /unmatchedmark in --counttomark--
> > Operand stack:
> > 6 227.705 36.0 97.7143 --nostringval--
> > Execution stack:
> > %interp_exit .runexec2 --nostringval-- --nostringval--
> > --nostringval-- 2 %stopped_push --nostringval--
> > --nostringval-- false 1 %stopped_push 1 3 %oparray_pop
> > 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
> > .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
> > %stopped_push --nostringval-- --nostringval-- 5 3
> > %oparray_pop --nostringval--
> > Dictionary stack:
> > --dict:1129/1686(ro)(G)-- --dict:0/20(G)-- --dict:147/200(L)--
> > Current allocation mode is local
> >
> > --- Begin offending input ---
> > l.)
> > ()()]
> > [(Champion's)(League)(Draw.)
> > ()()]
> > [(Backctry)(Aval)(Lvl)(I.)
> > ()()]
> > [(Commencement.)
> > ()()]
> > [(Get)(a)(Christmas)(tree.)
> > ()()]
> > ]
> > (16)
> > DoCalBox
> > /y exch def y ymin lt {/ymin y def} if
> > } def
> > /CAL17 {
> > Border ytop 6 xincr mul MinX add xincr
> > [
> > ]
> > (17)
> > DoCalBox
> > /y exch def y ymin lt {/ymin y def} if
> > } def
> > CAL11
> > CAL12
> > CAL13
> > CAL14
> > CAL15
> > CAL16
> > CAL17
> > /y ytop MinBoxSize sub def y ymin lt {/ymin y def} if
> > MinX ymin MaxX ymin L
> > /ylast ytop def
> > /ytop ymin def
> > /CAL18 {
> > Border ytop 0 xincr mul MinX add xincr
> > [
> > [(11:30am)(Massage)(from)(Dawn.)
> > ()()]
> > [(Missy's)(26th)(birthday)(today.)
> > ()()]
> > ]
> > (18)
> > DoCalBox
> > /y exch def y ymin lt {/ymin y def} if
> > } def
> > /CAL19 {
> > Border ytop 1 xincr mul MinX add xincr
> > [
> > [(Charlotte's)(34th)(birthday)(today.)
> > ()()]
> > [(Taco)(Nite.)
> > ()()]
> > ]
> > (19)
> > DoCalBox
> > /y exch def y ymin lt {/ymin y def} if
> > } def
> > /CAL20 {
> > Border ytop 2 xincr mul MinX add xincr
> > [
> > [(Molly)(>)(Milwaukee)(today.)
> > ()()]
> > ]
> > (20)
> > DoCalBox
> > /y exch def y ymin lt {/ymin y def} if
> > } def
> > /CAL21 {
> > Border ytop 3 xincr mul M
> > --- End offending input ---
> > file offset = 12128
> > gsapi_run_string_continue returns -101
________________________________
Dave Kritzberg
University of Colorado Economics
david.kritzberg at colorado.edu
http://dijon.colorado.edu/
More information about the Remind-fans
mailing list