home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / ebooke.zip / MYBOOKIE.XMP < prev    next >
Text File  |  1992-12-14  |  6KB  |  132 lines

  1. const
  2.  
  3. /* Define the name of the default tag-definition file(s). You   */
  4. /* may specify up to ten file names.                            */
  5.   my_bkm_def_file = 'BKMTAGS.DEF'  -- for BookMaster
  6. ; my_bkm_def_file = 'GMLTAGS.DEF'  -- for GML-SS tags
  7. ; my_bkm_def_file = 'FOILS5.DEF'   -- for FOILS5 tags
  8. ; my_bkm_def_file = 'APAFOIL.DEF'  -- for APAFOIL tags
  9.  
  10. /* Define how "invalid" tags should be treated. The default     */
  11. /* value ("1") means that the tag-start character is replaced   */
  12. /* with a variable defined in the first line of the tag         */
  13. /* definition file. If the value is "0", the tag-start character*/
  14. /* is not changed.                                              */
  15.   my_bkm_repl_colon=1           -- replace tag-start character
  16.  
  17. /* Define how many lines should be checked to determine if the  */
  18. /* tag support should be started. Zero indicates that only the  */
  19. /* first line of the file is checked for the "footprint" of     */
  20. /* EBOOKIE (.* EBOOKIE), and then the file extension is used to */
  21. /* determine if the support should be started. If you specify a */
  22. /* number greater than 0 a minimum value of 10 is assumed. A    */
  23. /* reasonable value should be 100.                              */
  24.   my_bkm_search=0               -- Don't search for tags at startup
  25.  
  26. /* Define the file extensions for which you want the support to */
  27. /* be started automatically. If you set this constant to blank  */
  28. /* the file extension is not used to determine the file type.   */
  29.   my_bkm_files='SCR BKM SCT FOI IPF SCRIPT STYLE'
  30.  
  31. /* Define the definition files for specific extensions. If      */
  32. /* there is no definition file defined for an extension in the  */
  33. /* "my_bkm_ext_def" constant, the default definition file       */
  34. /* defined in "my_bkm_def_file" is used.                        */
  35. /* If more than one definition file is associated with an       */
  36. /* extension, code the file names within double quotes like:    */
  37. /* my_bkm_ext_def='SCR="BKMTAGS.DEF MYBMTAGS.DEF"'              */
  38.   my_bkm_ext_def=''             -- for compatibility
  39. ; my_bkm_ext_def='BKM=BKMTAGS.DEF IPF=IPFTAGS.DEF STYLE=BKMTAGS.DEF'
  40.  
  41. /* Define the margins you want to use. The default is '1 70 1'  */
  42.   my_bkm_margins='1 70 1'
  43.  
  44. /* Define the tags which trigger a margin change to '1 254 1'   */
  45. /* if the cursor is between the start- and end-tag. Tags defined*/
  46. /* here must be type 1 or 2, and must have end-tags.            */
  47. /*                                                              */
  48. /* If my_bkm_tags_between='' then the margins are not changed.  */
  49.   my_bkm_tags_between=''
  50. ; my_bkm_tags_between=':xmp :cgraphic :fig'     -- for example
  51.  
  52. /* Define if the debugging code should be included. Change to   */
  53. /* "1" if the code should be included.                          */
  54. compile if defined(bkm_is_external)
  55.   my_bkm_debugging=1            -- include debugging if externally linked
  56. compile else
  57.   my_bkm_debugging=0            -- save space, don't include debugging
  58. compile endif
  59.  
  60. /* Define your own page-up routine. The name of this routine    */
  61. /* must be: "my_page_up()". A value of "1" means that this      */
  62. /* routine will be called.                                      */
  63.   my_bkm_page_up=0
  64.  
  65. /* Define your own page-down routine. The name of this routine  */
  66. /* must be: "my_page_down()"                                    */
  67.   my_bkm_page_down=0
  68.  
  69. /* Define your own line-up routine. The name of this routine    */
  70. /* must be: "my_up()". A value of "1" means that this           */
  71. /* routine will be called.                                      */
  72.   my_bkm_line_up=0
  73.  
  74. /* Define your own line-down routine. The name of this routine  */
  75. /* must be: "my_down()"                                         */
  76.   my_bkm_line_down=0
  77.  
  78. /* Define your own enter-key routine. The name of this routine  */
  79. /* must be: "my_enter_key()"                                    */
  80.   my_bkm_enter=0
  81.  
  82. /* Replace special keys with BookMaster symbols. Set the        */
  83. /* constant to "1" to include the support.                      */
  84.   my_bkm_want_symbols=1
  85.  
  86. /* Define the parameter expansion. "ALL" means that the space   */
  87. /* key always expands all parameters, "USUAL" (which is the     */
  88. /* default) expands only the usual parameters (c-enter or       */
  89. /* c-space then expands all parameters).                        */
  90.   my_bkm_space_key='USUAL'
  91.  
  92. /* Define if the EPM attribute is to be supported. "1" means    */
  93. /* that the attribute is used when installed.                   */
  94.   my_bkm_attr=1         -- default is yes
  95.  
  96. /* Define the colors used for attributes. This is in effect only*/
  97. /* when "my_bkm_attr" is set to 1.                              */
  98.   my_bkm_attr_colors=223 -- White + Light_MagentaB
  99.  
  100. /* Define if the "index" command is to be included. "1" means   */
  101. /* yes, "0" means no. The default is "1".                       */
  102.   my_bkm_idx_supp=1         -- default is yes
  103.  
  104. /* Define if the index entries should leave the cases untouched.*/
  105. /* 1 = yes, 0 = fold to lower case (except the entire word is   */
  106. /* all uppercase).                                              */
  107.   my_bkm_keep_index_spaces=0  -- default is no
  108.  
  109. /* Define if EBOOKIE is allowed to change the margins when      */
  110. /* switching to a non-ebookie file. Note: this only has an      */
  111. /* effect in E3. '0' means that EBOOKIE is allowed to change    */
  112. /* the margins, '1' means that EBOOKIE will not change the      */
  113. /* margins.                                                     */
  114.   my_bkm_dont_touch_margins=0
  115.  
  116. /* Define if the help facility is to be included. '0' means     */
  117. /* no help, '1' means that help should be included.             */
  118.   my_bkm_help_support=1         -- default is yes
  119.  
  120. /* Define if the reference support is to be included. '0' means */
  121. /* no, '1' means that the BookMaster reference should be        */
  122. /* included.                                                    */
  123. compile if EVERSION < 4
  124.   my_bkm_help_reference=0         -- not avaialble in DOS
  125. compile else
  126.   my_bkm_help_reference=1         -- default is yes
  127. compile endif
  128.  
  129. /* Define the default codepage for systems without codepage     */
  130. /* support (DOS version 3.2 and below).                         */
  131.   my_bkm_codepage='437'         -- default codepage
  132.