]> git.lyx.org Git - lyx.git/blobdiff - lib/lyxrc.example
More small fixes
[lyx.git] / lib / lyxrc.example
index 6e7c7d714d9cd9c278bd01a97f965656e798582d..411d8fd94079a5827d16364d302d0743bfad5909 100644 (file)
 # to this instead:
 #\bind_file mine_is_best
 
+# By default, LyX takes over the handling of the dead keys (or accent
+# keys) that may be defined for your keyboard. While this allows you
+# to enter characters that would not be normally available, some
+# people dislike the different behaviour. You can use raw dead keys by
+# just uncommenting the next line
+#\override_x_deadkeys false
+
 # Tip: Use "lyx -dbg 4" to survey how LyX interprets your keybindings.
 
 
 # We recommend to keep the confirmation, though.
 #\exit_confirmation false
 
+# This sets the behaviour if you want to be asked for a filename when
+# creating a new document or wait until you save it and be asked then.
+# The default for now is ask on save.
+# \new_ask_filename false
+
 # LyX continously displays names of last command executed, along with a list 
 # of defined short-cuts for it in the minibuffer.
 # It requires some horsepower to function, so you can turn it off, if LyX
 # not append the -paper option to the dvi command at all. This case is
 # especially useful when viewing your documents on Windows with yap,
 # because yap does not allow a command line option for the paper size.
-#\view_dvi_paper "" 
+#\view_dvi_paper_option "" 
 
 # LyX assumes that the default papersize should be usletter.  If this is not
 # true for your site, use the next line to specify usletter, legal,
 # You can include any options you need by "quoting" the entire command
 # The default is auto-detected, but you might want to override it.
 # Usual values are: xpdf, acroread, gv, ghostscript.
+# Warning: This option is not functional!
 #\view_pdf_command "xpdf"
 
 # Define which program to use to view postscript files here.
 # Example: use this to let math be italic with tth.
 #\html_command "tth -t -i < '$$FName' > '$$OutName'"
 
-# If you want to pass extra flags to the LinuxDoc sgml scripts, insert them
-# here. 
-# Example: the next line activates iso-latin1 support:
-#\sgml_extra_options -l
-
 # Keyboard Mapping. Use this to set the correct mapping file for your
 # keyboard, that is if you need one. You'll need one if you for instance
 # want to type German documents on an American keyboard. In that case,
 # this line:
 #\relyx_command "none"
 
+# Default format string for the date-insert command
+#
+# This accepts the normal strftime formats; see man strftime for full
+# details of the format.
+#
+#\date_insert_format "%A, %e. %B %Y"
+
 #
 # SCREEN & FONTS SECTION #################################################
 #
 # is 150%.
 #\screen_zoom 100
 
-# LyX offers a faster method for drawing selected text if you uncomment the 
-# following line. The trick is to invert the color-information. This will 
-# switch between white and black and give almost random results for
-# other colors, so a white background is necessary. Any other settings of 
-# the background color will be ignored for this reason. This setting
-# is useful on monochrome screens and on slow systems. Fast selection
-# can cause cosmetic problems with a few broken X servers.
-#\fast_selection true
-
-# If you don't like the default background or selection color, you can
-# set your own here:
-#\background_color white
-#\background_color lightyellow
-#
-# For reference, the defaults are:
-#\background_color linen
-#\selection_color lightblue
+# The wheel movement factor (for mice with wheels or five button mice)
+# Default is 100, about a page down. A value of 10 give me about a line and
+# a half
+#\wheel_jump 10
 
 # LyX normally doesn't update the cursor position if you move the scrollbar.
 # If you scroll the cursor off the screen and then start typing LyX will
 # This is the default in LyX (exactly what LaTeX does):
 #\screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88
 
+# To change the colors for footnotes:
+#\set_color footnote green
+# for mathed you may also want to change the coloring of lines and brackets:
+#\set_color math yellow
+#\set_color mathlines yellow
+
+#
+# UI SECTION ########################################################
 #
-# TOOLBAR SECTION ########################################################
-#
-
-# Setup your favorite Toolbar here:
-# Only three commands are allowed inside the begin_toolbar and end_toolbar
-# directives: 
-#   \add <action> [<parameter>] adds an icon to the toolbar performing
-#          "<action> <parameter>"
-#      Examples:
-#      \add font-size small
-#      \add set-emph
-#
-#   \layouts adds the layouts combo-box to the toolbar
-#
-#   \separator adds some spacing to the toolbar
-#
-# These actions have icons (please give us more :-):
-#   buffer-open, buffer-close, buffer-print, buffer-write, font-emph,
-#   font-noun, font-free, footnote-insert, depth-next, copy, cut, paste,
-#   tex-mode, math-mode, marginpar-insert, figure-insert, table-insert,
-#   melt, lyx-quit, buffer-export ascii|latex, font-bold, font-sans, 
-#   buffer-typeset, buffer-view, buffer-view-ps, symbol_insert [parameter]
-#
-#  All other lyx commands will get a "unknown" icon.
-#
-# This is the default toolbar:
-#\begin_toolbar
-#\layouts
-#\add buffer-open
-#\add buffer-write
-#\add buffer-print
-#\separator
-#\add cut
-#\add copy
-#\add paste
-#\separator
-#\add font-emph
-#\add font-noun
-#\add font-free
-#\separator
-#\add footnote-insert
-#\add marginpar-insert
-#\add depth-next
-#\separator
-#\add tex-mode
-#\add math-mode
-#\separator
-#\add figure-insert
-#\add table-insert
-#\end_toolbar
+
+# Choose your UI (user interface) definition here. The .ui files are in the 
+# directory "lib/ui" and contains the definition of the menu and the toolbar.
+#\ui_file "default"
 
 #
 # PRINTER SECTION ########################################################
 
 # The command used to generate pdf files directly from a latex file.
 # A program that works in anyother way is not guarantied to work.
