home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / epmtex31.zip / EPMTEX.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-09-26  |  61KB  |  1,672 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Table of Contents ΓòÉΓòÉΓòÉ
  3.  
  4.                 TeX Macro Enhancements for EPM 5.51a and EPM 6.0x
  5.                                   Version  3.1
  6.  
  7.                             Installation/User Manual
  8.  
  9.                                    Jon Hacker
  10.                                   Rodney Korte
  11.  
  12.                                  September 1995
  13.  
  14.                                 Table of Contents
  15.  
  16.    1. Frequently Asked Questions 
  17.    2. License Agreement 
  18.    3. Introduction 
  19.    4. Installation Instructions 
  20.    5. Using the Macros with TeX 
  21.    6. Settings Notebook Page 
  22.    7. Startup Notebook page 
  23.    8. Executables Notebook Pages 
  24.    9. Formats Notebook Page 
  25.   10. User Menu Notebook Pages 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 2. Frequently Asked Questions ΓòÉΓòÉΓòÉ
  29.  
  30. Frequently Asked Questions 
  31.  
  32.    1. Where is the official EPMTeX archive site. 
  33.  
  34.       Currently sharkbait.arl.psu.edu is the official site.  You can use 
  35.       anonymous ftp or a Web browser to download from this site. Another 
  36.       primary site is hobbes.nmsu.edu in /pub/os2/unix/tex. 
  37.  
  38.    2. Why can't I enable the REXX profile support in EPM v6. 
  39.  
  40.       Make sure you have WANT_PROFILE = 'SWITCH' defined in your mycnf.e file 
  41.       before compiling epm.e. 
  42.  
  43.    3. Syntax highlighting doesn't seem to work. 
  44.  
  45.       Syntax highlighting is only available with EPM v6.  If you are using 
  46.       v5.51a, then this feature is not available. 
  47.  
  48.    4. How do I setup the syntax highlighting feature with EPM v6. 
  49.  
  50.       You need to have epmkwds.tex defined in your *.ex directory. Refer to the 
  51.       information in the header of epmkwds.e for further details on configuring 
  52.       the highlighting keywords and colors. 
  53.  
  54.    5. After installing EPMTeX standard version some of my custom EPM features 
  55.       for EPM 5.51a stopped working. 
  56.  
  57.       Do to a limitation in EPM 5.51a, custom features defined in defload and 
  58.       defselect routines may be overwritten when you link in tex.e.  We suggest 
  59.       you install the EPMTeX Pro version if you experience problems of this 
  60.       nature.  This problem does not exist with EPM v6. 
  61.  
  62.    6. The two page icons in the upper right hand corner of the EPM window have 
  63.       become transparent after installing EPMTeX Pro. 
  64.  
  65.       The versions of epm.exe, epm.hlp, and the etk*551.dll files supplied with 
  66.       the compiler package are incompatible with Warp.  You need to use 
  67.       selective install to reinstall the newer Warp copies of the above files 
  68.       that were overwritten. 
  69.  
  70.  Table of Contents 
  71.  
  72.  
  73. ΓòÉΓòÉΓòÉ 3. License Agreement ΓòÉΓòÉΓòÉ
  74.  
  75.                               License Agreement for
  76.                             EPMTeX Enhancements v3.1
  77.  
  78. IF YOU DOWNLOAD OR USE THIS PROGRAM YOU AGREE TO THESE TERMS. 
  79.  
  80. I grant you a license to use the Program only in the country where you acquired 
  81. it.  The Program is copyrighted and licensed (not sold). I do not transfer 
  82. title to the Program to you.  You obtain no rights other than those granted you 
  83. under this license. 
  84.  
  85. Under this license, you may: 
  86.  
  87.    1. use the Program on one or more machines at a time; 
  88.  
  89.    2. make copies of the Program for use or backup purposes within your 
  90.       Enterprise; 
  91.  
  92.    3. make copies of the original file you downloaded and distribute it, 
  93.       provided that you transfer a copy of this license to the other party. The 
  94.       other party agrees to these terms by its first use of the Program. 
  95.  
  96.    4. modify the source code provided that you change the name of the package 
  97.       source code files and give credit where credit is due. 
  98.  
  99.  You must reproduce the copyright notice and any other legend of ownership on 
  100.  each copy or partial copy, of the Program. 
  101.  
  102.  You may NOT: 
  103.  
  104.    1. sublicense, rent, lease, or assign the Program; 
  105.  
  106.  Under no circumstances am I liable for any of the following: 
  107.  
  108.    1. third-party claims against you for losses or damages; 
  109.  
  110.    2. loss of, or damage to, your records or data; or 
  111.  
  112.    3. economic consequential damages (including lost profits or savings) or 
  113.       incidental damages, even if I are informed of their possibility. 
  114.  
  115.  Some jurisdictions do not allow these limitations or exclusions, so they may 
  116.  not apply to you. 
  117.  
  118.  I do not warrant uninterrupted or error free operation of the Program. I have 
  119.  no obligation to provide service, defect correction, or any maintenance for 
  120.  the Program. I have no obligation to supply any Program updates or 
  121.  enhancements to you even if such are or later become available. 
  122.  
  123.  IF YOU DOWNLOAD OR USE THIS PROGRAM YOU AGREE TO THESE TERMS. 
  124.  
  125.  THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES 
  126.  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 
  127.  
  128.  Some jurisdictions do not allow the exclusion of implied warranties, so the 
  129.  above exclusion may not apply to you. 
  130.  
  131.  You may terminate this license at any time. I may terminate this license if 
  132.  you fail to comply with any of its terms. In either event, you must destroy 
  133.  all your copies of the Program. 
  134.  
  135.  You are responsible for the payment of any taxes resulting from this license. 
  136.  
  137.  You may not sell, transfer, assign, or subcontract any of your rights or 
  138.  obligations under this license. Any attempt to do so is void. 
  139.  
  140.  Neither of us may bring a legal action more than two years after the cause of 
  141.  action arose. 
  142.  
  143.  If you acquired the Program in the United States, this license is governed by 
  144.  the laws of the State of New York. If you acquired the Program in Canada, this 
  145.  license is governed by the laws of the Province of British Columbia. 
  146.  Otherwise, this license is governed by the laws of the country in which you 
  147.  acquired the Program. 
  148.  
  149.   9/1995
  150.   Jon Hacker
  151.   Bellcore
  152.   INTERNET: hacker@patagonia.bellcore.com
  153.  
  154.   Rodney Korte
  155.   Penn State, State College, PA
  156.   INTERNET: korte@sabine.psu.edu
  157.  
  158.  Table of Contents 
  159.  
  160.  
  161. ΓòÉΓòÉΓòÉ 4. Introduction ΓòÉΓòÉΓòÉ
  162.  
  163. Introduction. 
  164.  
  165. EPMTeX is a sophisticated free macro package that integrates the TeX 
  166. typesetting system with the IBM enhanced editor EPM for OS/2.  The EPMTeX macro 
  167. suite adds a TeX pull down menu to the EPM menu bar, and includes a PM style 
  168. notebook program for configuration of the package. 
  169.  
  170. Menu items in the TeX pull down menu allow the user to TeX (with any format, 
  171. e.g.  LATeX), jump to errors in the TeX source, preview (portrait and 
  172. landscape), and print (portrait and landscape) the TeX file currently active in 
  173. EPM.  Custom 'user' modes may also be defined for special needs unique to the 
  174. user. 
  175.  
  176. Due to popular demand, the standard edition of EPMTeX now comes precompiled. 
  177. The version of EPM shipped with OS/2 is all that is required to run EPMTeX.  It 
  178. is no longer necessary to obtain the EPM macro compiler from IBM to add the 
  179. core EPMTeX features.  Consequently, installation is now greatly simplified. 
  180.  
  181. EPMTeX Pro... what is this? 
  182.  
  183. EPMTeX was substantially rewritten to allow it to be distributed precompiled. 
  184. In the process, some existing features were removed due to limitations in what 
  185. can be done with a precompiled EPM macro.  Users of earlier versions of EPMTeX 
  186. may not wish to give up these features, particularly if they are comfortable 
  187. compiling macros for EPM.  For this reason, a Pro version of the macro package 
  188. is also provided. The Pro version does not come precompiled and is not 
  189. recommended for novice users.  Its installation is complicated, requires the 
  190. complete EPM macro compiler from IBM, and does not offer much more than the 
  191. standard version anyway.  It is provided solely as a comfort to our longtime 
  192. EPMTeX users. 
  193.  
  194. The Pro version offers the following (minor) extra things over the standard 
  195. version: 
  196.  
  197.    1. The format and orientation can be chosen from either the settings 
  198.       notebook (as per the standard version) or from the TeX menu in EPM. 
  199.  
  200.    2. The TeX menu items in EPM get enabled/disabled (greyed out) as 
  201.       appropriate.  For example, if the dvi file does not exist, the preview 
  202.       and print functions will be greyed out in the menu. 
  203.  
  204.    3. Access to the macro source code should you wish to dabble in a little 
  205.       customization of the package. 
  206.  
  207.  If you wish to use EPMTeX Pro, unzip the file TeXpro.zip included with EPMTeX 
  208.  3.1 and follow the installation instructions contained in the file readme.pro. 
  209.  
  210.  Table of Contents 
  211.  
  212.  
  213. ΓòÉΓòÉΓòÉ 5. Installation ΓòÉΓòÉΓòÉ
  214.  
  215. Installation Procedures 
  216.  
  217.    1. Standard Version (Easy) 
  218.    2. Pro Version (Complicated) 
  219.  
  220.  Table of Contents 
  221.  
  222.  
  223. ΓòÉΓòÉΓòÉ 5.1. Standard Version ΓòÉΓòÉΓòÉ
  224.  
  225.  Easy Installation Procedure (Standard version) 
  226.  
  227. NOTE: Users of older versions of EPMTeX will first have to purge the old EPMTeX 
  228. files before installing the new version. Refer to Appendix A for further 
  229. instructions. 
  230.  
  231.    1. Unzip the EPMTeX files into a convenient directory. 
  232.  
  233.    2. Copy tex.ex and profile.erx to a directory that is specified in either 
  234.       EPMPATH or PATH so that EPM can find them.  Most *.EX files are in the 
  235.       \OS2\APPS directory. 
  236.  
  237.       Make sure there are no other older copies of tex.ex in your PATH that 
  238.       could override your newer version. 
  239.  
  240.       NOTE: For people using EPM version 6, you need to unzip the tex.ex file 
  241.       from v60x.zip to replace the tex.ex that is the default (v5.51a). 
  242.  
  243.    3. Copy bpmcc.dll to any directory in your LIBPATH.  Copy epmtex.exe and 
  244.       epmtex.hlp anywhere to your liking, it doesn't matter where, but keep 
  245.       them together. 
  246.  
  247.    4. Run epmtex.exe and fill in the notebook to describe your local TeX 
  248.       environment.  Refer to the on-line help for further information. 
  249.  
  250.    5. Now you are ready to use the new EPMTeX.  There are a couple of ways to 
  251.       tell EPM to load the tex.ex file (see also Appendix B). The  simplest is 
  252.       to use the REXX profile file 'profile.erx' supplied with EPMTeX.  EPM 
  253.       will automatically 'run' this file when it starts creating a way to 
  254.       customize EPM without recompiling the epm macro files. 
  255.  
  256.       Start EPM.  If the TeX menu is not visible, then you need to enable the 
  257.       REXX profile support.  Type ctrl-i  to open the EPM command window. 
  258.       Execute the command 'profile on' (no quotes).  Then select the 'Save 
  259.       Options' command in the pull-down menu. 
  260.  
  261.       NOTE: For people using EPM version 6, enable REXX profile support by 
  262.       opening the EPM settings notebook and check the 'REXX profile' option on 
  263.       the Misc page. 
  264.  
  265.    6. Exit EPM and restart.  The TeX menu should be visible now.  Load a TeX 
  266.       file and test it out! 
  267.  
  268.  Table of Contents 
  269.  
  270.  
  271. ΓòÉΓòÉΓòÉ 5.2. APPENDIX A: ΓòÉΓòÉΓòÉ
  272.  
  273. APPENDIX A: 
  274.  
  275. Removing a Previous EPMTeX Version 
  276.  
  277. To install over a previous version of EPMTeX you will need to first purge the 
  278. old EPMTeX files from your system. 
  279.  
  280.    1. Remove the old EPMTeX version from your epm files: 
  281.  
  282.             a) Delete the EPMTeX part of Mymnuini.e
  283.             b) Delete the EPMTeX part of Mykeyset.e (if any)
  284.             c) Delete the EPMTeX part of Mykeys.e (if any)
  285.             d) Delete the EPMTeX part of Mystuff.e (if any)
  286.             e) Delete the EPMTeX constants from Mycnf.e
  287.  
  288.       (step e. is optional but the constants are no longer used) 
  289.  
  290.    2. Recompile (version 6 users can skip the extra.e recompile) 
  291.  
  292.             etpm epm
  293.             etpm extra
  294.  
  295.  Now you should have a plain version of EPM, like it was before you installed 
  296.  EPMTeX.  Try running EPM and make sure the TeX menu is gone. 
  297.  
  298.  Table of Contents 
  299.  
  300.  
  301. ΓòÉΓòÉΓòÉ 5.3. APPENDIX B ΓòÉΓòÉΓòÉ
  302.  
  303. APPENDIX B: 
  304.  
  305. Compiling in the EPMTeX Macros 
  306.  
  307. Another way to link in the tex.ex file is to edit your mystuff.e file. This is 
  308. more work because it requires recompiling your EPM macros. In fact, if you're 
  309. going to go to this much bother, you might as well just install the full blown 
  310. EPMTeX Pro version.  But for those people who want to do it anyway, add the 
  311. following lines to mystuff.e 
  312.  
  313. definit
  314.   'linkverify tex'
  315.  
  316. Now recompile epm.e and extra.e (version 6 users can skip the extra.e 
  317. recompile) 
  318.  
  319. etpm epm
  320. etpm extra
  321.  
  322. This will cause tex.ex to be linked in automatically whenever you start EPM. 
  323. You can delete the EPMTeX portion of your profile.erx file if you use this 
  324. method since it is no longer needed. 
  325.  
  326. Table of Contents 
  327.  
  328.  
  329. ΓòÉΓòÉΓòÉ 5.4. Pro Version ΓòÉΓòÉΓòÉ
  330.  
  331.  EPMTeX 3.1 (Pro version) 
  332.  
  333.          1. Express Installation
  334.             (terse installation instructions for EPM experts)
  335.  
  336.  
  337.          2. Long-Winded Installation
  338.             (full installation instructions for novices)
  339.  
  340.   Table of Contents
  341.  
  342.  
  343. ΓòÉΓòÉΓòÉ 5.4.1. Express Installation ΓòÉΓòÉΓòÉ
  344.  
  345. Express Installation Procedure (Pro version) 
  346.  
  347. NOTE: Users of older versions of EPMTeX will first have to purge the old EPMTeX 
  348. files before installing the new version. Refer to Appendix A for further 
  349. instructions. 
  350.  
  351.    1. Create the subdirectory EPMTEX in the EPM directory.  Copy the contents 
  352.       of the EPMTeX Pro macro package (including the files contained in 
  353.       TEXPRO.ZIP) into it. Add this directory to your EPMPATH  environment 
  354.       variable.  (You could also copy them to the e_macros subdirectory of epm, 
  355.       but this makes things more confusing with all the other files in there 
  356.       already.)  Reboot if you made any changes to config.sys. 
  357.  
  358.    2. Append mymnuini.add to your existing mymnuini.e file, or if you don't 
  359.       have one, copy mymnuini.add to mymnuini.e and put the file in a directory 
  360.       specified in your PATH or EPMPATH environment variables. 
  361.  
  362.    3. Append mystuff.add to your existing mystuff.e file, or if you don't have 
  363.       one, copy mystuff.add to mystuff.e and put the file in a directory 
  364.       specified in your PATH or EPMPATH environment variables. 
  365.  
  366.       CAUTION: We recommend you backup the original epm.ex and extra.ex in case 
  367.       you have problems and wish to get back to the original configuration. 
  368.  
  369.       Recompile (version 6 users can skip the extra.e recompile) 
  370.  
  371.             etpm epm
  372.             etpm extra
  373.             etpm tex
  374.  
  375.       Make sure the resulting epm.ex, extra.ex, and tex.ex files are located in 
  376.       a directory specified in your PATH or EPMPATH environment variables. 
  377.       Also, make sure there are no other older copies of epm.ex, extra.ex, and 
  378.       tex.ex in your PATH that could override your newer versions. 
  379.  
  380.    4. Copy bpmcc.dll to any directory in your LIBPATH.  Copy epmtex.exe and 
  381.       epmtex.hlp anywhere to your liking, it doesn't matter where, but keep 
  382.       them together. 
  383.  
  384.    5. Run epmtex.exe and fill in the notebook to describe your local TeX 
  385.       environment.  Refer to the on-line help for further information. 
  386.  
  387.    6. Start EPM.  The TeX menu should be visible.  Load a TeX file and test it 
  388.       out! 
  389.  
  390.  Table of Contents 
  391.  
  392.  
  393. ΓòÉΓòÉΓòÉ 5.4.2. Long-Winded Installation ΓòÉΓòÉΓòÉ
  394.  
  395. Long-Winded Installation Procedure (Pro version) 
  396.  
  397. NOTE: Users of older versions of EPMTeX will first have to purge the old EPMTeX 
  398. files before installing the new version. Refer to Appendix A for further 
  399. instructions. 
  400.  
  401. Requirements 
  402.  
  403. The EPMTeX Pro macros supplied with this package need to be compiled before 
  404. they can be incorporated into EPM.  You will need to obtain the complete EPM 
  405. 5.51a package from IBM to do this.  Alternatively, the package can also be used 
  406. with the new 32 bit version 6 of EPM. 
  407.  
  408. WARNING:  There are several versions of epm 5.51.  Make sure you get the latest 
  409. version.  It should say 5.51a in the Product Information dialog box under the 
  410. Help menu. 
  411.  
  412. The EPM package is available for free from the following Internet sites: 
  413.  
  414.          1. software.watson.ibm.com  /pub/os2/epm
  415.             (do not use the version in /pub/os2/os2fixes
  416.             as it an older version)
  417.  
  418.          2. ftp-os2.cdrom.com     /pub/os2/ibm/epm
  419.  
  420.  It should also be available from major OS/2 BBS services. 
  421.  
  422.  Installation of EPM 5.51a 
  423.  
  424.  If you are not already familiar with compiling EPM macros on your machine, 
  425.  read this section for additional help. 
  426.  
  427.  The installation of the EPM 5.51a package is sufficiently confusing that I 
  428.  will try to give some hints to get you going as fast as possible. 
  429.  
  430.  The EPM package includes two hypertext files; the EPM User's Manual, and the 
  431.  EPM Technical Reference.  Both of these manuals provide a wealth of 
  432.  information on EPM.  It is highly recommended that you spend some time 
  433.  becoming familiar with EPM, and the E macro language by reading through them. 
  434.  
  435.    1. Decide on a location for your EPM files.  I suggest something like 
  436.       \os2\epm or \epm.  I would avoid using the \os2\apps directory where the 
  437.       binaries for EPM 5.51 are placed by default during the the installation 
  438.       of OS/2.  There's just too much other crap in there already. 
  439.  
  440.    2. Unzip the EPM 5.51a files.  You will want to take care where you put 
  441.       everything.  I recommend the following directory structure as suggested 
  442.       in the EPMBBS.TXT file in the EPM package from IBM. 
  443.  
  444.       WARNING:  If you are using Warp v3.0, it is recommended you keep the 
  445.       original Warp versions of epm.exe, epm.hlp, and the etk*551.dll files as 
  446.       they are newer than the versions supplied with the IBM EPM compiler 
  447.       package. 
  448.  
  449.       EPMAPP.ZIP - Unzip into your epm directory (eg. \os2\epm) 
  450.  
  451.           EPM.EXE   - The 5.51a version of the editor (see Warp warning above) 
  452.           ETPM.EXE   - The 5.51a version of the macro compiler 
  453.           PMMORE.EXE  - Useful for debugging Rexx macros; entering RXSHELL 
  454.            from EPM will start PMMORE and redirect STDOUT to this window. SAY 
  455.            and TRACE output will be displayed there. 
  456.           *.EX     - the 5.51a version of the compiled macros 
  457.           EPMHELP.QHL - the updated "quick help" file 
  458.           EPMTECH.NDX - An index file for getting macro programmer help. 
  459.  
  460.       EPMBK.ZIP - Unpack into a directory in your BOOKSHELF path 
  461.  
  462.           EPMUSERS.INF - The EPM User's Guide 
  463.           EPMTECH.INF  - The EPM Macro Programmer's Technical Reference 
  464.  
  465.       EPMDLL.ZIP - Unpack into \os2\apps\dll or a directory in your LIBPATH. 
  466.       Delete the obsolete ETK*550.DLL files leftover from EPM 5.50. 
  467.  
  468.           ETK*551.DLL - The E Toolkit DLLs. (see Warp warning above) 
  469.  
  470.       EPMMAC.ZIP - Create a subdirectory under EPM called E_MACROS and unzip 
  471.       into it. 
  472.  
  473.           *.e - contains the macro files used to build the standard *.ex 
  474.            files. 
  475.  
  476.       EPMHLP.ZIP - Updated EPM.HLP; unpack into \os2\help  (see Warp warning 
  477.       above) 
  478.  
  479.       EMPSMP.ZIP - Create a subdirectory under EPM called sampmacs and unzip 
  480.       this file into it. 
  481.  
  482.           *.e - Sample E macro code; includes both useful programs and 
  483.            building blocks that you can use in writing your own code. 
  484.  
  485.       EPMREX.ZIP - Create a subdirectory under EPM called EREXX, unzip this 
  486.       file into it and add it to your EPMPATH. 
  487.  
  488.           *.erx - contains some sample EPM / Rexx macros. 
  489.  
  490.       EPMASI.ZIP - Create a subdirectory under EPM called myassist, unzip this 
  491.       file into it and add it to your EPMPATH. 
  492.  
  493.           An alternative approach to syntax-assisted editing; makes it easy to 
  494.            add your own expansions.  Includes sample files for OS/2 and PM 
  495.            APIs, C, and Bookmaster. 
  496.  
  497.       EPMATR.ZIP - Create a subdirectory under EPM called epmattr, unzip this 
  498.       file into it and add it to your EPMPATH. 
  499.  
  500.           Sample code for doing things with EPM's attribute support. 
  501.  
  502.    3. Edit your config.sys file and make sure that your new epm directory is 
  503.       included in your PATH statement.  If you have IBM's TCP/IP v2.0 
  504.       networking package, make sure your epm directory comes before \tcpip\bin 
  505.       in your PATH, or delete the redundant EPM files as outlined in step (6). 
  506.  
  507.    4. Edit your config.sys file and make sure that the e_macros, sampmacs, 
  508.       erexx, myassist, and epmattr subdirectories are included in your EPMPATH. 
  509.       EPMPATH is used by the ETPM compiler to find macro files that are not in 
  510.       your current directory. 
  511.  
  512.    5. Use a file finding utility to hunt down all *.ex files.  These are the 
  513.       compiled E macros that EPM executes.  The OS/2 installation puts them in 
  514.       \os2\apps.  Delete all redundant or older *.ex files on your system.  You 
  515.       only need them in your EPM directory.  Having multiple copies of the *.ex 
  516.       files may result in unexpected behaviour from EPM. 
  517.  
  518.    6. OPTIONAL: 
  519.  
  520.       If you have IBM's TCP/IP v2.0 networking package, there will be some more 
  521.       *.ex files in \tcpip\bin.  You can delete most of these files, or, if you 
  522.       prefer, just make sure your your epm directory comes before \tcpip\bin in 
  523.       your PATH, 
  524.  
  525.       WARNING: LEAVE THE FOLLOWING UNIQUE TO LAMAIL *.EX FILES IN \TCPIP\BIN 
  526.  
  527.            EPMLIST.EX 
  528.            LAMEXTRA.EX 
  529.            MAILLIST.EX 
  530.  
  531.    7. Find all other copies EPM.EXE and delete them.  Likely hiding places are 
  532.       \os2\apps and \tcpip\bin.  You only need the one copy of epm.exe and it 
  533.       should be in your epm directory.  For Warp users, move the existing 
  534.       EPM.EXE from \os2\apps to your epm directory as it is newer than the one 
  535.       supplied with the compiler package. 
  536.  
  537.    8. Find any copies of ETK*550.DLL (v 5.50 dll's) and delete them.  Likely 
  538.       hiding places are \os2\apps\dll  and \tcpip\dll.  You only need the 
  539.       v5.51a dll's and they should be put somewhere in your LIBPATH 
  540.       (\os2\apps\dll is as good as any). For Warp users, keep the existing 
  541.       ETK*551.DLL files in \os2\apps\dll as they are newer than the ones 
  542.       supplied with the compiler package. 
  543.  
  544.       NOTE: Unfortunately, when you apply a CSD or Service Pack, copies of EPM 
  545.       will again be placed in \os2\apps or \tcpip\bin and you will need to do 
  546.       some housekeeping to get things back in order. 
  547.  
  548.    9. I advise you get the spell checker option EPM_SPEL.ZIP for EPM.  It is a 
  549.       nice thing to have and is available from the following INTERNET source. 
  550.  
  551.            ftp-os2.cdrom.com      /pub/os2/2_x/editors 
  552.  
  553.       You will need to put the location of the dictionary (us.dct file) in the 
  554.       paths section of the EPM preferences notebook.  I put mine in \epm\lexam. 
  555.  
  556.   10. You should now be ready to compile your E macros.  First, though, reboot 
  557.       if you made any changes to config.sys. 
  558.  
  559.  COMPILING THE EPMTeX Pro MACROS 
  560.  
  561.    1. Create the subdirectory EPMTEX in the EPM directory.  Copy the contents 
  562.       of the EPMTeX Pro macro package (including the files contained in 
  563.       TEXPRO.ZIP) into it. Add this directory to your EPMPATH  environment 
  564.       variable.  (You could also copy them to the e_macros subdirectory of epm, 
  565.       but this makes things more confusing with all the other files in there 
  566.       already. Reboot if you made any changes to config.sys. 
  567.  
  568.    2. Delete the file TEX.EX that comes with the standard version of EPMTeX. 
  569.       You will compile your own copy of this file during the installation 
  570.       procedure. 
  571.  
  572.    3. Read the section in the EPM user's manual 'Changing the default 
  573.       configuration' to understand the use of EPM's configuration constants and 
  574.       what they can do.  The binaries included with the EPM package were 
  575.       compiled with the constants defined in epmgcnf.smp in your e_macros 
  576.       subdirectory.  If these are OK with you, copy epmgcnf.smp to a file 
  577.       called mycnf.e in your e_macros directory.  Alternatively, read the EPM 
  578.       documentation on compiler options and build your own custom mycnf.e file 
  579.       to suit your taste. 
  580.  
  581.       We would suggest that in your MYCNF.E file you enable the ring by 
  582.       including the following: 
  583.  
  584.             MY_RING_ENABLED = 1
  585.             RING_OPTIONAL = 0
  586.  
  587.    4. If you don't have a mystuff.e file in your e_macros directory, (maybe 
  588.       because this is your first stab at compiling E macros) then copy 
  589.       mystuff.add to mystuff.e. 
  590.  
  591.       If you already have a mystuff.e file in your e_macros directory, then 
  592.       append the contents of mystuff.add to the end of it. 
  593.  
  594.    5. If you don't have a mymnuini.e file in your e_macros directory, then copy 
  595.       mymnuini.add to mymnuini.e. 
  596.  
  597.       If you already have a mymnuini.e file in your e_macros directory (it is 
  598.       possible that you may already have an existing mymnuini.e file if you 
  599.       have made other modifications to EPM's menu bar already), then append the 
  600.       contents of mymnuini.add to it. 
  601.  
  602.    6. CAUTION:To be safe, make backup copies of your epm.ex and extra.ex files 
  603.       in your epm directory.  Then if things go awry you can get back to the 
  604.       original epm configuration. 
  605.  
  606.    7. Make the epm directory your current directory, and type: 
  607.  
  608.             etpm epm
  609.  
  610.       The etpm compiler will execute and compile your epm.e macro.  The TeX 
  611.       stuff in mystuff.e, mymnuini.e, and your config switches in mycnf.e will 
  612.       automatically be included.  If etpm complains it can't find a file, you 
  613.       probably have your EPMPATH incorrectly defined.  It should point to all 
  614.       directories containing E macro files (*.e). 
  615.  
  616.    8. If that goes well, type: 
  617.  
  618.             etpm extra
  619.  
  620.       This will compile the extra stuff that wouldn't all fit in the epm.ex 
  621.       file and generate a new extra.ex file.  (Note: this step is unnecessary 
  622.       with EPM version 6.) 
  623.  
  624.    9. If that goes well, type: 
  625.  
  626.             etpm tex
  627.  
  628.       This will compile the actual TeX support. 
  629.  
  630.   10. Make sure the files epm.ex, extra.ex, and tex.ex created above are 
  631.       located in a directory specified in your PATH or EPMPATH environment 
  632.       variables.  Also, make sure there are no other older copies of epm.ex, 
  633.       extra.ex, and tex.ex in your PATH that could override your newer 
  634.       versions. 
  635.  
  636.   11. Copy bpmcc.dll to any directory in your LIBPATH.  Put epmtex.exe and 
  637.       epmtex.hlp anywhere to your liking, it doesn't matter where, but keep 
  638.       them together. 
  639.  
  640.   12. Run epmtex.exe and fill in the notebook to describe your local TeX 
  641.       environment.  Refer to the on-line help for further information. 
  642.  
  643.   13. Start EPM.  The TeX menu should be visible.  Load a TeX file and test it 
  644.       out! 
  645.  
  646.  Table of Contents 
  647.  
  648.  
  649. ΓòÉΓòÉΓòÉ 6. Using the Macros with TeX ΓòÉΓòÉΓòÉ
  650.  
  651. Overview 
  652.  
  653. The E macro file tex.ex, when linked into the IBM enhanced Editor, will add a 
  654. TeX drop down menu to the EPM menu bar. 
  655.  
  656. Menu items in the TeX drop down menu allow the user to TeX (with any format, 
  657. e.g. LATeX), jump to errors in the TeX source, preview (portrait and 
  658. landscape), and print (portrait and landscape) the TeX file currently active in 
  659. EPM.  Four custom user modes may also be defined for special needs unique to 
  660. the user. 
  661.  
  662. TeX can be forced to use one of four formats (all user-definable) when TeXing 
  663. source code.  However, a general automatic mechanism is provided so that any 
  664. format can be specified in the first line of the TeX file.  This is the same 
  665. method used in texit.cmd by Eberhard Mattes. 
  666.  
  667. For large projects, a Master file scheme is supported, using a method similar 
  668. to the automatic format selection method.  This allows the user to break a 
  669. large document into many smaller, more manageable ones with fewer hassles. 
  670.  
  671. Paper orientation for viewing and printing also can be defined in the first 
  672. line of the TeX file, or selected through the TeX notebook. 
  673.  
  674. TeX syntax assist and TeX accelerator keys can be enabled for files with 
  675. extensions .tex, .sty, .aux, or .log, plus any other extensions defined by by 
  676. the user. 
  677.  
  678. Sample TeX files are included in the EXAMPLES directory to demonstrate the 
  679. EPMTeX package.  See the file EXAMPLES\T-MAIN.TEX to get started. 
  680.  
  681. For additional information refer to the following sections: 
  682.  
  683.       The Master File Concept 
  684.       Drop Down Menu Overview 
  685.       TeX Document 
  686.       Locate Next Error 
  687.       View LOG File 
  688.       Preview Document 
  689.       Print Document 
  690.       User Defined Commands 
  691.       Delete LOG File 
  692.       Delete DVI File 
  693.       Format Selection 
  694.       Orientation Selection 
  695.       About 
  696.  
  697.  
  698. ΓòÉΓòÉΓòÉ 6.1. Using the EPM Drop Down Menu for TeX: ΓòÉΓòÉΓòÉ
  699.  
  700. This is a description of the menu items that appear on the TeX sub-menu after 
  701. installing EPMTeX.  The TeX menu will be greyed out for non-Tex files.  (TeX 
  702. files are defined as having extensions .tex, .log, .aux and .sty.  You can also 
  703. specify extensions of your own choice using the EPMTeX notebook (See User File 
  704. Types) 
  705.  
  706. **A double asterisk following the menu choice below signifies that 
  707. determination of the "Master" file is the first thing that is done after this 
  708. choice is made.  If a "Master" file specification is found, EPM changes the 
  709. default directory to that directory (so that log files, etc., end up in that 
  710. directory) and executes the command associated with that menu item on the 
  711. Master file, not the current file.  The Master file can be specified in any of 
  712. the following ways (the master file is MYMAIN.TEX): 
  713.  
  714. % Master: mymain
  715. % master: mymain
  716. % Master  mymain
  717. % master  mymain
  718.  
  719. Any number of spaces can be used between any of the elements in the line. All 
  720. Master and Slave (those input from the master) files are assumed to be in the 
  721. same directory.  However, they can be placed in different directories if they 
  722. are always referenced with a fully qualified pathname (no relative path 
  723. specifications). Forward or back slashes can be used in the Master 
  724. specification above, but remember to use forward slashes in \input lines since 
  725. TeX will interpret backslashes as command sequences. 
  726.  
  727. If a master file is specified but does not actually exist, EPMTeX will ask if 
  728. you want to stop processing or continue as if the Master directive was not 
  729. issued.  This has the (nifty) side-effect that you can do something like: 
  730.  
  731. % Format: lplain Master : mymain Orientation:Landscape
  732.  
  733. for the first line of a file.  If you want to TeX only the current file, simply 
  734. modify mymain to something like mymain1 and then TeX the current file.  Note 
  735. that you would then have a .log and .dvi (and maybe other) files lying around 
  736. that you won't want later!  Note that this question will pop up for any of the 
  737. operations below that check for a master file name. 
  738.  
  739. Two other First line directives are defined: Format and Orientation.  Note that 
  740. they can appear in any order on the first line of the file. To reiterate, the 
  741. Master directive is processed first.  If a master file is defined and exists, 
  742. the Format and Orientation directives in the current file are ignored.  But if 
  743. a master file is defined but does not exist, they will be used. (Hang on, it 
  744. does make sense!) 
  745.  
  746. For additional information refer to the following sections: 
  747.  
  748.       The Master File Concept 
  749.       TeX Document 
  750.       Locate Next Error 
  751.       View LOG File 
  752.       Preview Document 
  753.       Print Document 
  754.       User Defined Commands 
  755.       Delete LOG File 
  756.       Delete DVI File 
  757.       Format Selection 
  758.       Orientation Selection 
  759.       About 
  760.  
  761.  
  762. ΓòÉΓòÉΓòÉ 6.2. TeX Document ** ΓòÉΓòÉΓòÉ
  763.  
  764. Calls the version of TeX specified on the TeX|Exec notebook page with the 
  765. format to be used and the name of the current (or Master) file appended.  Note 
  766. that the appended filename is specified with UNIX type directory delimiters 
  767. (ie.  '/') so that TeX will not barf. 
  768.  
  769. The format to be used is selected on the Settings notebook page.  If Automatic 
  770. is not chosen (one of the other ones is) the format defined on the TeX|Formats 
  771. notebook page for that format will be used. If Automatic is chosen, an attempt 
  772. is made to determine the format from the first line of the current (or Master) 
  773. file.  The format can be specified in any of the following ways (lplain is the 
  774. format used here): 
  775.  
  776. % Format: lplain
  777. % format: lplain
  778. % Format  lplain
  779. % format  lplain
  780. % Format:lplain
  781. % format : lplain
  782. % format :lplain
  783. etc...
  784.  
  785. Any number of spaces can be used between any of the elements in the line. If 
  786. the format is not specified but Automatic is chosen, EPMTeX will issue a 
  787. warning and continue with the format defined for Plain. Note that the format 
  788. specification only need be placed in the Master file, not the slave files. 
  789.  
  790. Note that the format you specify does not have to correspond to any format 
  791. defined in the Format notebook page.  If you specify a format that doesn't 
  792. exist, EPMTeX won't care, but TeX will- you'll get a 'Sorry, I can't find that 
  793. format; will try PLAIN' error. 
  794.  
  795. If the AutoSave option is checked on the TeX Settings notebook page, the 
  796. current file will first be saved to disk if the version in EPM memory has been 
  797. modified.  If a Master file is defined, EPM loads the Master file and scans it 
  798. for "\input file_name" commands, and checks to see if file_name is in the ring. 
  799. If it is, and has been modified, EPM will save the file. If AutoSave is not 
  800. checked, EPM will ask you if you wish to save the file before TeXing. 
  801.  
  802. This action also resets the Error Locating routine to the beginning of the LOG 
  803. file. 
  804.  
  805.  
  806. ΓòÉΓòÉΓòÉ 6.3. Locate Next Error ** ΓòÉΓòÉΓòÉ
  807.  
  808. If the LOG file for the current (or Master) file exists, this action will load 
  809. the log file, determine the TeX source file in which the first error resides, 
  810. load that file, position the cursor at the error, and print the error message 
  811. on the message line. 
  812.  
  813. Subsequent selection of this action will cause a search for the next error 
  814. until all errors have been located. 
  815.  
  816. Selecting either the View LOG File or TeX Document menu options resets the 
  817. search to the beginning of the LOG file. 
  818.  
  819. Note that if you are using a Master file and include a slave file that does not 
  820. have the Master specification in the first line, and EPMTeX locates an error in 
  821. this file, you will have to switch to a file in the ring that does have the 
  822. master file defined to locate subsequent errors. This is due to the fact that 
  823. the error routine will look for a LOG file associated with the slave file, not 
  824. the master, to locate the next error. In most cases, it will not exist, so the 
  825. menu item will be greyed out. BE AWARE: if it does exist, you may have some 
  826. trouble since the error routine will be looking in the wrong LOG file for the 
  827. next error! 
  828.  
  829.  
  830. ΓòÉΓòÉΓòÉ 6.4. View LOG File ** ΓòÉΓòÉΓòÉ
  831.  
  832. If the LOG file exists, this command will load the associated LOG file for the 
  833. current (or Master) TeX file into the EPM file ring.  If there is a LOG file 
  834. currently in the ring, it is removed before the new LOG file is loaded.  This 
  835. action also resets the Error Locating routine to the beginning of the LOG file. 
  836.  
  837.  
  838. ΓòÉΓòÉΓòÉ 6.5. Preview Document ** ΓòÉΓòÉΓòÉ
  839.  
  840. Calls the TeX previewer specified on the Previewer|Portrait notebook page (or 
  841. Previewer|Landscape if landscape orientations is selected) with the name of the 
  842. associated DVI file for the current (or Master) file loaded in EPM appended. 
  843.  
  844. The TeX previewer specified on the Previewer|Portrait notebook page should be 
  845. the previewer used for portrait orientation.  The TeX previewer specified on 
  846. the Previewer|Landscape notebook page should be the previewer used for 
  847. landscape orientation. 
  848.  
  849. If the Auto LOG Delete option is checked in the Settings notebook page, the 
  850. associated LOG file for the current (or Master) file will be automatically 
  851. deleted if it exists. 
  852.  
  853.  
  854. ΓòÉΓòÉΓòÉ 6.6. Print Document ** ΓòÉΓòÉΓòÉ
  855.  
  856. Calls the TeX dvi printer driver specified on the Printer|Portrait notebook 
  857. page (or Printer|Landscape if landscape orientation is selected) with the name 
  858. of the associated DVI file for the current (or Master) file loaded in EPM 
  859. appended. 
  860.  
  861. The TeX printer driver specified  should be on the Printer|Portrait notebook 
  862. page the printer driver used for portrait orientation.  The TeX printer driver 
  863. specified on the Printer|Landscape notebook page should be the printer driver 
  864. used for landscape orientation.  If the Auto LOG Delete option is checked in 
  865. the Settings notebook page, the associated LOG file for the current (or Master) 
  866. file will be automatically deleted if it exists. 
  867.  
  868.  
  869. ΓòÉΓòÉΓòÉ 6.7. User Defined Command ** ΓòÉΓòÉΓòÉ
  870.  
  871. You can define up to four user defined commands. The commands are specified on 
  872. the User X|Portrait notebook pages (or User X|Landscape notebook pages if 
  873. landscape orientation is chosen) will be executed. 
  874.  
  875.  
  876. ΓòÉΓòÉΓòÉ 6.8. Delete LOG File ** ΓòÉΓòÉΓòÉ
  877.  
  878. If the LOG file exists, this command will delete the associated LOG file for 
  879. the current (or Master) file loaded in EPM.  It also removes this LOG file from 
  880. the ring if it exists. 
  881.  
  882.  
  883. ΓòÉΓòÉΓòÉ 6.9. Delete DVI File ** ΓòÉΓòÉΓòÉ
  884.  
  885. If the DVI file exists, this command will delete the associated DVI file for 
  886. the current (or Master) file loaded in EPM. 
  887.  
  888.  
  889. ΓòÉΓòÉΓòÉ 6.10. Format ΓòÉΓòÉΓòÉ
  890.  
  891. CAUTION:
  892. This menu item is only availabe on the Pro version of the EPMTeX package.  Use 
  893. the Settings notebook page instead if using the standard version. 
  894.  
  895. The chosen format will have a checkmark beside it.  If Automatic is chosen, 
  896. EPMTeX will attempt to determine the format to be used from the first line of 
  897. the current (or Master) file.  If no format is specified on the first line, the 
  898. format defined by Plain will be used. If one of the other formats is selected, 
  899. EPMTeX will explicitly call the format associated with this selection when TeX 
  900. Document is selected. 
  901.  
  902. There is no specific German mode in this release.  Rather, alternate language 
  903. support is included as part of this more general format selection method.  The 
  904. German versions of the plain and LATeX formats can be defined on the 
  905. TeX|Formats notebook page. 
  906.  
  907.  
  908. ΓòÉΓòÉΓòÉ 6.11. Orientation ΓòÉΓòÉΓòÉ
  909.  
  910. CAUTION:
  911. This menu item is only availabe on the Pro version of the EPMTeX package.  Use 
  912. the Settings notebook page instead if using the standard version. 
  913.  
  914. The chosen paper orientation will have a checkmark beside it.  If Automatic is 
  915. chosen, EPMTeX will attempt to determine the orientation to be used from the 
  916. first line of the current (or Master) file.  If no orientation is specified on 
  917. the first line, Portrait will be used.  If Portrait or Landscape is chosen, the 
  918. orientation specified on the first line of the file will be overridden. 
  919.  
  920. The orientation is specified on the first line of the TeX file in a manner 
  921. similar to that of the Format specification, except there are only two possible 
  922. orientations, Landscape and Portrait.  Some example specifications are shown 
  923. below: 
  924.  
  925. % Orientation: Landscape
  926. % Orientation: Portrait
  927. % Format: lplain  Orientation: Landscape
  928. % Format: TeXsis  Orientation: Portrait
  929. % Orientation: Landscape  Format: MyFormat
  930. etc...
  931.  
  932. If Portrait  or Landscape is selected, the orientation specified on the first 
  933. line of the file, if it exists, will be ignored and the selected orientation 
  934. will always be used. 
  935.  
  936. If the orientation is determined to be landscape, the landscape versions of the 
  937. TeX previewer and printer driver (and the four user-defined commands) are used 
  938. as specified by the Landscape pages of the EPMTeX notebook. Otherwise, the 
  939. portrait versions specified by the Portrait pages of the EPMTeX notebook are 
  940. used. 
  941.  
  942.  
  943. ΓòÉΓòÉΓòÉ 6.12. About ΓòÉΓòÉΓòÉ
  944.  
  945. Self-explanatory? 
  946.  
  947. Table of Contents 
  948.  
  949.  
  950. ΓòÉΓòÉΓòÉ 7. EPMTeX Settings Page ΓòÉΓòÉΓòÉ
  951.  
  952. The settings page controls those configurations that have an immediate affect 
  953. on the operation of the EPMTeX macro package.  The following settings can be 
  954. controlled: 
  955.  
  956.       Auto Log Delete 
  957.       Auto Save 
  958.       Master File 
  959.       Debug Level 
  960.       Format 
  961.       Orientation 
  962.       OK 
  963.       Cancel 
  964.  
  965.       Table of Contents 
  966.  
  967.  
  968. ΓòÉΓòÉΓòÉ 7.1. EPMTeX Automatic Log File Delete ΓòÉΓòÉΓòÉ
  969.  
  970. If this option is checked, the log file for the active TeX file in the editor 
  971. window will be automatically deleted when previewing or printing the associated 
  972. dvi file.  This feature can be handy to avoid leaving behind a clutter of log 
  973. files after using TeX. 
  974.  
  975.  
  976. ΓòÉΓòÉΓòÉ 7.2. EPMTeX Smart File Save ΓòÉΓòÉΓòÉ
  977.  
  978. If this option is checked, TeX files that have been modified will be saved to 
  979. disk automatically before TeX is called.  TeX files checked for modification 
  980. include the current TeX file in the editor window, any TeX files included in 
  981. the current file using the \input and \include{} commands, and any other files 
  982. linked to the current file by a common Master file.  Since TeX operates on the 
  983. file saved to disk and not on the file in editor memory, it is usually 
  984. desirable to have this option selected. 
  985.  
  986. If this option is not checked, and there are modified files in the editor, then 
  987. you will be reminded by a dialog box that there are modified files in the 
  988. editor whenever TeX is run.  The dialog box reminder will give you the 
  989. opportunity to have the modified files saved to disk before TeX is run. 
  990.  
  991.  
  992. ΓòÉΓòÉΓòÉ 7.3. Master File System ΓòÉΓòÉΓòÉ
  993.  
  994. If this option is checked, the Master File system will be enabled. 
  995.  
  996. The Master File Concept 
  997.  
  998. It is useful to break a large document into smaller, more manageable parts. The 
  999. idea is to create a small file, which contains initialization commands, special 
  1000. definitions, etc., and then includes other files which have the actual text of 
  1001. the document.  This small file is the "Master" file.  For example we might have 
  1002. the following Master file, NOISE.TEX 
  1003.  
  1004. %Format: TeXsis       % Use the TeXsis format
  1005. \paper                % Set page layout
  1006. \TrueDoubleSpacing    % Set doublespacing
  1007. \draft                % Put into draft mode
  1008. \input NOISE-REFS     % References
  1009. \input NOISE-INTRO    % Introduction
  1010. \input NOISE-SEC1     % Section 1
  1011. \input NOISE-SEC2     % Section 2
  1012. \input NOISE-SEC3     % Section 3
  1013. \input NOISE-CONC     % Conclusion
  1014. \ListReferences       % List all References
  1015. \end
  1016.  
  1017. The first line will tell EPMTeX (and Eberhard Mattes' texit.cmd) that the 
  1018. TeXsis format should be used when TeXing this file.  Any valid format can be 
  1019. used here as long as the corresponding *.fmt file exists. Lines 2-4 are TeXsis 
  1020. commands that set the page layout and other things that apply to the entire 
  1021. document.  The references, as well as each of the 5 sections of the paper, are 
  1022. in a separate files which are read in one after another. The second-to-last 
  1023. line then prints out the references and finally the document ends. 
  1024.  
  1025. This scheme is useful since not only is the document well organized, but now 
  1026. sections of the paper can be worked on individually by simply commenting out 
  1027. those sections which need not be compiled.  When everything is working, just 
  1028. uncomment all the sections and recompile. 
  1029.  
  1030. A simple example of the Master File system is provided with EPMTeX in the 
  1031. \examples directory created when you first unzip the EPMTeX package. 
  1032.  
  1033.  
  1034. ΓòÉΓòÉΓòÉ 7.4. Debug Level ΓòÉΓòÉΓòÉ
  1035.  
  1036. For the purpose of debugging a new installation, EPMTeX has some built in 
  1037. support for runtime debugging.  The spinbutton allows the debug level to be 
  1038. changed from OFF, the default state, through level 3. 
  1039.  
  1040.  If debug level 1 is selected, the contents of the command line sent to the 
  1041. OS/2 shell when TeX, Preview, Print, etc., are selected  will be displayed on 
  1042. the EPM message line.  This can be useful when setting up and debugging the 
  1043. various TeX commands during the installation of EPMTeX.  Note that a list of 
  1044. recent messages can be retrieved in EPM under  the menu options|messages. 
  1045.  
  1046. Debug levels 2 and 3 provide increasing detail about the operation of the 
  1047. EPMTeX macros.  However, such detail is unlikely to be of much use unless you 
  1048. are developing enhancements to the EPMTeX macro package. 
  1049.  
  1050.  
  1051. ΓòÉΓòÉΓòÉ 7.5. Format Selection ΓòÉΓòÉΓòÉ
  1052.  
  1053. The desired TeX format is selected using the available radio buttons. 
  1054.  
  1055. If Auto is chosen, EPMTeX will attempt to determine the format to use by 
  1056. looking at the first line of the current (or Master) file. If no format is 
  1057. specified on the first line, the format defined by Plain will be used by 
  1058. default. 
  1059.  
  1060. The format to use is specified in the first line of the file.  Some example 
  1061. specifications are shown below: 
  1062.  
  1063. % Format: plain
  1064. % Format: lplain
  1065. % Format: MyFormat
  1066. etc.
  1067.  
  1068. If a specific format radio button is selected, EPMTeX will use the format 
  1069. associated with this selection as specified in the Format page of the EPMTeX 
  1070. notebook.  Should it exist, the format specified on the first line of the file 
  1071. will be ignored and the selected format will always be used. 
  1072.  
  1073. There are provisions to support two User formats as well as the more common 
  1074. Plain and LaTeX formats.  In practise, however, any TeX format can be 
  1075. associated with any radiobutton selection by appropriately defining it in the 
  1076. Format page of the EPMTeX notebook.  Note that any format can be specified in 
  1077. the Tex file using the %Format: directive.  The format need not be first 
  1078. defined on this page to be used.  Provided the Auto setting is selected the 
  1079. specified format will be passed to TeX.  The only requirement is that the 
  1080. corresponding *.fmt file exist. 
  1081.  
  1082.  
  1083. ΓòÉΓòÉΓòÉ 7.6. Orientation Selection ΓòÉΓòÉΓòÉ
  1084.  
  1085. The desired TeX paper orientation is selected using the available radio 
  1086. buttons. 
  1087.  
  1088. If Auto is chosen, EPMTeX will attempt to determine the orientation to use by 
  1089. looking at the first line of the current (or Master) file.  If no orientation 
  1090. is specified on the first line, Portrait will be used by default. 
  1091.  
  1092. The orientation is specified on the first line of the TeX file in a manner 
  1093. similar to that of the Format specification, except there are only two possible 
  1094. orientations, Landscape and Portrait.  Some example specifications are shown 
  1095. below: 
  1096.  
  1097. % Orientation: Landscape
  1098. % Orientation: Portrait
  1099. % Format: lplain  Orientation: Landscape
  1100. % Format: TeXsis  Orientation: Portrait
  1101. % Orientation: Landscape  Format: MyFormat
  1102. etc.
  1103.  
  1104. If Portrait  or Landscape is selected, the orientation specified on the first 
  1105. line of the file, if it exists, will be ignored and the selected orientation 
  1106. will always be used. 
  1107.  
  1108. If the orientation is determined to be landscape, the landscape versions of the 
  1109. TeX previewer and printer driver (and the four user-defined commands) are used 
  1110. as specified by the Landscape pages of the EPMTeX notebook. Otherwise, the 
  1111. portrait versions specified by the Portrait pages of the EPMTeX notebook are 
  1112. used.  The same holds true for the four user-defined commands. 
  1113.  
  1114.  
  1115. ΓòÉΓòÉΓòÉ 7.7. OK Button ΓòÉΓòÉΓòÉ
  1116.  
  1117. Pressing OK causes the notebook to close with its current state saved in the 
  1118. epm.ini file. 
  1119.  
  1120.  
  1121. ΓòÉΓòÉΓòÉ 7.8. Cancel Button ΓòÉΓòÉΓòÉ
  1122.  
  1123. Pressing Cancel causes the notebook to be closed without saving any changes 
  1124. made to the currently visible page of the notebook. 
  1125.  
  1126. CAUTION:
  1127. Please note that changes made previously to other pages in the notebook will 
  1128. not be undone.  Once a new page in the notebook is selected, it is equivalent 
  1129. to having selected the OK button, and any changes made to the page are 
  1130. permanently saved and cannot be undone.  The Cancel button's scope only applies 
  1131. to the page that is visible when the Cancel button is pressed.  So, don't 
  1132. change the notebook page until you are happy with the changes you have made.
  1133.  
  1134.  
  1135. ΓòÉΓòÉΓòÉ 8. EPMTeX StartUp Page ΓòÉΓòÉΓòÉ
  1136.  
  1137. The startup page controls those configuration options that only affect the 
  1138. operation of the EPMTeX macro package the next time EPM is started.  Hence, any 
  1139. changes made to these settings will not have any immediate affect on the 
  1140. current EPM editing session. 
  1141.  
  1142. The following settings can be controlled. 
  1143.  
  1144.       TeX Tabs 
  1145.       Quick Keys 
  1146.       Menu On 
  1147.       Syntax Assist 
  1148.       TeX Margins 
  1149.       Additional file extensions to associate with TeX 
  1150.       OK 
  1151.       Cancel 
  1152.  
  1153.       Table of Contents 
  1154.  
  1155.  
  1156. ΓòÉΓòÉΓòÉ 8.1. EPMTeX TeX Tabs ΓòÉΓòÉΓòÉ
  1157.  
  1158. Tab stops specific only to TeX files can be defined in the Tab Stops entry box, 
  1159. and enabled by clicking in the Enable check box. 
  1160.  
  1161. In the Tab Stops entry box, you can type either a single number to be used as 
  1162. an increment, or a series of numbers separated by a space that will be used as 
  1163. column spacings. In both cases column one is used as a starting point. 
  1164.  
  1165. A TeX file, for the purposes of defining tab scope, is defined to be any file 
  1166. with an extension of tex, sty, aux, and log.  In addition, custom file 
  1167. extensions can be specified in the  Additional file extensions to associate 
  1168. with TeX entry box on the Startup page. 
  1169.  
  1170.  
  1171. ΓòÉΓòÉΓòÉ 8.2. EPMTeX Quick keys ΓòÉΓòÉΓòÉ
  1172.  
  1173. If the Quick Keys setting is checked,  the key Shift+F11 is defined to execute 
  1174. the TeX Document menu item, and the key Shift+F12 is defined to execute the 
  1175. Locate Next Error menu item. 
  1176.  
  1177.  
  1178. ΓòÉΓòÉΓòÉ 8.3. EPMTeX Menu Always On ΓòÉΓòÉΓòÉ
  1179.  
  1180. If the Menu Always On setting is checked, access to the TeX submenu is always 
  1181. possible, even if a non-TeX file is loaded.  If unchecked, the TeX menu will be 
  1182. greyed out when the current file in EPM is not a TeX file. 
  1183.  
  1184. A TeX file is defined to be any file with an extension of tex, sty, aux, and 
  1185. log.  In addition, custom file extensions can be specified in the Additional 
  1186. file extensions to associate with TeX entry box on the Startup page. 
  1187.  
  1188.  
  1189. ΓòÉΓòÉΓòÉ 8.4. EPMTeX Syntax Assist ΓòÉΓòÉΓòÉ
  1190.  
  1191. A number of syntactical aids are available with the EPMTeX macros to help the 
  1192. user with typing and debugging TeX commands. The following features can be 
  1193. independently controlled: 
  1194.  
  1195.       Syntax Highlighting (EPM v6 only) 
  1196.       Syntax Expansion 
  1197.       TeX Accelerator Keys 
  1198.  
  1199.  
  1200. ΓòÉΓòÉΓòÉ 8.4.1. Syntax Highlighting ΓòÉΓòÉΓòÉ
  1201.  
  1202. If the Highlighting setting is checked and you are using EPM version 6 or 
  1203. later, then EPM's built-in TeX syntax highlighting will be enabled.  Various 
  1204. TeX commands will be highlighted in user defined colors based on entries in the 
  1205. epmkwds.tex file.  This file should be consulted for further information on 
  1206. customizing the TeX syntax highlighting feature. 
  1207.  
  1208.  
  1209. ΓòÉΓòÉΓòÉ 8.4.2. Syntax Expansion ΓòÉΓòÉΓòÉ
  1210.  
  1211. If the Expansion setting is checked,  then the built-in TeX syntax expansions 
  1212. will be enabled. 
  1213.  
  1214. The TeX syntax expansion provided with EPMTeX was developed by Jo Koenen. If 
  1215. you have suggestions, or better yet source code, that will expand the 
  1216. functionality of this section we would love to hear from you. 
  1217.  
  1218. This is a brief description of the syntax expansion features defined in EPMTeX: 
  1219.  
  1220. Loading a file into EPM with the extension .tex, .sty, .aux, or .log (plus any 
  1221. user defined extensions added using the  Additional file extensions to 
  1222. associate with TeX entrybox) enables the following enhancements: (the vertical 
  1223. bar | denotes the cursor position) 
  1224.  
  1225. 1.  \be (including the blank after \be !!)  will be expanded to \begin{|} 
  1226.  
  1227. now you can enter a TeX-word like itemize
  1228.  
  1229. \begin{itemize}
  1230.  
  1231. press enter and you get
  1232.  
  1233. \begin{itemize}
  1234. |
  1235. \end{itemize}
  1236.  
  1237. 2.  \it  (including the blank) will be expanded to \item | 
  1238.  
  1239. 3.  \ci  (including the blank) will be expanded to \cite{|} 
  1240.  
  1241. That's all I (Jo) have done so far, but it is all source code, therefore it's 
  1242. expandable. Every suggestion is welcome. 
  1243.  
  1244.  
  1245. ΓòÉΓòÉΓòÉ 8.4.3. TeX Accelerator Keys ΓòÉΓòÉΓòÉ
  1246.  
  1247. If the Accelerator keys setting is checked,  then the built-in TeX accelerator 
  1248. keys will be defined. 
  1249.  
  1250. Note: You cannot enable the TeX accelerator keys without also enabling the TeX 
  1251. syntax expansion. 
  1252.  
  1253. Key assignments (the vertical bar | marks the cursor position) are shown below: 
  1254.  
  1255.    alt-a:=eqnarray|
  1256.   alt-b:=\begin{|}
  1257.   alt-c:=\cite{|}
  1258.   alt-d:=description|
  1259.   alt-e:=equation|
  1260.   alt-f:=\frac{|}{}
  1261.   alt-h:=\hspace*{|}
  1262.   alt-i:=\item|
  1263.   alt-j:=itemize|
  1264.   alt-k:=tabular|
  1265.   alt-l:=\label{|}
  1266.   alt-m:=\mbox{|}
  1267.   alt-n:=enumerate|
  1268.   alt-q:=equation|
  1269.   alt-r:=\ref{|}
  1270.   alt-s:=\sqrt{|}
  1271.   alt-v:=\vspace*{|}
  1272.   alt-w:=verbatim|
  1273.    {   :={|}
  1274.    $   :=$|$
  1275.  
  1276.  
  1277. ΓòÉΓòÉΓòÉ 8.5. EPMTeX TeX Margins ΓòÉΓòÉΓòÉ
  1278.  
  1279. Margins specific only to TeX files can be defined in the Left, Right, and 
  1280. Paragraph entry boxes, and enabled by clicking in the Enable check box. 
  1281.  
  1282. The left and right margins control where the cursor is positioned when typing 
  1283. text.  If you type beyond the right margin , the word you are typing is moved 
  1284. to a new line starting at the left margin. 
  1285.  
  1286. When you reformat a paragraph, it is justified so that all lines are between 
  1287. the left margin and the right margin, except the first line, which starts at 
  1288. the paragraph margin. 
  1289.  
  1290. A TeX file, for the purposes of defining margin scope, is defined to be any 
  1291. file with an extension of tex, sty, aux, and log.  In addition, custom file 
  1292. extensions can be specified in the  Additional file extensions to associate 
  1293. with TeX entry box on the Startup page. 
  1294.  
  1295.  
  1296. ΓòÉΓòÉΓòÉ 8.6. TeX User File Types ΓòÉΓòÉΓòÉ
  1297.  
  1298. Many EPMTeX functions such as the TeX menu, syntax assist and accelerator keys 
  1299. are disabled for non-TeX files. For example, the TeX menu will be greyed out 
  1300. for non-Tex files (unless Menu Always On is checked). 
  1301.  
  1302. By default, a TeX file is defined to be any file with an extension of tex, sty, 
  1303. aux, and log.  You can also specify additional extensions of your own choice by 
  1304. entering them in the Additional file extensions to associate with TeX entry 
  1305. box.  The file types do not need to be separated with spaces, although this can 
  1306. be done for ease of reading.  The extensions need not be limited to 3 
  1307. characters if you are using the HPFS file system. 
  1308.  
  1309. For example, suppose you want to define additional files with file names of 
  1310. *.fgl, *.tbl, *.ref, *.cnt, and *.toc to be recognized as TeX files.  Either of 
  1311. the following entries would accomplish this, although the first is arguably 
  1312. easier to read.  Furthermore, the second entry would also match other 
  1313. permutations of file extensions such as *.fgltbl and so on: 
  1314.  
  1315.       FGL TBL REF CNT TOC 
  1316.       FGLtbLREFcnttoc 
  1317.  
  1318.  
  1319. ΓòÉΓòÉΓòÉ 9. EPMTeX Executable Page ΓòÉΓòÉΓòÉ
  1320.  
  1321. The executable notebook page allows the specification of an external executable 
  1322. program or REXX file to be launched for a given task such as TeXing, 
  1323. previewing, and printing.  It also allows configuration of the parameters that 
  1324. control how EPMTeX will start the program and pass parameters. 
  1325.  
  1326. There are many of these pages in the EPMTeX notebook, each describing a 
  1327. different executable program whose function will be self evident from the 
  1328. description on the notebook tab.  A basic setup will require specification of 
  1329. programs or REXX files to TeX, preview and print. Four additional User tabs are 
  1330. provided, with no fixed purpose, to suit the individual needs of each user. 
  1331. Typically they might be used to launch FAX routines, envelope printing, and 
  1332. other TeX related applications, that are not a part of the core TeX, preview, 
  1333. and print functions. 
  1334.  
  1335. The following controls are available on the page: 
  1336.  
  1337.       Executable File Name 
  1338.       Program Type 
  1339.       Start Condition 
  1340.       Parameter Path 
  1341.       Executable Type 
  1342.       Start In 
  1343.       OK 
  1344.       Cancel 
  1345.  
  1346.       Table of Contents 
  1347.  
  1348.  
  1349. ΓòÉΓòÉΓòÉ 9.1. EPMTeX Executable File Name ΓòÉΓòÉΓòÉ
  1350.  
  1351. Enter your executable path\filename and args here.  EPMTeX will automatically 
  1352. append the fully qualified TeX filename of the TeX or *.dvi file (as 
  1353. appropriate) to the end of the line.  The format will also be appended in the 
  1354. case of the TeX executable. 
  1355.  
  1356. The use of environment variables in the filename is supported. The syntax 
  1357. follows that of emtex, with a $ preceding the variable name, and a : following. 
  1358. If you have correctly defined the EMTEXDIR environment variable during the 
  1359. emtex installation, then the default entries in the EPMTeX notebook pages 
  1360. should work without change for your installation.  An example showing the use 
  1361. of an environment variable for the Printer notebook page is shown below: 
  1362.  
  1363. $EMTEXDIR:\bin\dvihplj.exe @lj.cnf
  1364.  
  1365. Additional detailed information about the filename entry for the following 
  1366. notebook pages is available: 
  1367.  
  1368.       TeX 
  1369.       Previewer 
  1370.       Printer 
  1371.       User 
  1372.  
  1373.  
  1374. ΓòÉΓòÉΓòÉ 9.1.1. TeX File Name Entry ΓòÉΓòÉΓòÉ
  1375.  
  1376. The name of the TeX executable is entered here.  The default entry should work 
  1377. properly for the standard setup of emtex v3.14159 or later. 
  1378.  
  1379. In addition to having the fully qualified TeX filename of the TeX file 
  1380. automatically appended to the end of the line, EPMTeX will also append the 
  1381. selected format to the line as specified with the Format setting. 
  1382.  
  1383. The format is appended before the TeX filename.  EPMTeX automatically inserts 
  1384. the characters & before the format, and encloses the format and file name in 
  1385. quotes so that the & symbol will not interfere with the command processor. For 
  1386. example, if 
  1387.  
  1388. $EMTEXDIR:\bin\tex386.exe -mp40000
  1389.  
  1390. is entered in the TeX notebook page, the format plain is selected, and the file 
  1391. being edited is called x:\mypath\foo.tex, then EPMTeX will launch TeX with the 
  1392. following line: 
  1393.  
  1394. start x:\TheEmtexDir\bin\tex386.exe -mp40000 "&plain x:/mypath/foo.tex"
  1395.  
  1396.  
  1397. ΓòÉΓòÉΓòÉ 9.1.2. Previewer File Name Entry ΓòÉΓòÉΓòÉ
  1398.  
  1399. The name of the Previewer executable is entered here.  Two different pages are 
  1400. defined, to allow different previewers to be specified for Portrait and 
  1401. Landscape orientation. The default entry should work properly for the standard 
  1402. setup of emtex dvipm v1.5 or later. 
  1403.  
  1404. Note that EPMTeX does nothing different for the Portrait and Landscape 
  1405. orientations other than calling the executable specified on the respective 
  1406. notebook page.  It is up to the user to make sure that the corresponding entry 
  1407. correctly invokes the appropriate orientation. 
  1408.  
  1409. For example, for dvipm, adding the command line switch /tr1 is usually all that 
  1410. is necessary to get landscape orientation. 
  1411.  
  1412.  
  1413. ΓòÉΓòÉΓòÉ 9.1.3. Printer File Name Entry ΓòÉΓòÉΓòÉ
  1414.  
  1415. The name of the Printer executable is entered here.  Two different pages are 
  1416. defined, to allow different printers to be specified for Portrait and Landscape 
  1417. orientation. The default entry should work properly for the standard setup of 
  1418. emtex dvihplj v1.5 or later. 
  1419.  
  1420. Note that EPMTeX does nothing different for the Portrait and Landscape 
  1421. orientations other than calling the executable specified on the respective 
  1422. notebook page.  It is up to the user to make sure that the corresponding entry 
  1423. correctly invokes the appropriate orientation. 
  1424.  
  1425. For example, for dvihplj, adding the command line switch /tr1 is usually all 
  1426. that is necessary to get landscape orientation. 
  1427.  
  1428.  
  1429. ΓòÉΓòÉΓòÉ 9.1.4. Userx File Name Entry ΓòÉΓòÉΓòÉ
  1430.  
  1431. The name of any user defined executable is entered here.  The corresponding 
  1432. description specified on the menu page will then show up in the EPMTeX pull 
  1433. down menu. Two different pages are defined, to allow different executables to 
  1434. be specified for Portrait and Landscape orientation. If nothing is specified, 
  1435. the entry will not show up in the EPMTeX pulldown menu in EPM. 
  1436.  
  1437. Selecting a user command from the menu will cause the corresponding command 
  1438. specified in the executable file name entry box to be run.  The name of the 
  1439. current file in the editor (without extension) will be appended to the command 
  1440. unless an extension is specified in the corresponding Menu notebook page. If an 
  1441. extension is specified, then the extension will be appended to the filename 
  1442. before executing the command provided the file exists. 
  1443.  
  1444. Note that EPMTeX does nothing different for the Portrait and Landscape 
  1445. orientations other than calling the executable specified on the respective 
  1446. notebook page.  It is up to the user to make sure that the corresponding entry 
  1447. correctly invokes the appropriate orientation. 
  1448.  
  1449. If you want to use the user-definable commands to run TeX then there are some 
  1450. caveats.  For example, you cannot specify: 
  1451.  
  1452. c:\emtex\texit.cmd ^&myplain
  1453.  
  1454. with a Command File executable type as texit.cmd will not receive any 
  1455. arguments.  You can, however, (at least with 4OS/2) specify: 
  1456.  
  1457. c:\emtex\texit.cmd &myplain
  1458.  
  1459. Also, since the filename passed to TeX must not have backslashes in it (TeX 
  1460. will interpret them as control sequences), if you configure to run TeX, you 
  1461. must specify the UNIX Style Parameter Path so that the filename passed will use 
  1462. UNIX style directory delimiters. 
  1463.  
  1464.  
  1465. ΓòÉΓòÉΓòÉ 9.2. Program Type ΓòÉΓòÉΓòÉ
  1466.  
  1467. Choose the selection that matches the program type entered, or choose Automatic 
  1468. to have OS/2 choose. 
  1469.  
  1470. PM specifies that the program is a Presentation Manager application 
  1471.  
  1472. Windowed specifies an OS/2 application that runs within an OS/2 or DOS window 
  1473.  
  1474. Full Screen specifies a full screen OS/2 or DOS application that must run in a 
  1475. separate session independent of Presentation Manager 
  1476.  
  1477.  
  1478. ΓòÉΓòÉΓòÉ 9.3. Start Condition ΓòÉΓòÉΓòÉ
  1479.  
  1480. Specifies the starting condition for the program.  Choose Default to start the 
  1481. application in the normal state (neither maximized nor minimized.) 
  1482.  
  1483. Maximized specifies that the program is to start in the maximized state.  It 
  1484. has no effect for a Full Screen application. A PM application may choose not to 
  1485. honour the request. 
  1486.  
  1487. Minimized specifies that the program is to start in the minimized (icon) state. 
  1488. It has no effect for a Full Screen application. A PM application may choose not 
  1489. to honour the request. 
  1490.  
  1491.  
  1492. ΓòÉΓòÉΓòÉ 9.4. Parameter Path ΓòÉΓòÉΓòÉ
  1493.  
  1494. Specifies whether the fully-qualified name of the current file in the editor 
  1495. (without extension) appended to the command uses UNIX Style (/) or PC Style (\) 
  1496. type directory delimiters. 
  1497.  
  1498. Most PC programs and REXX files will expect to see PC Style delimiters.  The 
  1499. one big exception is TeX itself, which interprets PC Style delimiters as 
  1500. control sequences (an inheritance from its UNIX origin).  Hence, if you are 
  1501. specifying tex.exe as the executable, then you must also specify UNIX Style 
  1502. path delimiters.  If you are running TeX through a REXX file, then you probably 
  1503. want to use PC Style, but check the REXX file for further information. 
  1504.  
  1505.  
  1506. ΓòÉΓòÉΓòÉ 9.5. Executable Type ΓòÉΓòÉΓòÉ
  1507.  
  1508. Choose the selection that matches the program type entered. 
  1509.  
  1510. If the program is directly executable (*.exe), then select EXE File. This is 
  1511. equivalent to the /N parameter in the OS/2 start command, and has the effect of 
  1512. starting the program directly without the command processor (cmd.exe). 
  1513.  
  1514. If the program is a REXX or batch file (*.cmd), or an internal OS/2 command, 
  1515. then select Command File.  This is equivalent to the /C parameter in the OS/2 
  1516. start command, and has the effect of starting the program indirectly using the 
  1517. command processor (cmd.exe). 
  1518.  
  1519. Warning: Do not choose Command File for an *.exe program as inconsistent 
  1520. results may occur.  In particular, choosing Command File in conjunction with 
  1521. tex.exe will result in TeX not starting properly because the format control 
  1522. sequence (^&plain) will not be passed properly through the command processor 
  1523. (cmd.exe).  The typical symptom of this is an idle window being created 
  1524. whenever the TeX Document command on the TeX menu is selected.
  1525.  
  1526.  
  1527. ΓòÉΓòÉΓòÉ 9.6. Start In ΓòÉΓòÉΓòÉ
  1528.  
  1529. Choose the appropriate selection to start the program either in the foreground 
  1530. or background session. 
  1531.  
  1532.  
  1533. ΓòÉΓòÉΓòÉ 10. Formats ΓòÉΓòÉΓòÉ
  1534.  
  1535.  The formats page of the EPMTeX notebook allows the specification of up to four 
  1536. different TeX formats.  The four formats are named Plain, Latex, User1 and 
  1537. User2.  Typically, most people will set up Plain and Latex to load the plain 
  1538. and lplain formats, but this can be easily changed if desired.  Likewise, User1 
  1539. and User2 can refer to any additional formats such as the TeXsis format for 
  1540. example. 
  1541.  
  1542. The following controls are available on the page: 
  1543.  
  1544.       Select To Edit 
  1545.       Format File Name 
  1546.       Menu Name 
  1547.       Help Prompt 
  1548.       OK 
  1549.       Cancel 
  1550.  
  1551.       Table of Contents 
  1552.  
  1553.  
  1554. ΓòÉΓòÉΓòÉ 10.1. Select To Edit ΓòÉΓòÉΓòÉ
  1555.  
  1556. Use the radio buttons to select which of the four Formats to edit.  The 
  1557. contents of the entry boxes on the page will change to reflect the selected 
  1558. format. 
  1559.  
  1560. The actual format that is used when you select the TeX Document menu item in 
  1561. EPM is chosen from the list of formats defined on this page. For information on 
  1562. selecting formats when using TeX, refer to  Selecting the Format on the 
  1563. Settings page. 
  1564.  
  1565. If the User1 or User2 format entry boxes are blank then that format will be 
  1566. disabled.  If you try to select a disabled format when running TeX on a 
  1567. document, the Plain format will be substituted instead by default. 
  1568.  
  1569.  
  1570. ΓòÉΓòÉΓòÉ 10.2. Format File Name ΓòÉΓòÉΓòÉ
  1571.  
  1572. This is the name passed to TeX to specify which format to load.  For example, 
  1573. to specify the english plain format, you would enter 
  1574.  
  1575. plain 
  1576.  
  1577. in the Format File Name entry box. 
  1578.  
  1579. You do not need to specify the .fmt extension of the format file.  The format 
  1580. file specified must exist in the btexfmts directory or TeX will complain that 
  1581. it can't find the format. (or the texfmts directory if you are not using 
  1582. tex386.exe). 
  1583.  
  1584.  
  1585. ΓòÉΓòÉΓòÉ 10.3. Menu Name ΓòÉΓòÉΓòÉ
  1586.  
  1587. This is the name of the menu item that will appear on the EPM TeX pulldown menu 
  1588. to select this format. 
  1589.  
  1590. The menu name should be kept short to avoid making the drop down TeX menu 
  1591. excessively wide. 
  1592.  
  1593. A ~ placed before any letter in the name will make that letter the hotkey for 
  1594. the command.  The letter will be underlined in the drop down menu as a 
  1595. reminder.  Be sure not to choose a hotkey letter that is already in use by 
  1596. another menu item. 
  1597.  
  1598. CAUTION:
  1599. This entry does nothing with the precompiled version of EPMTeX because the 
  1600. format cannot be set directly from the EPM TeX menu. You will need to get the 
  1601. EPMTeX Pro version for this entry to have any affect. EPMTeX Pro is 
  1602. considerably more complicated to install as it requires recompiling the EPM 
  1603. *.ex files. EPMTeX Pro should be available wherever the standard version of 
  1604. EPMTeX is archived. 
  1605.  
  1606.  
  1607. ΓòÉΓòÉΓòÉ 10.4. Help Prompt ΓòÉΓòÉΓòÉ
  1608.  
  1609. This is the help prompt that will appear in the messages line of EPM for the 
  1610. corresponding format item in the TeX pulldown menu. 
  1611.  
  1612. CAUTION:
  1613. This entry does nothing with the precompiled version of EPMTeX because the 
  1614. format cannot be set directly from the EPM TeX menu. You will need to get the 
  1615. EPMTeX Pro version for this entry to have any affect. EPMTeX Pro is 
  1616. considerably more complicated to install as it requires recompiling the EPM 
  1617. *.ex files. EPMTeX Pro should be available wherever the standard version of 
  1618. EPMTeX is archived. 
  1619.  
  1620.  
  1621. ΓòÉΓòÉΓòÉ 11. User Menus ΓòÉΓòÉΓòÉ
  1622.  
  1623. The User Menu page of the EPMTeX notebook allows the specification of the 
  1624. description and activation of the four optional User command menu items on the 
  1625. TeX pull down menu. 
  1626.  
  1627. The following controls are available on the page: 
  1628.  
  1629.       Menu Name 
  1630.       File Extension to Activate 
  1631.       Help Prompt 
  1632.       OK 
  1633.       Cancel 
  1634.  
  1635.       Table of Contents 
  1636.  
  1637.  
  1638. ΓòÉΓòÉΓòÉ 11.1. User Menu Name ΓòÉΓòÉΓòÉ
  1639.  
  1640. This is the name of the menu item that will appear on the EPM TeX pulldown menu 
  1641. to select this User command. 
  1642.  
  1643. The menu name should be kept short to avoid making the drop down TeX menu 
  1644. excessively wide. 
  1645.  
  1646. A ~ placed before any letter in the name will make that letter the hotkey for 
  1647. the command.  The letter will be underlined in the drop down menu as a 
  1648. reminder.  Be sure not to choose a hotkey letter that is already in use by 
  1649. another menu item. 
  1650.  
  1651.  
  1652. ΓòÉΓòÉΓòÉ 11.2. File Extension to Activate ΓòÉΓòÉΓòÉ
  1653.  
  1654. Enter the extension of the file name that this User command applies to.  EPMTeX 
  1655. will make sure the file exists before the command will execute. 
  1656.  
  1657. For example, suppose you have entered dvi in the entry box, If you have the 
  1658. file myfile.tex loaded in EPM and select the user command, EPMTeX will check to 
  1659. make sure the file myfile.dvi exists before it will execute the command.  The 
  1660. file myfile.dvi will be appended to the command when it is executed.  Refer to 
  1661. Userx File Name Entry for further details. 
  1662.  
  1663. Enter a checkmark in the All Files check box if you wish the command to be 
  1664. executed for all files.  Or, equivalently, you can leave the entry box blank 
  1665. which will accomplish the same thing. 
  1666.  
  1667.  
  1668. ΓòÉΓòÉΓòÉ 11.3. User Help Prompt ΓòÉΓòÉΓòÉ
  1669.  
  1670. This is the help prompt that will appear in the messages line of EPM for the 
  1671. corresponding command in the TeX pulldown menu.  The message will appear when 
  1672. the menu item is selected with the mouse or keyboard.