Commit Graph

2622 Commits

Author SHA1 Message Date
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
Uwe Stöhr
7af24a5c15 installer: dictionary update
- update file sizes for Slovenian, Scottish and Swedish
- fix 2 typos
2012-11-21 23:48:33 +01:00
Uwe Stöhr
52af78aa0c pdfview: re-add some code that might be useful in the future 2012-11-20 21:58:44 +01:00
Uwe Stöhr
c67419ffbb installer: remove unnecessary check for Adobe Reader/Acrobat
This is already done by the program pdfview every time it is called. This additionally fixes the bug that viewing PDF files could fail if Acrobat was not the default PDF viewer of the system while LyX was installed, but became later the default PDF viewer.
2012-11-20 21:53:35 +01:00
Juergen Spitzmueller
3b1a026a93 Merge branch 'master' into features/latexargs 2012-11-20 09:52:38 +01:00
Uwe Stöhr
2036d88488 installer: updated Polish translation my Michał 2012-11-20 01:12:35 +01:00
Uwe Stöhr
bd504c09de LyX for Windows: update pdfview for Acrobat XI and fix longstanding bug
- to be able to support Adobe Reader/Acrobat XI I had to use new binaries for opening/closing PDFs. That way I found the solution for a long standing and super annoying PDF viewing bug (not 100% perfect but works for more than 95% of the cases, while formerly the view failed for all cases where LaTeX run more than once when updating a PDF view)
2012-11-20 01:07:08 +01:00
Juergen Spitzmueller
49b738bdfd Some documentation 2012-11-19 18:44:59 +01:00
Uwe Stöhr
128a274e37 rename a folder ("informations" is invalid English) 2012-11-18 01:46:54 +01:00
Uwe Stöhr
d9b6c71416 installer: update structure for new installer 2012-11-18 01:46:02 +01:00
Uwe Stöhr
dd64d41595 AltInstaller: remove this old installer
We can now get rid of this for master. I would like to keep it in branch as archive.
2012-11-18 00:31:37 +01:00
Uwe Stöhr
8b85ff4da0 installer: transfer some info from AltInstaller 2012-11-18 00:29:52 +01:00
Uwe Stöhr
8fc88ecf1d installer: updated translations
- Norwegian translation by Ingar
- Ukrainian translation by Yuri
- add some author information
2012-11-18 00:25:29 +01:00
Uwe Stöhr
27bfde3fbe installer: updated Slovak translation by Kornel 2012-11-17 21:22:50 +01:00
Uwe Stöhr
2760933bac installer: updated Japanese translation by Koji 2012-11-16 23:57:26 +01:00
Uwe Stöhr
af6d19176c installer: fix 2 minor bugs
- correct required space for German thesaurus
- fix display problem of EPS and PDF images for a certain installation constellation
2012-11-16 01:21:47 +01:00
Uwe Stöhr
6c87c3626b installer: some further updates
- updated translations
- better check if MiKTeX was installed without admin privileges
- remove support for the outdated MiKTeX 2.7
2012-11-15 01:37:59 +01:00
Uwe Stöhr
fac3217c46 installer: fix infinite loop (fixes bug #8417) 2012-11-15 01:24:52 +01:00
Uwe Stöhr
4dd05e1f35 installer: partyl revert last commit
- my changes were accidentally pushed before I even finished to write the commit message, sorry
2012-11-14 23:32:20 +01:00
Uwe Stöhr
856320f8eb installer: 2 bugbixes
- avoid doubled semicolon in LaTeX editor path list
- correct path to the JabRef installation folder in LyX's PATH
- updated to JabRef 2.8.1
- rename the installer executables from LyX-205-x-Bundle.exe
2012-11-14 23:27:49 +01:00
Uwe Stöhr
2de7f0eeaf installer: format fix in changelog 2012-11-13 01:00:29 +01:00
Uwe Stöhr
7199270619 installer: fix 2 issues introduced in last commit 2012-11-13 00:37:15 +01:00
Uwe Stöhr
05e05f55be installer: update languages file
the installer is hopefully now really finished
2012-11-13 00:29:50 +01:00
Uwe Stöhr
4a3f80fe05 installer: uninstall fixes
- fix uninstallation of Metafile2EPS pinter
- fix un/installation of JabRef if the bundle version is executed without admin privileges
- some whitespace fixes
2012-11-12 01:31:00 +01:00
Uwe Stöhr
290efe6190 installer: bugfixes, code simplification and documentation
- dictionaries.nsh: code documentation and simplification
- lyx.nsi: comment out currently unused code
- init.nsh: some corrections and fix bug that info that JabRef and MiKTeX were installed together with LyX was deleted before the uninstaller was really run
- LaTeX.nsh: documentation and fix a bug (for an unknown reason SHCTX can be used to read and delte but not to write in the registry)
- gui.nsh: enable descriptions
- detection: move dictionary code to dictionaries
2012-11-11 18:07:55 +01:00
Uwe Stöhr
ea7cf4f5eb installer: some registry and detection fixes
- detection.nsh:
  - fixed detection of the LaTeX source file editors
  - removed support for obsolete LaTeX source file editors

- init.nsh:
  - don't allow to install an older LyX version over a newer one
  - support dictionaries for new languages that will be supported by LyX 2.1

- remove registry entries of current LyX version when installing a newer version over it
2012-11-11 07:12:43 +01:00
Uwe Stöhr
45b4bd1f0c installer: further work on dictionary handling and bugfixes
- remove the error-prone method of finding dictionaries by renaming some
- add new dictionaries for future LyX 2.1 (more to come)
- update and correct some dictionary sizes
- fix detection of the possible 64bit programs jedit, Gimp, GhostScript and GSview
- remove detection of old Vim version
2012-11-10 22:08:43 +01:00
Uwe Stöhr
e447cdbd6b installer: clarify a message
It is possible to install a newer lyX over an existing older LyX installation, but we cannot allow to install over the same lyX version. Therefore output the version number if this error message is shown
2012-11-10 07:21:00 +01:00
Uwe Stöhr
dab1b4bbc0 installer: remove special handling of WMF converter
metafile2eps is sine a while a real Windows printer therefore the former handling for the old program can go
2012-11-10 07:09:20 +01:00
Uwe Stöhr
eac5840040 installer: updates to dictionary handling
- settings.nsh: update to LyX 2.0.5
- thesaurus.nsh:
  - don't download already existing dictionaries when installing over an existing LyX installation
  - the list of available dictionaries is 120
- detection:
  - detect existing dictionaries
  - fix detection of Gimp and Photoshop
- init.nsh: detect existing dictionaries and modify the list of available dictionaries accordingly in the installer sections
2012-11-10 07:05:19 +01:00
Pavel Sanda
f6a0356a5f * tools/lyx-fedora update from Kayvan. 2012-11-09 10:59:04 +01:00
Richard Heck
3f4b4d7676 Add lyx-fedora script, which builds a LyX RPM from the git sources
on Fedora.
2012-11-03 22:13:36 -04:00
Richard Heck
d49a4e5c5e Updates to lyx-build script. 2012-11-03 22:11:05 -04:00
Kornel Benko
d91d6e3343 Cmake build:
Cleanup the use of path-variables
2012-11-02 13:33:22 +01:00
Kornel Benko
7ede020a02 Cmake build:
1.) Cleanup the use of path-variables
2.) New directory for cmake-scripts which can be called
    at build-time
