home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / perl / scripts-osu / dvips42.patch < prev    next >
Encoding:
Text File  |  1989-10-23  |  1.4 KB  |  51 lines

  1. These are the patches to dvips 4.2 (ftp'ed from labrea.stanford.edu),
  2. to make it work with my n-up code.  They seem to be sufficient for
  3. everything I've tested, but if there are any problems, let me know.
  4. J Greely (jgreely@cis.ohio-state.edu), 89/10/24
  5.  
  6. *** output.c.old    Tue Oct 24 20:28:00 1989
  7. --- output.c    Tue Oct 24 20:30:41 1989
  8. ***************
  9. *** 387,392 ****
  10. --- 387,393 ----
  11.      }
  12.      cmdout("TeXDict") ;
  13.      cmdout("begin") ;
  14. +    cmdout("/pagesize {");
  15.      if (paperfmt[0] != '@') {
  16.         char pft[100] ;
  17.         strcpy(pft, "@") ;
  18. ***************
  19. *** 394,399 ****
  20. --- 395,401 ----
  21.         cmdout(pft) ;
  22.      } else
  23.         cmdout(paperfmt) ;
  24. +    cmdout("} bdf");
  25.      if (manualfeed) cmdout("@manualfeed") ;
  26.      if (numcopies != 1) {
  27.         numout((integer)numcopies) ;
  28.  
  29. *** tex.lpro.old    Tue Oct 24 20:27:53 1989
  30. --- tex.lpro    Tue Oct 24 20:31:24 1989
  31. ***************
  32. *** 157,164 ****
  33.   /bop           % bop -              -- begin a brand new page
  34.     {
  35.       gsave /SaveImage save def
  36.       0 0 moveto
  37. !   } bdf
  38.   
  39.   /eop           % - eop -              -- end a page
  40.     { % eop-aux  % -- to observe VM usage
  41. --- 157,165 ----
  42.   /bop           % bop -              -- begin a brand new page
  43.     {
  44.       gsave /SaveImage save def
  45. +     pagesize
  46.       0 0 moveto
  47. !   } def % cannot use bdf, since pagesize isn't defined until Startup
  48.   
  49.   /eop           % - eop -              -- end a page
  50.     { % eop-aux  % -- to observe VM usage
  51.