X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyxrc.example;h=411d8fd94079a5827d16364d302d0743bfad5909;hb=f3850c0c5fff9e15b83c62748d76636a0dc8f32b;hp=95f1eeae2f02d627d4cc1251d7fbdcb05bb5c15f;hpb=3635ff7370f8baa6ce64a62268710d09e3a0a34a;p=lyx.git diff --git a/lib/lyxrc.example b/lib/lyxrc.example index 95f1eeae2f..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. @@ -58,6 +65,10 @@ # MISC SECTION ########################################################### # +# Set this to false if you don't want the startup banner. +# Default is true. +#\show_banner true + # Set to false if you don't want the current selection to be replaced # automatically by what you type. Default is true. #\auto_region_delete false @@ -72,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 @@ -80,20 +96,36 @@ # Define which program to use to view dvi files here. # You can include any options you need by "quoting" the entire command. -# You don't need to specify the paper-size and orientation, which is done -# automatically by LyX (hence, your viewer has to interpret the -paper -# option like xdvi does) # The default is "xdvi". # Example: the next line would use xdvi and display with shrink 2: #\view_dvi_command "xdvi -s 2" # It can get more involved. Expert users might prefer something like: #\view_dvi_command "xdvi -s 2 -expert -geometry 1014x720+0+0 -keep -margins 1.5" +# \view_dvi_paper_option allows to specify a paper option to the dvi +# viewer. By default LyX specifies the paper size of the document to +# the dvi viewer via the command line option -paper size, where size +# is one of "us","letter","a3","a4" and so on. The command +# \view_dvi_paper_option allows the user to overwrite the name of the +# command line flag, i.e. replace -paper with something else. If +# specified and left empty, i.e. \view_dvi_paper_option "", LyX does +# 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_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, # executive, a3, a4, a5, or b5 as the default papersize. #\default_papersize "a4" +# Define which program to use to view pdf files here. +# 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. # You can include any options you need by "quoting" the entire command # The default is auto-detected, but you might want to override it. @@ -119,15 +151,17 @@ # Example: use this to ignore warnings about using "\ldots" instead of "..." #\chktex_command "chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38" -# Define which program to use to run "tth", the LaTeX to HTML converter -# You should include options. The default is "tth -t" -# Example: use this to let math be italic -#\tth_command "tth -t -i" - -# 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 +# Define which program to use to translate latex to HTML. +# You should include options. The default is autodetected: the programs +# checked are tth, latex2html and hevea, and the default command lines +# used are: +#\html_command "tth -t < '$$FName' > '$$OutName'" +#\html_command "latex2html -no_subdir -split 0 -show_section_numbers '$$FName'" +#\html_command "hevea -s '$$FName'" +# The variable name $$FName is replaced with the name of the .tex +# file, and $$OutName is replaced with the name of the html file. +# Example: use this to let math be italic with tth. +#\html_command "tth -t -i < '$$FName' > '$$OutName'" # 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 @@ -165,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 ################################################# # @@ -179,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 @@ -206,12 +234,12 @@ # The screen fonts used to display the text while editing # The defaults are: -#\screen_font_roman -*-times -#\screen_font_sans -*-helvetica -#\screen_font_typewriter -*-courier +#\screen_font_roman "-*-times" +#\screen_font_sans "-*-helvetica" +#\screen_font_typewriter "-*-courier" # For some, this font looks better: -#\screen_font_roman -*-utopia +#\screen_font_roman "-*-utopia" # Allow the use of scalable screen fonts? Default is true. # If you choose "false", LyX will use the closest existing size for a match. @@ -227,12 +255,12 @@ # The font for popups. It is set to # -*-*-*-?-*-*-*-*-. # The default is: -#\screen_font_popup -*-helvetica-medium-r +#\screen_font_popup "-*-helvetica-medium-r" # The font for menus (and groups titles in popups). It is set to # -*-*-*-?-*-*-*-*-. # The default is: -#\screen_font_menu -*-helvetica-bold-r +#\screen_font_menu "-*-helvetica-bold-r" # The font sizes used for calculating the scaling of the screen fonts. # You should only have to change these if the fonts on your screen look bad, @@ -245,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 ######################################################## @@ -322,7 +312,7 @@ # Extra options to pass to printing program after everything # else, but before the filename of the DVI file to be printed. -#\print_extra_options +#\print_extra_options "" # When set, this printer option automatically prints to a file # and then calls a separate print spooling program on that file @@ -397,6 +387,10 @@ # sent in standard input (stdin). There is no default command # specified. Example: #\custom_export_command "kghostview $$FName" +# +# A more elaborate example to create pdf files with ps2pdf would be: +#\custom_export_command "ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf" + # This is the default for the type of contents to be sent to the export # command: possible values are lyx, dvi, tex, ps and ascii. @@ -411,6 +405,20 @@ # here: #\latex_command latex2e +# 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. # T1 is highly recommended for non-English languages. LyX uses T1 as a # default if you have the ec fonts installed on your system. @@ -419,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 ########################################################## # @@ -470,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 ############################################################# @@ -514,7 +561,7 @@ #\spell_command aspell # Consider run-together words, such as "notthe" for "not the", as legal -# words? Default is no. +# words? Default is false. #\accept_compound true # Specify an alternate language. The default is to use the language of @@ -540,3 +587,95 @@ # words with international letters in them. There have been reports that this # does not work with all dictionaries, so this is disabled by default. #\use_input_encoding true + + +# +# LANGUAGE SUPPORT SECTION #################################################### +# + +# 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 #################################################### +# + +# To enable the Hebrew support, uncommnet the following lines: +#\rtl true +#\kbmap true +#\kbmap_primary null +#\kbmap_secondary hebrew +#\latex_command elatex +#\font_encoding default + +# 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 +#\screen_font_roman "-*-times" +#\screen_font_sans "-*-helvetica" +#\screen_font_typewriter "-*-courier" +#\screen_font_popup "-*-helvetica-medium-r" +#\screen_font_menu "-*-helvetica-bold-r" + +# +# ARABIC SUPPORT SECTION #################################################### +# + +# To enable the Arabic support, uncommnet the following lines: +#\rtl true +#\kbmap true +#\kbmap_primary null +#\kbmap_secondary arabic + +# You also need to bind a key for switching between Arabic and English. +# For example, +#\bind "F12" "language arabic" + +# If you use arabtex, uncomment the following lines +#\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 +# http://www.langbox.com/AraMosaic/mozilla/fontXFE/ +#\screen_font_encoding iso8859-6.8x +#\screen_font_encoding_menu iso8859-1 +#\screen_font_roman "-*-naskhi"