Commit Graph

263 Commits

Author SHA1 Message Date
Pavel Sanda
e087ec8514 Add "navigate back" into the menu too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29367 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 17:09:37 +00:00
Uwe Stöhr
ee32af52da stdmenus.inc: fix shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29333 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 15:03:56 +00:00
Jürgen Spitzmüller
d12426a340 New inset dialog for InsetPrintIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97 New inset dialog for InsetIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +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
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
Uwe Stöhr
8a0d98e67e - stdmenus.inc: Phantom can contain other things as well, not only text
- LyXAction.cpp: updates and sorting
- GuiPhantom: a dialog to set the different phantom types (stolen from GuiNote)

The Phantom feature should now be complete. Thanks to all who contributed and helped.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 18:09:36 +00:00
Uwe Stöhr
b742ff6406 support for the LaTeX commands \*phantom, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Vincent van Ravesteijn
650a0261a6 Disable the Edit->Math menu when not in math.
Introduce new LFUN_MATH_FONT_STYLE which takes one of the font styles as an argument. A dispatch is being redirected to math-insert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 10:35:57 +00:00
Vincent van Ravesteijn
7d604f83c7 Resolve shortcut clash in Edit->Table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 00:55:23 +00:00
Vincent van Ravesteijn
f7231d55d4 Add Listings Settings... to Edit menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 19:32:11 +00:00
Vincent van Ravesteijn
dd64c572c2 Allow users to specify toolbar icons for commands with a backslash. This is in the same style as the replacements made for math-insert commands.
See the user's list:
http://thread.gmane.org/gmane.editors.lyx.general/52712

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 18:33:09 +00:00
Jean-Marc Lasgouttes
e79a9fa983 make help-open search in examples too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27858 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 15:34:35 +00:00
Uwe Stöhr
1e3e6b88ea documentation: prepare for the math macro chapter part 1 and 2 for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-07 14:29:13 +00:00
Abdelrazak Younes
deef2728c7 The rest of Tommaso patch with some cleanups. Not very clean still but at least it compiles!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 01:20:34 +00:00
Pavel Sanda
fcac9f833a TOC help file is gone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 08:12:22 +00:00
Pavel Sanda
2320572b3a Add multicol to help
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27074 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 00:00:50 +00:00
Richard Heck
32063acc8f Change the title of the Extended manual, and make some other changes to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27050 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:12:06 +00:00
Pavel Sanda
c5fbf23c54 Add submenu in help.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27048 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 10:28:03 +00:00
Pavel Sanda
57fe98396d FAQ docs are obsolete for a long time.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145354.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144789.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27027 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 22:12:25 +00:00
Richard Heck
7bff1e62b5 More sensible shortcuts on the help menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26113 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 17:01:20 +00:00
Pavel Sanda
04ab3867c4 Add to help.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26019 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 15:04:22 +00:00
Pavel Sanda
de83cc1b57 Touch menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 14:34:30 +00:00
Pavel Sanda
41e8a73f66 Make menu less ambiguous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25749 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 00:28:06 +00:00
Jürgen Spitzmüller
b6616ac0e7 * stdmenus.inc:
- disambiguate menu entry (bug 4757).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 07:22:20 +00:00
Pavel Sanda
551f32859d Leftovers from http://www.lyx.org/trac/changeset/22496 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:09:22 +00:00
Pavel Sanda
d2a93f8a05 * Menus: these are dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 09:23:23 +00:00
Uwe Stöhr
31808dd993 stdmenus.inc: remove doubled menu entry, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4765
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:48:18 +00:00
Jürgen Spitzmüller
c876a2e7c7 Merge the two linebreak insets into one.
* src/Buffer.cpp:
	- file format change to 324
* development/FORMAT:
	- document file format change

* src/insets/InsetNewline.{cpp,h}:
	- the former two separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the two kinds.

* src/Text3.cpp:
	- The newline insets are now being generated with 
	   newline-insert [newline|linebreak]

* src/factory.cpp:
* src/Text.cpp:
	- Newline inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
	- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
	  add LFUN_NEWLINE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newline insets.

* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
	- adapt menu and add context menu to switch between newpage variants.

