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.
The stmaryrd package adds support for lots of math symbols, using a font
designed to accompany the computer modern fonts. The changes in detail:
- Fix generate_symbols_list.py to work with stmaryrd.sty. It loooks like it
was automatically translated from a perl version and never used.
- Generate the new symbols in lib/symbols using generate_symbols_list.py and
add some manual adjustments
- Generate stmary10.ttf by a simple ttf export from stmary10.sfd with fontforge
- Add license info for stmary10.ttf
- Create a test file with all symbols from stmaryrd.sty. Actually it would be
nice to have this for the other fonts as well.
- The mechanics: lyx2lyx, tex2lyx, font machinery etc.
With non-TeX fonts, you can select a 'Non-TeX Font Default' math font, which simply loads unicode-math without actually selecting a math font, this then uses the default math otf font, currently Latin Modern. Other fonts still need to be set manually in the preamble, via \setmathfont.
The implementation suppresses unneeded package requests from unicodesymbols, but the output still uses macros instead of full unicode (both is possible with unicode-math).
The whole thing is a proof of concept, and it needs to be tested. I have tested it with the math manual, which compiles and seems to display correctly if I remove some hardcoded package loadings. OTOH I have not much experience with math.
This addresses #7449 partly.
\IfFileExists does not search in texmf/fonts, so the \TestPackage test fails for font files. Add a new \TestFont check that adapts the font check from ltxcheck.tex.
This is needed for the minion2newtxmath test, since this package only consists of font files,
This addresses #6543 by adding an option to prevent fonts such as Palatino and Times to automatically adapt the math font (IOW it lets you load the text font only for a bunch of fonts where this is easily possible).
Furthermore it adds an interface to select a specific math font, which is defined in latexfonts. Currently, this is only euler (the only one I know), but if there are other math-only tex fonts, they can be added easily (but note that this changes the file format).
Non-TeX math fonts are not yet supported. Eventually, unicode-math support can use the existing UI, but this is not on my agenda.
xkeyval fixes the incompatibility between graphicx.sty and babel/turkish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39190 a592a061-630c-0410-9148-cb99ea01b6c8
If fontspec is not found, the "Use non-TeX fonts" checkbox is disabled, and the tooltip hints at installing the package.
Also add fontspec to LaTeXConfig.lyx, documenting that v2 of the package is needed for LuaTeX support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37567 a592a061-630c-0410-9148-cb99ea01b6c8
for formatted references. Fixes#2295, in so far as it makes it possible
to translate formatted references.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
We need to make sure the wasysym package is installed by adding a check to chkconfig.ltx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34671 a592a061-630c-0410-9148-cb99ea01b6c8
This is necessary to get the correct size of images created by dvipng. The problem is that InstantPreview generates always A4 size images for every equation when using standard MiKTeX 2.8. This makes InstantPreview unusable because the LyX file becomes unreadable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34437 a592a061-630c-0410-9148-cb99ea01b6c8
- fix the check for arabi
- add lithuanian, mongolian and turkmen
- LaTeXConfig.lyx: introduce new section about language packages
(I purposely did not add vntex (Vietnamese) because this would be another 10 MB to download for every LyX on Windows user. The other language packages are not larger than 120 kB.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34300 a592a061-630c-0410-9148-cb99ea01b6c8
- arabi (needed for Arabic documents; we also already check for the japanese package so there is no reason why not also check for arabi)
- hyphenat (needed by some document classes and languages like Hebrew to disable hyphenation)
Can also go to branch for LyX 1.6.7 or even 1.6.6 if you like.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34203 a592a061-630c-0410-9148-cb99ea01b6c8