1 ### This file is part of
2 ### =====================================================
4 ### LyX, the High Level Word Processor
6 ### Copyright 1995-1997 Matthias Ettrich & the LyX Team
8 ### =====================================================
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
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
22 # BIND SECTION ###########################################################
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:
31 # cua.bind for Windows-, Mac- and Motif-like bindings
32 # emacs.bind for Emacs-like bindings.
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'.
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"
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
52 #\bind_file mine_is_best
54 # Tip: Use "lyx -dbg 4" to survey how LyX interprets your keybindings.
58 # MISC SECTION ###########################################################
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
65 # This is the time interval between auto-saves (in seconds).
66 # 0 means no auto-save, default is 300 for five minutes.
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
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
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"
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"
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"
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
108 # Define which program to use to use as postscript interpreter for included
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:
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"
122 # Define which program to use to translate latex to HTML.
123 # You should include options. The default is autodetected: the programs
124 # checked are tth, latex2html and hevea, and the default command lines
126 #\html_command "tth -t '$$Fname'"
127 #\html_command "latex2html -no_subdir -split 0 -show_section_numbers '$$FName'"
128 #\html_command "hevea -s '$$FName'"
129 # The variable name $$FName is replaced with the name of the .tex
130 # file, and $$OutName is replaced with the name of the html file.
131 # Example: use this to let math be italic with tth.
132 #\html_command "tth -t -i $$FName"
134 # If you want to pass extra flags to the LinuxDoc sgml scripts, insert them
136 # Example: the next line activates iso-latin1 support:
137 #\sgml_extra_options -l
139 # Keyboard Mapping. Use this to set the correct mapping file for your
140 # keyboard, that is if you need one. You'll need one if you for instance
141 # want to type German documents on an American keyboard. In that case,
142 # uncomment these three lines:
144 #\kbmap_primary german
145 #\kbmap_secondary american
146 # The following keyboards are supported: american, czech, francais,
147 # french, german, german-2, magyar, magyar-2, portuges, romanian,
148 # slovak, slovene, transilvanian, turkish and turkish-f. Check
149 # the lib/kbd directory if you want to write support for your language.
150 # If you do, please submit it to lyx-devel@lists.lyx.org.
152 # The Pause button is defined to be a three-way switch between primary
153 # keyboard, secondary keyboard, and no keyboard mapping with the
154 # following command. It is useful if you want to write in a language
155 # not directly supported by your keyboard and you have defined a
156 # custom keyboard mapping above.
157 #\bind "Pause" "keymap-toggle"
159 # This starts the lyxserver. The pipes get an additional extension
160 # '.in' and '.out'. Only for advanced users.
161 # \serverpipe "/home/chb/.lyxpipe"
163 # Which command to use to invoke the reLyX script to convert
164 # LaTeX files to LyX files. This setting is automatically
165 # disabled if you do not have the appropriate Perl version
166 # installed. In that case, the File->Import LaTeX command
167 # will be disabled. If the reLyX command does work for you,
168 # you can override that here by uncommenting this line:
169 #\relyx_command "reLyX"
171 # If it doesn't work, you can disable the command by uncommenting
173 #\relyx_command "none"
176 # SCREEN & FONTS SECTION #################################################
179 # DPI (dots per inch) of your monitor is auto-detected by LyX. If that goes
180 # wrong, you can override the setting here:
183 # The zoom percentage for screen fonts.
184 # A setting of 100% will make the fonts roughly the same size as on paper.
185 # However, since a screen is wider than a piece of paper, the default setting
189 # LyX offers a faster method for drawing selected text if you uncomment the
190 # following line. The trick is to invert the color-information. This will
191 # switch between white and black and give almost random results for
192 # other colors, so a white background is necessary. Any other settings of
193 # the background color will be ignored for this reason. This setting
194 # is useful on monochrome screens and on slow systems. Fast selection
195 # can cause cosmetic problems with a few broken X servers.
196 #\fast_selection true
198 # If you don't like the default background or selection color, you can
200 #\background_color white
201 #\background_color lightyellow
203 # For reference, the defaults are:
204 #\background_color linen
205 #\selection_color lightblue
207 # LyX normally doesn't update the cursor position if you move the scrollbar.
208 # If you scroll the cursor off the screen and then start typing LyX will
209 # move you back to where the cursor was. If you'd prefer to always have the
210 # cursor on screen, bounded by the topmost and bottommost visible lines
211 # -- much like XEmacs for example -- then uncomment the next line.
212 #\cursor_follows_scrollbar true
214 # The screen fonts used to display the text while editing
216 #\screen_font_roman "-*-times"
217 #\screen_font_sans "-*-helvetica"
218 #\screen_font_typewriter "-*-courier"
220 # For some, this font looks better:
221 #\screen_font_roman "-*-utopia"
223 # Allow the use of scalable screen fonts? Default is true.
224 # If you choose "false", LyX will use the closest existing size for a match.
225 # Use this if the scalable fonts look bad and you have many fixed size fonts.
226 #\screen_font_scalable false
228 # Tip: Run lyx as "lyx -dbg 512" to learn which fonts are used.
230 # The norm for the screen fonts. The default is iso8859-1, which is
231 # the same as what LaTeX calls latin1.
232 #\screen_font_encoding iso8859-2
234 # The font for popups. It is set to
235 # <font_popup>-*-*-*-?-*-*-*-*-<font_encoding>.
237 #\screen_font_popup "-*-helvetica-medium-r"
239 # The font for menus (and groups titles in popups). It is set to
240 # <font_menu>-*-*-*-?-*-*-*-*-<font_encoding>.
242 #\screen_font_menu "-*-helvetica-bold-r"
244 # The font sizes used for calculating the scaling of the screen fonts.
245 # You should only have to change these if the fonts on your screen look bad,
246 # in which case you can fine tune the font selection size by size. LyX selects
247 # font size according to this table, the monitor DPI setting and the current
250 #\screen_font_sizes tiny smallest smaller small normal large larger largest huge huger
252 # This is the default in LyX (exactly what LaTeX does):
253 #\screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88
256 # TOOLBAR SECTION ########################################################
259 # Setup your favorite Toolbar here:
260 # Only three commands are allowed inside the begin_toolbar and end_toolbar
262 # \add <action> [<parameter>] adds an icon to the toolbar performing
263 # "<action> <parameter>"
265 # \add font-size small
268 # \layouts adds the layouts combo-box to the toolbar
270 # \separator adds some spacing to the toolbar
272 # These actions have icons (please give us more :-):
273 # buffer-open, buffer-close, buffer-print, buffer-write, font-emph,
274 # font-noun, font-free, footnote-insert, depth-next, copy, cut, paste,
275 # tex-mode, math-mode, marginpar-insert, figure-insert, table-insert,
276 # melt, lyx-quit, buffer-export ascii|latex, font-bold, font-sans,
277 # buffer-typeset, buffer-view, buffer-view-ps, symbol_insert [parameter]
279 # All other lyx commands will get a "unknown" icon.
281 # This is the default toolbar:
296 #\add footnote-insert
297 #\add marginpar-insert
308 # PRINTER SECTION ########################################################
311 # The default printer to print on. If none is specified, LyX will use
312 # the environment variable PRINTER. If that fails, the default is empty.
315 # If you have setup (as we recommend you to do) your print program
316 # (e.g. dvips) to take advantage of the particularities of the various
317 # printers you have access to, then you should set the following to
318 # true. Then LyX will pass the name of the destination printer to your
320 # The default is false, because we have unfortunately to cope with
321 # people who refuse to take the time to configure their system.
322 # Note that you will probably have to change \print_spool_command below.
323 #\print_adapt_output true
325 # If you don't use dvips, you may specify your favorite print program
326 # here. See other options at the end of this section to adapt LyX to
327 # your print program.
328 #\print_command dvips
330 # Extra options to pass to printing program after everything
331 # else, but before the filename of the DVI file to be printed.
332 #\print_extra_options ""
334 # When set, this printer option automatically prints to a file
335 # and then calls a separate print spooling program on that file
336 # with the given name and arguments.
337 # This is set by default to 'lp' or 'lpr', depending on what your
339 # Set this to "" if you have set up dvips so that it sends
340 # output to the right printer (remember to also use \print_adapt_output).
341 #\print_spool_command ""
343 # If you specify a printer name in the print dialog,
344 # the following argument is prepended along with the printer name
345 # after the spool command. The default is autodetected, along with
346 # \print_spool_command determination.
347 #\print_spool_printerprefix ""
349 # Other print related options
351 # The following options are only of interest to people who do not
352 # use dvips as print command. You may safely skip to the end of this
355 # These specify the options to pass to the printer program to select the
356 # corresponding features. These default to the options used for the dvips
357 # program. Look at the man page for your favorite print program to learn
358 # which options to use.
359 # Normally you don't need to change this unless you use something other
361 #\print_evenpage_flag -B
362 #\print_oddpage_flag -A
363 #\print_reverse_flag -r
364 #\print_landscape_flag "-t landscape"
365 #\print_pagerange_flag -pp
366 #\print_copies_flag -c
367 #\print_collcopies_flag -C
368 #\print_paper_flag -t
369 #\print_paper_dimension_flag -T
371 # Option to pass to the print program to print on a specific printer.
372 #\print_to_printer -P
374 # Option to pass to the print program to print to a file.
377 # Extension of printer program output file. Usually .ps
378 #\print_file_extension .ps
380 # Sample configuration to use with dvilj4 for a HP Laserjet IV (or
381 # better) printer [provided by Reuben Thomas <rrt@sc3d.org>]:
382 #\print_command dvilj4
383 #\print_extra_options -q
384 #\print_evenpage_flag "-D2 -r"
385 #\print_oddpage_flag -D1
386 #\print_reverse_flag -r
387 #\print_landscape_flag -l
388 #\print_pagerange_flag -p
390 #\print_file_extension .lj
391 #\print_copies_flag -c
392 #\print_collcopies_flag -c
393 #\print_adapt_output false
397 # EXPORT SECTION ########################################################
401 # With this you can send a LyX-Document to a User-defined program. You
402 # can specify by adding the tag $$FName where the filename should be
403 # put on the defined command. if no $$FName is specified the file is
404 # sent in standard input (stdin). There is no default command
405 # specified. Example:
406 #\custom_export_command "kghostview $$FName"
408 # This is the default for the type of contents to be sent to the export
409 # command: possible values are lyx, dvi, tex, ps and ascii.
410 #\custom_export_format ps
413 # TEX SECTION ###########################################################
416 # LyX tries to auto-detect which command to use to invoke LaTeX(2e).
417 # If the auto-detection for some reasons fail, you can override it
419 #\latex_command latex2e
421 # The font encoding used for the LaTeX2e fontenc package.
422 # T1 is highly recommended for non-English languages. LyX uses T1 as a
423 # default if you have the ec fonts installed on your system.
425 # Choose "default" if T1 doesn't work for you for some reason:
426 #\font_encoding default
430 # FILE SECTION ##########################################################
433 # The default path for your documents.
435 #\document_path ~/Documents/
437 # The file where the last-files information should be stored.
438 # Default is ~/.lyx/lastfiles
439 #\lastfiles ~/.lyx_lastfiles
441 # Maximal number of lastfiles. Up to nine can appear in the file menu.
445 # Flag telling whether the lastfiles should be checked for existence.
446 # Files that does not exist are left out of the lastfiles entries.
447 # Default is true. If you use slow or removable media, such as networks
448 # or floppy disks, you can speed up the starting time of LyX by disabling
450 #\check_lastfiles false
452 # The path that LyX will set when offering you to choose a template.
453 # Default is (System LyX dir)/templates
454 #\template_path ~/.lyx/templates
456 # The path that LyX will use to put temporary TeX outputs.
457 # Default is /tmp/<unique directory for each instance of LyX>
458 # containing <unique subdirectory for each buffer>
459 # If you set it, it will be /directory/<unique subdirectory for each buffer>
460 # (unless set to /tmp).
461 #\tempdir_path /usr/tmp
463 # If you set this flag, LyX will always use a temporary directory
464 # to put TeX outputs into. It is enabled by default.
465 # This directory is deleted when you quit LyX.
466 # You might want to avoid using a temporary directory in several
468 # - LaTeX cannot find some files it needs;
469 # - you have a large number of include files, and you get messages
470 # saying that some LaTeX buffers overflow.
471 # Note that, even if tell LyX not to use a temporary directory, there
472 # will be cases where it will be forced to: this happens for example
473 # when typesetting a file in a read-only directory (documentation).
476 # This is the maximum line length of an exported ASCII file (LaTeX,
477 # SGML or plain text). Default is 75.
482 # FAX SECTION #############################################################
485 # In the following, the <$$something> strings are substituted by
486 # reasonable values by LyX. The 's are important as there may be spaces in
487 # the string. The default is auto-detected.
488 # This one is what is used with HylaFax:
489 #\fax_command "sendfax -n -h '$$Host' -c '$$Comment' -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'"
490 # Use this for the efax-command:
491 #\fax_command "faxsend '$$Phone' '$$FName'"
493 # This is the name of your phone book. It's per default situated in ~/.lyx/,
494 # but you can override that with an absolute path.
495 #\phone_book phonebook
497 # This is how to call an external FAX-program instead of the built-in.
498 # You may also insert $$FName to reference the PostScript file.
499 #\fax_program "myfaxprg '$$FName'"
500 #\fax_program tkhylafax
503 # ASCII EXPORT SECTION ###################################################
506 # The following entry can be used to define an external program to
507 # render tables in the ASCII output. If you specify "none", a simple
508 # internal routine is used. The default is auto-detected.
509 # The following line will use groff and output using latin-1 encoding
510 # (here $$FName is the input file and the output goes to stdout):
511 #\ascii_roff_command "groff -t -Tlatin1 $$FName"
514 # SPELLCHECKER SECTION ####################################################
517 # What command runs the spell checker? Default is "ispell" if it is
518 # installed, "none" otherwise.
519 # If you have aspell (http://metalab.unc.edu/kevina/aspell/)
520 # installed and configured, you might want to uncomment the line below.
521 #\spell_command aspell
523 # Consider run-together words, such as "notthe" for "not the", as legal
524 # words? Default is no.
525 #\accept_compound true
527 # Specify an alternate language. The default is to use the language of
528 # document. Uncomment both to enable.
529 #\use_alt_language true
530 #\alternate_language dansk
532 # Specify additional chars that can be part of a word.
533 #\use_escape_chars true
534 #\escape_chars "æøåÆØÅ"
536 # Specify an alternate personal dictionary file. If the file name does not
537 # begin with "/", $HOME is prefixed. The default is to search for a personal
538 # dictionary in both the current directory and $HOME, creating one in $HOME
539 # if none is found. The preferred name is constructed by appending ".ispell_"
540 # to the base name of the hash file. For example, if you use the English
541 # dictionary, your personal dictionary would be named ".ispell_english".
542 #\use_personal_dictionary true
543 #\personal_dictionary .ispell_dansk
545 # Specify whether to pass the -T input encoding option to ispell (only if the
546 # language is different than "default".) Enable this if you can't spellcheck
547 # words with international letters in them. There have been reports that this
548 # does not work with all dictionaries, so this is disabled by default.
549 #\use_input_encoding true