Commit Graph

2806 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
09c2e58373 Extend and use qt4_wrap_ui 2013-04-23 21:45:39 +02:00
Uwe Stöhr
3e7a9a5118 installer: fix a an UI issue
- also update to Python 2.7.4
2013-04-13 14:29:07 +02:00
Uwe Stöhr
cfcc73e18b installer: support Canadien
- support spell-checking French (Canada), see bug #8629
- prepare for LyX 2.0.6
2013-04-13 13:37:02 +02:00
Uwe Stöhr
dadc1bbe71 installer: support to spell-check Serbian(Latin)
- also update the Serbian(Cyrillic) dictionary
2013-04-08 23:42:18 +02:00
Uwe Stöhr
1b9da53b35 installer: update some more dictionaries 2013-04-08 02:05:19 +02:00
Uwe Stöhr
d3f992d772 installer: add support for Marathi
- also update some spell check and thesaurus dictionaries
2013-04-08 01:17:23 +02:00
Scott Kostyshak
60ed90f0ae Add another test for #7673 (currently fails) 2013-04-04 06:58:42 -04:00
Scott Kostyshak
36da271b74 Add test for #8370 (not yet fixed) 2013-04-04 06:31:00 -04:00
Uwe Stöhr
6706377111 refine support for Vietnamese
- chkconfig.ltx: add the vietnamese.ldf
- installer trigger the installation of vntex
2013-03-29 01:53:44 +01:00
Georg Baum
dc69cd25ba forgot format entry 2013-03-23 09:26:04 +01:00
Uwe Stöhr
22ad7e4369 support for \mbox and \fbox
- fileformat change
- it was a pity that LyX did not yet support a simple rectangular frame without a defined width but LyX did this for e.g. oval frames
- \fbox and \mbox often occur in TeX files and can now be imported
2013-03-22 01:33:58 +01:00
Kornel Benko
9af4d0fa8c Cmake build: Unfortunatelly, there are some cmake versions
which have not error-free version of FindQt4.cmake.
We have to stick with our own (and old) module.
2013-03-20 20:51:50 +01:00
Kornel Benko
7dbd777146 cmake build: Add check for required QT-version 4.5.0 or higher
Since our own module does not respect the version parameter,
while the cmake provided does, also remove our FindQt4.cmake
2013-03-20 11:39:45 +01:00
Uwe Stöhr
70340533e7 installer: support for Serbian Cyrillic 2013-03-20 00:12:16 +01:00
Uwe Stöhr
f08f5821ec support for the Iwona fonts
- the support for Iwona is exactly the same as for the Kurier fonts
- fileformat change
2013-03-19 00:57:37 +01:00
Juergen Spitzmueller
3ab2798b6e Powerdot updates
* Powerdot now also uses the native overlay item arguments
* a list option argument is finally available
* \pause natively supported (like in beamer)
* support for \onslide (via InsetFlex)
* support for \twocolumn

File format change.
2013-03-18 13:36:56 +01:00
Uwe Stöhr
d883ce56aa installer: fix a logic bug 2013-03-17 16:24:24 +01:00
Juergen Spitzmueller
370bbbc7f2 Old beamer frames bite the dust
With this commit, old beamer frames are converted to new ones. The old styles are removed (including the infamous \lyxframe).

