X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyxrc.example;h=411d8fd94079a5827d16364d302d0743bfad5909;hb=f3850c0c5fff9e15b83c62748d76636a0dc8f32b;hp=5f7bfcb5c7970ca9e41e5ff765c34489140fdf76;hpb=014ebb2efe7082ce0c269198c9dfe8da43296baa;p=lyx.git diff --git a/lib/lyxrc.example b/lib/lyxrc.example index 5f7bfcb5c7..411d8fd940 100644 --- a/lib/lyxrc.example +++ b/lib/lyxrc.example @@ -51,6 +51,13 @@ # 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. @@ -76,6 +83,11 @@ # 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 @@ -100,7 +112,7 @@ # 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, @@ -111,6 +123,7 @@ # 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. @@ -150,11 +163,6 @@ # 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, @@ -191,6 +199,13 @@ # 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 ################################################# # @@ -205,23 +220,10 @@ # 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 @@ -271,57 +273,19 @@ # 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 + # -# TOOLBAR SECTION ######################################################## -# - -# Setup your favorite Toolbar here: -# Only three commands are allowed inside the begin_toolbar and end_toolbar -# directives: -# \add [] adds an icon to the toolbar performing -# " " -# 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 +# UI SECTION ######################################################## +# + +# 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 ######################################################## @@ -443,13 +407,16 @@ # 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. @@ -460,6 +427,36 @@ #\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 ########################################################## # @@ -511,6 +508,15 @@ # 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 ############################################################# @@ -582,12 +588,40 @@ # 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 #################################################### @@ -600,12 +634,14 @@ #\kbmap_secondary hebrew #\latex_command elatex #\font_encoding default -#\auto_mathmode rtl # You also need to bind a key for switching between Hebrew and English. # For example, #\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) #\screen_font_encoding iso8859-8 @@ -624,7 +660,6 @@ #\kbmap true #\kbmap_primary null #\kbmap_secondary arabic -#\auto_mathmode false # You also need to bind a key for switching between Arabic and English. # For example,