Commit Graph

268 Commits

Author SHA1 Message Date
Richard Heck
7cdfa9b29a Better idea: Let's allow export of 2.1.x files. Someone might want to
do that. But let's not put it on the export menu.
2014-04-11 12:10:31 -04:00
Richard Heck
d41d84f0b8 Remove 21x export. LyX 2.1.x already reads 2.0.x files. 2014-04-11 11:49:54 -04:00
Richard Heck
8c3d6f7178 Allow 2.0.8 to read and write 2.1.x files. Also incorporates some
bugfixes in lyx2lyx that made it into 2.1.0.
2014-04-11 11:41:56 -04:00
Richard Heck
8d6573d130 Properly quote command line arguments. Patch from JMarc. Fixes
bug #8648.
2013-04-29 10:00:27 -04:00
Enrico Forestieri
50d0b13e08 Fix bug #8477
Don't delay the output until the end of the check for the LaTeX packages.
2013-01-01 20:15:57 +01:00
Uwe Stöhr
002a38dd7b configure.py: add checks for some text editors used on Windows and for our PDF handler for Windows 2012-11-26 06:08:20 +01:00
Enrico Forestieri
3967b7b0db Fix bug #8254: An encoding problem
Use the short version of a path, which is guaranteed to be ascii and
works even if the path is not encodable in the current codepage.

