Kornel Benko [Sun, 30 Dec 2012 18:33:20 +0000 (19:33 +0100)]
Added categories for style Standard, Title, Abstract, ShortTitle,
Author, FourAuthors, Affiliation, FourAffiliations, Acknowledgements,
Itemize, Enumerate, Seriate
to layouts, where they were missing. More to follow
Georg Baum [Fri, 28 Dec 2012 18:51:28 +0000 (19:51 +0100)]
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.
Georg Baum [Fri, 28 Dec 2012 13:29:46 +0000 (14:29 +0100)]
Fix bug #8422.
Both problems where caused by the fact that tex2lyx did not handle
natbib/jurabib citations correctly if natbib/jurabib was loaded by the
document class. Therefore it tried to parse the standard \cite syntax, and
did not recognize \citet and \citep.
Kornel Benko [Fri, 28 Dec 2012 15:22:25 +0000 (16:22 +0100)]
1.) Add format to CJK.lyx.lyx(missed in previous commit)
2.) Add lyx2lyx test to runtests.py. This is done with extra parameter only,
and does not change the behaviour without this parameter.
Georg Baum [Tue, 18 Dec 2012 21:36:34 +0000 (22:36 +0100)]
Remove duplicate symbols
There were found with -dbg mathed ans entering a math inset.
I kept the AMS versions, except leadsto, which is only an approximation in AMS.
hbar was simply defined twice with identical definitions.
Georg Baum [Tue, 18 Dec 2012 21:20:32 +0000 (22:20 +0100)]
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.
The \frametitle command is less convenient to use than the \frame argument, but it provides more options (overlay/action and short title). We thus provide this additionally to the option, like beamer itself does.
This has a list-like structure (with \onslide item commands). The previous implementation was rather useless, since it required lots of ERT. Since the new implementation is so different, we use ERT for conersion/reversion.
Kornel Benko [Tue, 18 Dec 2012 09:49:21 +0000 (10:49 +0100)]
Cmake build:
New target: git-archive. It uses the archive comman of git to create
the complete source package.
This Target is only available if
1.) there is a git command on this host
2.) the lyx-source is under git control
Georg Baum [Sun, 16 Dec 2012 14:49:42 +0000 (15:49 +0100)]
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.
Georg Baum [Sun, 16 Dec 2012 13:44:49 +0000 (14:44 +0100)]
Fix errors found by generate_symbols_images.py
llltr is a copy-paste error, the correct name is llless.
astrosun needs the wasysym package (the automatism does not kick in because
the font is cmsy, not wasy).
Georg Baum [Sat, 15 Dec 2012 12:02:40 +0000 (13:02 +0100)]
Add support for stmaryrd.sty (bug #8434)
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.
Georg Baum [Sat, 15 Dec 2012 10:21:01 +0000 (11:21 +0100)]
Move some glyphs up by 800 units.
Without this, qt will enlarge some glyphs out of proportion (no, I don't
understand why it does this, and I found out by accident how to avoid it).
Still, the vertical alignment is only roughly correct (also for the untouched
glyphs). If somebody cares some fine adjustment would be nice.
Fix a crash in PreviewLoader for command-line xhtml output
While exporting from the command-line, theApp() doesn't exist.
The colors foreground and background are only needed when
previewing, so ignore this during buffer export.
This replaces the fix in 4285b0b3 (Tommaso Cucinotta, 10-12-2012).
In this case, we do not need to pull in Qt dependencies.
This patch puts all projects into subfolders (at least for MSVS). In this
way, there is a better overview (especially if the number of test projects
will be increasing).
Georg Baum [Fri, 14 Dec 2012 21:30:47 +0000 (22:30 +0100)]
Re-encode stmary10 font
Use a 1:1 unicode "encoding" as for all other math symbol fonts.
This is not correct for using the font outside of LyX, but in LyX we misuse
the first 255 code points for symbol fonts (see code points of existing fonts
in lib/symbols). These code points are identical with the postscript versions
of the fonts, so if qt was able to use postscript fonts, they could be used
instead of the truetype versions.
The character varcurlywedge is duplicated at position 254, since qt refuses to
display a font at the tab position (9).
In addition, get rid of the broken private directory which is not needed for
generating ttf.
Georg Baum [Fri, 14 Dec 2012 21:16:06 +0000 (22:16 +0100)]
Import stmary10 front from stmary10.pfb
This is the result of loading
http://mirrors.ctan.org/fonts/stmaryrd/ps-type1/hoekwater/stmary10.pfb
into fontforge and saving in fontforge format. It will be needed to fix
bug #8434. I am saving it in fontforge format since a few modifications are
needed before a working .ttf can be exported.
Kornel Benko [Thu, 13 Dec 2012 11:38:38 +0000 (12:38 +0100)]
Cmake build autotests:
Split export test to test on each format and each input file
One can still check all exports with one commend
ctest -R "export.*"