This should be tested with as much beamer documents as possible (I have already done so), also, tex2lyx now probably produces invalid LyX files.
2013-03-16 12:52:00 +01:00
Uwe Stöhr
af668f77c0 installer: support for Hungarian and Mongolian
- the installer does nw the job of replacing the magyar.ldf with the fixed version [http://wiki.lyx.org/Windows/Hungarian]
- install the Mongolian hyphenation pattern to MiKTeX
- update eLyXer
2013-03-15 01:21:29 +01:00
Uwe Stöhr
f8662d8716 installer: support for Belarusian 2013-03-15 00:40:20 +01:00
Uwe Stöhr
322f65aa92 chkconfig.ltx: support for package thswitch
To be able to use Thai in a multi-language document one needs the package thswitch
2013-03-14 22:41:38 +01:00
Uwe Stöhr
367bf55657 installer: release version 5 of the 2.0.5.1 installer
- update to new MiKTeX installer that fixes a bug with updating Packages
- don't ship cbgreek because it is so huge that its download would last 10 minutes or more
2013-03-10 16:14:29 +01:00
Scott Kostyshak
9ff4dc4258 Clean up CMake testing code
Thanks to Kornel for the advice.
2013-03-04 11:39:12 -05:00
Scott Kostyshak
e4a72659b0 Re-add MergedManual test
Now that the default format is set to xhtml, there will correctly
be no LaTeX test.
2013-03-04 07:18:11 -05:00
Scott Kostyshak
cc30e79c32 Tests: take into account a default format of xhtml
The xhtml format is always tested, regardless of the default format.
Without this, if the default format is xhtml, CMake gives an error
when trying to add the xhtml test because it was already added.
2013-03-04 07:15:52 -05:00
Kornel Benko
f520df382d Remove MergedManuals.lyx from export tests 2013-03-01 17:13:29 +01:00
Scott Kostyshak
6c15b944b1 Remove keytest.py code from export.cmake
Export tests do not need keytest.py.
2013-03-01 07:15:37 -05:00
Kornel Benko
8f36aef17a Added "cancel" to the GUI handled list of LaTeX packages.
Generalized convert_use_???() and revert_use_???() routines in lyx2lyx.
2013-02-27 13:12:03 +01:00
Uwe Stöhr
a43f45de6c installer: fix typo in changelog 2013-02-26 02:28:51 +01:00
Uwe Stöhr
6d084f920c installer: support 64bit MiKTeX
- the installer will now recognize an already installed 64bit MiKTeX
- the installer will still install 32bit MiKTeX for new installations because biblatex does not yet work with 64bit MiKTeX
2013-02-26 02:25:04 +01:00
Scott Kostyshak
28104a7496 Add templates to export tests (CMake & autotools) 2013-02-21 08:25:13 -05:00
Kornel Benko
9183c922ea Sort export tests in cmake build according to language 2013-02-20 13:26:01 +01:00
Julien Rioux
9dd1b7c578 Use the LyX name of encodings instead of the LaTeX names.
- Use the LyX name of encodings instead of the LaTeX names.
  The LyX name must be unique, while the name used by LaTeX
  not necessarily, e.g. different packages might implement
  support for the same encoding.

- Rename koi8 to koi8-r, so that the LyX and LaTeX names match.

- Rename euc-jp-plain to euc-jp-platex, jis-plain to jis-platex
  and shift-jis-plain to shift-jis-platex.

- Add utf8-platex encoding (fixes #8408).

LyX file format incremented to 463.
2013-02-18 23:52:42 +01:00
Kornel Benko
248c6ded33 Cmake tests: Add lyx-files for export testing recursively. 2013-02-18 16:34:19 +01:00
Scott Kostyshak
7ac59e7b99 Update expected test failures 2013-02-16 06:27:10 -05:00
Scott Kostyshak
9f4927e855 Add examples to export tests (CMake & autotools)
Now all export tests can be run with:
ctest -R "export"

Only export tests for manuals can be run with:
ctest -R "export/doc"

And only export tests for examples can be run with:
ctest -R "export/examples"
2013-02-16 06:27:09 -05:00
Scott Kostyshak
2fd0c34b9b CMake: change name of export autotests
Instead of 'autotests/export/doc/' export tests are prefixed
with 'export/doc/'. This has the advantage of the name better
reflecting the test (export tests are not autotests), but has a
disadvantage in that the old name gave a better idea of where the
export test scripts are located (in the autotests directory).
2013-02-16 06:27:09 -05:00
Scott Kostyshak
010dfb6a5a Make export tests more extendable
For both CMake and autotools. Now we can easily add
the examples to the export tests.
2013-02-16 06:27:09 -05:00
Kornel Benko
f78c69b554 Adapt to corrected tex2lyx 2013-02-15 19:07:26 +01:00
Kornel Benko
df4003b232 Adapt test-insets.lyx.lyx to now correctly running tex2lyx.
Removed errocase.
2013-02-15 18:49:00 +01:00
Uwe Stöhr
b6e4c709e3 FORMAT: add missing fileformat changes 2013-02-15 16:11:30 +01:00
Juergen Spitzmueller
6885007f1d Adjust Libertine font support to most recent version
This needs yet a file format change. I hope the interface is stable now (I had an exchange with the package maintainer, Bob Tennent, about that)
2013-02-15 10:45:11 +01:00
Kornel Benko
0ea6654228 Cmake build: Creating a define for a header file found
need now only changes in the list of header files in ConfigureChecks.cmake.
2013-02-12 19:01:16 +01:00
Kornel Benko
88101bae75 C&P error. Sorry 2013-02-12 17:46:35 +01:00
Kornel Benko
ae04b1a18e Cmake build: Correct the previous commit.
We have to apply configure_file() twice, therefor the new file.
2013-02-12 17:40:32 +01:00
Kornel Benko
5970aff01a Cmake build: If checking for new function, say xyzzy, we want
have a definition '#define HAVE_XYZZY 1'.
Now, it is sufficient to add xyzzy to list of functions in ConfigureChecks.cmake'
2013-02-12 17:22:07 +01:00
Kornel Benko
36c5c7b9c5 Cmake build: 1.) Sort function checcking alphabetically
2.) add definition HAVE_UNSETENV to header
2013-02-12 15:27:39 +01:00
Jean-Marc Lasgouttes
81d863fd41 Fix bug #8537: LyX creates the environment variable LC_ALL
The current code is not able to unset an environment variable, only to set it to an empty value. This patch refactors a bit the Message class and uses a new EnvChanger helper class that allows to change temporarily an environment variable and that is able to unset variables if needed.

