PageRenderTime 187ms CodeModel.GetById 179ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/texmf/xdvi/XDvi

http://github.com/brinkman83/bashrc
#! | 370 lines | 324 code | 46 blank | 0 comment | 0 complexity | 64bb11405d77c03cf1bac478a1532e5e MD5 | raw file
  1!!! Global application defaults for XDvik
  2!!! Install this file into $TEXMF/xdvi/XDvi
  3!!! (use kpsewhich --expand-path '$TEXMF' to determine the location of
  4!!! $TEXMF on you system).
  5!!! 
  6!!! Lines commented out (starting with `!') are examples of
  7!!! how to customize Xdvi for your personal needs.
  8!!! To use these settings, copy them into your $HOME/.Xdefaults file
  9!!! (remove the comments), prefix each line with `xdvi', and activate
 10!!! them with:
 11!!! $ xrdb -merge $HOME/.Xdefaults
 12
 13!!!------------------------------------------------------------------------------
 14!!!------------------------ useful global settings ------------------------------
 15!!!------------------------------------------------------------------------------
 16
 17!!! Use `logical' (TeX) pages instead of physical pages for the `g' keystroke:
 18*useTeXPages: True
 19
 20!!! A fairly high resolution, which usually gives better results for anti-aliasing
 21!!! and greater flexibility for shrink values. Generating MF fonts shouldn't be an
 22!!! issue when using T1lib.
 23!*mfMode: ljfour
 24*paper: a4
 25
 26!!! This should be the best choice for modern displays with large color depth.
 27*thorough: true
 28
 29!!!------------------------------------------------------------------------------
 30!!!------------------------------ Motif toolbar ---------------------------------
 31!!!------------------------------------------------------------------------------
 32
 33!!! filename of the XPM file used for the toolbar pixmaps:
 34*toolbarPixmapFile: toolbar.xpm
 35
 36!!! Use toolbar buttons that are non-raised by default and only appear raised
 37!!! when the mouse is over a button, as in e.g. Netscape 4.x:
 38*toolbarButtonsRaised: False
 39
 40!!! don't draw a border around armed buttons:
 41*button*highlightThickness: 0
 42
 43!!! no extra margin above/below buttons
 44*toolBar.marginHeight:0
 45
 46!!! some spacing around button icons and button edges
 47*toolBar*button*marginHeight: 2
 48*toolBar*button*marginWidth: 2
 49
 50
 51!!! don't draw the small grey rectangle inside the armed button:
 52*button*fillOnArm: false
 53
 54!!! Or, for a more traditional Motif look, use something like:
 55!*toolbarButtonsRaised: True
 56!*button*fillOnArm: True
 57!*button*shadowThickness: 1
 58!*toolBar.marginHeight: 0
 59!*toolBarFrame.marginWidth: 0
 60!*button*highlightThickness: 2
 61
 62!!!------------------------------------------------------------------------------
 63!!!-------------------------------- Motif widgets -------------------------------
 64!!!------------------------------------------------------------------------------
 65!!! small shadows like in netscape 4.x
 66*menuBar.shadowThickness: 1
 67*button*shadowThickness: 2
 68*toolBar.shadowThickness: 1
 69*toolBarFrame.shadowThickness: 1
 70*helppanel.shadowThickness: 1
 71*toolBarFrame.marginWidth: 2
 72*statusline*shadowThickness: 1
 73
 74!!! prevent the Motif file selector widget from resizing itself, and start with a reasonable default:
 75*resizePolicy: XmRESIZE_NONE
 76*textColumns: 50
 77
 78!!! make all text/entry fields white, for better contrasts:
 79*file_text.background: white
 80*searchbox_input.background: white
 81*print_text.background: white
 82*dvips_options_text.background: white
 83*from_page.background: white
 84*to_page.background: white
 85*topics_list.background: white
 86*help_text.background: white
 87*FilterText.background: white
 88*DirList.background: white
 89*ItemsList.background: white
 90*file.Text.background: white
 91
 92!!! adjust position of header in help window
 93*help_window*right_form.topOffset: 10
 94
 95!!!------------------------------------------------------------------------------
 96!!!----------------------------- Preferences window -----------------------------
 97!!!------------------------------------------------------------------------------
 98
 99*XmComboBox*List*background: white
100*XmComboBox*Text*background: white
101*XmComboBox*Text*borderWidth: 2
102*XmComboBox*Text*borderColor: black
103
104!!!------------------------------------------------------------------------------
105!!!--------------------------------- Help window --------------------------------
106!!!------------------------------------------------------------------------------
107!!! (See also the fontList entries for TOPIC_LABEL and TOPIC_HEADING)
108!!!
109!!! Set this to something that fits to your font size:
110*help_text.rows: 23
111*help_text.columns: 56
112
113!!! fg/bg for help topics label
114*help_label*shadowThickness: 2
115!!! ... if you want a more colorful label:
116!*help_label*foreground: blue4
117!*help_label*background: grey90
118
119
120!!! help topics label for Xaw
121*help_label.font: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*
122
123!!!------------------------------------------------------------------------------
124!!!-------------------------------- Motif tooltips ------------------------------
125!!!------------------------------------------------------------------------------
126!!! background color and font:
127*tipShell.background: cornsilk
128*tipShell.fontSet: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*
129
130!!! time the mouse needs to stay on a button until tooltips pop up,
131!!! in milliseconds; set to a negative value to disable:
132*tipShell.waitPeriod: 800
133
134
135!!!------------------------------------------------------------------------------
136!!!------------------------------ Fonts and colors ------------------------------
137!!!------------------------------------------------------------------------------
138*font:     -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*
139!!! Use a smaller font for the statusline in the Xaw version:
140*statusline.font: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-*
141
142!!! Motif fonts. Meaning of the tags is:
143!!! NORMAL: Ordinary text, labels etc.
144!!! UNMARKED: Unmarked entries in page list
145!!! MARKED: Marked entries in page list, emphasized entries in other lists
146!!! TOPIC_LABEL: Label for topics list in help window
147!!! TOPIC_HEADING: Heading for help text in help window
148!!!
149*fontList: \
150-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*=NORMAL,\
151-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*=UNMARKED,\
152-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*=MARKED,\
153-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*=TOPIC_LABEL,\
154-*-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*=TOPIC_HEADING
155
156
157!!! Color used for page border, image bounding boxes and the ruler in `Ruler mode'.
158*highlight: red
159
160!!! Color used for the magnifier and its rulers:
161*rulecolor: blue
162
163!!!------------------------------------------------------------------------------
164!!!---------------------------------- hyperlinks  -------------------------------
165!!!------------------------------------------------------------------------------
166
167!!! Colors for unvisited and visited hyperlinks (can be any valid X color spec,
168!!! also in hex format):
169*linkColor: Blue2
170*visitedLinkColor: Purple4
171
172!!! Link style:
173!!! 0: no highlighting at all
174!!! 1: underline with linkColor
175!!! 2: no underlining, text with linkColor
176!!! 3: underlining and text with linkColor
177*linkStyle: 3
178
179!!!------------------------------------------------------------------------------
180!!!------------------------------ helper applications ---------------------------
181!!!------------------------------------------------------------------------------
182
183!!! the editor used for `forward search'; can also be set via $EDITOR, $VISUAL
184!!! or $XEDITOR. Setting the X resource will override the environment variables.
185!!! The format strings `%l' and `%f' are optional.
186!!! You could use this for older emacsen that come with emacsclient:
187!*editor: emacsclient --no-wait +%l %f
188!!! and this for current emacs or xemacs that come with gnuclient (which is much better):
189!*editor: gnuclient -q +%l %f
190
191!!!------------------------------------------------------------------------------
192!!!------------------------------ Xaw buttons and helptexts ---------------------
193!!!------------------------------------------------------------------------------
194
195!!! The following sections are of a more esoteric nature, giving
196!!! examples for customizing the Xaw buttons and the help texts.
197!!! Maybe these are useful for i18n.
198
199!!!------------------------------
200!!! This is the default Xaw button configuration:
201!!!------------------------------
202! *buttonTranslations: \
203! File_Open ...:select-dvi-file()\n\
204! File_Reload:reread-dvi-file()\n\
205! File_Back Hyperref:htex-back()\n\
206! File_Quit:quit()\n\
207! Page_First page:goto-page(1)\n\
208! Page_Page-10:back-page(10)\n\
209! Page_Page-5:back-page(10)\n\
210! Page_Prev:back-page(1)\n\
211! Page_Next:forward-page(1)\n\
212! Page_Page+5:forward-page(5)\n\
213! Page_Page+10:forward-page(10)\n\
214! Page_Last page:goto-page()\n\
215! Zoom_Full size:set-shrink-factor(1)\n\
216! Zoom_$%%:shrink-to-dpi(150)\n\
217! Zoom_$%%:shrink-to-dpi(100)\n\
218! Zoom_$%%:shrink-to-dpi(50)\n\
219! Zoom_Fit in window:set-shrink-factor()\n\
220! Options_View PS:set-ps(toggle)\n\
221! Options_Keep position:set-keep-flag()\n\
222! Help_About ...:popup-help(helpGeneral)\n\
223! Help_Page Motion ...:popup-help(helpPagemotion)\n\
224! Help_Other Commands ...:popup-help(helpOthercommands)\n\
225! Help_HyperTeX commands ...:popup-help(helpHypertex)\n\
226! Help_Source specials ...:popup-help(helpSourcespecials)\n
227
228!!!------------------------------
229!!! help texts
230!!!------------------------------
231
232!!!------------------------------
233!!! about/general
234!!!------------------------------
235! *.helpGeneral: \
236! \n\
237! This is xdvik, CVS version.\n\
238! \n\
239! The xdvik project homepage is located at\n\
240! http://sourceforge.net/projects/xdvi,\n\
241! where you can find updates, report bugs and submit feature requests.\n\
242! \n\
243! Getting help and exiting xdvi\n\
244! \n\
245! h or ? or `Help' button\n\
246!      Displays this help text.\n\
247! \n\
248! q or Control-C or Control-D or Cancel or Stop or Control-Z (VAX VMS)\n\
249!      Quits the program.\n
250! 
251
252!!!------------------------------
253!!! other commands
254!!!------------------------------
255! *helpOthercommands: \
256! \n\
257! Other Commands\n\
258! \n\
259! \n\
260! Control-F\n\
261!      Find another DVI file.\n\
262! \n\
263! Control-L or Clear\n\
264!      Redisplays the current page.\n\
265! \n\
266! Control-P\n\
267!      Prints bitmap unit, bit order, and byte order.\n\
268! \n\
269! ^ or Home\n\
270!      Move to the ``home'' position of the page.  This is\n\
271!      normally the upper left-hand corner of the page,\n\
272!      depending on the margins as described in the -margins\n\
273!      option, above.\n\
274! \n\
275! c    Moves the page so that the point currently beneath the\n\
276!      cursor is moved to the middle of the window.  It also\n\
277!      (gasp!) warps the cursor to the same place.\n\
278! \n\
279! G    This key toggles the use of greyscale anti-aliasing for\n\
280!      displaying shrunken bitmaps.  In addition, the key\n\
281!      sequences `0G' and `1G' clear and set this flag,\n\
282!      respectively.  See also the -nogrey option.\n\
283! \n\
284! k    Normally when xdvi switches pages, it moves to the home\n\
285!      position as well.  The `k' keystroke toggles a `keep-\n\
286!      position' flag which, when set, will keep the same\n\
287!      position when moving between pages.  Also `0k' and `1k'\n\
288!      clear and set this flag, respectively.  See also the\n\
289!      -keep option.\n\
290! \n\
291! M    Sets the margins so that the point currently under the\n\
292!      cursor is the upper left-hand corner of the text in the\n\
293!      page.  Note that this command itself does not move the\n\
294!      image at all.  For details on how the margins are used,\n\
295!      see the -margins option.\n\
296! \n\
297! P    ``This is page number n.''  This can be used to make\n\
298!      the `g' keystroke refer to actual page numbers instead\n\
299!      of absolute page numbers.\n\
300! \n\
301! R    Forces the dvi file to be reread.  This allows you to\n\
302!      preview many versions of the same file while running\n\
303!      xdvi only once.\n\
304! \n\
305! s    Changes the shrink factor to the given number.  If no\n\
306!      number is given, the smallest factor that makes the\n\
307!      entire page fit in the window will be used.  (Margins\n\
308!      are ignored in this computation.)\n\
309! \n\
310! S    Sets the density factor to be used when shrinking\n\
311!      bitmaps.  This should be a number between 0 and 100;\n\
312!      higher numbers produce lighter characters.\n\
313! \n\
314! t    Toggles to the next unit in a sorted list of TeX dimension\n\
315!      units for the popup magnifier ruler.\n\
316! \n\
317! V    Toggles Ghostscript anti-aliasing.  Also `0V' and `1V' clear\n\
318!      and enables this mode, respectively.  See also the the\n\
319!      -gsalpha option.\n\
320! \n\
321! x    Toggles expert mode (in which the buttons do not appear).\n\
322!      `1x' toggles display of the statusline at the bottom of\n\
323!      the window.\n
324 
325!!!------------------------------
326!!! page motion
327!!!------------------------------
328! *helpPagemotion: \
329! \n\
330! Moving around in the document\n\
331! \n\
332! \n\
333! \n\
334! n or f or Space or Return or LineFeed or PgDn\n\
335!      Moves to the next page (or to the nth next page if a\n\
336!      number is given).\n\
337! \n\
338! p or b or Control-H or BackSpace or DELete or PgUp\n\
339!      Moves to the previous page (or back n pages).\n\
340! \n\
341! u or Up-arrow\n\
342!      Moves up two thirds of a window-full.\n\
343! \n\
344! d or Down-arrow\n\
345!      Moves down two thirds of a window-full.\n\
346! \n\
347! l or Left-arrow\n\
348!      Moves left two thirds of a window-full.\n\
349! \n\
350! r or Right-arrow\n\
351!      Moves right two thirds of a window-full.\n\
352! \n\
353! g or j or End\n\
354!      Moves to the page with the given number.  Initially,\n\
355!      the first page is assumed to be page number 1, but this\n\
356!      can be changed with the `P' keystroke, below.  If no\n\
357!      page number is given, then it goes to the last page.\n\
358! \n\
359! <    Move to first page in document.\n\
360! >    Move to last page in document.\n
361
362!!!------------------------------
363!!! end of helptexts
364!!!------------------------------
365
366 
367!!!------------------------------------------------------------------------------
368!!!-------------- used for internal checking - DO NOT CHANGE THIS! --------------
369!!!------------------------------------------------------------------------------
370*appDefaultsFileVersion: 20030303