1 DVIDVI, MISCELLANEOUS, dvi file repagination tool    VMS port of DVIDVI V1.0  Ported by Tony McGrathO ------------------------------------------------------------------------------- 6 		dvidvi 0.5, Copyright (C) 1988, Radical Eye Software  A 	Here's a little hack I threw together for those doing pagination 2 tricks.  Any improvements are appreciated.  Enjoy!  > 	The dvidvi program converts a dvi file into another dvi file,, with perhaps certain changes.  Invocation is   	dvidvi param infile outfile  C What's that funny first parameter?  That's the parameter that tells % dvidvi how you want to change things.   @ 	The number preceding the colon is the modulo value.  EverythingI will be done in chunks of pages this big.  If there is no colon, than the F default value is assumed to be one.  The last chunk of pages is padded& with as many blank pages as necessary.  ? 	Following the colon is a comma-separated list of page numbers. F These page numbers are with respect to the current chunk of pages, andG must lie in the range zero to the modulo value less one.  If a negative G sign precedes the number, then the page is taken from the mirror chunk; D if there are m chunks, then the mirror chunk of chunk n is the chunkD numbered m-n-1.  Put simply, it is the chunk numbered the same, onlyB from the end.  This can be used to reverse pages.  If no number is% given, the page number defaults to 0.   : 	Following each page number is an optional offset value inD parenthesis, which consists of a pair of comma-separated dimensions.D Each dimension is a decimal number with an optional unit of measure.B The default unit of measure is inches, or the last unit of measureD used.  All units are in true dimensions.  Allowable units of measure> are the same that TeX allows:  in, mm, cm, pt, pc, dd, and cc.  7 	Simple enough, eh?  Okay, let's do some simple things.    0 C 	The identity transformation.  A modulo of one is assumed; the only B 	reason we need to specify the zero is because a null parameter is 	harder to type. - A 	Reverses the order of the pages.  This time, both the modulo and  	the page number are defaulted.  2:0 B 	Selects the first, third, fifth, etc. pages from the file.  Print> 	this one after printing the next, taking the paper out of the2 	feed tray and reinserting it into the paper feed. 2:-1C 	Selects the second, fourth, etc. pages, and writes them in reverse  	order.  4:-1,2(4.25in,0in) 4:-3,0(4.25in,0in)= 	Useful for printing a little booklet, four pages to a sheet, @ 	double-sided, for stapling in the middle.  Print the first one,? 	put the stack back into the printer upside down, and print the 2 	second.  The `in' specifications are superfluous. ,(1pt,1): 	Scare your system administrator!  Actually, things are so> 	blurry with this option, you may want to send enemies letters$ 	printed like this.  *Long* letters. 4:0(5.5in,4.25),3(0,4.25)  4:1(0in,4.25),2(5.5,4.25) > 	Print a four-page card on one sheet.  Print the first, rotate= 	the paper 180 degrees and feed it again.  (PostScript people > 	can do funny tricks with PostScript so this isn't necessary.)  D 	Enjoy; this is an early release, so make suggestions, improvements,5 and I'll get back to you with a better version later. 