These are automatically generated via the generate_symbols_svg script. Some were modified manually afterwards.
These certainly need some manual care, and a number of icons are missing (cannot be created automatically). But it is a start.
This is a follow-up of bug #8967. The implementation is self-explaining, the
only part which needs a comment is lyx2lyx: Since a 100% correct solution is
not possible, it has been decided not to switch amsmath off in the forward
conversion if no other ams command than \smash[t] and \smash[b] is used, but
to consider it a bug that older versions do not load amsmath automatically for
these commands. In the backward direction it is easy to keep the document
compilable, so just do that.
The autogenerated icons are in most cases ugly, do not conform to the
style of the other icons, and do not respect relative dimensions and
positions. The math icons have a vertical dimension of 19 pixel, defining
a grid that has to be respected for obtaining correct alignment.
The only autogenerated icons that remain are those of the Misc (extra)
toolbar. I plan to also replace them in the near future.
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.
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.
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.
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.
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.
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.
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.
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.
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
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
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
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
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
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
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
- 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
(I accidentally submitted the image in the previous commit with uppercase letter in its name.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33153 a592a061-630c-0410-9148-cb99ea01b6c8
Menu voice shows only, does not toggle. This allows for highlighting the keyboard short-cut in the menu, where the user expects to find it.
Toggling of dialog is instead shown in a toggling button on the toolbar (advanced search button besides the standard one). Icon is just draft.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31445 a592a061-630c-0410-9148-cb99ea01b6c8
- add support for \ddddot
- add partial support for inverse diagonal dots (i. e. they are recognized and
displayed correctly, but the needed package is not loaded, because it would
need an off/auto/on setting as amsmath, and that calls for a general solution)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30162 a592a061-630c-0410-9148-cb99ea01b6c8
This fixes our documentation file when they are viewed as DVI.
Fixes#5945.
Please test converting the Tutorial to DVI and the math toolbar buttons on all platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29715 a592a061-630c-0410-9148-cb99ea01b6c8
They should have been part of the initial commit, but I overlooked them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28355 a592a061-630c-0410-9148-cb99ea01b6c8
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
- rename to tabular-feature_m-[v]align-*.png:
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28280 a592a061-630c-0410-9148-cb99ea01b6c8