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