home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / lyx21041.zip / XFree86 / lib / X11 / lyx / bind / menus.bind < prev    next >
Text File  |  1999-10-12  |  9KB  |  313 lines

  1. # This file is part of
  2. # ==================================================================
  3. #
  4. #                  LyX, the High Level Word Processor
  5. #                 Copyright (C) 1995-1997 The LyX Team
  6. #
  7. # ==================================================================
  8.  
  9. # Key bindings for menus, both invisible and visible.
  10.  
  11. #
  12. # Visible Menu access menu
  13. #
  14.  
  15. \bind "F10 f"            "menu-open File"
  16. \bind "F10 e"            "menu-open Edit"
  17. \bind "F10 l"            "menu-open Layout"
  18. \bind "F10 i"            "menu-open Insert"
  19. \bind "F10 m"            "menu-open Math"
  20. \bind "F10 o"            "menu-open Options"
  21. \bind "F10 d"            "menu-open Documents"
  22. \bind "F10 h"            "menu-open Help"
  23.  
  24.  
  25. #
  26. # File menu
  27. #
  28.  
  29. \bind "M-f n"            "buffer-new"
  30. \bind "M-f t"            "buffer-new-template"
  31. \bind "M-f o"            "buffer-open"
  32. \bind "M-f c"            "buffer-close"
  33. \bind "M-f s"            "buffer-write"
  34. \bind "M-f a"            "buffer-write-as"
  35. \bind "M-f r"            "buffer-reload"
  36. \bind "M-f d"            "buffer-view"
  37. \bind "M-f w"            "buffer-view-ps"
  38. \bind "M-f v"            "buffer-typeset"
  39. \bind "M-f u"            "buffer-typeset-ps"
  40. \bind "M-f p"            "buffer-print" 
  41. \bind "M-f f"            "buffer-fax"
  42. \bind "M-f i l"   "buffer-import latex"
  43. \bind "M-f i a"   "buffer-import ascii"
  44. \bind "M-f i p"   "buffer-import asciiparagraph"
  45. \bind "M-f i n"   "buffer-import noweb"
  46. \bind "M-f e l"   "buffer-export latex"
  47. \bind "M-f e p"   "buffer-export postscript"
  48. \bind "M-f e d"   "buffer-export linuxdoc"
  49. \bind "M-f e t"   "buffer-export ascii"
  50. \bind "M-f e h"        "buffer-export html"
  51. \bind "M-f e m"   "buffer-export custom"
  52. \bind "M-f x"            "lyx-quit"
  53. \bind "M-f space"    "menu-open File" 
  54. #bind "M-f l"            "file-last"        # Not yet implemented.
  55.  
  56. #
  57. # Edit menu
  58. #
  59.  
  60. #bind "M-e b"            "table"            # Not yet implemented!
  61. \bind "M-e c"            "cut"
  62. \bind "M-e e"            "error-next"
  63. \bind "M-e f"            "find-replace"
  64. \bind "M-e k"            "line-delete-forward"
  65. \bind "M-e m"            "mark-on"
  66. \bind "M-e S-M"            "mark-off"
  67. \bind "M-e n"            "note-next"
  68. \bind "M-e o"            "copy"
  69. \bind "M-e p"            "paste"
  70. \bind "M-e r"            "redo"
  71. \bind "M-e s"            "spellchecker"
  72. \bind "M-e h"            "buffer-chktex"
  73. \bind "M-e t"            "toc-view"
  74. \bind "M-e u"            "undo"
  75. \bind "M-e w"            "latex-view-log"
  76. \bind "M-e space"        "menu-open Edit" 
  77.  
  78. #
  79. # Layout menu
  80. #
  81.  
  82. \bind "M-l c"            "layout-character"
  83. \bind "M-l p"            "layout-paragraph"
  84. \bind "M-l d"            "layout-document"
  85. \bind "M-l a"            "layout-paper"
  86. \bind "M-l e"            "layout-table"
  87. \bind "M-l q"            "layout-quotes" 
  88. \bind "M-l m"            "font-emph" 
  89. \bind "M-l n"            "font-noun" 
  90. \bind "M-l b"            "font-bold" 
  91. \bind "M-l t"            "tex-mode" 
  92. \bind "M-l v"            "depth-next"
  93. \bind "M-l l"            "layout-preamble"
  94. \bind "M-l s"            "layout-save-default"
  95. \bind "M-l space"        "menu-open Layout"  
  96. \bind "M-l i"            "buffer-itemize-bullets-select"
  97.  
  98.  
  99. #
  100. # Insert menu
  101. #
  102.  
  103. \bind "M-i g"            "figure-insert"
  104. \bind "M-i b"            "table-insert"
  105. \bind "M-i c"            "buffer-child-insert"
  106. \bind "M-i a l"            "file-insert-ascii line"         
  107. \bind "M-i a p"            "file-insert-ascii paragraph"
  108. \bind "M-i x"            "file-insert"
  109. \bind "M-i f"            "footnote-insert"
  110. \bind "M-i m"            "marginpar-insert"
  111.  
  112. # PREVIOUS PATCH
  113. \bind "M-i o g"            "buffer-float-insert figure" 
  114. \bind "M-i o t"            "buffer-float-insert table"
  115. \bind "M-i o w"            "buffer-float-insert wide-fig"
  116. \bind "M-i o d"            "buffer-float-insert wide-tab"
  117. \bind "M-i o a"            "buffer-float-insert algorithm"
  118.  
  119. \bind "M-i t c"            "toc-insert"
  120. \bind "M-i t f"            "lof-insert"
  121. \bind "M-i t t"            "lot-insert"
  122. \bind "M-i t i"            "index-print"
  123. \bind "M-i t b"            "bibtex-insert"
  124. \bind "M-i t a"            "loa-insert"
  125.  
  126. \bind "M-i minus"        "hyphenation-point-insert"
  127. \bind "M-i p"            "dots-insert"
  128. \bind "M-i e"            "end-of-sentence-period-insert"
  129. \bind "M-i q"            "quote-insert"
  130. \bind "M-i apostrophe"        "quote-insert"
  131. \bind "M-i S-quotedbl"        "quote-insert"
  132. \bind "M-i s h"            "hfill-insert"
  133. # NOT IN MENU. (HIDDEN TO LEARNER)
  134. \bind "M-i s minus"        "hyphenation-point-insert"
  135. \bind "M-i s b"            "protected-space-insert"
  136. \bind "M-i s l"            "break-line"
  137. \bind "M-i s i"            "dots-insert"
  138. \bind "M-i s e"            "end-of-sentence-period-insert"
  139. \bind "M-i s q"            "quote-insert"
  140. \bind "M-i s m"            "menu-separator-insert"
  141. \bind "M-i n"            "note-insert"
  142. \bind "M-i l"            "label-insert"
  143. \bind "M-i r"            "reference-insert"
  144. \bind "M-i i"            "citation-insert"
  145. \bind "M-i d"            "index-insert"
  146. \bind "M-i w"            "index-insert-last"
  147. \bind "M-i u"            "url-insert"
  148. \bind "M-i space"        "menu-open Insert"  
  149.  
  150.  
  151.  
  152. #
  153. # Math menu
  154. #
  155.  
  156. \bind "M-m space"        "menu-open Math" 
  157.  
  158. #
  159. # Options menu
  160. #
  161.  
  162. #bind "M-o f"            "screen-font-options"    # Not yet implemented!
  163. #bind "M-o s"            "spellcheck-options"    # Not yet implemented!
  164. #bind "M-o k"            "keyboard-options"    # Not yet implemented!
  165. #bind "M-o l"            "latex-options"        # Not yet implemented!
  166. \bind "M-o space"        "menu-open Options"  
  167.  
  168.  
  169. #
  170. # Documents menu
  171. #
  172. # These are now defined in cua or emacs bind files so their "standard"
  173. # bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
  174. #\bind "M-d p"            "buffer-previous"
  175. #\bind "M-d space"        "menu-open Documents"
  176.  
  177.  
  178. #
  179. # Help menu
  180. #
  181.  
  182. #bind "M-h i"            "help-introduction"    # Not yet implemented!
  183. #bind "M-h t"            "help-tutorial"        # Not yet implemented!
  184. #bind "M-h u"            "help-user-guide"    # Not yet implemented!
  185. #bind "M-h r"            "help-reference-guide"    # Not yet implemented!
  186. #bind "M-h h"            "help-how-do-i-"    # Not yet implemented!
  187. #bind "M-h c"            "help-customization"    # Not yet implemented!
  188. #bind "M-h s"            "help-special-tools"    # Not yet implemented!
  189. #bind "M-h k"            "help-known-bugs"    # Not yet implemented!
  190. #bind "M-h a"            "help-latex-config"    # Not yet implemented!
  191. #bind "M-h o"            "help-copyright"    # Not yet implemented!
  192. #bind "M-h e"            "help-credits"        # Not yet implemented!
  193. #bind "M-h v"            "help-version"        # Not yet implemented!
  194. \bind "M-h space"        "menu-open Help" 
  195.  
  196.  
  197. #
  198. # Font size menu
  199. #
  200.  
  201. \bind "M-s t"            "font-size tiny"
  202. \bind "M-s S-S"            "font-size smaller"
  203. \bind "M-s s"            "font-size small"
  204. \bind "M-s n"            "font-size normal"
  205. \bind "M-s l"            "font-size large"
  206. \bind "M-s S-L"            "font-size larger"
  207. \bind "M-s h"            "font-size huge"
  208. \bind "M-s S-H"            "font-size huger"
  209.  
  210. \bind "M-s 1"            "font-size tiny"
  211. \bind "M-s 2"            "font-size smallest"
  212. \bind "M-s 3"            "font-size smaller"
  213. \bind "M-s 4"            "font-size small"
  214. \bind "M-s 5"            "font-size normal"
  215. \bind "M-s 6"            "font-size large"
  216. \bind "M-s 7"            "font-size larger"
  217. \bind "M-s 8"            "font-size largest"
  218. \bind "M-s 9"            "font-size huge"
  219. \bind "M-s 0"            "font-size huger"
  220.  
  221. \bind "M-s plus"        "font-size increase"
  222. \bind "M-s minus"        "font-size decrease"
  223.  
  224.  
  225. #
  226. # Alignment menu
  227. #
  228.  
  229. #bind "M-a l"            "para-align left"    # Not yet implemented!
  230. #bind "M-a r"            "para-align right"    # Not yet implemented!
  231. #bind "M-a c"            "para-align center"    # Not yet implemented!
  232. #bind "M-a b"            "para-align block"    # Not yet implemented!
  233. #bind "M-a f"            "para-align block"    # Not yet implemented!
  234. #bind "M-a d"            "para-align default"    # Not yet implemented!
  235.  
  236.  
  237. #
  238. # Paragraph style menu
  239. #
  240.  
  241. \bind "M-p 1"            "layout Chapter" 
  242. \bind "M-p 2"            "layout Section" 
  243. \bind "M-p 3"            "layout Subsection"  
  244. \bind "M-p 4"            "layout Subsubsection"    
  245. \bind "M-p 5"            "layout Paragraph"        
  246. \bind "M-p 6"            "layout Subparagraph"
  247. \bind "M-p a"            "layout Abstract"
  248. \bind "M-p S-A"            "layout Author"
  249. \bind "M-p M-a"            "layout Address"
  250. \bind "M-p C-a"            "layout RightAddress"
  251. \bind "M-p b"            "layout Itemize"    # bulleted list
  252. \bind "M-p S-B"            "layout Bibliography"
  253. \bind "M-p c"            "layout LyX-Code"
  254. \bind "M-p S-C"            "layout Comment"
  255. \bind "M-p M-c"            "layout Caption"
  256. \bind "M-p d"            "layout Description"
  257. \bind "M-p S-D"            "layout Date"
  258. \bind "M-p e"            "layout Enumerate"    # numbered list
  259. \bind "M-p f"            "layout ShortFoilhead"    # Foils!!
  260. \bind "M-p S-F"            "layout Foilhead"    # Foils!!
  261. \bind "M-p i"            "layout Itemize"    # bulleted list
  262. \bind "M-p l"            "layout List"
  263. \bind "M-p S-L"            "layout LaTeX"
  264. \bind "M-p n"            "layout Enumerate"    # numbered list
  265. \bind "M-p q"            "layout Quote"
  266. \bind "M-p S-Q"            "layout Quotation"
  267. \bind "M-p r"            "layout ShortRotatefoilhead"    # Foils!!
  268. \bind "M-p S-R"            "layout Rotatefoilhead"    # Foils!!
  269. \bind "M-p s"            "layout Standard"
  270. \bind "M-p t"            "layout Title"
  271. \bind "M-p x"            "layout LaTeX"
  272. \bind "M-p space"        "drop-layouts-choice"
  273. \bind "M-p S-at"        "layout Section*"    # M-p S-2
  274. \bind "M-p S-dollar"        "layout Subsubsection*"    # M-p S-4
  275. \bind "M-p S-numbersign"    "layout Subsection*"    # M-p S-3
  276. \bind "M-p v"            "layout Verse"
  277.  
  278. \bind "M-p Left"        "depth-decrement"
  279. \bind "M-p Right"        "depth-increment"
  280.  
  281.  
  282. #
  283. # Character style menu
  284.  
  285. \bind "M-c b"            "font-bold"
  286. \bind "M-c c"            "font-noun"
  287. \bind "M-c e"            "font-emph"
  288. \bind "M-c m"            "math-mode"
  289. \bind "M-c p"            "font-code"
  290. \bind "M-c r"            "font-roman"
  291. \bind "M-c s"            "font-sans"
  292. \bind "M-c t"            "tex-mode"
  293. \bind "M-c u"            "font-underline"
  294.  
  295. \bind "M-c Down"        "word-lowcase"
  296. \bind "M-c Up"            "word-upcase"
  297. \bind "M-c Right"        "word-capitalize"
  298.  
  299. \bind "M-c space"        "font-default"                  
  300.  
  301.  
  302. #
  303. # Keyboard menu
  304. #
  305.  
  306. \bind "M-k 1"            "keymap-primary"
  307. \bind "M-k 2"            "keymap-secondary"
  308. \bind "M-k o"            "keymap-off"
  309. \bind "M-k t"            "keymap-toggle"
  310. \bind "M-k x"            "keymap-off"
  311.