(cherry picked from commit 08b3d492fa)
2012-07-19 23:34:07 +02:00
Juergen Spitzmueller
16f6910b59 Add dvilualatex output format 2012-06-29 18:46:53 +02:00
Richard Heck
fc3ed37c50 Add LibreOffice converters for ODT. 2012-05-11 08:01:58 -04:00
Pavel Sanda
9397d6217d Backport 17e8ea8a (#8018). 2012-05-10 17:34:11 +02:00
Pavel Sanda
9f51e76f8c Backport fb45a49d (#8021). 2012-05-10 17:28:53 +02:00
Vincent van Ravesteijn
53cea14986 configure.py: Replace 'ltx' by 'log' case insensitively
On windows the temporary filename consists of uppercase characters. This
causes that the extension does not get replaced, and the logfile is left
behind.

Checking the extension case insensitively will correctly remove the
logfile.

(cherry picked from commit a02bfeebc5)
2012-05-06 17:23:18 +02:00
Enrico Forestieri
f731a65507 Fix bug #8098
The Windows shell cannot have a UNC path as the current directory.
However, using pushd to change to the same directory automatically
maps the UNC path to a drive letter and thus it works.

Note that when calling cmd.exe from a UNC path there are still
warnings about the UNC path, but the command is then successfully
executed because the current directory is set to something digestible
by the shell.
(cherry picked from commit b907a0dc7c)
2012-03-25 15:36:51 +02:00
Enrico Forestieri
8c24088b79 On Windows, properly account for the encoding of the temporary directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40875 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 21:24:04 +00:00
Enrico Forestieri
6a9c9f620b Call lyxpak.py using the original (not mangled) document file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40774 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-18 14:00:41 +00:00
Jean-Marc Lasgouttes
881d6bc268 backport support for knitr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40684 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-28 10:50:12 +00:00
Tommaso Cucinotta
a10522d2d6 Backporting r39786 from trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39788 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-30 06:30:26 +00:00
Julien Rioux
41a7a2f8e2 * configure.py : Fix the gnumeric converters.
They were tied to undefined formats ods and xls. The actual
    internal names for these formats are oocalc and excel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39717 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:36:34 +00:00
Julien Rioux
2249b433e7 * configure.py : Detect java and perl scripts in a general way.
- Fix the detection of htmltolatex (#6339).
  - Fix the detection of splitindex (#7579).
  - Fix the detection of jfig3-itext and jfig3.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39716 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:29:18 +00:00
Julien Rioux
bd41d9ac78 * configure.py : Fix the rc entry when tex2lyx is not found (#3308).
We still define the tex2lyx converter but we emit a warning.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39715 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 17:41:16 +00:00
Jean-Marc Lasgouttes
b88154ef6f backport r39509 and r39510 to branch (see bug #7555)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39644 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-08 10:44:44 +00:00
Uwe Stöhr
8c2faa7324 configure.py: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39608 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 02:49:00 +00:00
Enrico Forestieri
550f683049 Fix bug #7586 (Temporary file chkconfig.ltx in user directory not deleted if configure fails)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39567 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 22:23:17 +00:00
Enrico Forestieri
a6aebc801a Fix bug #7718 (Configure fails if shell autorun commands are enabled in the registry)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 22:05:26 +00:00
Uwe Stöhr
9c4abdf137 also for branch: new export flavor "DVILUATEX", fixes bug #7713, patch from Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39461 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 02:49:30 +00:00
Uwe Stöhr
3fb8ea4290 configure.py: only some whitespace (backported from trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39460 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 02:44:06 +00:00
Pavel Sanda
a4fbf219a3 Backport - postscript is missing in View menu.
This was forgotten in r37616.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39272 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 20:44:04 +00:00
Julien Rioux
d2a09bf5a6 Fix bug #7609 (PDF (pdflatex) no more directly
listed in file->export menu). Do not remove customized
document formats from the export menu.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39005 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:29:41 +00:00
Julien Rioux
11c191a933 Fix bug #7608 (Wrong path separator used for Inkscape on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39003 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:24:19 +00:00
Enrico Forestieri
72230bb98c On Windows, improve detection of the TeX engine by avoiding spaces in
filenames passed to latex (through the short form of the path) and also
by taking into account that a short form may not always be available.
Such detection may still fail if the file system does not support short
names and the TeX engine doesn't allow spaces in filenames, but this is
a highly improbable condition, hopefully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38921 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 22:22:58 +00:00
Richard Heck
ec14c3f364 Recommit previously unintended commit, now that it has been approved. ;-)
Seriously, this resovles a problem with module detection and configuration, 
namely, that we detect BOTH a module in the system directory and a custom
version of it in the user directory.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38387 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 00:54:50 +00:00
Richard Heck
5c93852e3c Revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38382 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 21:10:07 +00:00
Richard Heck
c10cd68fba Constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38381 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 20:34:18 +00:00
Pavel Sanda
cb7ecd7fee Sensible editor launches terminal editors, closing #7448.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38350 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 13:35:41 +00:00
Jürgen Spitzmüller
3fb4bf59c6 * configure.py: remove files produced by the LuaTeX test when the test is over.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38241 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-04 11:39:59 +00:00
Julien Rioux
41524a4f6f fix r38143
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38150 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:59:58 +00:00
Julien Rioux
4d4f25859f fix r38144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38149 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:59:27 +00:00
Julien Rioux
7142c83ab5 show lilypond-book format in export menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38145 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:31:23 +00:00
Julien Rioux
b3230005c9 second part of #7383: lilypond -> xetex|luatex converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38144 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:30:49 +00:00
Julien Rioux
a6a23d1781 define sweave to xetex|luatex converters
(allows one to use nonTeXFonts with literate and fix bug #7383)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38143 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:29:52 +00:00
Julien Rioux
6826bd487f fix checkTeXPaths when no latex is found
(reallows the install of LyX without MikTeX again under windows)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38142 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:26:19 +00:00
Jürgen Spitzmüller
7382181e17 * configure.py: add test for luatex version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38050 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 15:15:27 +00:00
Jean-Marc Lasgouttes
edd51121d8 Almost finish fixing bug http://www.lyx.org/trac/ticket/6623
Now we specify the output file for sweave explicitely for robustness reasons.
We also specify prefix.string (in order to have the temp files generated in lyx tmp directory.

The only annoying file now is Rplots.pdf, but I am not sure why it is generated... 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37984 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 14:48:22 +00:00
Jürgen Spitzmüller
594179f330 * configure.py:
- when a layout file has no valid \Declare line, issue a warning and skip this file
	  instead of aborting the whole configuration process.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37807 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 16:15:03 +00:00
Richard Heck
50f845e479 Two simple changes for Python 3 compatibility.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37645 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 02:17:50 +00:00
Jürgen Spitzmüller
0489d3c496 Introduce new file format flag "menu=export" to define which document formats the File > Export menu should list. All other formats are available via the "More Formats & Options ..." (former "Custom ...") dialog.
The actual selection of formats needs to be audited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37616 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:34:10 +00:00
Enrico Forestieri
21dd835f9d Don't rely on external utilities and use python modules for creating
a LyX archive. A zip archive is created on Windows and a gzip compressed
tar archive on *nix, as those are the de facto platform standards.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37525 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 23:45:03 +00:00
Enrico Forestieri
83f181c02f lyxpak.py has to operate on the original file, not the one in the tmpdir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37517 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 19:09:54 +00:00
Richard Heck
5577b5c6f0 Add lyxpak.py to the distribution, and configure it appropriately for export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 14:50:06 +00:00
Jürgen Spitzmüller
c3ed49dd92 * configure.py: check also for xindy, which is a reasonable alternative to texindy and makeindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37422 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 16:12:35 +00:00