The patch also adds new functions hasEnv and unsetEnv in environment.cpp.

Open issues:
 * there may be systems where unsetenv is not available and putenv("name=") does not do the right thing;
 * unsetenv may lead to leaks on some platforms.
 * when using unsetenv, we may need to remove strings from the internal map that setEnv uses.
2013-02-12 12:14:06 +01:00
Scott Kostyshak
126255b985 Create a file to document expected test failures
This file documents which tests are expected to fail. It can be used
to quickly tell if a regression has occurred. This is also useful when
first running tests to get an idea of whether some tests are failing
because of missing dependencies.
2013-02-07 04:50:07 -05:00
Scott Kostyshak
39c380ee0b Add an autotest for #8540
This test should currently fail on master and on 2.0.x.
2013-02-07 03:42:14 -05:00
Scott Kostyshak
e609787a0f keytest.py: do not print the same thing twice
keytest.py now only prints one time the command that it is executing for
an assert. The command is already printed in the function responsible
for executing it, so it is not necessary to print the command before
calling that function.
2013-02-04 03:20:02 -05:00
Stephan Witt
141fbb6f8c Prepare LyX code to compile and link with Qt5:
* some functionality is in new modules now
  new header locations and library names: QtConcurrent and QtWidgets
* method setResizeMode is renamed to setSectionResizeMode
* deprecated QAbstractItemModel::reset() is dropped now
* platform specific code like QApplication::syncX() is not common anymore
* QString::fromAscii() is dropped now
* some QDesktopServices methods has been moved to QStandardPaths
2013-02-03 19:26:21 +01:00
Stephan Witt
e4d6730fca dynamic cpu count detection and parallel make configuration 2013-02-03 19:26:21 +01:00
Stephan Witt
8eea20ba4b use MKDIR_P macro 2013-02-03 19:26:21 +01:00
Uwe Stöhr
b9a4db06bf installer: add cbgreek and lh fonts to the package list 2013-01-29 23:25:14 +01:00
Scott Kostyshak
2aeb17e8ef Add an autotest for #7673
This test should fail because #7673 is not yet fixed in trunk.
Note that it is fixed in branch.

