Commit Graph

114 Commits

Author SHA1 Message Date
Günter Milde
5fc431594f More fixes for #9897 (wrong inset-icon size in PDF)
Inset-icons are auto-scaled according to their width.
This is problematic, if converted from SVG
with the bounding box set to content (ignoring the page size)
and the content is not square.

OTOH, ignoring page size is done for good reasons - we usually want just
the drawing area when inserting an image into a document.

An invisible square with fixes this problem.

Some icons had spurious invisible elements outside the page -- leading
to too small results in the PDF. These were removed.
2016-05-29 17:55:43 -04:00
Guillaume Munch
2f17a9d029 Fix bindnasrepma.svgz
It's ampersand rotated 180 degrees, not its vertical mirror
2016-02-26 16:11:00 +00:00
Günter Milde
6b852435b8 Remove/Resize invisible elements in ert-insert and cases icons.
The SVG contained a spurious invisible square that led to wrong size of
the exported PDF with Inkscape.

There are more problematic icons, see #9897.
2015-12-15 08:30:25 +01:00
Enrico Forestieri
db363ab19f Remove unneeded png images.
Fixes #9857.
2015-12-07 19:14:44 +01:00
Enrico Forestieri
df4e13de06 Tweak some icons. 2015-04-12 12:59:19 +02:00
Enrico Forestieri
d9971802c2 Math Panels: add "Fonts" icons. 2015-04-11 23:02:25 +02:00
Enrico Forestieri
1e05adc800 Math Panels: revise the "Math spacings" svg icons. 2015-04-11 19:46:42 +02:00
Enrico Forestieri
ca58f113ff Math Panels: revise the "Miscellaneous (extended)" svg icons. 2015-04-11 16:53:10 +02:00
Enrico Forestieri
82a0ee59d6 Math Panels: revise the "Dots" and "Delimiters" svg icons. 2015-04-08 17:59:54 +02:00
Enrico Forestieri
1ecc9e325d Math Panels: revise the "Negative relations" svg icons. 2015-04-08 12:16:22 +02:00
Enrico Forestieri
8adb877198 Math Panels: revise the "Relations (extra)" svg icons. 2015-04-07 00:50:38 +02:00
Enrico Forestieri
d03a13d4cf Math Panels: revise the "Relations" svg icons. 2015-04-03 00:36:11 +02:00
Enrico Forestieri
6dff827909 Math Panels: revise the "Operators (extra)" svg icons.
Also small tweaks to some other icons.
2015-04-02 00:27:51 +02:00
Enrico Forestieri
498ca9f2bf Math Panels: revise the Operators svg icons 2015-03-31 01:15:41 +02:00
Enrico Forestieri
f191dc4961 Math Panels: revise the "Arrows" svg icons 2015-03-30 16:08:05 +02:00
Enrico Forestieri
32f5639fbc Math Panels: revise the "Frame decorations" svg icons 2015-03-25 15:21:42 +01:00
Enrico Forestieri
3c468a3eb8 Math panels: revise the big operators svg icons. 2015-03-24 21:23:03 +01:00
Enrico Forestieri
218876da92 Math Panels: revise the Greek set of svg icons 2015-03-22 18:23:04 +01:00
Enrico Forestieri
4a44dfc325 Math Panels: revise the miscellaneous set of svg icons
- Restore proportion between icons, such that, for example, \imath
  is not confused with a lower case 'l' or \textdegree with \circ
- Use real \mathbb and \mathcal TeX icons

I'll revise also the other sets in the Math Panels toolbar along
these lines. It is important to see whether a symbol has ascendents
or descendents or what is their relative size.
2015-03-21 15:33:54 +01:00
Juergen Spitzmueller
49df5ef93d SVG: text -> Path 2015-03-19 09:25:05 +01:00
Enrico Forestieri
3cd15806bd Revise svg icons for the math toolbar
- Use paths, not fonts. Have a look at the sqrt icon in the image attached
  here http://thread.gmane.org/gmane.editors.lyx.devel/154179/focus=154183
  to see what may happen when a font is not present on a given system.
- Make uniform the height of the parentheses.
- Move a couple of icons to the oxygen subdir (I was not sure it was Ok
  replacing them. If yes, they can be simply deleted).
2015-03-18 20:29:31 +01:00
Enrico Forestieri
3fb102fa8a Add last missing svg icons.
Also correctly rename an oxygen icon.
2015-03-15 02:50:17 +01:00
Juergen Spitzmueller
ddd0b327df Fix the oxygen math svg icon issues pointed out by Enrico 2015-03-14 16:21:10 +01:00
Enrico Forestieri
a9fb950845 Restore some inadvertently overwritten oxygen icons.
I did not notice that all icons in math/ are shared and in a0895046 I have
overwritten some of them. I am restoring them in the proper subdir.
Two of them, namely font.svgz and frac.svgz, give warnings that should
be addressed. Anyway, I see that these icons use fonts. They are better
substitued with paths (a menu entry in inkscape) because if the fonts
are missing on a system, the icons look different and, in general, they
may look ugly.
2015-03-14 15:58:32 +01:00
Enrico Forestieri
a089504663 Squash last icon warnings and improve rendering at default size. 2015-03-14 08:43:58 +01:00
Enrico Forestieri
a3f8554103 Move svg icons to proper place.
You have to manually delete the lib/images/svg directory as git
tracks only files.

There may be warnings on the terminal due to some faulty icons that have
to be found and corrected. Moreover, some of the icons are not rendered
too well at the default size. These ones should be properly tweaked.
Kudos to Jürgen for putting together such a large number of icons.
2015-03-13 01:29:37 +01:00
Georg Baum
5dc9568f8d Native support for \smash[t] and \smash[b]
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.
2014-05-27 22:13:58 +02:00
Uwe Stöhr
a780443338 stdtoolbars.inc: add icons for \xleftarrow.png
LyX supports \xleftarrow since years but an icon in the toolbar was missing
2014-02-19 23:42:40 +01:00
Enrico Forestieri
ea2ec54eb6 Was forgetting these two icons. 2013-10-06 13:45:48 +02:00
Enrico Forestieri
004472d3b6 Replace remaining autogenerated math icons. 2013-10-06 13:39:43 +02:00
Enrico Forestieri
1d47e3aa61 Restore original icons inadvertently replaced in a7182e42. 2013-09-29 23:12:42 +02:00
Enrico Forestieri
a7182e427f Replace autogenerated icons for the math toolbar
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.
2013-09-29 22:51:27 +02:00
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
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
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
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
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
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
Jürgen Spitzmüller
659b924052 * delete wrong image files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33177 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 10:16:29 +00:00
Uwe Stöhr
4322d35b15 fix r33152 - part 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33154 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 02:37:06 +00:00