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
82b7284a2a
stdtoolbars.inc: move the placeholders to the math spacings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21773 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:15:55 +00:00
Uwe Stöhr
4eee7e4760
stdtoolbars.inc: remove double entries that were introduced by r21447
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21766 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 20:22:02 +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
Uwe Stöhr
c888185ffc
stdtoolbars.inc: - register \tbinom and \dbinom
...
- clarify the fraction submenu entries
- register placeholders
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21447 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 19:28:37 +00:00
Uwe Stöhr
d4a31ce075
stdtoolbars.inc: - register \tbinom and \dbinom
...
- clarify the fraction submenu entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21422 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-04 19:09:24 +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
Martin Vermeer
c56fa287b6
Final fix to get unit with optional arg (value) working
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 12:43:40 +00:00
Martin Vermeer
f390780a35
Units corrections, all Georg's noticed problems
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 15:04:58 +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
0ea6f2c7f1
Support for units and fractional units with values
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 16:39:51 +00:00
Martin Vermeer
967c30e354
Partial support for units
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 08:15:33 +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
André Pönitz
f82c3e8e65
xpm -> png
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:09:12 +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
Edwin Leuven
e752a9eeef
* remove fraction menu (all entries are already on main math toolbar)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 09:04:26 +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
Edwin Leuven
9831f407f1
add varrho, patch from hzluo <memcache@gmail.com>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-07 12:45:11 +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
79ef29f3eb
* src/frontends/qt4/Dialogs.cpp:
...
* lib/ui/stdtoolbars.inc:
* lib/ui/classic.ui: replace "TOC" by "Outline"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18554 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-29 07:38:38 +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
Jürgen Spitzmüller
996ff26f3a
* lib/ui/default.ui:
...
- view toolbar to the top.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-21 14:20:20 +00:00
Bernhard Roider
6de5d0ad58
fix bug 2453
...
change of behavior of rotate-tabular and rotate-cell toolbar buttons such that they toggle the rotation. Therefore a toggle feature is added to the tabular features. Moreover after the patch the state of the set-rotate-cell and toggle-rotate-cell buttons is on only if all selected cells in the table are rotated. If not all selected cells are rotated then the toggle button rotates all selected cells.
The toggle-icons are copied from the set-icons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18280 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 20:59:21 +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
574b28db65
Fix bug 3508:
...
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
- display tooltip as icon text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 07:26:51 +00:00
Edwin Leuven
c1a68504c8
* replace old toc-view with new dialog-toggle
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18191 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 21:07:39 +00:00
Michael Schmitt
6f85a43cae
* lib/ui/stdtoolbar.inc: "Math Spacing" => "Math Spacings" (use plural form consistently)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 09:57:45 +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
bcec0b3dc9
* redo some frame decoration icons and also make them consistent in size
...
* reorder frame dec icons in toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17978 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 09:06:32 +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
Edwin Leuven
254a850597
* remove spellcheck button from extra toolbar (since it is main one)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-20 12:32:42 +00:00
Edwin Leuven
22fb43fd8f
* removal of math panel
...
some code is moved from QMath
to QDelimiterDialog and QMathMatrixDialog
for the rest pretty mechanical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 21:42:42 +00:00