home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / lyx21041.zip / XFree86 / lib / X11 / lyx / lyxrc.example < prev    next >
Text File  |  1999-11-16  |  21KB  |  544 lines

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