Commit Graph

78 Commits

Author SHA1 Message Date
Enrico Forestieri
852dfe3869 Fix writing of \bibtex_alternatives and \index_alternatives to the
preferences file. Now the alternatives are only written if they have
actually been changed, and not always as it was before. Existing
preferences files will be automatically trimmed on next save.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:21:33 +00:00
André Pönitz
e582d149d4 Introduce an option to keep the menubar visible in full screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:41:45 +00:00
Jürgen Spitzmüller
48f36f59e7 * configure.py:
- add new method that records all available alternative programs
	  as opposed to only the first found one.

* LyXRC[cpp,h}:
* LyXFunc.cpp:
	- new RCs \bibtex_alternatives and \index_alternatives, holding
	  alternative processors.

* GuiPrefs.{cpp, h}:
* PrefLatexUi.ui:
	- UI to select from a list of preconfigures bibliography/index processors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 10:07:32 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
26b361417d * Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:53:40 +00:00
Jürgen Spitzmüller
823e44822e * remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:11:14 +00:00
Jürgen Spitzmüller
25a14730ed * First step towards default view format.
The icons could be replaced by something nicer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 05:01:08 +00:00
Abdelrazak Younes
29c40527e5 Put the foundations to support continuous spell checking.
* Font: new misspelled_ member.
* GuiPrefs/PrefSpellchecker: new check box to enable/disable continuous spellcheck.
* LyXRC: new spellcheck_continuously parameter.
* RowPainter: new paintMisspelledMark() method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:57:30 +00:00
Vincent van Ravesteijn
7ad28349ab Fix bug 4935: Scroll down below document
http://bugzilla.lyx.org/show_bug.cgi?id=4935

* GuiPrefs: Add an option to the Editing dialog.

* BufferView: Scroll below document if the option is set.

* LyXRC: Write/read the option from preferences file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:41:58 +00:00
André Pönitz
20d5148dca move ColorSet to a header of its own to reduce #include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Martin Vermeer
b4b47d783b Make autocorrect configurable in preferences file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 09:48:00 +00:00
Pavel Sanda
c5b2eb76b6 another ispell leftover
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27824 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 10:45:29 +00:00
Jürgen Spitzmüller
df4814e026 Add support for MyThes (i.e., OpenOffice thesauri).
RegExp experts please have a look at the FIXMEs in GuiThesaurus.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 18:48:25 +00:00
Jean-Marc Lasgouttes
970911abe6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:57:21 +00:00
Pavel Sanda
03cc2c2f13 Add some hook for the next rc2rc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:27:00 +00:00
André Pönitz
8e366b1cab remove spellchecker command and flag telling us whether to use a process or a
library.

Somebody schould create a rc2rc script...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:22:54 +00:00
André Pönitz
8f081b1e74 remove ISpell and PSpell support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 19:06:17 +00:00
André Pönitz
8e2f971ada remove ispell and pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:47:25 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
Jürgen Spitzmüller
641708ac4b * separate nomencl processing command from index processing command, since nomencl
relies on makeindex (with specific options) [bug 5184].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 09:44:00 +00:00
Jean-Marc Lasgouttes
5cef8b6887 * LyXRC.cpp:
* development/MacOSX/lyxrc.dist.in: new variable mac_like_word_movement,
	set to true on Mac OS X. There is no GUI for it now.

	* src/Paragraph.cpp (isSpace): new method
	(isChar): return false for a space.

	* src/Text.cpp (cursorForwardOneWord, cursorBackWardOneWord): implement
	mac-like cursor movement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25413 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 14:42:32 +00:00
Abdelrazak Younes
43d9183798 Idea from JMarc:
Merge env_gui_language into gui_language. "auto" now means that the language will be retrieved from the environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:23:44 +00:00
Abdelrazak Younes
b04c22ba67 Add two RC variables that can be used to set the GUI language:
- env_gui_language: set to true (default) if the language is to be retrieved from current environment variable.
- gui_language: specify language for GUI strings. Only used if env_gui_language is false


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25379 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 12:55:40 +00:00
Abdelrazak Younes
4a1be58591 - Simplify prefs, graphics and external display options which are now true or false.
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
André Pönitz
2e968d0661 next try
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 17:57:57 +00:00
Jürgen Spitzmüller
adc9429855 Correctly handle quotation marks in command preferences (bug 2016):
* src/LyXRC.cpp:
	- new helper function to escape commands
	- parse escaped commands

* src/Lexer.{cpp,h}:
	- whitespace/typos.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 13:53:28 +00:00