This is the first autotest that uses an existing .lyx file,
bug-7673.lyx.
2013-01-29 16:18:08 -05:00
Scott Kostyshak
12a4b3aee9 autotests: clean up .emergency file of input .lyx
If the test opens an existing .lyx file and crashes, it will leave
around a .emergency file. If a test with that same name is run again,
LyX will try to recover the .emergency file, which could throw
off the test.

This is implemented for both CMake and autotools.
2013-01-29 16:18:08 -05:00
Uwe Stöhr
c229163a3b installer: release new installer version 2013-01-29 01:03:16 +01:00
Uwe Stöhr
82b9f919aa installer: new method to install LaTeX-packages
LyX 2.0.x supports currently 147 LaTeX-packages. When LyX is first installed on a PC it took therefore about 10 minutes to install all supported and required packages. With the new installation method the installation speed only depends on the Internet speed and lasts with an average bandwidth now only 3.5 minutes.
(chkconfig.ltx asks LaTeX for each package separately and after each package installation the file name database of LaTeX was rebuild. And that cost a lot of time/CPU power)
2013-01-28 02:54:31 +01:00
Scott Kostyshak
e77c0dfcf3 CMake: tests can now use an existing .lyx file
To reproduce some bugs, tests need to open an existing LyX file. This
is now possible with CMake and is consistent with testing under
autotools in the sense that the .lyx file is referred to in the test
by being in the parent directory.

If the test is named bug-XXXX-in.txt and there exists a file
bug-XXXX.lyx, that file will be copied to the parent directory of
out-home in the build directory.
2013-01-27 05:29:50 -05:00
Kornel Benko
e6e28f189a Cmake build: autotests: Remove "session"-file before starting tests 2013-01-25 10:47:31 +01:00
Kornel Benko
dae22baf0b Cmake build: Forgot to set the environment XVKBD_HACKED
to select the correct parameters for xvkbd.
2013-01-25 09:16:34 +01:00
Uwe Stöhr
73fe65543d installer: fixed typos in changelog 2013-01-25 01:44:09 +01:00
Uwe Stöhr
0b791d49f5 installer: update to latest MiKTeX to fix a bug 2013-01-24 23:57:40 +01:00
Kornel Benko
55d32635e1 Cmake build: Add pdf, pdf2 and pdf5 formats to export testcases 2013-01-24 17:58:44 +01:00
Kornel Benko
aba79b78c7 Add description of Sleep (== pause) command in keutests 2013-01-24 08:48:18 +01:00
Scott Kostyshak
d31aef689a CMake export tests now correctly check return code 2013-01-22 03:10:48 -05:00
Stephan Witt
a6c1486d83 add build of private gettext framework; more flexible library versioning 2013-01-20 12:45:34 +01:00
Uwe Stöhr
744de62e22 installer: further fixes for MiKTeX
LaTeX.nsh:
 - fix a MiKTeX configuration Problem on 64bit Windows issue discovered in #8417
 - don't overwrite MiKTeX's package repository the user might have set purposely
 - remove some unused code and simplify some code

