| 1 |
/* key translations */ |
| 2 |
#include "xdvi.h" |
| 3 |
#include "version.h" |
| 4 |
|
| 5 |
static const char base_key_translations[] = |
| 6 |
/* note: more specific key bindings must always come first |
| 7 |
(i.e. `alt ctrl' before `ctrl' before unmodified) |
| 8 |
`:' at start of description means that case matters |
| 9 |
*/ |
| 10 |
"<Key>0: digit(0)\n" |
| 11 |
"<Key>1: digit(1)\n" |
| 12 |
"<Key>2: digit(2)\n" |
| 13 |
"<Key>3: digit(3)\n" |
| 14 |
"<Key>4: digit(4)\n" |
| 15 |
"<Key>5: digit(5)\n" |
| 16 |
"<Key>6: digit(6)\n" |
| 17 |
"<Key>7: digit(7)\n" |
| 18 |
"<Key>8: digit(8)\n" |
| 19 |
"<Key>9: digit(9)\n" |
| 20 |
"Ctrl<Key>]: pagehistory-delete-forward()\n" |
| 21 |
"Ctrl<Key>[: pagehistory-delete-backward()\n" |
| 22 |
/* it seems the following is needed for compatibility with german, french, |
| 23 |
italian, spanish and other keyboards that have [, ] on right Alt key? */ |
| 24 |
"Ctrl Mod2<Key>]: pagehistory-delete-forward()\n" |
| 25 |
"Ctrl Mod2<Key>[: pagehistory-delete-backward()\n" |
| 26 |
"Mod2<Key>]: pagehistory-forward()\n" |
| 27 |
"Mod2<Key>[: pagehistory-back()\n" |
| 28 |
"<Key>]: pagehistory-forward()\n" |
| 29 |
"<Key>[: pagehistory-back()\n" |
| 30 |
"Alt Ctrl<Key>+: change-density(10)\n" /* case insensitive, otherwise too hard to type */ |
| 31 |
":Alt Ctrl<Key>-: change-density(-10)\n" |
| 32 |
"Ctrl<Key>+: set-shrink-factor(+)\n" /* case insensitive, otherwise too hard to type */ |
| 33 |
":Ctrl<Key>-: set-shrink-factor(-)\n" |
| 34 |
":<Key>-: minus()\n" |
| 35 |
":<Key>?: help()\n" |
| 36 |
/* ":<Key>/: incremental-find()\n" */ |
| 37 |
":<Key>>: goto-page()\n" |
| 38 |
":<Key><: goto-page(1)\n" |
| 39 |
":<Key>^: home()\n" |
| 40 |
"<Key>space: unpause-or-next()\n" |
| 41 |
":<Key>B: htex-back()\n" |
| 42 |
":<Key>b: back-page()\n" |
| 43 |
/* removed, redundant and gets in the way |
| 44 |
":Ctrl<Key>c: quit()\n" */ |
| 45 |
#if COLOR |
| 46 |
":<Key>C: set-color()\n" |
| 47 |
#endif |
| 48 |
":<Key>c: center()\n" |
| 49 |
/* removed, redundant and gets in the way |
| 50 |
":Ctrl<Key>d: quit()\n" */ |
| 51 |
":<Key>D: toggle-grid-mode()\n" |
| 52 |
":<Key>d: down()\n" |
| 53 |
"Ctrl<Key>f: find()\n" |
| 54 |
":<Key>F: htex-forward()\n" |
| 55 |
":~Alt<Key>f: forward-page()\n" |
| 56 |
"Ctrl<Key>g: find-next()\n" |
| 57 |
#ifdef GREY |
| 58 |
":<Key>G: set-greyscaling()\n" |
| 59 |
#endif |
| 60 |
":<Key>g: goto-page()\n" |
| 61 |
"Ctrl<Key>h: back-page()\n" |
| 62 |
":~Alt<Key>h: help()\n" |
| 63 |
":<Key>i: htex-anchorinfo()\n" |
| 64 |
"Ctrl<Key>j: forward-page()\n" |
| 65 |
":<Key>k: set-keep-flag()\n" |
| 66 |
"Ctrl<Key>l: fullscreen()\n" |
| 67 |
":<Key>l: left()\n" |
| 68 |
"Ctrl<Key>m: switch-mode()\n" |
| 69 |
":<Key>M: set-margins()\n" |
| 70 |
":~Alt<Key>m: toggle-mark()\n" |
| 71 |
"~Alt Ctrl<Key>n: toggle-mark()forward-page()\n" |
| 72 |
":~Alt<Key>n: forward-page()\n" |
| 73 |
"Ctrl<Key>o: select-dvi-file()\n" |
| 74 |
":~Alt<Key>o: ruler-snap-origin()\n" |
| 75 |
/* this used to be show-display-attributes() - use the output of `-debug PK' instead */ |
| 76 |
"Ctrl<Key>p: print()\n" |
| 77 |
":<Key>P: declare-page-number()\n" |
| 78 |
":<Key>p: back-page()\n" |
| 79 |
":<Key>q: quit()\n" |
| 80 |
"Ctrl<Key>r: forward-page(0)\n" /* redraw page */ |
| 81 |
":<Key>R: reread-dvi-file()\n" |
| 82 |
":<Key>r: right()\n" |
| 83 |
"Ctrl<Key>s: save()\n" |
| 84 |
":<Key>S: set-density()\n" |
| 85 |
":<Key>s: set-shrink-factor()\n" |
| 86 |
":<Key>T: use-tex-pages(toggle)\n" |
| 87 |
":<Key>t: switch-magnifier-units()\n" |
| 88 |
"Ctrl<Key>u: back-page()toggle-mark()\n" |
| 89 |
":<Key>u: up()\n" |
| 90 |
"Ctrl<Key>v: show-source-specials()\n" |
| 91 |
#ifdef PS_GS |
| 92 |
":<Key>V: set-gs-alpha()\n" |
| 93 |
#endif /* PS_GS */ |
| 94 |
#ifdef PS |
| 95 |
":<Key>v: set-ps()\n" |
| 96 |
#endif |
| 97 |
"Ctrl<Key>x: source-what-special()\n" |
| 98 |
":<Key>x: set-expert-mode()\n" |
| 99 |
#ifdef VMS |
| 100 |
"~Alt Ctrl<Key>z: quit()\n" |
| 101 |
#endif |
| 102 |
"<Key>Return: forward-page()\n" |
| 103 |
"<Key>Delete: up-or-previous()\n" |
| 104 |
"<Key>BackSpace: back-page()\n" |
| 105 |
#ifdef MOTIF |
| 106 |
"<Key>osfDelete: up-or-previous()\n" |
| 107 |
"<Key>osfBackSpace: back-page()\n" |
| 108 |
"Ctrl<Key>osfBeginLine: goto-page(1)\n" |
| 109 |
"Ctrl<Key>osfEndLine: goto-page()\n" |
| 110 |
"<Key>osfBeginLine: home-or-top()\n" |
| 111 |
"<Key>osfEndLine: end-or-bottom()\n" |
| 112 |
"<Key>osfLeft: left(0.015)\n" |
| 113 |
"<Key>osfUp: up(0.015)\n" |
| 114 |
"<Key>osfRight: right(0.015)\n" |
| 115 |
"<Key>osfDown: down(0.015)\n" |
| 116 |
"<Key>osfPageUp: back-page()\n" |
| 117 |
"<Key>osfPageDown: forward-page()\n" |
| 118 |
"<Key>osfCancel: discard-number()\n" |
| 119 |
#else |
| 120 |
"Ctrl<Key>Home: goto-page(1)\n" |
| 121 |
"Ctrl<Key>End: goto-page()\n" |
| 122 |
"<Key>Home: home-or-top()\n" |
| 123 |
"<Key>End: end-or-bottom()\n" |
| 124 |
"<Key>Left: left(0.015)\n" |
| 125 |
"<Key>Up: up(0.015)\n" |
| 126 |
"<Key>Right: right(0.015)\n" |
| 127 |
"<Key>Down: down(0.015)\n" |
| 128 |
"<Key>Prior: back-page()\n" |
| 129 |
"<Key>Next: forward-page()\n" |
| 130 |
"<Key>Escape: discard-number()\n" |
| 131 |
#endif |
| 132 |
#ifdef XK_KP_Left |
| 133 |
"~@Num_Lock<Key>KP_Home:home()\n" |
| 134 |
"~@Num_Lock<Key>KP_Left:left(0.015)\n" |
| 135 |
"~@Num_Lock<Key>KP_Begin:center()\n" |
| 136 |
"~@Num_Lock<Key>KP_Up:up(0.015)\n" |
| 137 |
"~@Num_Lock<Key>KP_Right:right(0.015)\n" |
| 138 |
"~@Num_Lock<Key>KP_Down:down(0.015)\n" |
| 139 |
"~@Num_Lock<Key>KP_Prior:back-page()\n" |
| 140 |
"~@Num_Lock<Key>KP_Next:forward-page()\n" |
| 141 |
"<Key>KP_Enter:forward-page()\n" |
| 142 |
"<Key>KP_Delete:up-or-previous()\n" |
| 143 |
"<Key>KP_1:digit(1)\n" |
| 144 |
"<Key>KP_2:digit(2)\n" |
| 145 |
"<Key>KP_3:digit(3)\n" |
| 146 |
"<Key>KP_4:digit(4)\n" |
| 147 |
"<Key>KP_5:digit(5)\n" |
| 148 |
"<Key>KP_6:digit(6)\n" |
| 149 |
"<Key>KP_7:digit(7)\n" |
| 150 |
"<Key>KP_8:digit(8)\n" |
| 151 |
"<Key>KP_9:digit(9)\n" |
| 152 |
"<Key>KP_0:digit(0)\n" |
| 153 |
#endif |
| 154 |
""; |
| 155 |
|
| 156 |
|
| 157 |
static const char base_mouse_translations[] = |
| 158 |
"Shift<Btn1Down>: mouse-modes(\"drag(+)\")\n" |
| 159 |
"Shift<Btn2Down>: mouse-modes(\"drag(|)\")\n" |
| 160 |
"Shift<Btn3Down>: mouse-modes(\"drag(-)\")\n" |
| 161 |
"Ctrl<Btn1Down>: mouse-modes(\"source-special()\", \"source-special()\", \"source-special()\")\n" |
| 162 |
"<Btn1Down>: mouse-modes(\"do-href()magnifier(*2)\", \"text-selection()\", \"ruler()\")\n" |
| 163 |
"<Btn2Down>: mouse-modes(\"do-href-newwindow()magnifier(*2)\", \"text-selection()\", \"ruler()\")\n" |
| 164 |
"<Btn3Down>: mouse-modes(\"magnifier(*3)\")\n" |
| 165 |
"<Btn4Down>: mouse-modes(\"wheel(-0.2)\")\n" |
| 166 |
"<Btn5Down>: mouse-modes(\"wheel(0.2)\")\n" |
| 167 |
"<Btn6Down>: mouse-modes(\"hwheel(-0.2)\")\n" |
| 168 |
"<Btn7Down>: mouse-modes(\"hwheel(0.2)\")\n" |
| 169 |
""; |
| 170 |
|
| 171 |
|
| 172 |
/* #if defined(NEW_MENU_CREATION) || defined(MOTIF) */ |
| 173 |
|
| 174 |
/* |
| 175 |
BNF-like Syntax of the entries: |
| 176 |
|
| 177 |
entry ::= entry-line `\n' ( entry )* |
| 178 |
entry-line ::= menu-spec `:' button-type `:' mnemonic `:' action |
| 179 |
menu-spec ::= menu-name ( `>' menu-name )* |
| 180 |
menu-name ::= menu-title `|' accelerator |
| 181 |
|
| 182 |
menu-title ::= String |
| 183 |
mnemonic ::= <empty> | String |
| 184 |
action ::= <empty> | String |
| 185 |
accelerator ::= `A'|`B'|`C'|...|`a'|`b'|`c'|... |
| 186 |
button-type ::= `PUSH' | `RADIO' | `CHECK' | `SEP' |
| 187 |
|
| 188 |
Notes: |
| 189 |
- In entry-line, every occurrence of `:' that's not a separator has to be |
| 190 |
escaped like this: `\:'; similar for `>' in menu-spec and `|' in menu-title. |
| 191 |
- Every `>' in menu-spec creates a submenu for the corresponding menu. |
| 192 |
- mnemonic is the key binding for the action, displayed as mnemonic string in |
| 193 |
the Motif menus (not yet in the Xaw version, since Xaw doesn't provide for |
| 194 |
such mnemonics). |
| 195 |
- accelerator is the Motif menu accelerator key. |
| 196 |
*/ |
| 197 |
static const char default_menu_config[] = |
| 198 |
"File|F > Open ...|O :PUSH :Ctrl-o :select-dvi-file()\n" |
| 199 |
"File|F > Open Recent|R :PUSH : :recent-files()\n" |
| 200 |
"File|F > Reload|l :PUSH :R :reread-dvi-file()\n" |
| 201 |
"File|F :SEP ::\n" |
| 202 |
"File|F > Find ...|F :PUSH :Ctrl-f :find()\n" |
| 203 |
"File|F > Find Next ...|N :PUSH :Ctrl-g :find-next()\n" |
| 204 |
"File|F :SEP ::\n" |
| 205 |
"File|F > Print ...|P :PUSH :Ctrl-p :print()\n" |
| 206 |
"File|F > Save As ...|S :PUSH :Ctrl-s :save()\n" |
| 207 |
"File|F :SEP ::\n" |
| 208 |
"File|F > Quit|Q :PUSH :q :quit()\n" |
| 209 |
/* ========== */ |
| 210 |
"Navigate|N > Page-10| :PUSH :10 p :back-page(10)\n" |
| 211 |
"Navigate|N > Page-5| :PUSH :5 p :back-page(5)\n" |
| 212 |
"Navigate|N > Prev|P :PUSH :p :back-page(1)\n" |
| 213 |
"Navigate|N > Next|N :PUSH :n :forward-page(1)\n" |
| 214 |
"Navigate|N > Page+5| :PUSH :5 n :forward-page(5)\n" |
| 215 |
"Navigate|N > Page+10| :PUSH :10 n :forward-page(10)\n" |
| 216 |
"Navigate|N :SEP ::\n" |
| 217 |
"Navigate|N > First Page|F :PUSH :1 g :goto-page(1)\n" |
| 218 |
"Navigate|N > Last Page|L :PUSH :g :goto-page()\n" |
| 219 |
"Navigate|N :SEP ::\n" |
| 220 |
"Navigate|N > Page History Back| :PUSH :[ :pagehistory-back()\n" |
| 221 |
"Navigate|N > Page History Forward| :PUSH :] :pagehistory-forward()\n" |
| 222 |
/* "Navigate|N :SEP ::\n" */ |
| 223 |
/* "Navigate|N > Clear Page History| :PUSH : :pagehistory-clear()\n" */ |
| 224 |
"Navigate|N :SEP ::\n" |
| 225 |
"Navigate|N > Back Hyperlink|B :PUSH :B :htex-back()\n" |
| 226 |
"Navigate|N > Forward Hyperlink|F :PUSH :F :htex-forward()\n" |
| 227 |
/* ========== */ |
| 228 |
#ifdef MOTIF /* Motif zoom buttons are more verbose to emphasise the accelerator */ |
| 229 |
"Zoom|Z > Shrink by 1|1 :RADIO :1 s :set-shrink-factor(1)\n" |
| 230 |
"Zoom|Z > Shrink by 2|2 :RADIO :2 s :set-shrink-factor(2)\n" |
| 231 |
"Zoom|Z > Shrink by 3|3 :RADIO :3 s :set-shrink-factor(3)\n" |
| 232 |
"Zoom|Z > Shrink by 4|4 :RADIO :4 s :set-shrink-factor(4)\n" |
| 233 |
"Zoom|Z > Shrink by 5|5 :RADIO :5 s :set-shrink-factor(5)\n" |
| 234 |
"Zoom|Z > Shrink by 6|6 :RADIO :6 s :set-shrink-factor(6)\n" |
| 235 |
"Zoom|Z > Shrink by 7|7 :RADIO :7 s :set-shrink-factor(7)\n" |
| 236 |
"Zoom|Z > Shrink by 8|8 :RADIO :8 s :set-shrink-factor(8)\n" |
| 237 |
"Zoom|Z > Shrink by 9|9 :RADIO :9 s :set-shrink-factor(9)\n" |
| 238 |
#else |
| 239 |
"Zoom|Z > 1|1 :RADIO :1 s :set-shrink-factor(1)\n" |
| 240 |
"Zoom|Z > 2|2 :RADIO :2 s :set-shrink-factor(2)\n" |
| 241 |
"Zoom|Z > 3|3 :RADIO :3 s :set-shrink-factor(3)\n" |
| 242 |
"Zoom|Z > 4|4 :RADIO :4 s :set-shrink-factor(4)\n" |
| 243 |
"Zoom|Z > 5|5 :RADIO :5 s :set-shrink-factor(5)\n" |
| 244 |
"Zoom|Z > 6|6 :RADIO :6 s :set-shrink-factor(6)\n" |
| 245 |
"Zoom|Z > 7|7 :RADIO :7 s :set-shrink-factor(7)\n" |
| 246 |
"Zoom|Z > 8|8 :RADIO :8 s :set-shrink-factor(8)\n" |
| 247 |
"Zoom|Z > 9|9 :RADIO :9 s :set-shrink-factor(9)\n" |
| 248 |
#endif |
| 249 |
"Zoom|Z :SEP ::\n" |
| 250 |
"Zoom|Z > Fit in Window|F :PUSH :s :set-shrink-factor(a)\n" |
| 251 |
"Zoom|Z :SEP ::\n" |
| 252 |
"Zoom|Z > Zoom In|I :PUSH :Ctrl-+ :set-shrink-factor(+)\n" |
| 253 |
"Zoom|Z > Zoom Out|O :PUSH :Ctrl-- :set-shrink-factor(-)\n" |
| 254 |
/* ========== */ |
| 255 |
"Mark|M > Mark All Pages|M :PUSH :-1 m :toggle-mark(-1)\n" |
| 256 |
"Mark|M > Unmark All Pages|U :PUSH :0 m :toggle-mark(0)\n" |
| 257 |
"Mark|M :SEP ::\n" |
| 258 |
"Mark|M > Toggle Odd Pages|O :PUSH :1 m :toggle-mark(1)\n" |
| 259 |
"Mark|M > Toggle Even Pages|E :PUSH :2 m :toggle-mark(2)\n" |
| 260 |
"Mark|M > Toggle Current Page|C :PUSH :m :toggle-mark()\n" |
| 261 |
#ifndef MOTIF /* special `Modes' menu for Xaw */ |
| 262 |
"Modes|M > Magnifier|M :RADIO :Ctrl-m :switch-mode(0)\n" |
| 263 |
"Modes|M > Text Selection|T :RADIO :Ctrl-m :switch-mode(1)\n" |
| 264 |
"Modes|M > Ruler|R :RADIO :Ctrl-m :switch-mode(2)\n" |
| 265 |
#endif |
| 266 |
/* ========== */ |
| 267 |
"Options|O > Keep Position|K :CHECK :k :set-keep-flag(toggle)\n" |
| 268 |
"Options|O > Use TeX Page Numbers|T :CHECK :T :use-tex-pages(toggle)\n" |
| 269 |
"Options|O :SEP ::\n" |
| 270 |
/* ---------- */ |
| 271 |
#ifdef MOTIF /* nested menus are used in Motif only */ |
| 272 |
#if 0 |
| 273 |
/* TODO: implement setting paper size at runtime */ |
| 274 |
"Options|O > Paper|a > US letter|U :RADIO : :set-papersize(us)\n" |
| 275 |
"Options|O > Paper|a > Legal|L :RADIO : :set-papersize(legal)\n" |
| 276 |
"Options|O > Paper|a > Foolscap|F :RADIO : :set-papersize(foolscap)\n" |
| 277 |
"Options|O > Paper|a > A1|1 :RADIO : :set-papersize(a1)\n" |
| 278 |
"Options|O > Paper|a > A2|2 :RADIO : :set-papersize(a2)\n" |
| 279 |
"Options|O > Paper|a > A3|3 :RADIO : :set-papersize(a3)\n" |
| 280 |
"Options|O > Paper|a > A4|4 :RADIO : :set-papersize(a4)\n" |
| 281 |
"Options|O > Paper|a > A5|5 :RADIO : :set-papersize(a5)\n" |
| 282 |
"Options|O > Paper|a > A6|5 :RADIO : :set-papersize(a6)\n" |
| 283 |
"Options|O > Paper|a > A7|7 :RADIO : :set-papersize(a7)\n" |
| 284 |
/* Note: the b* and c* DIN sizes are too rarely used to be exposed here; |
| 285 |
people can still customize the Menu if they really need them. */ |
| 286 |
"Options|O > Paper|a :SEP ::\n" |
| 287 |
"Options|O > Paper|a > Landscape|L :CHECK : :set-paper-landscape(toggle)\n" |
| 288 |
#endif /* 0 */ |
| 289 |
/* ---------- */ |
| 290 |
# if PS |
| 291 |
"Options|O > Postscript|o > Show PS|S :RADIO :1 v :set-ps(1)\n" |
| 292 |
"Options|O > Postscript|o > Show PS and Bounding Boxes|B :RADIO :2 v :set-ps(2)\n" |
| 293 |
"Options|O > Postscript|o > Show Bounding Boxes Only|O :RADIO :0 v :set-ps(0)\n" |
| 294 |
# ifdef GS_PS |
| 295 |
"Options|O > Postscript|o :SEP ::\n" |
| 296 |
"Options|O > Postscript|o > Use PS Anti-Aliasing|A :CHECK :V :set-gs-alpha(toggle)\n" |
| 297 |
# endif |
| 298 |
# endif |
| 299 |
/* ---------- */ |
| 300 |
"Options|O > Mouse Mode|M > Magnifier|M :RADIO :0 Ctrl-m :switch-mode(0)\n" |
| 301 |
"Options|O > Mouse Mode|M > Text Selection|T :RADIO :1 Ctrl-m :switch-mode(1)\n" |
| 302 |
"Options|O > Mouse Mode|M > Ruler|R :RADIO :2 Ctrl-m :switch-mode(2)\n" |
| 303 |
"Options|O :SEP ::\n" |
| 304 |
"Options|O > Preferences ...|P :PUSH : :prefs-dialog()\n" |
| 305 |
#else |
| 306 |
"Options|O > Show PS|S :RADIO :1 v :set-ps(1)\n" |
| 307 |
"Options|O > Show PS and Bounding Boxes|B :RADIO :2 v :set-ps(2)\n" |
| 308 |
"Options|O > Show Bounding Boxes Only|O :RADIO :0 v :set-ps(0)\n" |
| 309 |
"Options|O :SEP ::\n" |
| 310 |
"Options|O > Use PS Anti-Aliasing|A :CHECK :V :set-gs-alpha(toggle)\n" |
| 311 |
"Options|O :SEP ::\n" |
| 312 |
"Options|O > Fonts Darker|D :PUSH :Alt-Ctrl-+:change-density(5)\n" |
| 313 |
"Options|O > Fonts Lighter|L :PUSH :Alt-Ctrl--:change-density(-5)\n" |
| 314 |
#endif /* MOTIF */ |
| 315 |
/* ========== */ |
| 316 |
"Help|H > Introduction ...|I :PUSH : :help(Introduction)\n" |
| 317 |
"Help|H > Page Motion ...|P :PUSH : :help(Page Motion)\n" |
| 318 |
"Help|H > Other Commands ...|O :PUSH : :help(Other Commands)\n" |
| 319 |
"Help|H > Hyperlinks ...|H :PUSH : :help(Hyperlinks)\n" |
| 320 |
"Help|H > Mouse Buttons ...|M :PUSH : :help(Mouse Buttons)\n" |
| 321 |
"Help|H > Mouse Modes ...|d :PUSH : :help(Mouse Modes)\n" |
| 322 |
"Help|H > String Search ...|e :PUSH : :help(String Search)\n" |
| 323 |
"Help|H > Printing and Saving ...|S :PUSH : :help(Printing and Saving)\n" |
| 324 |
"Help|H > Source Specials ...|r :PUSH : :help(Source Specials)\n" |
| 325 |
"Help|H :SEP ::\n" |
| 326 |
"Help|H > New Features in this Version|F:PUSH::load-url(http\\://xdvi.sourceforge.net/releases.html#" XDVI_VERSION ")\n" |
| 327 |
"Help|H > Submit a Bug Report|B :PUSH ::load-url(http\\://sourceforge.net/tracker/?func=add&group_id=23164&atid=377580)\n" |
| 328 |
""; |
| 329 |
|
| 330 |
|
| 331 |
static const char default_toolbar_translations[] = |
| 332 |
/* index statusline-text tooltip action */ |
| 333 |
"SPACER(5)\n" |
| 334 |
"0: Open a new file (Key\\: Ctrl-o): Open file: select-dvi-file()\n" |
| 335 |
"SPACER(10)\n" |
| 336 |
"1: Reload this file (Key\\: R): Reload file: reread-dvi-file()\n" |
| 337 |
"SPACER(10)\n" |
| 338 |
"2: Go to the first page of this file (Key\\: 1g): First page: goto-page(1)\n" |
| 339 |
"3: Go to the previous page of this file (Key\\: p): Previous page: back-page(1)\n" |
| 340 |
"4: Go to the next page of this file (Key\\: n): Next page: forward-page(1)\n" |
| 341 |
"5: Go to the last page of this file (Key\\: g): Last page: goto-page(e)\n" |
| 342 |
"SPACER(10)\n" |
| 343 |
"8: Back to previous page in history (Key\\: [): Page History back: pagehistory-back()\n" |
| 344 |
"9: Forward to next page in history (Key\\: ]): Page History forward: pagehistory-forward()\n" |
| 345 |
"SPACER(10)\n" |
| 346 |
"6: Zoom in (Key\\: Ctrl-+): Zoom in: set-shrink-factor(+)\n" |
| 347 |
"7: Zoom out (Key\\: Ctrl--): Zoom out: set-shrink-factor(-)\n" |
| 348 |
"SPACER(10)\n" |
| 349 |
"11:Print this DVI file:Print:print()\n" |
| 350 |
"SPACER(10)\n" |
| 351 |
"16:Find in DVI file (Key\\: Ctrl-f): Find in file: find()\n" |
| 352 |
"SPACER(10)\n" |
| 353 |
"12:Toggle marks of odd pages (Key\\: 1m): Toggle odd pages: toggle-mark(1)\n" |
| 354 |
"13:Toggle marks of even pages (Key\\: 2m): Toggle even pages: toggle-mark(2)\n" |
| 355 |
"14:Toggle mark of current page (Key\\: 2m): Toggle current page: toggle-mark()\n" |
| 356 |
"15:Unmark all pages (Key\\: 0m): Unmark all pages: toggle-mark(0)\n" |
| 357 |
"SPACER(10)\n" |
| 358 |
"19:Display fonts darker (Key\\: Alt-Ctrl-+): Fonts darker: change-density(5)\n" |
| 359 |
"20:Display fonts lighter (Key\\: Alt-Ctrl--): Fonts lighter: change-density(-5)\n" |
| 360 |
""; |