home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / dvimswin.zip / DVIMSWIN.DOC next >
Text File  |  1989-11-21  |  5KB  |  95 lines

  1. This is release 1.01 of my TeX previewer for Microsoft
  2. Windows, dvimswin. You need the file dvimswin.exe and the Windows library
  3. win87em.exe, which you may already have (it uses the 80x87 if you have it,
  4. otherwise it does emulation), the file texfonts.sub, and fonts in
  5. the .pk format. The fonts must be stored in subdirectories of
  6. one directory, all the fonts at 100 d.p.i. being in a directory
  7. like c:\texfonts\100, the ones for 110 being in c:\texfonts\110, etc.
  8. The program will ask for the name of this font directory. In this case
  9. you would answer "c:\texfonts\". The fonts are the same as those used
  10. by my previewer dvivga, and are available from wsmr-simtel20.army.mil
  11. by anonymous ftp. They are in the files dvivga2 through 8 (unless simtel 
  12. has renamed them to something obvious like dvivgafonts1, dvivgafonts2, etc.,
  13. as per a recent request.) The program simply appends the d.p.i. value
  14. to the string you gave it. Win87em.exe goes in your windows directory. 
  15. Dvimswin.exe goes anywhere you wish, though most people will put it in 
  16. the Windows directory.
  17.  
  18. If you put a line such as
  19.  
  20. dvi=dvimswin.exe ^.dvi
  21.  
  22. in the [extensions] section of your win.ini file, you can start up
  23. dvimswin by double clicking on a .dvi file. You can also start up
  24. dvimswin by typing to the ordinary MS-DOS prompt
  25.  
  26. win dvimswin filename.dvi
  27.  
  28. (or win386 instead of just win if you use Windows 386.)
  29.  
  30.  
  31. Dvimswin allows you to use either a mouse or the keyboard to move
  32. around in your dvi file. Most commands are obvious, except for the
  33. Options. Resetmargins makes the current position of the text on the
  34. current screen permanent, so future pages or dvi files will be placed the
  35. same way. You **should always** get the first part of your first page
  36. positioned properly then use this command. SaveParameters saves the current
  37. margins and d.p.i. value in your win.ini file, so that the next time you
  38. start dvimswin, they will be the same. The other three options
  39. cause various warning messages to appear on the screen and are
  40. helpful for debugging your file layouts. If your first try at viewing
  41. a page fails, try turning on all of these. (Warnings about
  42. checksum errors are almost always harmless.) The first thing dvimswin
  43. does when opening a .dvi file is to get info on all the fonts used
  44. in a document, and this is sluggish. If you want to stop it, you
  45. can't use the mouse, as it is disabled by the presence of the hourglass
  46. icon. But the keyboard still works, so you can stop it by typing
  47. <alt-f> then c (for Close).
  48.  
  49. The only thing non-obvious about the mouse interface is that the
  50. scroll bar thumb only moves about on the current, normal size, page.
  51. The actual range of the controls is greater. The thumb never reaches
  52. the end of its travel to allow you to double-click on the bar part at
  53. all positions.  To move to a different page you double-click above or 
  54. below the thumb. Either in the gray area or the arrow area will work.
  55. Making the code for this work delays moving up or down on the page by the 
  56. double-click time - so don't set it too long. This doesn't affect 
  57. the keyboard interface.
  58.  
  59. Please note that 100 d.p.i. is only the default text size. If you have a
  60. high res screen you should go to a bigger size before you open a file.
  61. At sizes below 92 d.p.i. most fonts are not really present in the
  62. distributed ones, and are substituted for. This results in slightly
  63. ragged margins and sometimes overlapping letters. If you use a smaller
  64. size often, be sure to put a full set of the fonts you use for it
  65. in the font substitution file.
  66.  
  67. There exist displays for the PC that actually have 300 dots per inch,
  68. and are big enough to display a whole page. If they come with Windows
  69. drivers, the 300 d.p.i. option appears on the size menu for your
  70. edification. In any case, it can be useful even on ordinary displays.
  71.  
  72. If you have the memory, you should try using a disk cache program
  73. like smartdrive or a ram-disk for your fonts. These utilities can
  74. dramatically speed up many programs, including this one.
  75.    
  76. You can view more than one .dvi file at once by starting more than
  77. one copy of dvimswin, if you have the memory.
  78.  
  79. The font substitution file is useful for using small d.p.i. values.
  80. You can peruse the provided one to see how it uses cmr8 at a larger
  81. d.p.i. value for cmr10 at a larger one, for example. You can
  82. also put lines like 
  83.  
  84. cmssbx10 cmr10
  85.  
  86. to substitute whole font families. The size specific ones should
  87. be put first in the file, as the first match is used.
  88.  
  89. This program is limited to fonts containing 128 characters. Going to
  90. 256 character fonts eats up lots of very valuable memory. If there
  91. is a need the change is trivial (a single #define) and if somebody
  92. needs it I will make such a version. It would be called dvims256.
  93.  
  94. Doug McDonald (mcdonald@uxe.cso.uiuc.edu)  
  95.