]> git.lyx.org Git - lyx.git/blob - lib/lyxrc.example
8493fa6bb4ebba459acaab1ffd02289ed98ab681
[lyx.git] / lib / lyxrc.example
1 ### This file is part of
2 ### =====================================================
3 ###
4 ###           LyX, the High Level Word Processor
5 ###
6 ###  Copyright 1995-1997 Matthias Ettrich & the LyX Team
7 ###
8 ### =====================================================
9
10 # The file lyxrc.example is a template to write your own lyxrc file. 
11 # If you copy/rename it to lyxrc in the current directory, it will
12 # give global options for all LyX users. It is also possible to copy
13 # this file to $HOME/.lyx/lyxrc so that the configuration applies to a
14 # particular user.
15 #
16 # Several of these settings have defaults that are auto-detected when you use
17 # the menu option Options->Reconfigure.  You can see their value by looking at
18 # the file $HOME/.lyx/lyxrc.defaults. Any setting in this file will override
19 # the defaults.
20
21 #
22 # BIND SECTION ###########################################################
23 #
24
25 # Before defining your own key-bindings, select one of the available default
26 # binding sets. These are resource files (like this one) that define a
27 # large set of (keyboard) bindings. These files live in bind directory of
28 # the LyX system directory and have in general the .bind suffix.
29 # Currently, you can choose from the following flavors:
30 #
31 # cua.bind            for Windows-, Mac- and Motif-like bindings
32 # emacs.bind          for Emacs-like bindings.
33 #
34 # The \bind_file command looks in the LyX bind directory for a file 
35 # of the given name, but a full path can also be given. If you have
36 # a bind file in your ~/.lyx/bind/ directory, it will be preferred
37 # over a system wide bind file. Default is `cua'.
38
39 #\bind_file cua
40 #\bind_file emacs
41
42 # Based on the default, you can now change part or all of it with the
43 # \bind command. For example, when you want the delete key to do the
44 # backspace action, uncomment the following line:
45 #\bind "Delete" "delete-backward"
46
47 # However, if you're not at all happy with the default bindings,
48 # the most logical thing to do would be to use one of the system
49 # wide bind files as a template and place your own version in
50 # ~/.lyx/bind/mine_is_best.bind and change the above \bind_file 
51 # to this instead:
52 #\bind_file mine_is_best
53
54 # Tip: Use "lyx -dbg 4" to survey how LyX interprets your keybindings.
55
56
57 #
58 # MISC SECTION ###########################################################
59 #
60
61 # Set to false if you don't want the current selection to be replaced
62 # automatically by what you type. Default is true.
63 #\auto_region_delete false
64
65 # This is the time interval between auto-saves (in seconds).
66 # 0 means no auto-save, default is 300 for five minutes.
67 #\autosave 600
68
69 # LyX asks for a second confirmation to exit if you exit with changed 
70 # documents that you don't want to save.  You can turn this confirmation off 
71 # (LyX will still ask to save changed documents) with the following line.
72 # We recommend to keep the confirmation, though.
73 #\exit_confirmation false
74
75 # LyX continously displays names of last command executed, along with a list 
76 # of defined short-cuts for it in the minibuffer.
77 # It requires some horsepower to function, so you can turn it off, if LyX
78 # seems slow to you, by uncommenting this line:
79 #\display_shortcuts false
80
81 # Define which program to use to view dvi files here.
82 # You can include any options you need by "quoting" the entire command.
83 # You don't need to specify the paper-size and orientation, which is done
84 # automatically by LyX (hence, your viewer has to interpret the -paper
85 # option like xdvi does)
86 # The default is "xdvi".
87 # Example: the next line would use xdvi and display with shrink 2:
88 #\view_dvi_command "xdvi -s 2"
89 # It can get more involved. Expert users might prefer something like:
90 #\view_dvi_command "xdvi -s 2 -expert -geometry 1014x720+0+0 -keep -margins 1.5"
91
92 # LyX assumes that the default papersize should be usletter.  If this is not
93 # true for your site, use the next line to specify usletter, legal,
94 # executive, a3, a4, a5, or b5 as the default papersize.
95 #\default_papersize "a4"
96
97 # Define which program to use to view postscript files here.
98 # You can include any options you need by "quoting" the entire command
99 # The default is auto-detected, but you might want to override it.
100 # It is possible to get nice anti-aliased text (slower, but as nice as
101 # xdvi) by using something like
102 #\view_ps_command "ghostview -swap -sDEVICE=x11alpha"
103
104 # Define which program to use to full screen view included postscript
105 # pictures. You can not include any options. The default is auto-detected.
106 #\view_pspic_command ghostview
107
108 # Define which program to use to use as postscript interpreter for included
109 # images.
110 # You can not include any options. The default is "gs" if it can be found.
111 # If you have a slow computer, you should consider turning off the WYSIWYG 
112 # display of includes images, by using this command:
113 #\ps_command ""
114
115 # Define which program to use to run "chktex".
116 # You should include options that turn different warnings on and off.
117 # Default is "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38"
118 # Check the ChkTeX documentation for info on what the flags mean.
119 # Example: use this to ignore warnings about using "\ldots" instead of "..."
120 #\chktex_command "chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38"
121
122 # Define which program to use to run "tth", the LaTeX to HTML converter
123 # You should include options. The default is "tth -t"
124 # Example: use this to let math be italic
125 #\tth_command "tth -t -i"
126
127 # If you want to pass extra flags to the LinuxDoc sgml scripts, insert them
128 # here. 
129 # Example: the next line activates iso-latin1 support:
130 #\sgml_extra_options -l
131
132 # Keyboard Mapping. Use this to set the correct mapping file for your
133 # keyboard, that is if you need one. You'll need one if you for instance
134 # want to type German documents on an American keyboard. In that case,
135 # uncomment these three lines:
136 #\kbmap true
137 #\kbmap_primary german
138 #\kbmap_secondary american
139 # The following keyboards are supported: american, czech, francais,
140 # french, german, german-2, magyar, magyar-2, portuges, romanian,
141 # slovak, slovene, transilvanian, turkish and turkish-f. Check
142 # the lib/kbd directory if you want to write support for your language.
143 # If you do, please submit it to lyx-devel@lists.lyx.org.
144
145 # The Pause button is defined to be a three-way switch between primary 
146 # keyboard, secondary keyboard, and no keyboard mapping with the
147 # following command. It is useful if you want to write in a language
148 # not directly supported by your keyboard and you have defined a
149 # custom keyboard mapping above.
150 #\bind "Pause" "keymap-toggle"
151
152 # This starts the lyxserver. The pipes get an additional extension
153 # '.in' and '.out'. Only for advanced users.
154 # \serverpipe "/home/chb/.lyxpipe"
155
156 # Which command to use to invoke the reLyX script to convert
157 # LaTeX files to LyX files.  This setting is automatically
158 # disabled if you do not have the appropriate Perl version
159 # installed.  In that case, the File->Import LaTeX command
160 # will be disabled.  If the reLyX command does work for you,
161 # you can override that here by uncommenting this line:
162 #\relyx_command "reLyX"
163 #
164 # If it doesn't work, you can disable the command by uncommenting
165 # this line:
166 #\relyx_command "none"
167
168 #
169 # SCREEN & FONTS SECTION #################################################
170 #
171
172 # DPI (dots per inch) of your monitor is auto-detected by LyX. If that goes 
173 # wrong, you can override the setting here:
174 #\screen_dpi 100
175
176 # The zoom percentage for screen fonts.
177 # A setting of 100% will make the fonts roughly the same size as on paper. 
178 # However, since a screen is wider than a piece of paper, the default setting
179 # is 150%.
180 #\screen_zoom 100
181
182 # LyX offers a faster method for drawing selected text if you uncomment the 
183 # following line. The trick is to invert the color-information. This will 
184 # switch between white and black and give almost random results for
185 # other colors, so a white background is necessary. Any other settings of 
186 # the background color will be ignored for this reason. This setting
187 # is useful on monochrome screens and on slow systems. Fast selection
188 # can cause cosmetic problems with a few broken X servers.
189 #\fast_selection true
190
191 # If you don't like the default background or selection color, you can
192 # set your own here:
193 #\background_color white
194 #\background_color lightyellow
195 #
196 # For reference, the defaults are:
197 #\background_color linen
198 #\selection_color lightblue
199
200 # LyX normally doesn't update the cursor position if you move the scrollbar.
201 # If you scroll the cursor off the screen and then start typing LyX will
202 # move you back to where the cursor was. If you'd prefer to always have the 
203 # cursor on screen, bounded by the topmost and bottommost visible lines 
204 # -- much like XEmacs for example -- then uncomment the next line.
205 #\cursor_follows_scrollbar true
206
207 # The screen fonts used to display the text while editing
208 # The defaults are:
209 #\screen_font_roman -*-times
210 #\screen_font_sans -*-helvetica
211 #\screen_font_typewriter -*-courier
212
213 # For some, this font looks better:
214 #\screen_font_roman -*-utopia
215
216 # Allow the use of scalable screen fonts? Default is true.
217 # If you choose "false", LyX will use the closest existing size for a match.
218 # Use this if the scalable fonts look bad and you have many fixed size fonts.
219 #\screen_font_scalable false
220
221 # Tip: Run lyx as "lyx -dbg 512" to learn which fonts are used.
222
223 # The norm for the screen fonts. The default is iso8859-1, which is
224 # the same as what LaTeX calls latin1.
225 #\screen_font_encoding iso8859-2
226
227 # The font for popups. It is set to 
228 #    <font_popup>-*-*-*-?-*-*-*-*-<font_encoding>.
229 # The default  is:
230 #\screen_font_popup -*-helvetica-medium-r
231
232 # The font for menus (and groups titles in popups). It is set to 
233 #    <font_menu>-*-*-*-?-*-*-*-*-<font_encoding>.
234 # The default  is:
235 #\screen_font_menu -*-helvetica-bold-r
236
237 # The font sizes used for calculating the scaling of the screen fonts.
238 # You should only have to change these if the fonts on your screen look bad,
239 # in which case you can fine tune the font selection size by size. LyX selects
240 # font size according to this table, the monitor DPI setting and the current
241 # zoom setting. 
242 # The format is:
243 #\screen_font_sizes tiny smallest smaller small normal large larger largest huge huger
244 #
245 # This is the default in LyX (exactly what LaTeX does):
246 #\screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88
247
248 #
249 # TOOLBAR SECTION ########################################################
250 #
251
252 # Setup your favorite Toolbar here:
253 # Only three commands are allowed inside the begin_toolbar and end_toolbar
254 # directives: 
255 #   \add <action> [<parameter>] adds an icon to the toolbar performing
256 #          "<action> <parameter>"
257 #      Examples:
258 #      \add font-size small
259 #      \add set-emph
260 #
261 #   \layouts adds the layouts combo-box to the toolbar
262 #
263 #   \separator adds some spacing to the toolbar
264 #
265 # These actions have icons (please give us more :-):
266 #   buffer-open, buffer-close, buffer-print, buffer-write, font-emph,
267 #   font-noun, font-free, footnote-insert, depth-next, copy, cut, paste,
268 #   tex-mode, math-mode, marginpar-insert, figure-insert, table-insert,
269 #   melt, lyx-quit, buffer-export ascii|latex, font-bold, font-sans, 
270 #   buffer-typeset, buffer-view, buffer-view-ps, symbol_insert [parameter]
271 #
272 #  All other lyx commands will get a "unknown" icon.
273 #
274 # This is the default toolbar:
275 #\begin_toolbar
276 #\layouts
277 #\add buffer-open
278 #\add buffer-write
279 #\add buffer-print
280 #\separator
281 #\add cut
282 #\add copy
283 #\add paste
284 #\separator
285 #\add font-emph
286 #\add font-noun
287 #\add font-free
288 #\separator
289 #\add footnote-insert
290 #\add marginpar-insert
291 #\add depth-next
292 #\separator
293 #\add tex-mode
294 #\add math-mode
295 #\separator
296 #\add figure-insert
297 #\add table-insert
298 #\end_toolbar
299
300 #
301 # PRINTER SECTION ########################################################
302 #
303
304 # The default printer to print on. If none is specified, LyX will use
305 # the environment variable PRINTER. If that fails, the default is empty.
306 #\printer ""
307
308 # If you have setup (as we recommend you to do) your print program
309 # (e.g. dvips) to take advantage of the particularities of the various
310 # printers you have access to, then you should set the following to
311 # true. Then LyX will pass the name of the destination printer to your
312 # print command.
313 # The default is false, because we have unfortunately to cope with
314 # people who refuse to take the time to configure their system.
315 # Note that you will probably have to change \print_spool_command below.
316 #\print_adapt_output true
317
318 # If you don't use dvips, you may specify your favorite print program
319 # here. See other options at the end of this section to adapt LyX to
320 # your print program.
321 #\print_command dvips
322
323 # Extra options to pass to printing program after everything 
324 # else, but before the filename of the DVI file to be printed.
325 #\print_extra_options ""
326
327 # When set, this printer option automatically prints to a file 
328 # and then calls a separate print spooling program on that file
329 # with the given name and arguments.
330 # This is set by default to 'lp' or 'lpr', depending on what your
331 # system uses. 
332 # Set this to "" if you have set up dvips so that it sends
333 # output to the right printer (remember to also use \print_adapt_output).
334 #\print_spool_command ""
335
336 # If you specify a printer name in the print dialog,
337 # the following argument is prepended along with the printer name
338 # after the spool command. The default is autodetected, along with
339 # \print_spool_command determination. 
340 #\print_spool_printerprefix ""
341
342 # Other print related options
343
344 # The following options are only of interest to people who do not
345 # use dvips as print command. You may safely skip to the end of this
346 # section otherwise.
347
348 # These specify the options to pass to the printer program to select the
349 # corresponding features. These default to the options used for the dvips
350 # program. Look at the man page for your favorite print program to learn
351 # which options to use.
352 # Normally you don't need to change this unless you use something other
353 # than dvips. 
354 #\print_evenpage_flag -B
355 #\print_oddpage_flag -A
356 #\print_reverse_flag -r 
357 #\print_landscape_flag "-t landscape"
358 #\print_pagerange_flag -pp
359 #\print_copies_flag -c
360 #\print_collcopies_flag -C
361 #\print_paper_flag -t
362 #\print_paper_dimension_flag -T
363
364 # Option to pass to the print program to print on a specific printer.
365 #\print_to_printer -P
366
367 # Option to pass to the print program to print to a file.
368 #\print_to_file -o 
369
370 # Extension of printer program output file. Usually .ps
371 #\print_file_extension .ps
372
373 # Sample configuration to use with dvilj4 for a HP Laserjet IV (or
374 # better) printer [provided by Reuben Thomas <rrt@sc3d.org>]:
375 #\print_command dvilj4
376 #\print_extra_options -q
377 #\print_evenpage_flag "-D2 -r"
378 #\print_oddpage_flag -D1
379 #\print_reverse_flag -r 
380 #\print_landscape_flag -l
381 #\print_pagerange_flag -p
382 #\print_to_file -e
383 #\print_file_extension .lj
384 #\print_copies_flag -c
385 #\print_collcopies_flag -c
386 #\print_adapt_output false
387
388
389 #
390 # EXPORT SECTION ########################################################
391 #
392
393
394 # With this you can send a LyX-Document to a User-defined program. You
395 # can specify by adding the tag $$FName where the filename should be
396 # put on the defined command. if no $$FName is specified the file is
397 # sent in standard input (stdin). There is no default command
398 # specified.  Example: 
399 #\custom_export_command "kghostview $$FName"
400
401 # This is the default for the type of contents to be sent to the export
402 # command: possible values are lyx, dvi, tex, ps and ascii.
403 #\custom_export_format ps
404
405 #
406 # TEX SECTION  ###########################################################
407 #
408
409 # LyX tries to auto-detect which command to use to invoke LaTeX(2e).
410 # If the auto-detection for some reasons fail, you can override it
411 # here:
412 #\latex_command latex2e
413
414 # The font encoding used for the LaTeX2e fontenc package.
415 # T1 is highly recommended for non-English languages. LyX uses T1 as a
416 # default if you have the ec fonts installed on your system.
417 #\font_encoding T1
418 # Choose "default" if T1 doesn't work for you for some reason:
419 #\font_encoding default
420
421
422 #
423 # FILE SECTION  ##########################################################
424 #
425
426 # The default path for your documents.
427 # Default is $HOME
428 #\document_path ~/Documents/
429
430 # The file where the last-files information should be stored.
431 # Default is ~/.lyx/lastfiles
432 #\lastfiles ~/.lyx_lastfiles
433
434 # Maximal number of lastfiles. Up to nine can appear in the file menu.
435 # Default is four.
436 #\num_lastfiles 9
437
438 # Flag telling whether the lastfiles should be checked for existence.
439 # Files that does not exist are left out of the lastfiles entries.
440 # Default is true. If you use slow or removable media, such as networks
441 # or floppy disks, you can speed up the starting time of LyX by disabling 
442 # this feature.
443 #\check_lastfiles false
444
445 # The path that LyX will set when offering you to choose a template.
446 # Default is (System LyX dir)/templates
447 #\template_path ~/.lyx/templates
448
449 # The path that LyX will use to put temporary TeX outputs.
450 # Default is /tmp/<unique directory for each instance of LyX>
451 # containing <unique subdirectory for each buffer>
452 # If you set it, it will be /directory/<unique subdirectory for each buffer>
453 # (unless set to /tmp).
454 #\tempdir_path /usr/tmp
455
456 # If you set this flag, LyX will always use a temporary directory
457 # to put TeX outputs into. It is enabled by default.
458 # This directory is deleted when you quit LyX.
459 # You might want to avoid using a temporary directory in several
460 # cases:
461 # - LaTeX cannot find some files it needs;
462 # - you have a large number of include files, and you get messages
463 #   saying that some LaTeX buffers overflow.
464 # Note that, even if tell LyX not to use a temporary directory, there
465 # will be cases where it will be forced to: this happens for example
466 # when typesetting a file in a read-only directory (documentation).
467 #\use_tempdir false
468
469 # This is the maximum line length of an exported ASCII file (LaTeX,
470 # SGML or plain text). Default is 75. 
471 #\ascii_linelen 80
472
473
474 #
475 # FAX SECTION #############################################################
476 #
477
478 # In the following, the <$$something> strings are substituted by
479 # reasonable values by LyX. The 's are important as there may be spaces in 
480 # the string. The default is auto-detected.
481 # This one is what is used with HylaFax:
482 #\fax_command "sendfax -n -h '$$Host' -c '$$Comment' -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'"
483 # Use this for the efax-command:
484 #\fax_command "faxsend '$$Phone' '$$FName'"
485
486 # This is the name of your phone book. It's per default situated in ~/.lyx/,
487 # but you can override that with an absolute path.
488 #\phone_book phonebook
489
490 # This is how to call an external FAX-program instead of the built-in.
491 # You may also insert $$FName to reference the PostScript file.
492 #\fax_program "myfaxprg '$$FName'"
493 #\fax_program tkhylafax
494
495 #
496 # ASCII EXPORT SECTION ###################################################
497 #
498
499 # The following entry can be used to define an external program to
500 # render tables in the ASCII output. If you specify "none", a simple 
501 # internal routine is used. The default is auto-detected.
502 # The following line will use groff and output using latin-1 encoding
503 # (here $$FName is the input file and the output goes to stdout):
504 #\ascii_roff_command "groff -t -Tlatin1 $$FName"
505
506 #
507 # SPELLCHECKER SECTION ####################################################
508 #
509
510 # What command runs the spell checker? Default is "ispell" if it is
511 # installed, "none" otherwise.
512 # If you have aspell (http://metalab.unc.edu/kevina/aspell/)
513 # installed and configured, you might want to uncomment the line below.
514 #\spell_command aspell
515
516 # Consider run-together words, such as "notthe" for "not the", as legal 
517 # words? Default is no. 
518 #\accept_compound true
519
520 # Specify an alternate language. The default is to use the language of 
521 # document. Uncomment both to enable.
522 #\use_alt_language true
523 #\alternate_language dansk
524
525 # Specify additional chars that can be part of a word.
526 #\use_escape_chars true
527 #\escape_chars "æøåÆØÅ"
528
529 # Specify an alternate personal dictionary file. If the file name does not
530 # begin with "/", $HOME is prefixed. The default is to search for a personal 
531 # dictionary in both the current directory and $HOME, creating one in $HOME 
532 # if none is found. The preferred name is constructed by appending ".ispell_" 
533 # to the base name of the hash file. For example, if you use the English 
534 # dictionary, your personal dictionary would be named ".ispell_english". 
535 #\use_personal_dictionary true
536 #\personal_dictionary .ispell_dansk
537
538 # Specify whether to pass the -T input encoding option to ispell (only if the 
539 # language is different than "default".) Enable this if you can't spellcheck
540 # words with international letters in them. There have been reports that this
541 # does not work with all dictionaries, so this is disabled by default.
542 #\use_input_encoding true