Commit Graph

216 Commits

Author SHA1 Message Date
Georg Baum
6e2d8cf10a Fix sideset keyboard short cuts
\sideset1 can't be entered via keyboard, so I renamed the commands.
2013-02-26 21:38:27 +01:00
Georg Baum
efaae780db Fix regression of 5261ae6a2
Somehow I overlooked that \sideset also supports nonscript arguments for
left and right. This is now fixed, although I do not like the toolbar names.
If somebody knows something better, please improve.
2013-02-24 21:23:50 +01:00
Georg Baum
5261ae6a29 Fix bug #1424: Native \sideset inset
The toolbar image is the one Uwe attached to the bug report. Note that
\sideset works only for operators like \sum in the nucleus. LyX allows
any content, so you might get a LaTeX error. I don't know how to prevent
wrong content in the nucleus.
2013-02-17 11:08:58 +01:00
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
Enrico Forestieri
1d5eec8744 Restore "good looking" arrows.
Probably, they were overwritten during recent addition of math symbols.
2013-01-20 17:40:48 +01:00
Georg Baum
aa077e94cc Add forgotten image 2013-01-13 21:41:43 +01:00
Georg Baum
d2b49e54b9 Add remaining images for math symbol toolbar
Most images are generated by development/tools/generate_symbols_images.py, but
some were drawn manually. Now there is no image missing from the ones the
script can generate.
2013-01-10 21:22:55 +01:00
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Georg Baum
23b74a9111 Add toolbar images for stmaryrd.sty symbols
These are all generated by development/tools/generate_symbols_images.py, the
only manual adjustments were renamings due to case sensitive file systems on
windows.
2012-12-28 13:25:41 +01:00
Georg Baum
01a6d4252b Full delimiter support for llbracket and rrbracket
stmaryrd.sty sets these symbols up as variable size math delimiters (i.e.
they may be used with \left and \right). Now LyX knows about that and offers
them in the delimiter dialog as well as single symbols.
2012-12-16 15:49:42 +01:00
Jean-Marc Lasgouttes
4f6c0b5202 Fix # 8414: Use the noweb module instead of literate-* article layouts
Now that we have module support for literate programming, it is possible to do a noweb cleanup. This is basically a patch from Kayvan Sylvan:

- get rid of literate-xxx classes
- rename Scrap to Chunk, since this is the name noweb doc uses (Scrap is from nuweb)
- update lyx file format and add lyx2lyx support for gettting rid of literate-xxx classes
- update documentation

On the top of it, update tex2lyx to
- avoid creating files with literate-xxx class
- fix conflict between parsing << as a quote and parsing it as a Chunk
- create Chunk layouts instead of Scrap ones.
2012-11-28 14:11:47 +01:00
Pavel Sanda
e9a28c8000 Correct naming for view-split. 2012-09-29 17:33:46 +02:00
Pavel Sanda
a72b75c50c Proper naming for tab-group-close. 2012-09-29 17:16:52 +02:00
Juergen Spitzmueller
ee1fc9130a Add support for some basic non-unicoded IPA macros
We now support everything on the IPA chart via the toolbar
2012-08-23 17:42:53 +02:00
Juergen Spitzmueller
3855f5c5ce The SVG sources of the IPA icons 2012-08-21 16:28:29 +02:00
Juergen Spitzmueller
b6a63bfce8 An IPA toolbar
Translators: sorry ;-)
2012-08-21 14:56:34 +02:00
Uwe Stöhr
322a1c1740 add icon files for the \cancel support in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40741 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:41:23 +00:00
Georg Baum
187790135b Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
Also improve lyx2lyx roundtrip for automatically loaded packages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40589 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-08 12:34:12 +00:00
Pavel Sanda
a58cae2ada Forgot the icon itself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40419 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:49:43 +00:00
Vincent van Ravesteijn
519f74ab61 Add a search box to the Document Settings and Preferences dialog.
Patch from venmo00.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38959 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-05 17:54:27 +00:00
Georg Baum
a3a80a4e17 Forgot this (why did this file not show up in svn diff?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38645 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 20:39:22 +00:00
Georg Baum
32f6c066cc Partial fox for bug #6622: Display \utilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38633 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:06:33 +00:00
Enrico Forestieri
009610a655 Better promote/demote icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38231 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 17:39:22 +00:00
Enrico Forestieri
348a6cff8d Correct image background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38214 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 21:46:11 +00:00
Enrico Forestieri
c45746babb Replace the ugly export/view/update icons for postscript with other ones
based on a well known metaphor (postscript<->ghostscript).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 15:41:12 +00:00
Enrico Forestieri
cbe10b0814 After some thought, use the same icons as libreoffice for depth increment
and decrement. Also slightly improve the layout description and paragraph
icons (even a pixel can make a difference :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38211 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 15:19:49 +00:00
Enrico Forestieri
b413c58e78 Make the libreoffice icons the default set, add some missing icons,
and improve the appearance of some other ones.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 17:51:12 +00:00
Enrico Forestieri
7b3762cd69 Use the same metaphor as libreoffice for the outline icon and improve
the math and table toolbar icons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38180 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 17:00:48 +00:00
Enrico Forestieri
1778f496e6 Discriminate better between list and description icons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38179 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 15:26:07 +00:00
Enrico Forestieri
89b4af1653 The original icon set was thought for a normal size of 20x20.
New icon sets declare the normal size through an iconsize.png file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38135 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 21:07:46 +00:00
Enrico Forestieri
3c821fcd5e Replace duplicate icon with correct one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38090 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 05:53:21 +00:00
Jürgen Spitzmüller
96abaea00e add some missing oxygen icons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38074 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-27 15:30:11 +00:00
Enrico Forestieri
a9d65d0a4c There are two competing icon sets and it was still not decided what the
default set will be. So, restore the status quo and make the oxygen icons
one of the alternatives to the default set, which still is the old one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38040 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 02:34:27 +00:00
Enrico Forestieri
07bfc73469 Add libreoffice based icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38039 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 02:21:17 +00:00
Joost Verburg
a209de9bb9 new icons and toolbar design
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38035 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-24 23:05:03 +00:00
Pavel Sanda
76c588d532 Fix #7311. And all my fun is gone...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37820 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 23:49:39 +00:00
Joost Verburg
0cfbcf6d57 increase normal toolbar icon size to 22x22 pixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37728 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-18 13:12:18 +00:00
Edwin Leuven
edf0e85f4b add busy spinner to status bar when threads are running in the background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37304 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-23 09:17:52 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Georg Baum
969529b25b 1) Add missing LuaTeX icons
2) Make pdf icons distinguishable.
   This is useful for users like me who want them directly on the toolbar
   without the indirection through the *-others popups.
3) Apply the fixes of r29715 to buffer-export_pdf2.png


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36555 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 16:40:46 +00:00
Pavel Sanda
a0c7b9b786 The problem with windows is that it does not discriminate case sensitivity
which breaks on other archs.
Uwe, please check it still works for you.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:07:42 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Georg Baum
7edd656f21 Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun:
inset-insert simply swallows the selection, while box-insert, note-insert etc.
put the selection inside the new inset.
As a side effect the toolbar icons get better names, as requested by Uwe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:09:08 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Edwin Leuven
0ebe0ff37e add support for decimal alignment in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 07:44:44 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +00:00
Pavel Sanda
56e0928eb8 Revision info into toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 05:40:39 +00:00
Pavel Sanda
ce27e0ced0 Fingerpainting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:46 +00:00
Pavel Sanda
6271278749 Icons for VCS comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:40 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00