home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / text / tex / 13274 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!kithrup!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.ans.net!cmcl2!sbcs.sunysb.edu!hanche
  3. From: hanche@ams.sunysb.edu (Harald Hanche-Olsen)
  4. Subject: Re: how many pages in a dvi file
  5. In-Reply-To: elgaard@diku.dk's message of 18 Nov 92 10: 25:16 GMT
  6. Message-ID: <HANCHE.92Nov18094811@ptolemy.ams.sunysb.edu>
  7. Sender: usenet@sbcs.sunysb.edu (Usenet poster)
  8. Nntp-Posting-Host: 129.49.6.37
  9. Organization: University at Stony Brook, NY
  10. References: <721931672.294909.BNB@MATH.AMS.ORG> <1992Nov18.102516.4447@odin.diku.dk>
  11. Date: Wed, 18 Nov 1992 14:48:11 GMT
  12. Lines: 19
  13.  
  14.  
  15. Niels> BNB@MATH.AMS.ORG (bbeeton) writes:
  16.  
  17. >we frequently receive dvi files that are to be printed on one of
  18. >our typesetters.  it would be quite useful to be able to determine
  19. >quickly how many pages are in a particular dvi file.
  20.  
  21. Niels> What about:
  22.  
  23. Niels> >dviselect a1.dvi 0: /dev/null
  24. Niels> [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
  25. Niels> Wrote 12 pages, 34752 bytes
  26.  
  27. That will neglect pages with negative numbers, if any.  Just supplying
  28. : as the page range should take care of that little problem.  (BTW,
  29. you are supplying the arguments to dviselect in a different order than
  30. suggested by the man page.  Curiously, it does work).
  31.  
  32. - Harald
  33.