home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / tex / oztex.sit / Configs / Default < prev    next >
Text File  |  1990-09-30  |  11KB  |  221 lines

  1. %    This is the default configuration file read by OzTeX 1.3.
  2. %    Before making changes to this file it might be a good idea to save a copy.
  3. %    In your new default file you can then remove all the comments so that
  4. %    OzTeX starts up a little faster.
  5. %
  6. %    Follow these rules when editing configuration files:
  7. %    --    Lines starting with "%" are ignored; all other lines are significant.
  8. %    --    Each significant line must contain at least one "=" character.
  9. %        Any characters before the first "=" are ignored, as are spaces/tabs
  10. %        immediately after it.  The rest of the line contains the information
  11. %        used by OzTeX, usually in the form of one or more strings.
  12. %    -- If only one string is required then any further information is ignored
  13. %        and can be used for comments.
  14. %    --    Use double quotes around a string that includes one or more spaces.
  15. %    -- Two special characters are recognized in non-default configuration files.
  16. %        If "?" is the first non-space/tab after "=" then the corresponding
  17. %        parameter is not changed and the rest of the line is ignored.
  18. %        "!" is similar to "?" but in addition all remaining parameters are
  19. %        left unchanged (the rest of the file is ignored).
  20. %        These characters make it easy to create special-purpose configuration
  21. %        files; see the other files in the Configs folder.
  22. %
  23.     config files            = "Large TeX" "A5 Portrait" "A4 Landscape" "View at 72 dpi" "View at 144 dpi" "Print at 1270 dpi"
  24.     format files            = Plain LaTeX Times-LaTeX
  25.     help files                = Problems "Handy Hints" "TeX Users Group" Changes
  26.     printer resolution    = 300            (72..5000 dots per inch)
  27.     viewing resolution    = 300            (ditto)
  28.     units                        = in            (in/cm/mm/pc/pt/bp/px)
  29.     paper width                = 210mm        (A4 width; 1in..240in)
  30.     paper height            = 296mm        (A4 height; 1in..240in)
  31.     horizontal offset        = 0mm            (shift pages right if +ve, left if -ve)
  32.     vertical offset        = 0mm            (shift pages down if +ve, up if -ve)
  33.     show statistics        = false
  34.     reverse page order    = false        (use true if pages are stacked face up)
  35.     conserve VM                = false        (VM is PostScript's "virtual memory")
  36.     manual feed                = false
  37.     include Laser Prep    = false
  38. %
  39. %    Some notes about the above significant lines:
  40. %    --    Don't change their order.
  41. %    --    The config files will appear as items at the end of the Config menu
  42. %        and should correspond to text files stored in the Configs folder.
  43. %        These strings are ignored in non-default configuration files.
  44. %    --    The format files will appear as items at the end of the TeX menu
  45. %        and should correspond to the names of ".fmt" files in the FMT folder
  46. %        (named below).  The format file names must not contain any spaces.
  47. %    --    The help files will appear as items in the Help menu and should
  48. %        correspond to text files in the Help folder (named below).
  49. %    --    The printer resolution is used when printing a DVI file and the
  50. %        viewing resolution is used when viewing a DVI file.  You'll need to
  51. %        install an appropriate set of PK files if you change either value.
  52. %    --    The units parameter tells OzTeX how to display all dimensions when
  53. %        printing/viewing a DVI file.
  54. %    --    The paper width and height dimensions are used to detect page-off-paper
  55. %        errors when printing/viewing a DVI file.  If the width is greater than
  56. %        the height then OzTeX will print/view the page in landscape mode.
  57. %    --    The two offset dimensions affect the positioning of all pages when
  58. %        printing a DVI file.  They are NOT used when viewing a DVI file.
  59. %    --    The last five flags are default printing parameters; all can be altered
  60. %        after selecting the DVI file to be printed.
  61. %
  62. %    The following lines define the names and locations of OzTeX's special
  63. %    folders and files.
  64. %    --    Don't change their order.
  65. %    --    Partial path names are relative to the location of the OzTeX application.
  66. %        You can easily override this by giving a complete path name; e.g.,
  67. %        TFM folder = HD40:OzTeX:TeX-TFMs:
  68. %    --    When printing a DVI file, the global PS file is searched for in the
  69. %        current folder and, if found, included after the DVI-to-PS prologue.
  70. %    --    The pool file is read only if you select INITEX.
  71. %    --    The dummy TFM file is used by OzTeX to continue printing/viewing a DVI
  72. %        file after detecting a missing font.
  73. %    --    The dummy screen font will be used to simulate characters when
  74. %        viewing a DVI file with a missing font.
  75. %
  76.     Help folder                = :Help-files:
  77.     FMT folder                = :TeX-formats:
  78.     TeX input folder        = :TeX-inputs:
  79.     TFM folder                = :TeX-fonts:
  80.     PK folder                = :PK-files:
  81.     PS folder                = :PS-files:
  82.     Text-to-PS prologue    = :PS-files:TEXTtoPS.ps
  83.     DVI-to-PS prologue    = :PS-files:DVItoPS.ps
  84.     modified Laser Prep    = :PS-files:LaserPrep70.ps
  85.     global PS file            = global.ps
  86.     "Save OzTeX" output    = Oz.text
  87.     PostScript output        = Oz.ps
  88.     pool file                = :TeX-formats:TeX.pool
  89.     dummy TFM file            = :TeX-fonts:cmr10.tfm
  90.     dummy screen font        = Geneva
  91. %
  92. %    The following parameters define some colours used when viewing a DVI file.
  93. %    The allowed colours are black, red, green, blue, cyan, magenta, yellow
  94. %    and white (white can be used to make something invisible).
  95. %    On black and white monitors all non-white colours appear black.
  96. %
  97.     paper edges            = blue
  98.     \special markers    = green
  99.     missing fonts        = red
  100. %
  101. %    The following TeX parameters determine how much memory will be allocated
  102. %    for various arrays.  The given values are suitable for a 1 MB Macintosh.
  103. %    Some notes about these TeX parameters:
  104. %    --    Don't change their order.
  105. %    --    The bracketed comments indicate the possible range of values.
  106. %    --    If you increase any value substantially then before using OzTeX under
  107. %        MultiFinder you'll need to increase the application memory size.
  108. %    --    mem_max is temporarily set to mem_top whenever you run INITEX.
  109. %    --    For details about each parameter, see "TeX: The Program" by Donald Knuth.
  110. %
  111.     mem_max                = 60000        (mem_top..65534)
  112.     font_max                = 100            (1..255)
  113.     font_mem_size        = 27000        (8..65535)
  114.     max_strings            = 5000        (1300..16382)
  115.     string_vacancies    = 20000        (0..42035)
  116.     pool_size            = 50000        (string_vacancies+23500..65535)
  117.     buf_size                = 500            (120..32765)
  118.     stack_size            = 200            (1..2000)
  119.     max_in_open            = 6            (1..30)
  120.     param_size            = 60            (1..16382)
  121.     nest_size            = 40            (1..1000)
  122.     save_size            = 600            (1..8190)
  123.     trie_size            = 8000        (1..16382)
  124.     trie_op_size        = 500            (1..8190)
  125. %
  126. %    If you change any of the next four parameters then you'll need
  127. %    to run INITEX and rebuild all fmt files.
  128. %    Some people will probably want to increase the hash_size value,
  129. %    so here are some suitable hash_prime values:
  130. %    hash_size    =  3000  3500  4000  4500  5000  5500  6000  6500
  131. %    hash_prime    =  2551  2971  3407  3823  4253  4673  5101  5569
  132. %
  133.     mem_top                = 50000        (mem_min+1100..mem_max)
  134.     hash_size            = 2500        (325..6550)
  135.     hash_prime            = 2129        (prime about 85% of hash_size)
  136.     hyph_size            = 307            (prime from 1..16382)
  137. %
  138. %    These parameters should only be changed to carry out TeX's TRIP test.
  139. %
  140.     mem_min                = 0            (0..mem_top-1100)
  141.     error_line            = 72            (45..32765)
  142.     half_error_line    = 42            (30..error_line-15)
  143.     max_print_line        = 79            (60..32767)
  144. %
  145. %    The remaining lines tell OzTeX which TFM files describe PostScript fonts.
  146. %    (All TFM files NOT listed below are assumed to describe non-PostScript fonts;
  147. %    OzTeX will look for PK files to print or view such fonts.)
  148. %    The ordering of lines between the first and last "==" doesn't matter.
  149. %
  150. == TFM name            Printer font name                    Screen font,    encoding,    style
  151. =    ps-symbol        Symbol                                Symbol            A
  152. =    ps-courier        Courier                                Courier            M
  153. =    ps-courier-o    Courier-Oblique                    Courier            M                i
  154. =    ps-courier-b    Courier-Bold                        Courier            M                b
  155. =    ps-courier-bo    Courier-BoldOblique                Courier            M                bi
  156. =    ps-helv            Helvetica                            Helvetica        M
  157. =    ps-helv-o        Helvetica-Oblique                    Helvetica        M                i
  158. =    ps-helv-b        Helvetica-Bold                        Helvetica        M                b
  159. =    ps-helv-bo        Helvetica-BoldOblique            Helvetica        M                bi
  160. =    ps-times-r        Times-Roman                            Times                M
  161. =    ps-times-i        Times-Italic                        Times                M                i
  162. =    ps-times-b        Times-Bold                            Times                M                b
  163. =    ps-times-bi        Times-BoldItalic                    Times                M                bi
  164. %
  165. %    The above fonts should be available in all PostScript printers.
  166. %    The next font is constructed by slanting Times-Roman.
  167. %
  168. =    ps-times-s        Times-Slanted                        Times                M                i
  169. %
  170. %    The following fonts are available in the LaserWriter Plus and newer models.
  171. %
  172. =    ps-avantg-b        AvantGarde-Book                    "Avant Garde"                M
  173. =    ps-avantg-bo    AvantGarde-BookOblique            "Avant Garde"                M    i
  174. =    ps-avantg-d        AvantGarde-Demi                    "Avant Garde"                M    b
  175. =    ps-avantg-do    AvantGarde-DemiOblique            "Avant Garde"                M    bi
  176. =    ps-bookman-l    Bookman-Light                        Bookman                        M
  177. =    ps-bookman-li    Bookman-LightItalic                Bookman                        M    i
  178. =    ps-bookman-d    Bookman-Demi                        Bookman                        M    b
  179. =    ps-bookman-di    Bookman-DemiItalic                Bookman                        M    bi
  180. =    ps-helv-n        Helvetica-Narrow                    "N Helvetica Narrow"        M
  181. =    ps-helv-no        Helvetica-Narrow-Oblique        "N Helvetica Narrow"        M    i
  182. =    ps-helv-nb        Helvetica-Narrow-Bold            "N Helvetica Narrow"        M    b
  183. =    ps-helv-nbo        Helvetica-Narrow-BoldOblique    "N Helvetica Narrow"        M    bi
  184. =    ps-ncs-r            NewCenturySchlbk-Roman            "New Century Schlbk"        M
  185. =    ps-ncs-i            NewCenturySchlbk-Italic            "New Century Schlbk"        M    i
  186. =    ps-ncs-b            NewCenturySchlbk-Bold            "New Century Schlbk"        M    b
  187. =    ps-ncs-bo        NewCenturySchlbk-BoldItalic    "New Century Schlbk"        M    bi
  188. =    ps-pal-r            Palatino-Roman                        Palatino                        M
  189. =    ps-pal-i            Palatino-Italic                    Palatino                        M    i
  190. =    ps-pal-b            Palatino-Bold                        Palatino                        M    b
  191. =    ps-pal-bi        Palatino-BoldItalic                Palatino                        M    bi
  192. =    ps-zapfch-mi    ZapfChancery-MediumItalic        "Zapf Chancery"            M
  193. =    ps-zapfdb        ZapfDingbats                        "Zapf Dingbats"            A
  194. == end
  195. %
  196. %    The TFM names get converted into printer-resident font names when printing
  197. %    a DVI file, and into Macintosh screen font names when viewing a DVI file.
  198. %    Note that all the PostScript TFMs supplied with OzTeX start with "ps-".
  199. %    This is not required, but does make it easier for people to locate
  200. %    them in a cluttered folder.
  201. %
  202. %    If you are unsure about which screen font would best match a particular
  203. %    PostScript font, you must still type something (such as "?").
  204. %    An unknown screen font tells OzTeX to use the system font Chicago.
  205. %    To obtain the best results when viewing a DVI file with PostScript fonts
  206. %    you should try to get the above screen fonts from Adobe Systems.
  207. %
  208. %    OzTeX assumes that each screen font uses one of two encoding schemes:
  209. %    "M" for Macintosh encoding or "A" for Adobe encoding.
  210. %    All the PostScript TFMs supplied with OzTeX use the Adobe encoding.
  211. %    If a screen font uses the Macintosh encoding then OzTeX will map its
  212. %    characters to the Adobe encoding when viewing a DVI file.
  213. %    Screen fonts that use the Adobe encoding (eg. Symbol) are not mapped.
  214. %    (If you want to use PostScript TFMs that have some other sort of encoding
  215. %    scheme then you could use tools like ResEdit or Fontographer to create a
  216. %    matching screen font and tell OzTeX that it has an Adobe encoding.)
  217. %
  218. %    Each screen font can appear in a certain style defined by a set of flags:
  219. %    b=bold, i=italic, u=underline, o=outline, s=shadow, c=condense, e=extend.
  220. %    An absence of flags tells OzTeX to use the font's plain style.
  221.