home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / text / tex / 10895 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.2 KB

  1. Path: sparky!uunet!mcsun!ieunet!ccvax.ucd.ie!pflynn
  2. From: pflynn@ccvax.ucd.ie (Peter Flynn, Official Muffin-sampler)
  3. Newsgroups: comp.text.tex
  4. Subject: Re: environment for emtex previewers
  5. Message-ID: <1992Sep3.163924.49616@ccvax.ucd.ie>
  6. Date: 3 Sep 92 16:39:24 GMT
  7. References: <ARA.92Sep3003848@camelot.ai.mit.edu>
  8. Distribution: comp
  9. Organization: University College Dublin
  10. Lines: 55
  11.  
  12. In article <ARA.92Sep3003848@camelot.ai.mit.edu>, ara@zurich.ai.mit.edu (Allan Adler) writes:
  13. > How do I have to set my environment variables to use emtex previewers.
  14. > I think these are dviscr.exe and dviscrs.exe.
  15. > There are so many files in my emtex directory that I can't find anything,
  16. > pertinent documentation in particular.
  17.  
  18. 1. Look at set-tex.bat, which contains all the environment variable needed
  19.    (and too many more besides).
  20.  
  21. 2. Here is my VIEW.BAT (kept in my \batcave directory, in my path)
  22.  
  23. @echo off
  24. path >\setpath.bat
  25. path c:\emtex
  26. c:\emtex\dviscr @c:\emtex\view.cnf %1 %2 %3 %4 %5 %6 %7 %8 %9
  27. \bat\setpath
  28.  
  29. 3. Here is my VIEW.CNF referenced above:
  30.  
  31. % VIEW.cnf for 300dpi fonts, VGA colour screen
  32. /fs=1    % normal fontsize       
  33. % 1=blue, 2=green, 3=turqoise, 4=brown; 5=magenta, 6=brown, 7&8=grey, 9=blue, 
  34. % 10=green, 11=cyan, 12=red, 13=pink, 14=yellow, 15=white
  35. /ocp=12  % page border
  36. /ocr=13  % ruler
  37. /ocs=11  % status line
  38. /h=297mm
  39. /w=210mm
  40. /fl-1    % fast font load
  41. /hx=0
  42. /hy=0
  43. /pd=c:\emtex\doc\        
  44. /pf=k:\emtex\fonts\$r;c:\emtex\fonts\dpi$r
  45. /pg=c:\emtex\doc\gr$r    
  46. /r=300        
  47. /rf=300       
  48. /oa=16   % VGA
  49. /o=4     % 4 grayscales
  50.  
  51. BTW I have *never* managed to get the /pd, /pf and /pg stuff set by using
  52. the DVIDRVINPUT, DVIDRVFONTS and DVIDRVGRAPH variables: they just don't
  53. seem to have any effect, so I override them in the VIEW.CNF file. Silly,
  54. but if someone can show me them working, I'll believe it.
  55.  
  56. Note that in my setup, I refer to two different font hierarchies,
  57. \emtex\fonts\300; \emtex\fonts\329; \emtex\fonts\360; etc   and
  58. \emtex\fonts\dpi300; \emtex\fonts\dpi329; \emtex\fonts;dpi360; etc.
  59. This is because my K: disk is a piece of RMS realestate on my VAX, 
  60. where we hold fonts in common for all machines, and the VMS version of TeX
  61. won't handle directory names beginning "dpi". Another silly.
  62.  
  63. ///Peter
  64.  
  65.