Back to index

tetex-bin  3.0
translations.h
Go to the documentation of this file.
00001 /* key translations */
00002 #include "c-auto.h"
00003 #include "xdvi.h"
00004 #include "version.h"
00005 
00006 static const char base_key_translations[] =
00007 /* note: more specific key bindings must always come first
00008    (i.e. `alt ctrl' before `ctrl' before unmodified)
00009    `:' at start of description means that case matters
00010 */
00011     "Ctrl<Key>]:     pagehistory-delete-forward()\n"
00012     "Ctrl<Key>[:     pagehistory-delete-backward()\n"
00013 /* it seems the following is needed for compatibility with german, french,
00014    italian, spanish and other keyboards that have [, ] on right Alt key? */
00015     "Ctrl Mod2<Key>]:       pagehistory-delete-forward()\n"
00016     "Ctrl Mod2<Key>[:       pagehistory-delete-backward()\n"
00017     "Mod2<Key>]:     pagehistory-forward()\n"
00018     "Mod2<Key>[:     pagehistory-back()\n"
00019     "<Key>]:         pagehistory-forward()\n"
00020     "<Key>[:         pagehistory-back()\n"
00021     "Alt Ctrl<Key>+: change-density(10)\n" /* case insensitive, otherwise too hard to type */
00022     ":Alt Ctrl<Key>-:       change-density(-10)\n"
00023     "Ctrl<Key>+:     set-shrink-factor(+)\n" /* case insensitive, otherwise too hard to type */
00024     ":Ctrl<Key>-:    set-shrink-factor(-)\n"
00025     ":<Key>-:        minus()\n"
00026     ":<Key>?:        help()\n"
00027     ":<Key>>:        goto-page()\n"
00028     ":<Key><:        goto-page(1)\n"
00029     ":<Key>^:        home()\n"
00030     "<Key>space:     unpause-or-next()\n"
00031     ":<Key>B:        htex-back()\n"
00032     ":<Key>b:        back-page()\n"
00033 /* removed, redundant and gets in the way
00034     ":Ctrl<Key>c:    quit()\n" */
00035 #if COLOR
00036     ":<Key>C:        set-color()\n"
00037 #endif
00038     ":<Key>c:        center()\n"
00039 /* removed, redundant and gets in the way
00040     ":Ctrl<Key>d:    quit()\n" */
00041     ":<Key>d:        down()\n"
00042     "Ctrl<Key>f:     find()\n"
00043     ":<Key>F:        htex-forward()\n"
00044     ":~Alt<Key>f:    forward-page()\n"
00045     "Ctrl<Key>g:     find-next()\n"
00046 #ifdef GREY
00047     ":<Key>G:        set-greyscaling()\n"
00048 #endif
00049     ":<Key>g:        goto-page()\n"
00050     "Ctrl<Key>h:     back-page()\n"
00051     ":~Alt<Key>h:    help()\n"
00052     ":<Key>i:        htex-anchorinfo()\n"
00053     "Ctrl<Key>j:     forward-page()\n"
00054     ":<Key>k:        set-keep-flag()\n"
00055     "Ctrl<Key>l:     fullscreen()\n"
00056     ":<Key>l:        left()\n"
00057     "Ctrl<Key>m:     switch-mode()\n"
00058     ":<Key>M:        set-margins()\n"
00059     ":~Alt<Key>m:    toggle-mark()\n"
00060     "~Alt Ctrl<Key>n:       toggle-mark()forward-page()\n"
00061     ":~Alt<Key>n:    forward-page()\n"
00062     "Ctrl<Key>o:     select-dvi-file()\n"
00063     ":~Alt<Key>o:    ruler-snap-origin()\n"
00064     /* this used to be show-display-attributes() - use the output of `-debug PK' instead */
00065     "Ctrl<Key>p:     print()\n"
00066     ":<Key>P:        declare-page-number()\n"
00067     ":<Key>p:        back-page()\n"
00068     ":<Key>q:        quit()\n"
00069     "Ctrl<Key>r:     forward-page(0)\n" /* redraw page */
00070     ":<Key>R:        reread-dvi-file()\n"
00071     ":<Key>r:        right()\n"
00072     "Ctrl<Key>s:     save()\n"
00073     ":<Key>S:        set-density()\n"
00074     ":<Key>s:        set-shrink-factor()\n"
00075     ":<Key>T:        use-tex-pages(toggle)\n"
00076     ":<Key>t:        switch-magnifier-units()\n"
00077     "Ctrl<Key>u:     back-page()toggle-mark()\n"
00078     ":<Key>u:        up()\n"
00079     "Ctrl<Key>v:     show-source-specials()\n"
00080 #ifdef PS_GS
00081     ":<Key>V:        set-gs-alpha()\n"
00082 #endif /* PS_GS */
00083 #ifdef PS
00084     ":<Key>v:        set-ps()\n"
00085 #endif
00086     "Ctrl<Key>x:     source-what-special()\n"
00087     ":<Key>x:        set-expert-mode()\n"
00088 #ifdef VMS
00089     "~Alt Ctrl<Key>z:       quit()\n"
00090 #endif
00091     "<Key>Return:    forward-page()\n"
00092     "<Key>Delete:    up-or-previous()\n"
00093     "<Key>BackSpace: back-page()\n"
00094 #ifdef MOTIF
00095     "<Key>osfDelete: up-or-previous()\n"
00096     "<Key>osfBackSpace:     back-page()\n"
00097     "Ctrl<Key>osfBeginLine: goto-page(1)\n"
00098     "Ctrl<Key>osfEndLine:   goto-page()\n"
00099     "<Key>osfBeginLine:     home-or-top()\n"
00100     "<Key>osfEndLine:       end-or-bottom()\n"
00101     "<Key>osfLeft:   left(0.015)\n"
00102     "<Key>osfUp:     up(0.015)\n"
00103     "<Key>osfRight:  right(0.015)\n"
00104     "<Key>osfDown:   down(0.015)\n"
00105     "<Key>osfPageUp: back-page()\n"
00106     "<Key>osfPageDown:      forward-page()\n"
00107     "<Key>osfCancel: discard-number()\n"
00108 #else
00109     "Ctrl<Key>Home:  goto-page(1)\n"
00110     "Ctrl<Key>End:   goto-page()\n"
00111     "<Key>Home:             home-or-top()\n"
00112     "<Key>End:              end-or-bottom()\n"
00113     "<Key>Left:             left(0.015)\n"
00114     "<Key>Up:        up(0.015)\n"
00115     "<Key>Right:     right(0.015)\n"
00116     "<Key>Down:             down(0.015)\n"
00117     "<Key>Prior:     back-page()\n"
00118     "<Key>Next:             forward-page()\n"
00119     "<Key>Escape:    discard-number()\n"
00120 #endif
00121 #ifdef XK_KP_Left
00122     "<Key>KP_Home:   home()\n"
00123     "<Key>KP_Left:   left()\n"
00124     "<Key>KP_Up:     up()\n"
00125     "<Key>KP_Right:  right()\n"
00126     "<Key>KP_Down:   down()\n"
00127     "<Key>KP_Prior:  back-page()\n"
00128     "<Key>KP_Next:   forward-page()\n"
00129     "<Key>KP_Delete: up-or-previous()\n"
00130     "<Key>KP_Enter:  forward-page()\n"
00131 #endif
00132     "";
00133 
00134 
00135 static const char base_mouse_translations[] =
00136     "Shift<Btn1Down>:       drag(+)\n"
00137     "Shift<Btn2Down>:       drag(|)\n"
00138     "Shift<Btn3Down>:       drag(-)\n"
00139     "Ctrl<Btn1Down>: source-special()\n"
00140     "<Btn1Down>:     do-href()magnifier(*1)\n"
00141     "<Btn2Down>:     do-href-newwindow()magnifier(*2)\n"
00142     "<Btn3Down>:     magnifier(*3)\n"
00143     "<Btn4Down>:     magnifier(*4)\n"
00144     "<Btn5Down>:     magnifier(*5)\n"
00145     "";
00146 
00147 
00148 #if defined(NEW_MENU_CREATION) || defined(MOTIF)
00149 static const char default_menu_config[] =
00150 /*
00151   BNF-like Syntax of the entries:
00152 
00153   entry ::= entry-line `\n' ( entry )*
00154   entry-line ::= menu-spec `:' button-type `:' mnemonic `:' action
00155   menu-spec ::= menu-name ( `>' menu-name )*
00156   menu-name ::= menu-title `|' accelerator
00157 
00158   menu-title ::= String
00159   mnemonic ::= <empty> | String
00160   action ::= <empty> | String
00161   accelerator ::= `A'|`B'|`C'|...|`a'|`b'|`c'|...
00162   button-type ::= `PUSH' | `RADIO' | `CHECK' | `SEP'
00163 
00164   Notes:
00165      - In entry-line, every occurrence of `:' that's not a separator needs to be escaped
00166        like this: `\:'; similar for `>' in menu-spec and `|' in menu-title.
00167      - Every `>' in menu-spec creates a submenu for the corresponding menu.
00168      - mnemonic is the key binding for the action, displayed as mnemonic string in
00169        the Motif menus (not yet in the Xaw version, since Xaw doesn't provide for
00170        such mnemonics by default).
00171      - accelerator is the Motif menu accelerator key.
00172  */
00173     "File|F > Open ...|O           :PUSH  :Ctrl-o       :select-dvi-file()\n"
00174     "File|F > Open Recent |R              :PUSH  :      :recent-files()\n"
00175     "File|F > Reload|R                    :PUSH  :R     :reread-dvi-file()\n"
00176     "File|F > Find ...|F           :PUSH  :Ctrl-f :find()\n"
00177     "File|F > Find next ...|N             :PUSH  :Ctrl-g :find-next()\n"
00178     "File|F > Print ...|P          :PUSH  :Ctrl-p :print()\n"
00179     "File|F > Save as ...|S        :PUSH  :Ctrl-s       :save()\n"
00180     "File|F > Quit|Q               :PUSH  :q     :quit()\n"
00181 /* ========== */                   
00182     "Navigate|N > Page-10|         :PUSH  :10 p  :back-page(10)\n"
00183     "Navigate|N > Page-5|          :PUSH  :5 p   :back-page(5)\n"
00184     "Navigate|N > Prev|P           :PUSH  :p     :back-page(1)\n"
00185     "Navigate|N > Next|N           :PUSH  :n     :forward-page(1)\n"
00186     "Navigate|N > Page+5|          :PUSH  :5 n   :forward-page(5)\n"
00187     "Navigate|N > Page+10|         :PUSH  :10 n  :forward-page(10)\n"
00188     "Navigate|N                           :SEP   ::\n"
00189     "Navigate|N > First Page|F            :PUSH  :1 g   :goto-page(1)\n"
00190     "Navigate|N > Last Page|L             :PUSH  :g     :goto-page()\n"
00191     "Navigate|N                           :SEP   ::\n"
00192     "Navigate|N > Page History Back|      :PUSH  :[     :pagehistory-back()\n"
00193     "Navigate|N > Page History Forward| :PUSH    :]     :pagehistory-forward()\n"
00194 /*     "Navigate|N                        :SEP   ::\n" */
00195 /*     "Navigate|N   > Clear Page History|       :PUSH  :      :pagehistory-clear()\n" */
00196     "Navigate|N                           :SEP   ::\n"
00197     "Navigate|N > Back Hyperlink|B :PUSH  :B     :htex-back()\n"
00198     "Navigate|N > Forward Hyperlink|F     :PUSH  :F     :htex-forward()\n"
00199 /* ========== */
00200     "Zoom|Z > Shrink by 1|1        :RADIO :1 s   :set-shrink-factor(1)\n"
00201     "Zoom|Z > Shrink by 2|2        :RADIO :2 s   :set-shrink-factor(2)\n"
00202     "Zoom|Z > Shrink by 3|3        :RADIO :3 s   :set-shrink-factor(3)\n"
00203     "Zoom|Z > Shrink by 4|4        :RADIO :4 s   :set-shrink-factor(4)\n"
00204     "Zoom|Z > Shrink by 5|5        :RADIO :5 s   :set-shrink-factor(5)\n"
00205     "Zoom|Z > Shrink by 6|6        :RADIO :6 s   :set-shrink-factor(6)\n"
00206     "Zoom|Z > Shrink by 7|7        :RADIO :7 s   :set-shrink-factor(7)\n"
00207     "Zoom|Z > Shrink by 8|8        :RADIO :8 s   :set-shrink-factor(8)\n"
00208     "Zoom|Z > Shrink by 9|9        :RADIO :9 s   :set-shrink-factor(9)\n"
00209     "Zoom|Z                        :SEP   ::\n"
00210     "Zoom|Z > Fit in Window|F             :PUSH  :s     :set-shrink-factor(a)\n"
00211     "Zoom|Z                        :SEP   ::\n"
00212     "Zoom|Z > Zoom In|I                   :PUSH  :Ctrl-+       :set-shrink-factor(+)\n"
00213     "Zoom|Z > Zoom Out|O           :PUSH  :Ctrl--       :set-shrink-factor(-)\n"
00214 /* ========== */
00215     "Mark|M > Mark All Pages|M            :PUSH  :-1 m  :toggle-mark(-1)\n"
00216     "Mark|M > Unmark All Pages|U   :PUSH  :0 m   :toggle-mark(0)\n"
00217     "Mark|M                        :SEP   ::\n"
00218     "Mark|M > Toggle Odd Pages|O   :PUSH  :1 m   :toggle-mark(1)\n"
00219     "Mark|M > Toggle Even Pages|E  :PUSH  :2 m   :toggle-mark(2)\n"
00220     "Mark|M > Toggle Current Page|C       :PUSH  :m     :toggle-mark()\n"
00221 /* ========== */
00222     "Options|O > Keep Position|K          :CHECK :k     :set-keep-flag(toggle)\n"
00223     "Options|O > Use TeX Page Numbers|T   :CHECK :T     :use-tex-pages(toggle)\n"
00224     "Options|O                            :SEP   ::\n"
00225 /* removed this one, since it only duplicates the toolbar and is too awkward to use */
00226 /*     "Options|O > Fonts|F > Fonts Darker|D            :PUSH  :Alt-Ctrl-+   :change-density(5)\n" */
00227 /*     "Options|O > Fonts|F > Fonts Lighter|L           :PUSH  :Alt-Ctrl--   :change-density(-5)\n" */
00228 /* ---------- */
00229 #if 0
00230 /* TODO: implement setting paper size at runtime */
00231     "Options|O > Paper|a > US|U           :RADIO :      :set-papersize(us)\n"
00232     "Options|O > Paper|a > Legal|L :RADIO :      :set-papersize(legal)\n"
00233     "Options|O > Paper|a > Foolscap|F     :RADIO :      :set-papersize(foolscap)\n"
00234     "Options|O > Paper|a > A1|1           :RADIO :      :set-papersize(a1)\n"
00235     "Options|O > Paper|a > A2|2           :RADIO :      :set-papersize(a2)\n"
00236     "Options|O > Paper|a > A3|3           :RADIO :      :set-papersize(a3)\n"
00237     "Options|O > Paper|a > A4|4           :RADIO :      :set-papersize(a4)\n"
00238     "Options|O > Paper|a > A5|5           :RADIO :      :set-papersize(a5)\n"
00239     "Options|O > Paper|a > A6|5           :RADIO :      :set-papersize(a6)\n"
00240     "Options|O > Paper|a > A7|7           :RADIO :      :set-papersize(a7)\n"
00241     /* Note: the b* and c* DIN sizes are too rarely used to be exposed here;
00242        people can still customize the Menu if they really need them. */
00243     "Options|O > Paper|a           :SEP   ::\n"
00244     "Options|O > Paper|a > Landscape|L    :CHECK :      :set-paper-landscape(toggle)\n"
00245 #endif /* 0 */
00246 /* ---------- */
00247 # if PS
00248     "Options|O > Postscript|o > Show PS|S               :RADIO :1 v   :set-ps(1)\n"
00249     "Options|O > Postscript|o > Show PS and Bounding Boxes|B   :RADIO :2 v   :set-ps(2)\n"
00250     "Options|O > Postscript|o > Show Bounding Boxes Only|O     :RADIO :0 v   :set-ps(0)\n"
00251     "Options|O > Postscript|o                                  :SEP   ::\n"
00252     "Options|O > Postscript|o > Use PS Anti-Aliasing|A         :CHECK :V     :set-gs-alpha(toggle)\n"
00253 # endif
00254 /* ---------- */
00255 /* removed, since it was redundant to Preferences */
00256 /* # ifdef MOTIF */
00257 /*     "Options|O > Window Configuration|W > Show Statusline|S :CHECK :1x    :set-expert-mode(1)\n" */
00258 /*     "Options|O > Window Configuration|W > Show Scrollbars|c :CHECK :2x    :set-expert-mode(2)\n" */
00259 /*     "Options|O > Window Configuration|W > Show Pagelist|P   :CHECK :3x    :set-expert-mode(3)\n" */
00260 /*     "Options|O > Window Configuration|W > Show Toolbar|T    :CHECK :4x    :set-expert-mode(4)\n" */
00261 /* # endif */
00262 /* ---------- */
00263     "Options|O > Mouse Mode|M > Magnifier|M                    :RADIO :0 Ctrl-m     :switch-mode(0)\n"
00264     "Options|O > Mouse Mode|M > Text Selection|T        :RADIO :1 Ctrl-m     :switch-mode(1)\n"
00265     "Options|O > Mouse Mode|M > Ruler|R                        :RADIO :2 Ctrl-m     :switch-mode(2)\n"
00266     "Options|O                            :SEP   ::\n"
00267     "Options|O > Preferences ...|P        :PUSH  :             :prefs-dialog()\n"
00268 /* ========== */
00269     "Help|H > Introduction ...|I   :PUSH  :             :help(Introduction)\n"
00270     "Help|H > Page Motion ...|P           :PUSH  :             :help(Page Motion)\n"
00271     "Help|H > Other Commands ...|O :PUSH  :             :help(Other Commands)\n"
00272     "Help|H > Hyperlinks ...|H            :PUSH  :             :help(Hyperlinks)\n"
00273     "Help|H > Mouse Buttons ...|M  :PUSH  :             :help(Mouse Buttons)\n"
00274     "Help|H > Mouse Modes ...|d           :PUSH  :             :help(Mouse Modes)\n"
00275     "Help|H > String Search ...|e  :PUSH  :             :help(String Search)\n"
00276     "Help|H > Printing and Saving ...|S   :PUSH  :             :help(Printing and Saving)\n"
00277     "Help|H > Source Specials ...|r       :PUSH  :             :help(Source Specials)\n"
00278     "Help|H                        :SEP   ::\n"
00279     "Help|H > New Features in this Version|F:PUSH::load-url(http\\://xdvi.sourceforge.net/releases.html#" XDVI_VERSION ")\n"
00280     "Help|H > Submit a Bug Report|B       :PUSH  ::load-url(http\\://sourceforge.net/tracker/?func=add&group_id=23164&atid=377580)\n"
00281     "";
00282 #else /* NEW_MENU_CREATION */
00283 /* TODO:
00284    - describe this in manpage
00285    - use in the Motif version as well
00286 */
00287 static const char default_menu_config[] =
00288 /*  menu:     submenu:             accelerator:  action */
00289     "File:    Open ...:            Ctrl-o:       select-dvi-file()\n"
00290     "File:    Open Recent:         :      recent-files()\n"
00291     "File:    Find ...:            Ctrl-f:       find()\n"
00292     "File:    Find next ...:              Ctrl-g:       find-next()\n"
00293     "File:    Reload:                     R:     reread-dvi-file()\n"
00294     "File:    Save as ...:         Ctrl-s:       save()\n"
00295     "File:    Print ...:           Ctrl-p:       print()\n"
00296     "File:    Quit:                q:     quit()\n"
00297     "Navigate:       First:               1 g:   goto-page(1)\n"
00298     "Navigate:       Page-10:             10 p:  back-page(10)\n"
00299     "Navigate:       Page-5:                     5 p:   back-page(10)\n"
00300     "Navigate:       Prev:                p:     back-page(1)\n"
00301     "Navigate:       SEP\n"
00302     "Navigate:       Next:                n:     forward-page(1)\n"
00303     "Navigate:       Page+5:                     5 n:   forward-page(5)\n"
00304     "Navigate:       Page+10:             10 n:  forward-page(10)\n"
00305     "Navigate:       Last:                g:     goto-page()\n"
00306     "Navigate:       SEP\n"
00307     "Navigate:       Back Hyperlink:             B:     htex-back()\n"
00308     "Navigate:       Forward Hyperlink:   F:     htex-forward()\n"
00309     "Zoom:    Zoom In:             Ctrl-+:       set-shrink-factor(+)\n"
00310     "Zoom:    Zoom Out:            Ctrl--:       set-shrink-factor(-)\n"
00311     "Zoom:    SEP\n"
00312 /*      "Zoom:Full size (1 s):set-shrink-factor(1)\n" */
00313     "Zoom:    Fit in Window:              s:     set-shrink-factor(a)\n"
00314     "Zoom:    SEP\n"
00315     "Zoom:    $#:                  1 s:   set-shrink-factor(1)\n"
00316     "Zoom:    $#:                  2 s:   set-shrink-factor(2)\n"
00317     "Zoom:    $#:                  3 s:   set-shrink-factor(3)\n"
00318     "Zoom:    $#:                  4 s:   set-shrink-factor(4)\n"
00319     "Zoom:    $#:                  5 s:   set-shrink-factor(5)\n"
00320     "Zoom:    $#:                  6 s:   set-shrink-factor(6)\n"
00321     "Zoom:    $#:                  7 s:   set-shrink-factor(7)\n"
00322     "Zoom:    $#:                  8 s:   set-shrink-factor(8)\n"
00323     "Zoom:    $#:                  9 s:   set-shrink-factor(9)\n"
00324 /*     "Zoom:$%%:shrink-to-dpi(150)\n" */
00325 /*     "Zoom:$%%:shrink-to-dpi(100)\n" */
00326 /*     "Zoom:$%%:shrink-to-dpi(50)\n" */
00327     "Mark:    Mark All Pages:                    -1 m:  toggle-mark(-1)\n"
00328     "Mark:    Unmark All Pages:           0 m:   toggle-mark(0)\n"
00329     "Mark:    SEP\n"
00330     "Mark:    Toggle Odd Pages:           1 m:   toggle-mark(1)\n"
00331     "Mark:    Toggle Even Pages:          2 m:   toggle-mark(2)\n"
00332     "Mark:    Toggle Current Page:        m:     toggle-mark()\n"
00333     "Modes:   Magnifier:                  Ctrl-m:       switch-mode(0)\n"
00334     "Modes:   Text Selection:                    Ctrl-m:       switch-mode(1)\n"
00335     "Modes:   Ruler:                      Ctrl-m:       switch-mode(2)\n"
00336 # if PS
00337     "Options: Show PS:                    1 v:   set-ps(1)\n"
00338     "Options: Show PS and Bounding Boxes: 2 v:   set-ps(2)\n"
00339     "Options: Show Bounding Boxes Only:   0 v:   set-ps(0)\n"
00340     "Options: SEP\n"
00341     "Options: Use PS Anti-Aliasing:       V:     set-gs-alpha(toggle)\n"
00342 # endif
00343     "Options: SEP\n"
00344 /*     "Options:Keep position:set-keep-flag(1)\n" */
00345 /*     "Options:Don't keep position:set-keep-flag(0)\n" */
00346     "Options: Keep Position:                     k:     set-keep-flag(toggle)\n"
00347     "Options: Use TeX Pages:                     T:     use-tex-pages(toggle)\n"
00348 /* hmm, this probably is better kept in a `preferences' window: */
00349 /*     "Options:SEP\n" */
00350 /*     "Options:Show statusline:1 x:set-expert-mode(1)\n" */
00351     "Options: SEP\n"
00352     "Options: Fonts Darker:        Alt-Ctrl-+:   change-density(5)\n"
00353     "Options: Fonts Lighter:              Alt-Ctrl--:   change-density(-5)\n"
00354     "Help:    Introduction ...:    :             help(Introduction)\n"
00355     "Help:    Page Motion ...:     :             help(Page Motion)\n"
00356     "Help:    Other Commands ...:  :             help(Other Commands)\n"
00357     "Help:    Hyperlinks ...:             :             help(Hyperlinks)\n"
00358     "Help:    Mouse Buttons ...:   :             help(Mouse Buttons)\n"
00359     "Help:    Mouse Modes ...:     :             help(Mouse Modes)\n"
00360     "Help:    String Search ...:   :             help(String Search)\n"
00361     "Help:    Printing and Saving ...::          help(Printing and Saving)\n"
00362     "Help:    Source Specials ...: :             help(Source Specials)\n"
00363     "Help:SEP\n"
00364     "Help:    New Features in this Version::     load-url(http\\://xdvi.sourceforge.net/releases.html#" XDVI_VERSION ")\n"
00365     "Help:    Send a Bug Report:   :             load-url(http\\://sourceforge.net/tracker/?func=add&group_id=23164&atid=377580)\n"
00366     "";
00367 #endif /* NEW_MENU_CREATION */
00368 
00369 static const char default_toolbar_translations[] =
00370 /*  index     statusline-text                                  tooltip              action */
00371     "SPACER(5)\n"
00372     "0:       Open a new file   (Key\\: Ctrl-o):               Open file:    select-dvi-file()\n"
00373     "SPACER(10)\n"
00374     "1:       Reload this file   (Key\\: R):                          Reload file:  reread-dvi-file()\n"
00375     "SPACER(10)\n"
00376     "2:       Go to the first page of this file   (Key\\: 1g): First page:   goto-page(1)\n"
00377     "3:       Go to the previous page of this file   (Key\\: p):      Previous page:       back-page(1)\n"
00378     "4:       Go to the next page of this file   (Key\\: n):   Next page:    forward-page(1)\n"
00379     "5:       Go to the last page of this file   (Key\\: g):   Last page:    goto-page(e)\n"
00380     "SPACER(10)\n"
00381     "8:       Back to previous page in history   (Key\\: [):   Page History back:   pagehistory-back()\n"
00382     "9:       Forward to next page in history   (Key\\: ]):    Page History forward:       pagehistory-forward()\n"
00383     "SPACER(10)\n"
00384     "6:       Zoom in   (Key\\: Ctrl-+):         Zoom in:             set-shrink-factor(+)\n"
00385     "7:       Zoom out   (Key\\: Ctrl--):        Zoom out:            set-shrink-factor(-)\n"
00386     "SPACER(10)\n"
00387     "11:Print this DVI file:Print:print()\n"
00388     "SPACER(10)\n"
00389     "16:Find in DVI file   (Key\\: Ctrl-f):      Find in file: find()\n"
00390     "SPACER(10)\n"
00391     "12:Toggle marks of odd pages   (Key\\: 1m): Toggle odd pages:    toggle-mark(1)\n"
00392     "13:Toggle marks of even pages   (Key\\: 2m):       Toggle even pages:   toggle-mark(2)\n"
00393     "14:Toggle mark of current page   (Key\\: 2m):      Toggle current page: toggle-mark()\n"
00394     "15:Unmark all pages   (Key\\: 0m):                 Unmark all pages:    toggle-mark(0)\n"
00395     "SPACER(10)\n"
00396     "19:Display fonts darker   (Key\\: Alt-Ctrl-+):     Fonts darker:        change-density(5)\n"
00397     "20:Display fonts lighter   (Key\\: Alt-Ctrl--):    Fonts lighter:              change-density(-5)\n"
00398     "";