2012-11-02 13:25:04 +01:00
Kornel Benko
854b168d17 Cmake build:
Correct dependencies for version-info also at build-time
(not only at configure time)
2012-11-01 13:00:19 +01:00
Kornel Benko
78492b276d Cmake build:
Use message(FATAL_ERROR ...) to indicate failed call to a cmake-script
(like "exit -1;" in sh)
2012-10-31 10:33:02 +01:00
Kornel Benko
1b65a03c13 Cmake build: cleanup 2012-10-25 11:19:09 +02:00
Kornel Benko
d1ca207e94 Cmake build:
Next try to create Resources.qrc on the fly.
This time using a cmake-script instead of trying to rebuild the cache
2012-10-25 10:45:28 +02:00
Kornel Benko
d854ded56e Cmake build:
Do not recreate Resources.qrc at build-time for WIN32.
(For some yet unknown reason it does not work)
2012-10-24 10:24:59 +02:00
Kornel Benko
2626821ee2 Cmake build:
Modifications needed to work also if the path to build-dir
contains spaces. (Tested on linux)
2012-10-23 13:23:07 +02:00
Tommaso Cucinotta
0e81930597 Fixed bug in escape sequence, showing up with ignore format off (addressing #8380). 2012-10-22 01:05:29 +01:00
Kornel Benko
485a20bee0 Merge branch 'master' of git.lyx.org:lyx 2012-10-21 19:20:04 +02:00
Kornel Benko
e94e9e415f Cmake build:
Recreate Resources.qrc at build-time if needed. (E.g. after `make clean')
2012-10-21 19:16:37 +02:00
Juergen Spitzmueller
db1c1389e3 Add support for the URW Classico (Optima) LaTeX font
Patch by Liviu Andronic
2012-10-21 18:55:24 +02:00
Kornel Benko
631759f111 Extended list of cmake-files 2012-10-15 23:27:36 +02:00
Kornel Benko
f2b2ed43ec Merge branch 'master' of git.lyx.org:lyx 2012-10-15 22:53:25 +02:00
Stephan Witt
e72c56dc20 fix bundle executable name 2012-10-15 22:52:12 +02:00
Kornel Benko
419f32df91 Cmake build:
Creating LYX_DATE dynamically at configure-time caused unwanted recompilation
of the whole directories (src + src/tex2lyx) because all the relevant objects
were dependent of a common file (flags.make in case of "Unix makefiles") which changed
accordingly.
There is now a new include (lyx_date.h, with only one definition)

Nothing changes for automake, since in this case LYX_DATE is defined in config.h
2012-10-15 22:50:39 +02:00
Kornel Benko
24206e2c67 Cmake build:
Partially revert 75d63ad1f2
It caused recompiling everything at each commit.
Now use definition of LYX_DATE only when compiling version.cpp
2012-10-15 13:16:08 +02:00
Kornel Benko
20359572ed Patch from Benjamin Piwowarski
Just some comments on the patch:

- The executable name has to match the information in Info.plist (development/MacOSX/Info.plist.in and CMakeLists.txt).  The autoconf config/lyxinclude.m4 file has been modified to make it work with autotools.

- The process to build OS X bundle is to first add all the files to be included to the bundle when calling add_executable (src/CMakeLists.txt) and then by calling setting the source file property of each of these files (development/cmake/Install.cmake, l.14) so that the files are properly located into the bundle. This is also why Install.cmake has to be included two times in src/CMakeLists.txt (once to build the list of files, once to set the location of the list of files).

- in CMakeLists.txt there is a line
install(CODE "set(BU_CHMOD_BUNDLE_ITEMS 1)")
What it does is to fix the owner permissions within the bundle - this is necessary because some libraries are copied within the bundle and might be owned by root

- An empty qt.conf is included in the bundle so that QT does not try to link to other QT libraries (which will not be included in the bundle)

- In development/cmake/Install.cmake, some OS X specific files (*.sdef, qt.conf, *.icns) have to be included in the bundle

Benjamin
2012-10-13 09:53:20 +02:00
Tommaso Cucinotta
5c6f72b96e Advanced find autotests now working again.
Make autotests work again on Ubuntu 12.04 (when launched from English language).
Add extra check and notification if wmctrl is missing.
2012-10-13 00:47:06 +01:00
Kornel Benko
fdc2f0c78d Cmake build: Define for 'USE_ENCHANT' already done in development/cmake/config.h.cmake 2012-10-09 22:42:06 +02:00
Kornel Benko
8217df8a68 Cmake build:
Handle option "LYX_DEVEL_VERSION" to add the preprocesor definition of DEVEL_VERSION
The effect should be alike the configure parameter "--enable-build-type=dev"
2012-10-09 21:52:17 +02:00
Pavel Sanda
536a0b44b7 Move layout editor zombie to attic. 2012-10-01 17:14:34 +02:00
Pavel Sanda
bc259fbf25 Move qmake to attic, long time unmaintained. 2012-10-01 17:11:40 +02:00
Pavel Sanda
a72b75c50c Proper naming for tab-group-close. 2012-09-29 17:16:52 +02:00
Juergen Spitzmueller
57ea6ddbe3 doc glitch 2012-09-25 11:18:23 +02:00