Article View: fj.lang.postscript
Article #994Re: dvi2ps and multi
From: Koji Nakamaru
Date: Fri, 24 Jan 1992 05:50
Date: Fri, 24 Jan 1992 05:50
74 lines
4227 bytes
4227 bytes
2$@F|A0$K%]%9%H$7$?$N$G$9$,(J, $@@_Dj$NLdBj$G$&$^$/=P$F$$$+$J$+$C$?$h$&$J$N(J
$@$G$b$&0l(J$@EY%]%9%H$7$^$9(J. 2$@=EEj9F$K$J$C$?$i8fLH$J$5$$(J.
In article <258582@nttlab.ntt.JP> kazama@expert-sun.ntt.jp (Kazuhiro Kazama) writes:
>$@!&(Jpsnup + dvi2ps 1.7j
>
>$@>I>u!'(J
>$@!!(JTeX$@$K(JPS$@%U%!%$%k$r<h$j9~$s$@>l9g(J$@$K$&$^$/=PNO$5$l$J$$$3$H$,$"$k!#(J
>
>$@!!$3$l$O(J1.7j$@$G$OL$BP1~$G$9!#B?J,860x$O(Jpsnup$@$NJ}$K$"$C$F!"<h$j9~(J$@$s$@(JPS
>$@%U%!%$%k$r$&$^$/<h$j07$($J$$$h$&$G$9!#(J
$@$$$$$+$2$s$G$9$,(J, $@$H$j$"$($:2<$N%Q%C%A$r$"$F$l$P$&$^(J$@$/F0$/$H;W$$$^$9(J.
$@:G=i$NJ}$O(Jsystemdict$@$J$I$K(Jput$@$7$h$&$H$7$F(Jinvalidaccess$@$,=P$?;~(J, $@%(%i!<(J
$@$rL5M}LpM}2s(J$@Hr$7$F$$$^$9(J. $@8e$NJ}$O<h$j9~$^$l$?%I%-%e%a%s%HFb$N%3%a%s%H(J
$@$N$?$a$N=hM}$G$9(J.
*** pstops.c.orig Tue Jan 21 23:49:49 1992
--- pstops.c Wed Jan 22 01:10:34 1992
***************
*** 269,275 ****
writestring(" bind def}{pop}ifelse}{pop}ifelse}forall\n");
writestring("[/letter/legal/executivepage/a4/a4small/b5/com10envelope\n");
writestring(" /monarchenvelope/c5envelope/dlenvelope/lettersmall/note\n");
! writestring(" /folio/quarto/a5]{dup where{exch{}put}{pop}ifelse}forall\n");
writestring("/lcvx{dup load dup type dup/operatortype eq{pop exch pop}\n");
writestring(" {/arraytype eq{dup xcheck{exch pop aload pop}\n");
writestring(" {pop cvx}ifelse}{pop cvx}ifelse}ifelse}bind def\n");
--- 269,276 ----
writestring(" bind def}{pop}ifelse}{pop}ifelse}forall\n");
writestring("[/letter/legal/executivepage/a4/a4small/b5/com10envelope\n");
writestring(" /monarchenvelope/c5envelope/dlenvelope/lettersmall/note\n");
! writestring(" /folio/quarto/a5]\n");
! writestring(" {dup where{exch{}/put load stopped{}if}{pop}ifelse}forall\n");
writestring("/lcvx{dup load dup type dup/operatortype eq{pop exch pop}\n");
writestring(" {/arraytype eq{dup xcheck{exch pop aload pop}\n");
writestring(" {pop cvx}ifelse}{pop cvx}ifelse}ifelse}bind def\n");
*** psutil.c.orig Tue Jan 21 23:51:20 1992
--- psutil.c Wed Jan 22 01:05:36 1992
***************
*** 89,100 ****
while (fgets(buffer, BUFSIZ, infile) != NULL)
if (*buffer == '%') {
if (buffer[1] == '%') {
! if (strncmp(comment, "Page:", 5) == 0)
pageptr[pages++] = ftell(infile)-strlen(buffer);
! else if (headerlen == 0 && strncmp(comment, "Pages:", 6) == 0)
pagescmt = ftell(infile)-strlen(buffer);
! else if (headerlen == 0 &&
! strncmp(comment, "EndComments", 11) == 0)
headerlen = ftell(infile);
else if (strncmp(comment, "BeginDocument", 13) == 0)
nesting++;
--- 89,103 ----
while (fgets(buffer, BUFSIZ, infile) != NULL)
if (*buffer == '%') {
if (buffer[1] == '%') {
! if (nesting == 0 && strncmp(comment, "Page:", 5) == 0)
pageptr[pages++] = ftell(infile)-strlen(buffer);
! else if (nesting == 0
! && headerlen == 0
! && strncmp(comment, "Pages:", 6) == 0)
pagescmt = ftell(infile)-strlen(buffer);
! else if (nesting == 0
! && headerlen == 0
! && strncmp(comment, "EndComments", 11) == 0)
headerlen = ftell(infile);
else if (strncmp(comment, "BeginDocument", 13) == 0)
nesting++;
--
$@Cf4]9,<#(J
maru@on.cs.keio.ac.jp
Technical Details
Message-ID:
<MARU.92Jan24145014@takako.on.cs.keio.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ccut!wnoc-tyo-news!sh.wide!kogwy!ae-keio!yy-cs-keio!maruReferences:
<KITANO.92Jan21214111@ogura3.kuee.kyoto-u.ac.jp> <258582@nttlab.ntt.JP>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: fa2ca,3dbb67777c44fd3a X-Google-Attributes: gidfa2ca,public X-Google-ArrivalTime: 1992-01-23 22:39:09 PST Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ccut!wnoc-tyo-news!sh.wide!kogwy!ae-keio!yy-cs-keio!maru From: maru@on.cs.keio.ac.jp (Koji Nakamaru) Newsgroups: fj.lang.postscript Subject: Re: dvi2ps and multi Message-ID: <MARU.92Jan24145014@takako.on.cs.keio.ac.jp> Date: 24 Jan 92 05:50:14 GMT References: <KITANO.92Jan21214111@ogura3.kuee.kyoto-u.ac.jp> <258582@nttlab.ntt.JP> Sender: news@yy.cs.keio.ac.jp Distribution: fj Organization: Ohno Lab., KEIO Univ., Yokohama Japan. Lines: 74 In-Reply-To: kazama@expert-sun.ntt.jp's message of 22 Jan 92 01:11:53 GMT Nntp-Posting-Host: takako.on.cs.keio.ac.jp