- update to JabRef 2.9.2
2013-01-17 01:12:38 +01:00
Uwe Stöhr
de59722ba4 installer: ChangeLog for latest release 2013-01-15 00:53:37 +01:00
Uwe Stöhr
6182ca208b installer: fix bug that MiKTeX is not found on some 64bit Windows
- LaTeX.nsh: fixe http://nsis.sourceforge.net/Download
- settings.nsh: adapt path so that one needs to adapt less when using the installer source zip file
- add a readme how to build the installer
2013-01-14 01:45:42 +01:00
Uwe Stöhr
409f384e21 cmake/build.bat: update build script for installations 2013-01-13 20:16:06 +01:00
Kornel Benko
ab1be44b92 Cmake build: Add .tex files to the list of doc-files.
(This adds "SpecialParagraphShape.tex", which is needed by
Additional.lyx)
2013-01-13 15:31:23 +01:00
Julien Rioux
0899e957c3 Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
Georg Baum
45052f56ab Handle text-only wasy symbols correctly.
Some macros defined by wasysym.sty work only in text mode: They either
produce an error in math mode, or wrong output. These symbols are now marked
as text symbols, so that no \ensuremath is created for LaTeX export if they
appear inside \text{}, and the correct images are created.
2013-01-10 21:22:54 +01:00
Kornel Benko
03abfd4c7d C&P error 2013-01-09 16:40:54 +01:00
Kornel Benko
46e51018d5 Cmake build: Correct creation of lyx_date.h because of
not defined behaviour cmake command copy_if_different
in case, the destination is not present
2013-01-09 16:31:45 +01:00
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
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
Juergen Spitzmueller
1d84423e76 A font a day keeps the doctor away: Support for the Biolinum LaTeX font 2012-09-25 11:07:33 +02:00
Juergen Spitzmueller
8bf5d4b461 Very basic support for unicode-math
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.
2012-09-24 13:19:25 +02:00
Juergen Spitzmueller
5e6e98f97f Correct format documentation 2012-09-23 19:20:26 +02:00
Juergen Spitzmueller
ba1d137769 Support for the NewTX Math fonts (newtx, libertine, minion) 2012-09-23 18:33:04 +02:00
Stephan Witt
99e53ffce0 add high resolution display support 2012-09-23 16:06:56 +02:00
Stephan Witt
2d278850cb support for Xcode 4.3 and Mountain Lion 2012-09-23 16:06:55 +02:00
Juergen Spitzmueller
5170489b98 More no-math fonts
For the sake of completeness, it is now also possible to load fourier and the mathdesign fonts without changing the default math font.
2012-09-23 12:30:19 +02:00
Juergen Spitzmueller
8f9898994d Basic UI for math (TeX) fonts
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.
2012-09-22 17:44:00 +02:00
Kornel Benko
b1a409be97 Make package name be platform dependent 2012-09-21 15:09:46 +02:00
Juergen Spitzmueller
e9ca6b6bf4 Support for the Minion Pro LaTeX font 2012-09-19 17:46:55 +02:00
Juergen Spitzmueller
ee1fc9130a Add support for some basic non-unicoded IPA macros
We now support everything on the IPA chart via the toolbar
2012-08-23 17:42:53 +02:00
Kornel Benko
d67bd17b34 cmake build: Add msgfmt po-checking 2012-08-22 13:57:43 +02:00
Juergen Spitzmueller
b6a63bfce8 An IPA toolbar
Translators: sorry ;-)
2012-08-21 14:56:34 +02:00
Stephan Witt
4674c3e1c5 Patch from Benjamin Piwowar - see ticket #8185:
In order to interact with native osx applications, AppleScript support is a plus.
Here is a patch that makes LyX respond to a simple command (run) and that allows to communicate with LyX as with the LyX client.
Example of use:
	tell application "LyX" to run "server-get-filename" with argument ""'
returns
	message:/Users/bpiwowar/newfile1.lyx, code:0
with a message and the error code
2012-08-19 22:27:20 +02:00
Stephan Witt
8bf0652b9c * Make package with hunspell dictionaries per default.
* Change the sub-shell notation to $(cmd) style.
* Qt4Version variable checks environment too.
2012-08-19 22:09:03 +02:00
Juergen Spitzmueller
54c41ce26e Support for the TeX Gyre fonts (#4332) 2012-08-19 11:57:48 +02:00