Commit Graph

2579 Commits

Author SHA1 Message Date
Georg Baum
c10044ddc0 Add consistency checks.
development/tools/generate_symbols_images.py now checks for each symbol in
lib/symbols whether its image is listed in lib/Makefile.am and whether it has
a toolbar entry in lib/ui/stdtoolbars.inc.
2013-01-08 21:51:09 +01:00
Scott Kostyshak
2f14b329b3 Add an autotest for a trunk regression (#8482)
The regression was fixed at [f164ffd0/lyxgit].
2013-01-05 04:44:14 -05:00
Scott Kostyshak
3c9686ee35 Shave 3 seconds off an autotest
'-dbg any' is not needed.
2013-01-05 04:39:49 -05:00
Kornel Benko
9481d4182e autotests: Enable the suffixed lyx to run the test too.
(Hard coded 'lyx' replaced with real lyx-exe-file-name)
2013-01-05 10:07:37 +01:00
Uwe Stöhr
5a3a071fc3 installer: support emergency releases of LyX 2013-01-03 02:46:48 +01:00
Uwe Stöhr
93a61eea24 installer: 2 fixes
- LaTeX.nsh: assure that if MiKTeX is installed for all users also the missing packages will be installed during the configuration for all users
- configure.nsh: run configure.py twice to assure that really all missing packages are checked/installed
2012-12-31 21:17:01 +01:00
Uwe Stöhr
21fab2cb98 installer: initialize a variable 2012-12-31 19:22:19 +01:00
Uwe Stöhr
8f2c474234 Merge branch 'master' of git.lyx.org:lyx 2012-12-31 18:35:02 +01:00
Uwe Stöhr
b8dbaab915 installer: a comment format fix 2012-12-31 18:34:49 +01:00
Georg Baum
a98f7ad02d Fine tune image generation 2012-12-31 18:22:05 +01:00
Uwe Stöhr
22cfcab074 installer: various fixed for immediate release
- LaTeX.nsh: fix bug that installer stopped working if LyX was installed the first time on a computer
- init.nsh:
 - fix failing installation of Slovakian spellcheck dictionary
 - expand list of available dictionaries as requested by users
- dictionaries.nsh: prevent case that the installer could run an infinite loop if the installation of dictionaries was interrupted
- settings.nsh: use a HTTP repository for MiKTeX instead of FTP because many companies deny FTP access by default in their firewalls
2012-12-31 17:28:50 +01:00
Juergen Spitzmueller
846dd9b995 Introduce new beamer frame layouts
The old layouts are still there (marked as deprecated). The new ones are more or less correctly reverted (polishment required), but the old ones not yet converted to the new. Once this is done, a further file format change should be made.
2012-12-31 13:00:46 +01:00
Juergen Spitzmueller
c246076ed5 Fix the 'caption inset mess' (bug #4647) 2012-12-30 18:29:02 +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
Juergen Spitzmueller
78cd88f5a3 Proper support for memoir epigraph (bug #8151) 2012-12-28 12:32:59 +01:00
Juergen Spitzmueller
483b99193f Support for beamer \frametitle
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.
2012-12-22 16:28:43 +01:00
Juergen Spitzmueller
4f36061811 Proper support for beamer overprint environment
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.

The lyx2lyx routines are not yet perfect, though.
2012-12-19 19:33:39 +01:00
Vincent van Ravesteijn
1b3871b302 Add custom target to run tests
This target can depend on the individual test projects and this makes sure
that the test projects are build before running the tests.
2012-12-17 22:26:14 +01:00
Georg Baum
5d45be0f93 Add missing FORMAT entry (thanks, Jürgen) 2012-12-16 14:48:27 +01:00
Georg Baum
8838648858 Add script for automatic toolbar image creation.
Manually created toolbar images are needed in many cases, but for simple
symbols automatically generated ones are better than nothing.
2012-12-16 14:44:18 +01:00
Georg Baum
f67cf6f4bb 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.
2012-12-15 13:10:31 +01:00
Tommaso Cucinotta
073561ca63 Allow for keeping succesful tests output directories if the V env variable is non-null. 2012-12-15 12:07:31 +00:00
Kornel Benko
0b82548b5e Cmake build autotests:
Correct the environment MAX_LOOP -> MAX_LOOPS
2012-12-15 12:58:31 +01:00
Vincent van Ravesteijn
0cd8c03d17 CMake: Put projects into subdirs
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).
2012-12-15 11:02:06 +01:00
Kornel Benko
892e237fe1 Cmake build: Testing
Make this all more the cmake way
2012-12-15 00:15:59 +01:00
Kornel Benko
81500fc99b Cmake build:
Move definitions of target ${_lyx} and ${_tex2lyx} to top-most directory,
to make them overall available
2012-12-14 12:23:17 +01:00
Kornel Benko
96dd1363a2 Cmake build: all tests
1.) Rename tests to show their grouping
2.) Adapt the roundtrip tests to new lyx-format
2012-12-13 15:35:04 +01:00
Kornel Benko
1f93b0805e 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.*"
2012-12-13 12:38:38 +01:00
Tommaso Cucinotta
610145bb5a Fixed wmctrl invocation copying keytest.pl behavior. 2012-12-12 19:23:05 +00:00
Kornel Benko
4182205ca8 Cmake build: autotests
Make the export test available to all, since it is independent of X11
2012-12-12 18:23:25 +01:00
Kornel Benko
b436a03b34 Cmake build: autotests
Adapt to use local .gmo files
2012-12-12 14:54:38 +01:00
Kornel Benko
57ca9ee073 Cmake build: autotests
1.) Filenames for export changed
2.) Usage of wmctrl
3.) More temporary file to remove
2012-12-11 18:59:05 +01:00
Kornel Benko
f02f671dd0 Cmake build, autotests
Removed if no X11.
Because X11 is needed for xvkbd but not available on some platforms (even if UNIX)
2012-12-11 16:00:59 +01:00
Kornel Benko
57b04ac7f4 Cmake build: First try to use autotests.
Many test are not running, but if changed the '-dbg xxx' to '-dbg any'
then all of sudden they pass ...
(The buffered output of lyx is often disrupted too early with 'kill -9',
so the expected data are not available for the appropriate test)
2012-12-11 15:17:04 +01:00
Tommaso Cucinotta
aad1f4ce78 Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in addition to LANG one. 2012-12-09 20:38:53 +00:00
Juergen Spitzmueller
d073cfb458 Support for beamer block arguments (#3280) 2012-12-09 17:19:21 +01:00
Juergen Spitzmueller
30b53ba4a0 beamer revision, part 1: support for overlay arguments 2012-12-09 11:04:56 +01:00
Juergen Spitzmueller
a84a98b545 Also add support for URW Garamond math fonts (via newtx) 2012-12-04 12:55:47 +01:00
Juergen Spitzmueller
52c2fb81e9 Support for the URW Garamond LaTeX fonts 2012-12-04 12:14:26 +01:00
Uwe Stöhr
0c05189de1 installer: updated translation from Jim 2012-12-02 21:26:12 +01:00
Juergen Spitzmueller
1500e44cba Support for \item arguments 2012-11-29 15:34:20 +01:00
Uwe Stöhr
662a8907eb FORMAT: add missing description of change 447 2012-11-28 22:38:49 +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
Uwe Stöhr
2a36a150b9 installer: update the Makefile.am
- add missing files and remove the discontinued AltInstaller
2012-11-26 22:40:38 +01:00
Uwe Stöhr
dc43178398 installer: new translation from Iñaki 2012-11-26 22:32:14 +01:00
Uwe Stöhr
7a7fe95f33 installer: translations by Szőke 2012-11-25 01:12:56 +01:00
Juergen Spitzmueller
99f84aab95 Merge remote-tracking branch 'origin/master' into features/latexargs 2012-11-23 09:11:55 +01:00
Uwe Stöhr
e7e015d662 installer: Indonesian translation by Waluyo 2012-11-23 00:27:49 +01:00
Uwe Stöhr
1c9e857ff8 installer: full support for TeXLive
- TeXLive 2012 is recognized, used and configured if already installed
- fix 2 installer messages
2012-11-22 23:35:59 +01:00
Uwe Stöhr
be03816e9e installer: some simplifications 2012-11-22 20:17:45 +01:00