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