home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / DVI_MGR / dvimgr.lzh / readme.txt < prev   
Text File  |  1993-06-23  |  14KB  |  256 lines

  1. University of Hamburg
  2. Department of Computer Science
  3. -- Computing Center --
  4.  
  5. Schlueterstr. 70
  6. D-2000 Hamburg 13
  7. Germany
  8.  
  9. EMail: markus@rz.informatik.uni-hamburg.dbp.de        (author)
  10.        friesland@rz.informatik.uni-hamburg.dbp.de    (general contact)
  11.  
  12. +-----------------------------------------------------------------------+
  13. ! README file for DECwindows and OSF/Motif based TeX DVI-Preview driver !
  14. ! for VAX/VMS                                    !
  15. ! 5-july-90 Christian Markus                            !
  16. +-----------------------------------------------------------------------+
  17.  
  18. DISCLAIMER:
  19. The Preview programs and their source code are supplied on an 'as is' 
  20. basis. I regret any liability for any damage, inconvenience or malfunction
  21. caused by these programs. There might still be errors in the programs
  22. itself or in the documentation, please contact me if you find any errors.
  23.  
  24. Please read the instructions (provided in the corresponding directories)
  25. carefully, they are .DVI files and can be easily printed with any driver.
  26.  
  27. The port to OSF/MOTIF is based on fieldtest-software supplied by DEC,
  28. dating from october 1989. In the USA this may have been replaced by
  29. a never version, so an adaptation may be required.
  30. The document DVIMOTIF.TEX includes a 'porting report' to illustrate
  31. the changes that had to be made for the transition DECwindows --> OSF/MOTIF.
  32.  
  33. There are four directories and two files:
  34.  
  35.   [dvi_fbi_hh.beebe]    contains all .H files from the Beebe driver V2.10
  36.             (FINDPOST.H and GBLVARS.H contain error-corrections!)
  37.             and the original documentation DVIxxx.*
  38.   [dvi_fbi_hh.includes] contains all modified .H files
  39.   [dvi_fbi_hh.dvimotif] contains source code for OSF/Motif DVI Preview
  40.   [dvi_fbi_hh.dvidecw]  contains source code for DECwindows DVI Preview
  41.   DXM_LOGICALS.COM      command file to set up OSF/Motif devel. environment
  42.   README.TXT        this file    
  43.  
  44. Required TeX-fonts:
  45.  
  46.   The Preview is designed to work with 69 dpi fonts in order to show a
  47.   full page layout on the screen. However for proof-reading a base
  48.   resolution of 83 (or 100) dpi is more desirable and sufficient for
  49.   most page formats if page-offsets are discarded (option).
  50.   The higher resolution can be achieved by 'zooming' (option) or by
  51.   using a run-time option, e.g.: DVIDECW -m1 -q
  52.  
  53.   Besides a minimal set of 69 dpi fonts, a full range of fonts starting
  54.   at 83 dpi and extending into the usual 300 dpi range is supplied.
  55.  
  56.  
  57. /************************************************************************/
  58. /* Filename: DVIDECW.C                                */
  59. /* Function: Program to view TeX DVI ouput file in a DEC-Windows Envir-    */
  60. /*         onment                            */
  61. /* (c) 1990 by Christian MARKUS, Fachbereich Informatik,        */
  62. /*             Schlueterstr. 70, D 2000 Hamburg 13, Fed.Rep.of Germany    */
  63. /*                                    */
  64. /* EMAIL   :         markus@rz.informatik.uni-hamburg.dbp.de        */ 
  65. /*          or via   friesland@rz.informatik.uni-hamburg.dbp.de        */
  66. /*----------------------------------------------------------------------*/
  67. /* Program History:                            */
  68. /*                                    */
  69. /* Ver#: ! Date:  !Comment:                !Author:        */
  70. /* ------+--------+-------------------------------------+-------------- */
  71. /* 1.0   !04.07.89!First version            !Ch. Markus    */
  72. /* 1.1   !09.03.90!Corrected and updated        !Ch. Markus    */ 
  73. /*          !- get/set bit/byte order correctly    !        */
  74. /*          !- one window/automatically adjusted  !        */
  75. /*          !- window size can be changed        !        */
  76. /*          !- Scrollbars available        !        */
  77. /*          !- Title contains info        !        */
  78. /*           !- Copy to Clipboard            !        */
  79. /* 1.2   !19.06.90!- adaption for ANSI-C/VAX-C 3.1    !Ch. Markus    */
  80. /*----------------------------------------------------------------------*/
  81. /* Program description:                            */
  82. /*                                    */
  83. /* This driver works in a DECWindows environment and is based on TEX    */
  84. /* DVI-driver family developed by N.Beebe, Utah, USA. The include files    */
  85. /* are taken from version 2.10, the driver DVIDECW is based on the    */
  86. /* DVIBIT driver. Instead of using download fonts it creates a bitmap     */
  87. /* (similar to DVIJET) and displays it in the output window upon a    */
  88. /* window exposure event. Upon each interactive command, the bitmap is    */
  89. /* created again.                            */
  90. /*----------------------------------------------------------------------*/
  91. /* Installation guide:                            */
  92. /*                                     */
  93. /* - modify the TEXVIEW.COM file to suit your system's paths        */
  94. /* - in FileView, select the Customize/Verbs and Menus option        */
  95. /* - enter a new verb name 'TeX Preview' below the verb names box and    */
  96. /*   click on enter button upon completition                */
  97. /* - enter the DCL command for the 'Tex Preview' verb, that is entering    */
  98. /*   somewhat like @<path>texview.com and clicking on the 'enter' button*/
  99. /* - select a menu from the 'Menu Names' box and click on the 'Add'    */
  100. /*   button below the 'Verbs in Menu' list box.                */
  101. /* - press 'Apply' and 'Ok' button to install new item in menu bar    */
  102. /* - select the Customize/File Types option and install the .DVI file    */
  103. /*   type.                                */
  104. /*----------------------------------------------------------------------*/
  105. /* Quick guide to operations:                        */
  106. /*                                     */
  107. /* Invoke DVIDecw in four different ways:                */
  108. /* - from a DECTerm terminal window                     */
  109. /*   -> just type the command,options and filename to be processed    */
  110. /* - from the FileView DCL Command window                */
  111. /*   -> just type the command,options and filename to be processed    */
  112. /* - by selecting a FileView menu item (if TEXVIEW.COM is installed)    */
  113. /*   -> a dialog box pops up asking for a filename, a second box will    */
  114. /*      ask for any processing parameters                */
  115. /* - by double-clicking on any .DVI file (if TEXVIEW.COM is installed    */
  116. /*   and the File Types box is set for .DVI files            */
  117. /*   -> a dialog box pops up asking for processing parameters        */
  118. /*                                                                      */
  119. /* All options of DVIBIT are accepted, but the -o option (order pages)    */
  120. /* is ignored, DVIDecw will only pick the first selected page        */
  121. /* The program will create a command and an output window and display    */
  122. /* the first selected page.                                             */
  123. /* All interactive commands can be selected from menus and should be     */
  124. /* easy to understand.                             */
  125. /* If the TeX Preview window has the 'Input focus' key equivalents    */
  126. /* provide a shortcut for some menu commands. To set the input focus,    */
  127. /* just click into the Tex Preview window, the window title will change    */
  128. /* to the highlight color.                        */
  129. /*----------------------------------------------------------------------*/
  130. /* The following files taken from the original BEEBE driver have been    */
  131. /* modified (using #if compiler switches) for DECWINDOWS:        */
  132. /*                                    */
  133. /* DISPCHAR.H -> make up for reversed Y-coordinate origin        */
  134. /* DVIFILE.H  -> change program structure to event-driven calls        */  
  135. /* FATAL.H    -> don't perform resetterm() function in DECW environment    */ 
  136. /* GBLPROCS.H -> modifications to conform with ANSI-C (Vax C 3.1)    */
  137. /* MACHDEFS.H -> changed FONTPATH, FONTLIST and DVIHELP for OS_VMS         */
  138. /* OPENFONT.H -> allow open files according to MAXOPEN,quota and avail.    */
  139. /* PRTPAGE.H  -> changes in EOP case and keyboard status request    */ 
  140. /* SETCHAR.H  -> make up for reversed Y-coordinate origin        */
  141. /* SETRULE.H  -> make up for reversed Y-coordinate origin        */
  142. /*----------------------------------------------------------------------*/
  143. /* The DVIDecw package contains the files listed below:            */
  144. /*                                     */
  145. /* DVIDOC_D.DVI Installation/User's Guide in GERMAN            */
  146. /* DVIDOC_E.DVI Installation/User's Guide in ENGLISH            */
  147. /* DVIDECW.C    Main C source code, all DECWindows specific coding    */
  148. /* DVIDECW.UIL    User Interface description file                */
  149. /* DVIDECW.COM  Compile,UIL and link command procedure            */
  150. /* DVILINK.COM  Link DVIDECW for other VMS versions            */
  151. /* TEXVIEW.COM    Command procedure for FileView invocation of DVIDECW    */
  152. /* xxxxxxx.H    Include files (listed above) modified for DVIDECW    */
  153. /************************************************************************/
  154.  
  155.  
  156.  
  157.  
  158.  
  159. /************************************************************************/
  160. /* Filename: DVIMOTIF.C                                */
  161. /* Function: Program to view TeX DVI ouput file in a OSF/Motif Envir-    */
  162. /*         onment                            */
  163. /* (c) 1990 by Christian MARKUS, Fachbereich Informatik,        */
  164. /*             Schlueterstr. 70, D 2000 Hamburg 13, Fed.Rep.of Germany    */
  165. /*                                    */
  166. /* EMAIL   :         markus@rz.informatik.uni-hamburg.dbp.de        */
  167. /*        or via   friesland@rz.informatik.uni-hamburg.dbp.de        */
  168. /*----------------------------------------------------------------------*/
  169. /* Program History:                            */
  170. /*                                    */
  171. /* Ver#: ! Date:  !Comment:                !Author:        */
  172. /* ------+--------+-------------------------------------+-------------- */
  173. /* 1.0   !04.07.89!First version            !Ch. Markus    */
  174. /* 1.1   !09.03.90!Corrected and updated        !Ch. Markus    */ 
  175. /*          !- get/set bit/byte order correctly    !        */
  176. /*          !- one window/automatically adjusted  !        */
  177. /*          !- window size can be changed        !        */
  178. /*          !- Scrollbars available        !        */
  179. /*          !- Title contains info        !        */
  180. /*           !- Copy to Clipboard            !        */
  181. /* 1.2   !19.06.90!- OSF-Motif Version            !Ch. Markus    */
  182. /*          !- adaption to ANSI-C/Vax-C 3.1    !        */
  183. /*----------------------------------------------------------------------*/
  184. /* Program description:                            */
  185. /*                                    */
  186. /* This driver works in a OSF/MotifDEC environment and is based on the    */
  187. /* DVI-driver family developed by N.Beebe, Utah, USA. The include files    */
  188. /* are taken from version 2.10, the driver DVIMotif is based on the    */
  189. /* DVIBIT driver. Instead of using download fonts it creates a bitmap     */
  190. /* (similar to DVIJET) and displays it in the output window upon a    */
  191. /* window exposure event. Upon each interactive command, the bitmap is    */
  192. /* created again.                            */
  193. /*----------------------------------------------------------------------*/
  194. /* Installation guide:                            */
  195. /*                                     */
  196. /* - modify the TEXVIEWM.COM file to suit your system's paths        */
  197. /* - in FileView, select the Customize/Verbs and Menus option        */
  198. /* - enter a new verb name 'TeX Preview' below the verb names box and    */
  199. /*   click on enter button upon completition                */
  200. /* - enter the DCL command for the 'Tex Preview' verb, that is entering    */
  201. /*   somewhat like @<path>texviewm.com and clicking on the 'enter'button*/
  202. /* - select a menu from the 'Menu Names' box and click on the 'Add'    */
  203. /*   button below the 'Verbs in Menu' list box.                */
  204. /* - press 'Apply' and 'Ok' button to install new item in menu bar    */
  205. /* - select the Customize/File Types option and install the .DVI file    */
  206. /*   type.                                */
  207. /*----------------------------------------------------------------------*/
  208. /* Quick guide to operations:                        */
  209. /*                                     */
  210. /* Invoke DVIMotif in four different ways:                */
  211. /* - from a DECTerm terminal window                     */
  212. /*   -> just type the command,options and filename to be processed    */
  213. /* - from the FileView DCL Command window                */
  214. /*   -> just type the command,options and filename to be processed    */
  215. /* - by selecting a FileView menu item (if TEXVIEWM.COM is installed)    */
  216. /*   -> a dialog box pops up asking for a filename, a second box will    */
  217. /*      ask for any processing parameters                */
  218. /* - by double-clicking on any .DVI file (if TEXVIEWM.COM is installed    */
  219. /*   and the File Types box is set for .DVI files)            */
  220. /*   -> a dialog box pops up asking for processing parameters        */
  221. /*                                                                      */
  222. /* All options of DVIBIT are accepted, but the -o option (order pages)    */
  223. /* is ignored, DVIMotif will only pick the first selected page        */
  224. /* All interactive commands can be selected from menus and should be     */
  225. /* easy to understand.                             */
  226. /* If the TeX Preview window has the 'Input focus', key equivalents    */
  227. /* provide a shortcut for some menu commands. To set the input focus,   */
  228. /* just click into the Tex Preview window, the window title will change    */
  229. /* to the highlight color.                        */
  230. /*----------------------------------------------------------------------*/
  231. /* The following files taken from the original BEEBE driver have been    */
  232. /* modified (using #if DECWINDOWS compiler switch) for OSF/Motif:    */
  233. /*                                    */
  234. /* DISPCHAR.H -> make up for reversed Y-coordinate origin        */
  235. /* DVIFILE.H  -> change program structure to event-driven calls        */  
  236. /* FATAL.H    -> don't perform resetterm() function in DECW environment    */ 
  237. /* GBLPROCS.H -> modifications to conform with ANSI-C (Vax-C 3.1)     */
  238. /* MACHDEFS.H -> changed FONTPATH, FONTLIST and DVIHELP for OS_VMS         */
  239. /* OPENFONT.H -> allow open files according to MAXOPEN,quota and avail.    */
  240. /* PRTPAGE.H  -> changes in EOP case and keyboard status request    */ 
  241. /* SETCHAR.H  -> make up for reversed Y-coordinate origin        */
  242. /* SETRULE.H  -> make up for reversed Y-coordinate origin        */
  243. /*----------------------------------------------------------------------*/
  244. /* The DVIMotif package contains the files listed below:        */
  245. /*                                     */
  246. /* DVIDOC_D.DVI Installation/User's Guide in GERMAN            */
  247. /* DVIDOC_E.DVI Installation/User's Guide in ENGLISH            */
  248. /* DVIMOTIF.C    Main C source code, all OSF/Motif specific coding    */
  249. /* DVIMOTIF.UIL    User Interface description file                */
  250. /* DVIMOTIF.COM Compile,UIL and link command procedure            */
  251. /* DVILINKM.COM Link DVIMOTIF for other VMS versions                   */
  252. /* TEXVIEWM.COM    Command procedure for FileView invocation of DVIMotif    */
  253. /* xxxxxxx.H    Include files (listed above) modified for DVIMotif    */
  254. /************************************************************************/
  255.  
  256.