* lib/bind/*.bind:
	- adapt to new lfuns.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Richard Heck
72b7c73b5a Move context menus to their own file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23948 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 16:02:26 +00:00
Jürgen Spitzmüller
d2a4c97ab8 Merge the diverse newpage insets into one.
* src/Buffer.cpp:
	- file format change to 323
* development/FORMAT:
	- document file format change

* src/insets/InsetNewpage.cpp:
	- the former four separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the various kinds.

* factory.cpp:
	- The newpage insets are now being generated with 
	   newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]

* src/Text.cpp:
	- Newpage inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
	- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
	  and LFUN_CLEARDOUBLEPAGE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newpage insets.

* lib/ui/stdmenus.inc:
	- adapt menu and add context menu to switch between newpage variants.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
Richard Heck
c2ac470567 Little update to conglomerate context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23941 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 06:46:18 +00:00
Jürgen Spitzmüller
4b1cfb9852 * stdmenus.inc:
* src/insets/InsetCollapsable.inc:
	- specific context menu for conglomerate insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23940 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 06:17:18 +00:00
Jürgen Spitzmüller
ebc3f47945 * lib/ui/stdmenus.inc (context-note):
- remove pointer to superfluous dialog. The dialog itself will die eventually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23937 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 05:10:56 +00:00
Jürgen Spitzmüller
241a8442d7 fix the general collapsable context-menu:
* src/InsetCollapsable.cpp (getStatus):
	- fix the logic

* src/BufferView.cpp:
	- fix next-inset-toggle
	- don't require argument for inset-settings

* lib/stdmenus.inc (context-collapsable):
	- use next-inset-toggle instead of inset-toggle
	- add (optional) inset-settings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 16:33:56 +00:00
Jürgen Spitzmüller
e1ac6d4118 Some context menu work:
* src/BufferView.cpp:
* src/FuncCode.h:
* src/LyXAction.cpp:
	- new LFUN_NEXT_INSET_MODIFY

* src/insets/InsetBox.{cpp, h}:
* src/insets/InsetCommand.{cpp,h}:
* src/insets/InsetNote.{cpp,h}:
* src/insets/InsetSpace.{cpp,h}:
* src/insets/InsetVSpace.{cpp,h}:
	- implement context menu and access to some changes

* lib/ui/stdmenus.ui:
	- new context menus for Box, Space, VSpace, Note.
	- extend the context menu for InsetRef.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:33:48 +00:00
Bo Peng
057dd755f5 Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 04:27:43 +00:00
Jürgen Spitzmüller
cf2320996b * lib/ui/stdmenus.inc:
- add "Edit..." item to label & ref context menu.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 12:56:27 +00:00
Abdelrazak Younes
de6f93296f Context menu for collapsing minimalistic insets such as ERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23880 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:02:47 +00:00
Pavel Sanda
2ab76cdad1 Fix hyphenation point in menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:02:08 +00:00
Pavel Sanda
5f51e1c9af Add fullscreen to context menu, so returning back is possible
even without shortcut.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23791 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:11:21 +00:00
Jürgen Spitzmüller
f2e8cd3cd9 *** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
	- merge in HFill inset, add support for dotfill, hrulefill,
	  hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
	- remove

* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
	- new GUI for Space insets.

* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
	- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
	  new Inset member isStretchableSpace() to indicate HFill and friends.

* Buffer.cpp: 
	- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines
* development/FORMAT:
	- document file format change

* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- deal with UI changes.

* src/LyXAction.cpp:
	- remove LFUN_HFILL_INSERT

* src/LyXFunc.cpp:
	- handle space dialog.

* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
	- adapt to changes

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- add HSpace dialog, remove HFill.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
Stefan Schimanski
21eddc8fe2 * math macro definition context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:51:14 +00:00
Pavel Sanda
65910a6c74 Add menuitem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:43:07 +00:00
Pavel Sanda
635b2c1cc3 Start some context-edit menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:30:02 +00:00
Uwe Stöhr
a49c4e3454 stdmenus.inc: comment out two non-working menu entries
(see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136498.html)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 16:49:25 +00:00
Pavel Sanda
741d69b138 Add the possibility to remove label from equation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23594 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:49:24 +00:00
Pavel Sanda
e1699b9d37 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:16:50 +00:00
Pavel Sanda
5e79b2ca4f Add math context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:07:27 +00:00
Abdelrazak Younes
268ef141e5 add a simple context menu for InsetLabel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23582 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 11:51:34 +00:00
Abdelrazak Younes
3f5e92ce72 add a simple context menu for InsetRef.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23580 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 11:24:27 +00:00
Abdelrazak Younes
9884a7193d Add menu item for close-tab-group
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 14:58:58 +00:00
Pavel Sanda
9dbe777910 * lib/stdmenus.inc: Collision with HTML|H
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23095 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 14:23:10 +00:00
Jürgen Spitzmüller
34f93b22f7 * lib/stdmenus.inc:
- fix shortcut casing.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 13:20:29 +00:00
Abdelrazak Younes
55d621f5b2 add menu item for split-view
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 13:09:27 +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
Jürgen Spitzmüller
9bdca85f26 *** New Symbols Dialog ***
* src/Encoding.{cpp,h}:
	- new public member getSymbolsList()

* src/frontends/qt4/GuiSymbols.cpp:
* src/frontends/qt4/GuiSymbols.h:
* src/frontends/qt4/ui/SymbolsUi.ui
	- new files

* src/frontends/qt4/GuiView.cpp:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- add new dialog

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- menu item for symbols dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 13:18:07 +00:00
Stefan Schimanski
cf333f5ab4 * Support for graphics pasting (with most code in the frontend's GuiClipboard)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 10:43:03 +00:00
Uwe Stöhr
cfdad9946d I wrote a new manual "LyX's detailed math manual". See the announcement on the list.
The file examples/mathed.lyx is no longer needed as its content is part of the new manual.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-27 20:58:45 +00:00
Uwe Stöhr
33c95fc07b rename LFUNs math-nonumber and math-number to what they really do,
fixes bug 2608

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 22:45:19 +00:00
Pavel Sanda
922aa7b1e8 Add characters counting.
Introduce LFUN_STATISTICS.
see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134033.html .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22433 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:18:00 +00:00
Jean-Marc Lasgouttes
ac5a40e5a3 rename menu entries for numbering formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22418 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 17:22:20 +00:00
Enrico Forestieri
d73f28eec1 Revert qprocess code. Revisions reverted: 22026, 22030, 22044, 22048,
22077, 22078, 22079, 22080, 22081.

Sorry Peter, but this was breaking too many things, see discussions
on lyx-devel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:25:53 +00:00
Abdelrazak Younes
e52eed0268 * stdmenu.inc: Fix menu item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-11 09:04:54 +00:00
Peter Kümmel
3af56311a7 add progress view of system calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 20:46:03 +00:00
Jürgen Spitzmüller
61e1643821 Support for \slash and \nobreakdash-
* src/lfuns.h:
* src/Text3.cpp:
* src/insets/InsetMathNest.cpp:
* src/insets/insetCollapsable:
	- new LFUN_SPECIALCHAR_INSERT
	- nuke LFUN_HYPHENATION_POINT_INSERT, 
	  LFUN_LIGATURE_BREAK_INSERT,
	  LFUN_DOTS_INSERT,
               LFUN_END_OF_SENTENCE_PERIOD_INSERT,
	  LFUN_MENU_SEPARATOR_INSERT
	  (functions now handled as arguments of the above)

* src/insets/InsetSpecialChar.{cpp,h}:
	- implement \slash and \nobreakdash-

* src/Buffer.cpp:
	- increment format to 307.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- reversion methods for SpecialChar \slash{} and
	  SpecialChar \nobreakdash-
* development/FORMAT:
	- document file format change

* lib/ui/stdmenus.inc:
* lib/ui/classic.ui:
	- add new SpecialChars to the menus, adapt lfuns to new scheme

* lib/bind/aqua.bind:
* lib/bind/cua.bind:
* lib/bind/emacs.bind:
* lib/bind/fi/menus.bind:
* lib/bind/mac.bind:
* lib/bind/menus.bind:
* lib/bind/sciword.bind:
* lib/bind/xemacs.bind:
	- add shortcuts for new SpecialChars, adapt lfuns to new scheme

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-06 11:04:56 +00:00
Jürgen Spitzmüller
a250d1ab8c forgot this ...
* lib/ui/stdmenus.ui:
	- remove Shaded and Framed notes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21946 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-04 09:48:57 +00:00
Uwe Stöhr
59c094bd46 stdmenus.inc: fix doubled shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21805 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 22:10:54 +00:00
Uwe Stöhr
12f7869ac0 support for \linebreak:
- fileformat change
- tex2lyx support
- rename LFUN_BREAK_LINE to LFUN_NEW_LINE because this is what the lfun does and to avoid confusions
- new menu entry
- new shortcut C-S-Return

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:34:37 +00:00
Uwe Stöhr
97aa558cac support for \pagebreak:
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
Martin Vermeer
979239a248 Make URL a standard inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21576 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:03:16 +00:00
Stefan Schimanski
11ce580d11 * a first version of a math macro toolbar. The icon can certainly be improved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 16:33:19 +00:00
Stefan Schimanski
2ad61c0366 * LFUNs for math macros and menu integration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:08:04 +00:00
Bo Peng
b89d3f2cc2 Embedding: add LFUN_BUFFER_TOGGLE_EMBEDDING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 20:06:44 +00:00
Enrico Forestieri
446df27d4e Fix annoying menu warning. Please, test shortcuts before using them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 15:05:36 +00:00
Uwe Stöhr
7075eaadef The huge URL patch:
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)

Only missing thing is the lyx2lyx conversion routine - this will be done by Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Martin Vermeer
1ecd2189f2 Dissolve CharStyle initial implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20944 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 12:59:44 +00:00
Bo Peng
5d2cb28b0a Add lib/doc/Shortcuts.lyx and menu entry Help->Shortcuts. Please help complete this document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:55:31 +00:00
Uwe Stöhr
2492def7da provide wrap tables based on the current wrap float implementation
file format increased to 290


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:07:01 +00:00
Jürgen Spitzmüller
85f83a9df8 * lib/ui/stdmenus.inc:
- tag "Box" entry with [[Menu]] (bug 4196)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20321 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 14:19:23 +00:00
Martin Vermeer
ef743fc5d5 Add XML elements as a third flex inset variant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20105 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 14:45:17 +00:00
Bo Peng
cc6fe67c35 Embedding feature patch 3: basic gui support
*  lib/ui/stdmenus.inc: add menu item embedded files
	*  src/BufferParams.cpp: set default embedded status to false
	*  src/EmbeddedFiles.h|cpp: add a few member functions
	*  src/frontends/qt4/Dialogs.cpp: add embedding dialog
	*  src/frontends/qt4/GuiEmbeddedFiles.h|cpp: embedding dialog
	*  src/frontends/qt4/ui/EmbeddedFilesUi.ui: embedding dialog
	*  src/frontends/controllers/ControlEmbeddedFiles.h|cpp: embedding dialog control
	*  src/frontends/qt4/Makefile.am: build system update
	*  src/frontends/controllers/Makefile.am
	*  development/scons/scons_manifest.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:42:35 +00:00
Martin Vermeer
540f3564f0 Inset configurability: separate charstyle and custom insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19769 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 12:45:40 +00:00
Michael Schmitt
a6c9a208ca * lib/ui/stdmenus.inc: use Capital letters in menu entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 19:02:28 +00:00
Bo Peng
e27da75af1 Listings ui changes from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 21:18:21 +00:00
Bo Peng
95dbcd40f9 Enable File -> Revert when the file is externally modified, rename this menu item to File -> Revert to saved, and check if the .lyx file has been externally modified when a buffer is saved. (Bugs 3766 and 4114)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:46:22 +00:00
Richard Heck
a984321131 Introduce LFUN to save all modified files, and add menu entries.
Patch from Guillaume Pothier for 1.4.x adapted by me to current trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 15:34:02 +00:00
Richard Heck
2ac6d3e9c2 Add menu entries for Framed and Shaded notes, and re-arrange a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18698 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 14:10:13 +00:00
Jean-Marc Lasgouttes
24fb9c5214 * src/MenuBackend.cpp (expandBranches): when there is no branch, just
insert a no-op entry "No Branch in Document!". Makes the branch
	feature more discorevable
	(expandDocuments, expandFormats, expandFloatListInsert):
	(expandCharStyleInsert, expandToc, expandBranches): fix message
	when no document is open.

	* lib/ui/stdmenus.inc: the insert>branch menu does not need to be 
	optional.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:07:48 +00:00
Michael Schmitt
46690e6bb8 * lib/ui/stdmenues.inc: rename "Table Of Contents" to "Outline"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18518 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-26 12:41:39 +00:00
Edwin Leuven
630fe09637 - introduces toolbar_toggle lfun
- adds a "toggle math toolbar" and "toggle table toolbar" buttons to the main toolbar
 (i also moved "toggle toc" there)
- adds a "toggle math panels" button to the math toolbar
- reshuffles the Big Operators panel to avoid confusion with the sum icon on the math toolbar
- adds some icons

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 22:08:07 +00:00
Bo Peng
4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Jürgen Spitzmüller
699fd5a7b4 * src/lfuns.h:
* src/LyXAction.cpp:
* src/LyXFunc.cpp:
	- implement new LFUN_DIALOG_TOGGLE
	- remove obsolete LFUN_TOC_VIEW

* lib/ui/classic.ui:
* lib/ui/stdmenus.inc:
	- use dialog-toggle for toc and view-source

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:29:49 +00:00
Michael Schmitt
295eea310e replace term "Glossary" by "Nomenclature"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:21:00 +00:00
Edwin Leuven
2c0c3491d9 * remove math panel menu entry and allow auto toggling of panel toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17878 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 08:30:41 +00:00
Michael Schmitt
e28e0e941c * lib/ui/stdtoolbars.inc: group all delimiter buttons; strip obsolete "math" prefix
* lib/ui/stdmenues.inc: move math panel to the end of the submenu; strip obsolete
	"math" prefix (everything is math-related in this submenu)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:29:01 +00:00
Richard Heck
aa87b87bf9 Added menu entries for math delimiter and matix dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17770 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-10 22:04:08 +00:00
Bo Peng
6fc7d47a5f Restore old bookmark behaviors (stop using bookmark queue)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 03:41:55 +00:00
Michael Schmitt
cb6cacaa6a * ui/stdmenues.inc: add missing ellipsis for "glossary entry" menu entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 19:53:05 +00:00
Uwe Stöhr
74c4cede85 rename ExtendedInsets to Embedded Objects as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16959 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 00:05:50 +00:00
Michael Schmitt
b218ab82d4 * lib/ui/stdmenus.ui: add "Select All" to edit menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16954 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:16:47 +00:00
Michael Schmitt
ec4b87dd28 * lib/ui/stdmenus.inc: remove ellipsis (...) for Caption inset, because no dialog opens
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:01:35 +00:00
Abdelrazak Younes
500a5f959f The caption inset patch by Georg, Martin and myself.
* buffer.C: increase LyX format to 257.

* lyxtextclass.C: increase FORMAT format to 3.

* buffer_funcs.C: 
  - setCaptionLabels(): new recursive function
  - setCaptions(): new function
  - updateLabels(): call setCaptions() for each paragraph.

* InsetCaption:
  - add a virtual destructor
  - overload InsetText' getStatus() and wide().
  - setLabel(): only set the new private member label_.
  - metrics(): don't set label here and correct for title metrics.
  - draw(): don't set label here
  - latex(): fix optional argument.
  - plaintext(): implement!

* InsetText:
  - add a virtual destructor
  - add virtual to getStatus() and wide().

*  output_latex.[Ch]: move latexOptArgInsets() out of anon namespace.

* text3.C: enable LFUN_CAPTION_INSERT


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 13:23:21 +00:00
Michael Schmitt
aa1efab525 * lib/ui/stdmenus.inc: change "Figures, Tables, Floats, Notes, Boxes" to
"Special Insets"; the former menu entry is too lengthy


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 14:19:57 +00:00
Uwe Stöhr
a0936c4cf3 ExtendedInsets:
- remove two unneeded images
- some corrections
- use a proper menu entry name because "Insets" says nothing to the user

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-28 03:03:44 +00:00
Martin Vermeer
8f7b5e4952 * stdmenus.inc: change wording of "as Lines", "as Paragraphs"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16742 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 07:23:58 +00:00
Michael Schmitt
1f7a1257f1 * change LFUN file-insert-ascii to file-insert-plaintext
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 22:49:14 +00:00
Michael Schmitt
9c09f34da0 * lib/*: rename Extended-Insets to ExtendedInset
* development/scons/scons_manifest.py: add es_ExtendedInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 18:17:56 +00:00
Uwe Stöhr
f41eedd7ee - new documentation
- images used in the new documentation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-14 16:41:42 +00:00
Michael Schmitt
d3216ba624 * lib/ui/stdmenus.inc: use marginally better shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 23:17:44 +00:00
Michael Schmitt
904ccfa5bd * lib/ui/stdmenus.inc: remove "paste " from "paste selection as xxx"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-08 22:00:43 +00:00
Bo Peng
b7f4f88f2f lib/ui/stdmenus.inc: change 'Clipboard as xxx' to 'Plain Text as xxx'. I still think we should remove 'Selection as xxx'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 22:52:04 +00:00
Michael Schmitt
8c85719080 * lib/ui/stdmenus.inc:
* lib/ui/stdmenus.ui: rename file in order not to confuse users
* lib/ui/stdtoolbars.inc:
* lib/ui/stdtoolbars.ui: rename file in order not to confuse users

* development/scons/scons_manifest.py: 
* lib/doc/de_Customization.lyx:
* lib/Makefile.am:
* lib/ui/classic.ui:
* lib/ui/default.ui: adjust
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:42:15 +00:00