+# Warning: This option is not functional!
 #\pdflatex_command pdflatex
 
 # The command used to generate postscript files from pdf files.
+# Warning: This option is not functional!
 #\pdf_to_ps_command pdf2ps
 
 # If to use pdf as native export format instead of dvi. This makes LyX use
 # pdflatex, pdf2ps and other utility programs. Default is false.
+# Warning: This option is not functional!
 #\pdf_mode false
 
 # The font encoding used for the LaTeX2e fontenc package.
 #\font_encoding default
 
 
+#
+# LINUXDOC SECTION #######################################################
+#
+
+# If you want to pass extra flags to the LinuxDoc sgml scripts, insert them
+# here. 
+# Example: the next line activates iso-latin1 support:
+#\linuxdoc_to_latex_command "sgml2latex -c latin"
+
+# Here you have the command to convert from linuxdoc to html.
+# Example: one html file only.
+#\linuxdoc_to_html_command "sgml2html -s 0 '$$FName'"
+
+# The LinuxDoc to LyX converter
+#\linuxdoc_to_lyx_command "sgml2lyx"
+
+#
+# DOCBOOK SECTION ########################################################
+#
+
+# Command to convert a docbook file to dvi
+#\docbook_to_dvi_command "sgmltools -b dvi"
+
+# Command to convert a docbook file to html
+#\docbook_to_html_command "sgmltools -b html '$$FName'"
+
+# Command to convert a docbook file to pdf
+#\docbook_to_pdf_command ""
+
+
 #
 # FILE SECTION  ##########################################################
 #
 # SGML or plain text). Default is 75. 
 #\ascii_linelen 80
 
+# Set to false if you don't want LyX to create backup files.
+# Default is true.
+#\make_backup true
+
+# The path for storing backup files. If it is the empty string, LyX will
+# store the backup file in the same directory of the original file.
+# Default is "".
+#\backupdir_path "~/Desktop/Trash/"
+
 
 #
 # FAX SECTION #############################################################
 # does not work with all dictionaries, so this is disabled by default.
 #\use_input_encoding true
 
-# Default format string for the date-insert command
+
 #
-# This accepts the normal strftime formats; see man strftime for full
-# details of the format.
+# LANGUAGE SUPPORT SECTION ####################################################
 #
-#\date_insert_format "%A, %e. %B %Y"
+
+# Set to true to enable support of right-to-left languages (e.g. Hebrew,
+# Arabic). Default is false.
+#\rtl true
+
+# The latex command for loading the language package.
+# Default is \usepackage{babel}.
+#\language_package "\usepackage{omega}"
+
+# The latex command for changing the from the language of the document
+# to another language. $$lang is substituted by the name of the second
+# language. Default is \selectlanguage{$$lang}.
+#\language_command_begin "\begin{otherlanguage}{$$lang}"
+
+# The latex command for changing back the language to the language of
+# the document. Default is \selectlanguage{$$lang}.
+#\language_command_end "\end{otherlanguage}"
+
+# Set to false if a language switching command is needed at the beginning of
+# the document. Default is true.
+#\language_auto_begin false
+
+# Set to false if a language switching command is needed at the end of
+# the document. Default is true.
+#\language_auto_end false
+
+# Set mark_foreign_language to "false" to disable the highlighting of words
+# with a foreign language to the language of the documet.
+# Default is "true"
+#\mark_foreign_language false
 
 #
 # HEBREW SUPPORT SECTION ####################################################
 
 # You also need to bind a key for switching between Hebrew and English.
 # For example,
-#\bind "F12" "font-rtl"
+#\bind "F12" "language hebrew"
+
+# You might want ot disable the foreign language marking:
+#\mark_foreign_language false
 
 # Finally, you need to select iso8859-8 font encoding, and select screen fonts
 # (below are the default fonts. You need to replace them by Hebrew fonts)
 
 # You also need to bind a key for switching between Arabic and English.
 # For example,
-#\bind "F12" "font-rtl"
+#\bind "F12" "language arabic"
 
 # If you use arabtex, uncomment the following lines
-#\language_command_begin true
-#\language_command_end true
-#\language_command_rtl "\begin{arabtext}"
-#\language_command_ltr "\end{arabtext}"
+#\language_auto_begin false
+#\language_auto_end false
+#\language_command_begin "\begin{arabtext}"
+#\language_command_end "\end{arabtext}"
 #\language_package "\usepackage{arabtex,iso88596}\setcode{iso8859-6}"
 
-
 # Finally, you need to select iso8859-6.8x font encoding,
 # and select screen fonts.
 # iso8859-6.8x fonts can be found at