]> git.lyx.org Git - lyx.git/blob - lib/lyxrc.example
Dekel's lyxrc.example; Angus's FormDocument; John's build-listerrors; POTFILES.in...
[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 # By default, LyX takes over the handling of the dead keys (or accent
55 # keys) that may be defined for your keyboard. While this allows you
56 # to enter characters that would not be normally available, some
57 # people dislike the different behaviour. You can use raw dead keys by
58 # just uncommenting the next line
59 #\override_x_deadkeys false
60
61 # Tip: Use "lyx -dbg 4" to survey how LyX interprets your keybindings.
62
63
64 #
65 # MISC SECTION ###########################################################
66 #
67
68 # Set this to false if you don't want the startup banner.
69 # Default is true.
70 #\show_banner true
71
72 # Set to false if you don't want the current selection to be replaced
73 # automatically by what you type. Default is true.
74 #\auto_region_delete false
75
76 # This is the time interval between auto-saves (in seconds).
77 # 0 means no auto-save, default is 300 for five minutes.
78 #\autosave 600
79
80 # LyX asks for a second confirmation to exit if you exit with changed 
81 # documents that you don't want to save.  You can turn this confirmation off 
82 # (LyX will still ask to save changed documents) with the following line.
83 # We recommend to keep the confirmation, though.
84 #\exit_confirmation false
85
86 # This sets the behaviour if you want to be asked for a filename when
87 # creating a new document or wait until you save it and be asked then.
88 # The default for now is ask on save.
89 # \new_ask_filename false
90
91 # LyX continously displays names of last command executed, along with a list 
92 # of defined short-cuts for it in the minibuffer.
93 # It requires some horsepower to function, so you can turn it off, if LyX
94 # seems slow to you, by uncommenting this line:
95 #\display_shortcuts false
96
97 # \view_dvi_paper_option allows to specify a paper option to the dvi
98 # viewer. By default LyX specifies the paper size of the document to
99 # the dvi viewer via the command line option -paper size, where size
100 # is one of "us","letter","a3","a4" and so on. The command
101 # \view_dvi_paper_option allows the user to overwrite the name of the
102 # command line flag, i.e. replace -paper with something else. If
103 # specified and left empty, i.e. \view_dvi_paper_option "", LyX does
104 # not append the -paper option to the dvi command at all. This case is
105 # especially useful when viewing your documents on Windows with yap,
106 # because yap does not allow a command line option for the paper size.
107 #\view_dvi_paper_option "" 
108
109 # LyX assumes that the default papersize should be usletter.  If this is not
110 # true for your site, use the next line to specify usletter, legal,
111 # executive, a3, a4, a5, or b5 as the default papersize.
112 #\default_papersize "a4"
113
114 # Define which program to use to use as postscript interpreter for included
115 # images.
116 # You can not include any options. The default is "gs" if it can be found.
117 # If you have a slow computer, you should consider turning off the WYSIWYG 
118 # display of includes images, by using this command:
119 #\ps_command ""
120
121 # Define which program to use to run "chktex".
122 # You should include options that turn different warnings on and off.
123 # Default is "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38"
124 # Check the ChkTeX documentation for info on what the flags mean.
125 # Example: use this to ignore warnings about using "\ldots" instead of "..."
126 #\chktex_command "chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38"
127
128 # Keyboard Mapping. Use this to set the correct mapping file for your
129 # keyboard, that is if you need one. You'll need one if you for instance
130 # want to type German documents on an American keyboard. In that case,
131 # uncomment these three lines:
132 #\kbmap true
133 #\kbmap_primary german
134 #\kbmap_secondary american
135 # The following keyboards are supported: american, czech, francais,
136 # french, german, german-2, magyar, magyar-2, portuges, romanian,
137 # slovak, slovene, transilvanian, turkish and turkish-f. Check
138 # the lib/kbd directory if you want to write support for your language.
139 # If you do, please submit it to lyx-devel@lists.lyx.org.
140
141 # The Pause button is defined to be a three-way switch between primary 
142 # keyboard, secondary keyboard, and no keyboard mapping with the
143 # following command. It is useful if you want to write in a language
144 # not directly supported by your keyboard and you have defined a
145 # custom keyboard mapping above.
146 #\bind "Pause" "keymap-toggle"
147
148 # This starts the lyxserver. The pipes get an additional extension
149 # '.in' and '.out'. Only for advanced users.
150 # \serverpipe "/home/chb/.lyxpipe"
151
152 # Which command to use to invoke the reLyX script to convert
153 # LaTeX files to LyX files.  This setting is automatically
154 # disabled if you do not have the appropriate Perl version
155 # installed.  In that case, the File->Import LaTeX command
156 # will be disabled.  If the reLyX command does work for you,
157 # you can override that here by uncommenting this line:
158 #\relyx_command "reLyX"
159 #
160 # If it doesn't work, you can disable the command by uncommenting
161 # this line:
162 #\relyx_command "none"
163
164 # Default format string for the date-insert command
165 #
166 # This accepts the normal strftime formats; see man strftime for full
167 # details of the format.
168 #
169 #\date_insert_format "%A, %e. %B %Y"
170
171 #
172 # SCREEN & FONTS SECTION #################################################
173 #
174
175 # DPI (dots per inch) of your monitor is auto-detected by LyX. If that goes 
176 # wrong, you can override the setting here:
177 #\screen_dpi 100
178
179 # The zoom percentage for screen fonts.
180 # A setting of 100% will make the fonts roughly the same size as on paper. 
181 # However, since a screen is wider than a piece of paper, the default setting
182 # is 150%.
183 #\screen_zoom 100
184
185 # The wheel movement factor (for mice with wheels or five button mice)
186 # Default is 100, about a page down. A value of 10 give me about a line and
187 # a half
188 #\wheel_jump 10
189
190 # LyX normally doesn't update the cursor position if you move the scrollbar.
191 # If you scroll the cursor off the screen and then start typing LyX will
192 # move you back to where the cursor was. If you'd prefer to always have the 
193 # cursor on screen, bounded by the topmost and bottommost visible lines 
194 # -- much like XEmacs for example -- then uncomment the next line.
195 #\cursor_follows_scrollbar true
196
197 # The screen fonts used to display the text while editing
198 # The defaults are:
199 #\screen_font_roman "-*-times"
200 #\screen_font_sans "-*-helvetica"
201 #\screen_font_typewriter "-*-courier"
202
203 # For some, this font looks better:
204 #\screen_font_roman "-*-utopia"
205
206 # Allow the use of scalable screen fonts? Default is true.
207 # If you choose "false", LyX will use the closest existing size for a match.
208 # Use this if the scalable fonts look bad and you have many fixed size fonts.
209 #\screen_font_scalable false
210
211 # Tip: Run lyx as "lyx -dbg 512" to learn which fonts are used.
212
213 # The norm for the screen fonts. The default is iso8859-1, which is
214 # the same as what LaTeX calls latin1.
215 #\screen_font_encoding iso8859-2
216
217 # The font for popups. It is set to 
218 #    <font_popup>-*-*-*-?-*-*-*-*-<font_encoding>.
219 # The default  is:
220 #\screen_font_popup "-*-helvetica-medium-r"
221
222 # The font for menus (and groups titles in popups). It is set to 
223 #    <font_menu>-*-*-*-?-*-*-*-*-<font_encoding>.
224 # The default  is:
225 #\screen_font_menu "-*-helvetica-bold-r"
226
227 # The font sizes used for calculating the scaling of the screen fonts.
228 # You should only have to change these if the fonts on your screen look bad,
229 # in which case you can fine tune the font selection size by size. LyX selects
230 # font size according to this table, the monitor DPI setting and the current
231 # zoom setting. 
232 # The format is:
233 #\screen_font_sizes tiny smallest smaller small normal large larger largest huge huger
234 #
235 # This is the default in LyX (exactly what LaTeX does):
236 #\screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88
237
238 # To change the colors for footnotes:
239 #\set_color footnote green
240 # for mathed you may also want to change the coloring of lines and brackets:
241 #\set_color math yellow
242 #\set_color mathlines yellow
243
244 #
245 # UI SECTION ########################################################
246 #
247
248 # Choose your UI (user interface) definition here. The .ui files are in the 
249 # directory "lib/ui" and contains the definition of the menu and the toolbar.
250 #\ui_file "default"
251
252 #
253 # PRINTER SECTION ########################################################
254 #
255
256 # The default printer to print on. If none is specified, LyX will use
257 # the environment variable PRINTER. If that fails, the default is empty.
258 #\printer ""
259
260 # If you have setup (as we recommend you to do) your print program
261 # (e.g. dvips) to take advantage of the particularities of the various
262 # printers you have access to, then you should set the following to
263 # true. Then LyX will pass the name of the destination printer to your
264 # print command.
265 # The default is false, because we have unfortunately to cope with
266 # people who refuse to take the time to configure their system.
267 # Note that you will probably have to change \print_spool_command below.
268 #\print_adapt_output true
269
270 # If you don't use dvips, you may specify your favorite print program
271 # here. See other options at the end of this section to adapt LyX to
272 # your print program.
273 #\print_command dvips
274
275 # Extra options to pass to printing program after everything 
276 # else, but before the filename of the DVI file to be printed.
277 #\print_extra_options ""
278
279 # When set, this printer option automatically prints to a file 
280 # and then calls a separate print spooling program on that file
281 # with the given name and arguments.
282 # This is set by default to 'lp' or 'lpr', depending on what your
283 # system uses. 
284 # Set this to "" if you have set up dvips so that it sends
285 # output to the right printer (remember to also use \print_adapt_output).
286 #\print_spool_command ""
287
288 # If you specify a printer name in the print dialog,
289 # the following argument is prepended along with the printer name
290 # after the spool command. The default is autodetected, along with
291 # \print_spool_command determination. 
292 #\print_spool_printerprefix ""
293
294 # Other print related options
295
296 # The following options are only of interest to people who do not
297 # use dvips as print command. You may safely skip to the end of this
298 # section otherwise.
299
300 # These specify the options to pass to the printer program to select the
301 # corresponding features. These default to the options used for the dvips
302 # program. Look at the man page for your favorite print program to learn
303 # which options to use.
304 # Normally you don't need to change this unless you use something other
305 # than dvips. 
306 #\print_evenpage_flag -B
307 #\print_oddpage_flag -A
308 #\print_reverse_flag -r 
309 #\print_landscape_flag "-t landscape"
310 #\print_pagerange_flag -pp
311 #\print_copies_flag -c
312 #\print_collcopies_flag -C
313 #\print_paper_flag -t
314 #\print_paper_dimension_flag -T
315
316 # Option to pass to the print program to print on a specific printer.
317 #\print_to_printer -P
318
319 # Option to pass to the print program to print to a file.
320 #\print_to_file -o 
321
322 # Extension of printer program output file. Usually .ps
323 #\print_file_extension .ps
324
325 # Sample configuration to use with dvilj4 for a HP Laserjet IV (or
326 # better) printer [provided by Reuben Thomas <rrt@sc3d.org>]:
327 #\print_command dvilj4
328 #\print_extra_options -q
329 #\print_evenpage_flag "-D2 -r"
330 #\print_oddpage_flag -D1
331 #\print_reverse_flag -r 
332 #\print_landscape_flag -l
333 #\print_pagerange_flag -p
334 #\print_to_file -e
335 #\print_file_extension .lj
336 #\print_copies_flag -c
337 #\print_collcopies_flag -c
338 #\print_adapt_output false
339
340 #
341 # EXPORT SECTION ########################################################
342 #
343
344 # The \converter command defines a converter between two formats. 
345 # LyX uses the defined converters for generating output in varius formats.
346 # The converter command has 4 arguments: The source format, the target format,
347 # the command, and additional flags.
348 # For example, the following defines a DVI->Postscript converter:
349 #\converter dvi ps "dvips -o $$OutName $$FName" ""
350 # The variable name $$FName is replaced with the name of the source file,
351 # and $$OutName is replaced with the name of the target file.
352 # The flags argument is a list of comma separated flags.
353 # Known flags are
354 # - originaldir : The converter must be invoked in the directory of the lyx
355 #   file and not in the temporary directory. This is needed for tex->html
356 #   converters in order to be able to read the eps files.
357 # - needaux : The converted uses the .aux file, so we need to call latex
358 #   before running the converter.
359 # - resultdir=dir : The converter put all the files in dir.
360 #   Using "resultdir" is same as "resultdir=$$Basename".
361 #   Note: When exporting, the whole directory will be moved from the temporary
362 #   directory to the target directory.
363 # - resultfile=file : Name of main file in the result directory, for example
364 #  "index.html" or "$$BaseName.html"
365 #   If "resultfile" is omitted, the name of this file is assumed to be
366 #   "index.format"
367 # For example:
368 # \converter tex html "latex2html -split 0 $$FName"
369 #            "originaldir,needaux,resultdir"
370
371 # The \viewer command is used to define viewers for new file-formats,
372 # or to change the already defined viewers.
373 # For example, to use xdvi as the viewer to dvi files use
374 #\viewer dvi "xdvi"
375 # It can get more involved. Expert users might prefer something like:
376 #\viewer dvi "xdvi -s 2 -expert -geometry 1014x720+0+0 -keep -margins 1.5"
377
378 #
379 # TEX SECTION  ###########################################################
380 #
381
382 # The font encoding used for the LaTeX2e fontenc package.
383 # T1 is highly recommended for non-English languages. LyX uses T1 as a
384 # default if you have the ec fonts installed on your system.
385 #\font_encoding T1
386 # Choose "default" if T1 doesn't work for you for some reason:
387 #\font_encoding default
388
389 #
390 # LINUXDOC SECTION #######################################################
391 #
392
393 # The LinuxDoc to LyX converter
394 #\linuxdoc_to_lyx_command "sgml2lyx"
395
396 #
397 # FILE SECTION  ##########################################################
398 #
399
400 # The default path for your documents.
401 # Default is $HOME
402 #\document_path ~/Documents/
403
404 # The file where the last-files information should be stored.
405 # Default is ~/.lyx/lastfiles
406 #\lastfiles ~/.lyx_lastfiles
407
408 # Maximal number of lastfiles. Up to nine can appear in the file menu.
409 # Default is four.
410 #\num_lastfiles 9
411
412 # Flag telling whether the lastfiles should be checked for existence.
413 # Files that does not exist are left out of the lastfiles entries.
414 # Default is true. If you use slow or removable media, such as networks
415 # or floppy disks, you can speed up the starting time of LyX by disabling 
416 # this feature.
417 #\check_lastfiles false
418
419 # The path that LyX will set when offering you to choose a template.
420 # Default is (System LyX dir)/templates
421 #\template_path ~/.lyx/templates
422
423 # The path that LyX will use to put temporary TeX outputs.
424 # Default is /tmp/<unique directory for each instance of LyX>
425 # containing <unique subdirectory for each buffer>
426 # If you set it, it will be /directory/<unique subdirectory for each buffer>
427 # (unless set to /tmp).
428 #\tempdir_path /usr/tmp
429
430 # If you set this flag, LyX will always use a temporary directory
431 # to put TeX outputs into. It is enabled by default.
432 # This directory is deleted when you quit LyX.
433 # You might want to avoid using a temporary directory in several
434 # cases:
435 # - LaTeX cannot find some files it needs;
436 # - you have a large number of include files, and you get messages
437 #   saying that some LaTeX buffers overflow.
438 # Note that, even if tell LyX not to use a temporary directory, there
439 # will be cases where it will be forced to: this happens for example
440 # when typesetting a file in a read-only directory (documentation).
441 #\use_tempdir false
442
443 # This is the maximum line length of an exported ASCII file (LaTeX,
444 # SGML or plain text). Default is 75. 
445 #\ascii_linelen 80
446
447 # Set to false if you don't want LyX to create backup files.
448 # Default is true.
449 #\make_backup true
450
451 # The path for storing backup files. If it is the empty string, LyX will
452 # store the backup file in the same directory of the original file.
453 # Default is "".
454 #\backupdir_path "~/Desktop/Trash/"
455
456
457 #
458 # FAX SECTION #############################################################
459 #
460
461 # In the following, the <$$something> strings are substituted by
462 # reasonable values by LyX. The 's are important as there may be spaces in 
463 # the string. The default is auto-detected.
464 # This one is what is used with HylaFax:
465 #\fax_command "sendfax -n -h '$$Host' -c '$$Comment' -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'"
466 # Use this for the efax-command:
467 #\fax_command "faxsend '$$Phone' '$$FName'"
468
469 # This is the name of your phone book. It's per default situated in ~/.lyx/,
470 # but you can override that with an absolute path.
471 #\phone_book phonebook
472
473 # This is how to call an external FAX-program instead of the built-in.
474 # You may also insert $$FName to reference the PostScript file.
475 #\fax_program "myfaxprg '$$FName'"
476 #\fax_program tkhylafax
477
478 #
479 # ASCII EXPORT SECTION ###################################################
480 #
481
482 # The following entry can be used to define an external program to
483 # render tables in the ASCII output. If you specify "none", a simple 
484 # internal routine is used. The default is auto-detected.
485 # The following line will use groff and output using latin-1 encoding
486 # (here $$FName is the input file and the output goes to stdout):
487 #\ascii_roff_command "groff -t -Tlatin1 $$FName"
488
489 #
490 # SPELLCHECKER SECTION ####################################################
491 #
492
493 # What command runs the spell checker? Default is "ispell" if it is
494 # installed, "none" otherwise.
495 # If you have aspell (http://metalab.unc.edu/kevina/aspell/)
496 # installed and configured, you might want to uncomment the line below.
497 #\spell_command aspell
498
499 # Consider run-together words, such as "notthe" for "not the", as legal 
500 # words? Default is false. 
501 #\accept_compound true
502
503 # Specify an alternate language. The default is to use the language of 
504 # document. Uncomment both to enable.
505 #\use_alt_language true
506 #\alternate_language dansk
507
508 # Specify additional chars that can be part of a word.
509 #\use_escape_chars true
510 #\escape_chars "æøåÆØÅ"
511
512 # Specify an alternate personal dictionary file. If the file name does not
513 # begin with "/", $HOME is prefixed. The default is to search for a personal 
514 # dictionary in both the current directory and $HOME, creating one in $HOME 
515 # if none is found. The preferred name is constructed by appending ".ispell_" 
516 # to the base name of the hash file. For example, if you use the English 
517 # dictionary, your personal dictionary would be named ".ispell_english". 
518 #\use_personal_dictionary true
519 #\personal_dictionary .ispell_dansk
520
521 # Specify whether to pass the -T input encoding option to ispell (only if the 
522 # language is different than "default".) Enable this if you can't spellcheck
523 # words with international letters in them. There have been reports that this
524 # does not work with all dictionaries, so this is disabled by default.
525 #\use_input_encoding true
526
527
528 #
529 # LANGUAGE SUPPORT SECTION ####################################################
530 #
531
532 # Set to true to enable support of right-to-left languages (e.g. Hebrew,
533 # Arabic). Default is false.
534 #\rtl true
535
536 # The latex command for loading the language package.
537 # Default is \usepackage{babel}.
538 #\language_package "\usepackage{omega}"
539
540 # The latex command for changing the from the language of the document
541 # to another language. $$lang is substituted by the name of the second
542 # language. Default is \selectlanguage{$$lang}.
543 #\language_command_begin "\begin{otherlanguage}{$$lang}"
544
545 # The latex command for changing back the language to the language of
546 # the document. Default is \selectlanguage{$$lang}.
547 #\language_command_end "\end{otherlanguage}"
548
549 # Set to false if a language switching command is needed at the beginning of
550 # the document. Default is true.
551 #\language_auto_begin false
552
553 # Set to false if a language switching command is needed at the end of
554 # the document. Default is true.
555 #\language_auto_end false
556
557 # Set mark_foreign_language to "false" to disable the highlighting of words
558 # with a foreign language to the language of the documet.
559 # Default is "true"
560 #\mark_foreign_language false
561
562 #
563 # HEBREW SUPPORT SECTION ####################################################
564 #
565
566 # To enable the Hebrew support, uncommnet the following lines:
567 #\rtl true
568 #\kbmap true
569 #\kbmap_primary null
570 #\kbmap_secondary hebrew
571 #\latex_command elatex
572 #\font_encoding default
573
574 # You also need to bind a key for switching between Hebrew and English.
575 # For example,
576 #\bind "F12" "language hebrew"
577
578 # You might want ot disable the foreign language marking:
579 #\mark_foreign_language false
580
581 # Finally, you need to select iso8859-8 font encoding, and select screen fonts
582 # (below are the default fonts. You need to replace them by Hebrew fonts)
583 #\screen_font_encoding iso8859-8
584 #\screen_font_roman "-*-times"
585 #\screen_font_sans "-*-helvetica"
586 #\screen_font_typewriter "-*-courier"
587 #\screen_font_popup "-*-helvetica-medium-r"
588 #\screen_font_menu "-*-helvetica-bold-r"
589
590 #
591 # ARABIC SUPPORT SECTION ####################################################
592 #
593
594 # To enable the Arabic support, uncommnet the following lines:
595 #\rtl true
596 #\kbmap true
597 #\kbmap_primary null
598 #\kbmap_secondary arabic
599
600 # You also need to bind a key for switching between Arabic and English.
601 # For example,
602 #\bind "F12" "language arabic"
603
604 # If you use arabtex, uncomment the following lines
605 #\language_auto_begin false
606 #\language_auto_end false
607 #\language_command_begin "\begin{arabtext}"
608 #\language_command_end "\end{arabtext}"
609 #\language_package "\usepackage{arabtex,iso88596}\setcode{iso8859-6}"
610
611 # Finally, you need to select iso8859-6.8x font encoding,
612 # and select screen fonts.
613 # iso8859-6.8x fonts can be found at
614 #   http://www.langbox.com/AraMosaic/mozilla/fontXFE/
615 #\screen_font_encoding iso8859-6.8x
616 #\screen_font_encoding_menu iso8859-1
617 #\screen_font_roman "-*-naskhi"