Jean-Marc Lasgouttes
69500a4eb3 Fix bug 4779 (printing not possible)
http://bugzilla.lyx.org/show_bug.cgi?id=4779

This was a collateral damage of the 'lyxlex simplification'.`


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24474 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 10:25:34 +00:00
Richard Heck
8a69ffd3bf Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got everything, but this does compile, and it seems to work at least reasonably well. Any problems should of course be reported to the list.
For the record, this developer is sorry that the problems with this code were not noticed much earlier. It's not fun to do so much work and then have it all reverted.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 03:08:11 +00:00
André Pönitz
37e0c52f1d more compact code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 12:56:43 +00:00
André Pönitz
e7645f2439 use simpler parser interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:34:29 +00:00
André Pönitz
c88e7a7ef6 simplify Lexer handling a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24106 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 20:55:09 +00:00
André Pönitz
11a0458d3f next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 23:06:22 +00:00
André Pönitz
2012beb58e revert last patch. there's something wrong, possibly unrelated to this
patch, but as this was rather largish...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:44:33 +00:00
André Pönitz
7677e9487c simplify Lexer use a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:14:45 +00:00
Jean-Marc Lasgouttes
680a2f39b6 restore line removed by mistake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 17:08:48 +00:00
Jean-Marc Lasgouttes
6e74e240ff do not use #ifdef in main code; use the lyxrc.dist mechanism to provide defaults for mac osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24083 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 09:18:03 +00:00
Stefan Schimanski
9e499117e3 * possibility to disable the completion cursor in text. All those
"*supported" methods maybe should be merged with a bit-enum as return value.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 17:07:10 +00:00
Bo Peng
0f9a8fcad4 Add use_bundled_format rc entry to allow creation of new buffers in bundled format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 22:41:54 +00:00
Stefan Schimanski
e46d043034 * fix order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 00:14:15 +00:00
Stefan Schimanski
25e0113c9c * Use open_buffers_in_tabs instead of single_window. The latter even confused me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:27:31 +00:00
Stefan Schimanski
0ba2a1e6f8 * preference option to open buffers in tabs or new windows
* moved the open/new file dispatches into GuiApplication to make them GuiView independent


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:24:45 +00:00
Stefan Schimanski
473091fb82 * center the line in the layout category headers in the middle of the lowercase chars
* some messages for the statusbar
    * configuration option for grouping of the layouts
    * put category headers above the first item of each category in the
      layout list.
      To avoid scrolling we have to sneak in space for the headers.
      So we tweak this value accordingly. It's not nice, but the
      only possible way it seems.

    Note 1: Because QComboBox uses the "first row's height * rowCount" to
    estimate the height of the popup, we have to fake some extra pixel
    lines to avoid scrolling because of the extra space taken by the
    headers. This is a hack, but I don't see a better way to establish that.

    Note 2: An alternative implementation is to insert headers as real list
    items. But it seems that QListView cannot skip them in cursor
    navigation then. So we stick to the upper approach.

    * remove checkbox in layout menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23626 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:02:57 +00:00
Jean-Marc Lasgouttes
e744d0e989 sort lyxrc keywords table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23124 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 10:25:12 +00:00
Stefan Schimanski
1bf7b59d60 * completion infrastructure
* completion support for mathed
* experimental completion support for text


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 19:42:34 +00:00
Pavel Sanda
72b270ab4b Improve fullscreen mode (bug 4146).
- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut

Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html ) 
- Toolbars visibility is shared between windows (views)
  (needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
  (i.e. margins and tabbar get visible)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 21:51:55 +00:00
Abdelrazak Younes
2bf1c09376 header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23049 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-18 07:14:42 +00:00
Dov Feldstern
a9770a18cd Adding preference for visual mode for bidi cursor movement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 19:51:23 +00:00
Stefan Schimanski
dd3842505b * a configuration value for the mouse wheel scrolling speed:
lyxrc.mouse_wheel_speed 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22717 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 21:20:29 +00:00
Stefan Schimanski
4eaa564c95 * sort lyxrc tag table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 17:44:15 +00:00
Stefan Schimanski
8e212b98b4 * optional old-style editing mode for macros with a parameter list.
* combobox in the preferences dialog to choose the macro editing mode of choice.

The reason for the three choices (inline box, inline without box,
list) is that it seems that there are at least these three groups of
people, and each of them is very strong about their opinion what that
the best mode is. So here there are all of them, pick your favourite.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 22:02:38 +00:00