Julien Rioux
e1b4e5edaa
* configure.py : Remove unnecessary code in xhtml viewer detection.
...
This code seems unnecessary since not_found = "auto" is set in
checkViewer, and thus "auto" is used as the viewer when no viewers
are found, and a lyxrc entry is added anyway. The "auto" string is
special-cased in the code, where we attempt to automatically
determine the viewer from the OS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39640 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:59 +00:00
Julien Rioux
89cb89c78c
* configure.py : Fix the detection of splitindex ( #7579 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39639 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:47 +00:00
Julien Rioux
e887f51468
* configure.py : Fix the detection of htmltolatex ( #6339 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39638 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:38 +00:00
Julien Rioux
d75b83e293
* configure.py : Check for java and perl interpreters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39637 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:28 +00:00
Enrico Forestieri
2ed034ea22
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/trunk@39562 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 16:44:29 +00:00
Enrico Forestieri
8e812f44af
Avoid code duplication.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39561 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 16:23:58 +00:00
Enrico Forestieri
1126e3dfd8
Fix bug #7718 (Configure fails if shell autorun commands are enabled in the registry)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39554 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 22:57:58 +00:00
Enrico Forestieri
3d82ff41ec
Close stdin of the command spawn by subprocess.Popen, otherwise the
...
command hangs if something goes wrong. Also allow any kind of line endings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 22:29:38 +00:00
Julien Rioux
9657ffd77f
revert part of the last commit that should not have been
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39534 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:46:52 +00:00
Julien Rioux
0243eed665
configure.py : subprocess, second try (check_output requires
...
python 2.7 and throws unwanted exceptions when the process
return value is not 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39533 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:29:37 +00:00
Richard Heck
9d8c3d018b
Revert "The call to cmdOutput can throw an exception, so we need to be careful".
...
This will make reverting the previous commit easier.
This reverts commit 82ab1aef334d8573cc3e861e2620d9b4c59f88fe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39532 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:13:34 +00:00
Richard Heck
1700d0c747
The call to cmdOutput can throw an exception, so we need to be careful
...
here, lest configure.py abort.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39529 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:06:15 +00:00
Julien Rioux
f51dffd231
configure.py : replace os.popen with subprocess.Popen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39526 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 17:11:50 +00:00
Julien Rioux
7ea78193ca
configure.py : make sure latex exits gracefully
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39525 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 17:11:48 +00:00
Jean-Marc Lasgouttes
f4a2142ee8
Revert part of r39509 that was not supposed to go in.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39510 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:42:35 +00:00
Jean-Marc Lasgouttes
7fc83acb5e
Add possibility to export the R code from a sweave-enabled document
...
(patch from yihui, part of #7555 )
http://www.lyx.org/trac/ticket/7555#comment:18
This adds the new format "R/S code" with extension .R and a converter from .Rnw.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39509 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:33:42 +00:00
Uwe Stöhr
cc5cc067a0
new export flavor "DVILUATEX", fixes bug #7713 , patch from Jürgen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39457 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 02:23:44 +00:00
Uwe Stöhr
9da2f1bc9a
configure.py: fix a typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39445 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-09 01:34:25 +00:00
Uwe Stöhr
50f4a55e95
configure.py: add menu entry to convert to LyX 2.0.x
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39384 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-30 16:41:29 +00:00
Pavel Sanda
5e0b52f9f1
Postscript is missing in View menu.
...
This was forgotten in r37616.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39262 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-09 19:13:21 +00:00
Julien Rioux
46813f1b5b
configure.py : Simplify things a bit. With this
...
commit, a program is checked only once instead of twice, and
it is added as alternative editor and viewer. The ordering
of rc entries in lyxrc.defaults is changed slightly, but
nothing is lost.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39079 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:31:03 +00:00
Julien Rioux
9c9e43da3f
configure.py : Allow to specify alt_type as a list.
...
The intend is to specify ['editor', 'viewer'] eventually.
Still no change in the produced output and in lyxrc.defaults
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39078 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:27:44 +00:00
Julien Rioux
580fa7ee3b
configure.py : Remove more code duplication.
...
No change in output, at least none intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39077 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:24:30 +00:00
Julien Rioux
834604ea5d
configure.py : Remove code duplication (more to come).
...
No change in output, at least none intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39075 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:22:41 +00:00
Julien Rioux
3294e6429a
configure.py : sort lists, remove superfluous line continuations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 18:57:29 +00:00
Julien Rioux
2dae004697
configure.py : white space only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39036 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 18:32:27 +00:00
Julien Rioux
253ac28a0c
Add the Format tag to lyxrc.defaults produced by configure.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38974 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 14:58:19 +00:00
Julien Rioux
5eb1fb0c05
Fix bug #7608 (Wrong path separator used for Inkscape on Windows)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38973 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 14:55:47 +00:00
Enrico Forestieri
ae361aff19
Apparently, this extra check is not necessary as the first one works
...
whatever the TeX engine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38918 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 15:21:16 +00:00
Enrico Forestieri
bd9d3cb0eb
Query about the exact length of a short name, as it may happen that
...
a short name length is actually greater than the long name length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38908 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 01:51:17 +00:00
Enrico Forestieri
ef51dbff8e
On Windows, not all file systems provide for a short form of a filename,
...
so we have to account for this. Also, when checking whether TeX allows
spaces in file names, we try different quoting styles in order to account
for the kind of TeX engine used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38907 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 00:40:03 +00:00
Enrico Forestieri
226b29943f
On Windows, avoid spaces in filenames passed to latex by using the
...
short form of the path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38894 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 01:12:27 +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
Georg Baum
cfc81ea3d7
Disable preview converters that need dv2dt if dv2dt is not available.
...
This gives a better error message on the console (although it is still
impossible to figure out what went wrong from the GUI).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37407 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-01 20:03:01 +00:00
Jean-Marc Lasgouttes
fe54f0c341
Finish fixing bug #6623 (Sweave cannot read local files)
...
* in converters, make sure that $$p and $$r are slash-terminated paths (like in viwers, BTW)
* pass the full intput path to lyxsweave.R
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37337 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-27 11:14:32 +00:00
Pavel Sanda
297a74b7ad
MS Word converter -> HTML (MS Word) converter
...
Patch from Alex Fernandez.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37321 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 10:26:29 +00:00
Georg Baum
3b90652edc
Fix python error:
...
UnboundLocalError: local variable 'elyxerfound' referenced before assignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37286 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 18:23:32 +00:00
Pavel Sanda
2e4c3f98ad
Removing support for eLyXer as a module
...
Patch from Alex Fernandez.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165022.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37279 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 00:47:13 +00:00
Georg Baum
225c1dbe55
partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 12:07:58 +00:00
Jean-Marc Lasgouttes
8c6ce63595
Do not use the --vanilla option of Rscript, since it can
...
cause unexpected errors (like locally installed packages
not found).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 21:09:53 +00:00
Georg Baum
7ba8c1d542
Fix bug #3333 : LyX gives a stupid error message when trying to convert xfig
...
files to eps/pdf. With this fix, you get the usual "No information for
converting ..." message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 18:14:16 +00:00
Jürgen Spitzmüller
33f4ea26a5
* actually record rtf and doc viewers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36825 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 14:48:52 +00:00
Pavel Sanda
a978795215
After more attempts add gnumeric support.
...
Patch from Helge Hafting.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164180.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 01:19:13 +00:00
Richard Heck
69b228f9af
Update for LyXBlogger detection.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36684 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:35:01 +00:00
Jürgen Spitzmüller
2be72ce058
* configure.py:
...
* Conerter.{cpp,h}:
- use a backend=flavor flag format for latex instead of hardcoding format names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 09:49:28 +00:00
Uwe Stöhr
12de34f1fa
configure.py: fix shortcut clash
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 04:23:35 +00:00
Jürgen Spitzmüller
2868ff7a52
add basic LuaTeX backend.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36448 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 16:07:42 +00:00
Jürgen Spitzmüller
c2f90c6a79
* configure.py: resolve shortcut conflict
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36441 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 11:14:30 +00:00
Pavel Sanda
c393abbe12
Fix lilypond support, patch from Julien Rioux, bug #6940 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35978 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-01 21:01:48 +00:00
Richard Heck
b942b87e7d
Fix #3934 . Patch from Guenter Milde.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-25 12:05:37 +00:00
Jean-Marc Lasgouttes
9ebd4405cf
Make sweave process files with the correct encoding ( #6625 ).
...
The required the introduction of the new converter token $$e, that holds
the iconv name of the latex file encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 07:51:39 +00:00
Jean-Marc Lasgouttes
be8cf7c98c
Introduce helper script for Sweave. The first benefit is that
...
Sweave.sty path is hardcoded if LaTeX cannot find it.
More to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35750 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-21 17:02:05 +00:00
Pavel Sanda
c09aa51e0a
Graphviz results in pdf are poor because it creates bitmap-style pdf.
...
However it knows correct vector eps, so lets use internal route.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-07 23:13:20 +00:00
Pavel Sanda
e7dd1bf9dd
Add lilypond-book module and add support for instant preview.
...
Patch by Julien Rioux.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162042.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35472 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 16:34:30 +00:00
Enrico Forestieri
ac33a77dac
Fix bug #6873 : Shell execution of \nonstopmode tried when no latex binary present
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-30 15:02:36 +00:00
Jürgen Spitzmüller
891e858ac1
* configure.py:
...
- properly separate platex and latex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35125 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 16:44:48 +00:00
Uwe Stöhr
7f072cc5d7
configure.py:
...
- use eLyXer not only for HTML but also for HTML (MS Word) if it is found; this is simply the same code as we are already using for HTML converter check
- fix a bug that the copier calling would be wrong if neither eLyXer nor tex4ht is found (this is already fixed in the HTML converter check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-11 00:57:48 +00:00
Richard Heck
7d8b56a21d
Improve the error reporting, or checking, in configure.py.
...
There doesn't seem to be any way to report an error other than by
exiting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-10 21:43:08 +00:00
Jürgen Spitzmüller
5ff4c8826c
* configure.py: adapt desription.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-15 07:26:32 +00:00
Pavel Sanda
f70d8db243
Recognize 'jbibtex' in pLaTeX . Patch from Koji, #6808 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 20:57:45 +00:00
Richard Heck
8993fe96b2
Escape quotes in module descriptions. Amazingly,
...
this actually seems to work with no changes in the
C++ code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:23:25 +00:00
Richard Heck
35ee5f2040
Clarify code a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:20:21 +00:00
Richard Heck
434af7df28
Minor code reorganization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-27 15:16:23 +00:00
Richard Heck
7b2652c7ef
Dot converter patch from Julien Rioux.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 16:29:48 +00:00
Vincent van Ravesteijn
b347e40483
Fix the configure script. Python apparently does not like tabs as much as spaces.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 16:58:29 +00:00
Richard Heck
37529a3b92
Add lyxblogger to configure.py. We're still thinking about what to do
...
about the elyxer path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-30 13:54:52 +00:00
Richard Heck
07c5726aac
No spaces in configure.py, either. Thanks Julien.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 14:23:06 +00:00
Richard Heck
cf8646083f
Fix bug #3686 , by collecting information about missing prerequisites for
...
document classes, etc. Patch from Julien Rioux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:25:16 +00:00
Richard Heck
994dc05884
Change the name of the XHTML format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 18:01:35 +00:00
Peter Kümmel
e17a01910e
revert, quotes are handled in Systemcall.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32594 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 19:54:18 +00:00
Peter Kümmel
4d5c24e80d
Ticket 6266 Quoting Problem with QProcess: don't think we need any quotes (at least on Linux)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32579 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 12:20:22 +00:00
Richard Heck
a4c7e69d7a
We don't need to say this explicitly, since it'll be detected for us if
...
it's possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 20:58:25 +00:00
Richard Heck
c1ae09ab1f
Add checks for sxw, rtf, and doc viewers and editors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 20:32:00 +00:00
Richard Heck
5927fb9f81
Revert most of r32414, adding "auto" as editor and viewer for Windows-
...
platform.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 20:20:08 +00:00
Uwe Stöhr
cef0077454
configure.py: add default viewers/editors for 4 file types
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 19:34:41 +00:00
Uwe Stöhr
bf820ca578
configure.py: fix #3349 also for Windows by using Inkscape.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 13:45:13 +00:00
Richard Heck
7256c934dd
Minor fix for previous configure.py patch from Julien Rioux.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32338 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 16:08:39 +00:00
Richard Heck
8d34ae9d19
Detect packages on which modules depend. Patch from Julien Rioux. Fixes
...
bug #6361 .
Should go to branch, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 18:39:49 +00:00
Pavel Sanda
9e5f3a9423
Inkscape for svg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32210 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 22:20:15 +00:00
Richard Heck
33707856c3
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32202 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 21:54:09 +00:00
Pavel Sanda
0c6d32eb04
Fix bug #3349 - SVG support in Lyx
...
You wouldn't believe it, the convertor was already on my box ;)
Credit goes to Carl Worth.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32201 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-25 21:46:33 +00:00
Richard Heck
b30bcc3860
Shortcut for LyX HTML output. (Makes my life easier!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:50:00 +00:00
Richard Heck
d62c5cf02e
Sorry, I didn't mean to commit all that. Let's try again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:47:22 +00:00
Richard Heck
b8743dd2ed
The default tag for an InsetLayout should depend upon MultiPar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 22:41:31 +00:00
Richard Heck
487053deb8
We need truly XHTML output to get MathML to display in Firefox, etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 16:21:21 +00:00
Uwe Stöhr
4147409b37
configure.py: revert back to r31950, except of the comment that was removed in this revision
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31959 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-12 23:24:55 +00:00
Uwe Stöhr
5af21dd2ab
configure.py: revert r31950 because
...
- Richard removed a valid comment
- Richard's change introduced a regression, see my mail on the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31955 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-12 01:18:04 +00:00
Richard Heck
f826daf396
Alex Fernandez's elyxer detection patch for trunk.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31950 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 23:10:13 +00:00
Uwe Stöhr
fc709d0c0a
configure.py: fix detection of LyX to HTML converter - only create such a converter when eLyXer was found
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31949 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 22:51:19 +00:00
Uwe Stöhr
60ca549de3
configure.py: fix check for eLyXer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31897 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 16:55:23 +00:00
Jürgen Spitzmüller
fbb0c219ca
* add support for jmakeindex (a Japanese index processor)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 16:57:38 +00:00
Jürgen Spitzmüller
95c34cc714
* configure.py: remove debug code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 09:38:11 +00:00
Jürgen Spitzmüller
3e8532d83e
* configure.py: fix construction of *_alternatives rc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31303 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 09:30:33 +00:00
Jürgen Spitzmüller
2ebb97758c
* store all available viewers/editors and allow for an alternative selection in the GUI.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31291 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 15:11:43 +00:00
Uwe Stöhr
4aa442a9b0
configure.py: fix the calling of eLyXer. Now also files with spaces in the path can be handled correctly. This makes it possible to convert files on Windows like our documentation files when you open them via the Help menu.
...
To use now eLyXer, you only need to copy it to LyX's scripts folder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31265 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-03 22:36:48 +00:00
Jürgen Spitzmüller
0c4f7f62c1
* configure.py: attempt to fix the check for the java version of splitindex.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 10:10:06 +00:00
Jürgen Spitzmüller
a688f25880
* configure.py: change detection order of splitindex preprocessors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31112 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 08:52:42 +00:00
Richard Heck
7035f4cabb
Module categories, for Pavel.
...
Do free free to change the categories. I just did these ones for testing, really.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:20:11 +00:00
Uwe Stöhr
29d4c2de97
configure.py: check also for Yap, MiKTeX's DVI previewer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31023 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 22:24:32 +00:00
Pavel Sanda
4e082c886d
Fix bug #6103 .
...
Juergen?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 11:29:48 +00:00
Uwe Stöhr
9457f62107
configure.py: check for hylapex, a fax program that runs on all platforms
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30891 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 01:31:22 +00:00
Pavel Sanda
533d0c2a9f
Search for both elyxer and elyxer.py.
...
Patch from Sven Hoexter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30251 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-24 19:09:33 +00:00
Jean-Marc Lasgouttes
23b70a8fdd
Fix bug 5881: documentation bug in /usr/share/lyx/configure.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30218 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 10:38:13 +00:00
Jürgen Spitzmüller
3d1da3331d
* configure.py:
...
- change eLyXer command and copier to copy images
to the appropriate places on view and export
(requires eLyXer 0.27).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30132 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 08:06:12 +00:00
Pavel Sanda
e35f3ef321
Add comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 22:32:28 +00:00
Pavel Sanda
227a0802dc
Lets have new output in view menu too.
...
Copiers command would be needed one day?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29974 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 20:22:10 +00:00
Richard Heck
aa992dbbc2
Fix format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29958 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:27:06 +00:00
Richard Heck
92a69bb790
Basic output routines for HTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29950 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:44:35 +00:00
Uwe Stöhr
d3ff1d16e3
configure.py: port r29905
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29913 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-03 22:09:55 +00:00
Uwe Stöhr
5fb7fa93c7
configure.py: fix a typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29798 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 23:31:16 +00:00
Jean-Marc Lasgouttes
6d08a75d62
New literate programming modules.
...
These modules allow to use Sweave or Noweb with any LyX textclass.
They will eventually allow to get rid of literate-* classes.
The sweave modules will benefit in trunk from a forthcoming patch which allows
to select the output format for a literate OutputType. This will allow to
support Sweave out-of-the-box.
For branch, this pair of modules is IMO a candidate for LyX 1.6.4 (no need to
hurry).
Thanks to Gregor Gorjanc for his work on this subject. There is
undoubtlessly some additional work that has to be done here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29657 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 21:23:05 +00:00
Jürgen Spitzmüller
48f36f59e7
* configure.py:
...
- add new method that records all available alternative programs
as opposed to only the first found one.
* LyXRC[cpp,h}:
* LyXFunc.cpp:
- new RCs \bibtex_alternatives and \index_alternatives, holding
alternative processors.
* GuiPrefs.{cpp, h}:
* PrefLatexUi.ui:
- UI to select from a list of preconfigures bibliography/index processors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 10:07:32 +00:00
Pavel Sanda
546fa8c705
Adapt detection of elyxer to new versions (>=0.18).
...
This should fix the execution ptoblem on windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29528 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 00:51:32 +00:00
Pavel Sanda
734dfec925
Please Uwe
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29493 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:51:36 +00:00
Pavel Sanda
27842f0bd5
Revert http://www.lyx.org/trac/changeset/29452
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150555.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29459 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:39:40 +00:00
Uwe Stöhr
bd9de0b764
configure.py: prepare LyX to include eLyXer, for more info I wrote to the list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29452 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 02:06:44 +00:00
Pavel Sanda
b12096dc21
Add recognition to eLyXer
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150466.html
http://www.lyx.org/trac/ticket/5929
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-30 20:16:02 +00:00
Pavel Sanda
b69946bee0
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29447 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-30 13:47:38 +00:00
Jürgen Spitzmüller
a43849b699
* configure.py:
...
- check for KDE4's okular viewer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29410 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 12:00:11 +00:00
Jürgen Spitzmüller
c52bd08442
Introduce splitindex support. File format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
26b361417d
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
...
from the standard LaTeX programs.
These programs are only used now if the document actually uses Japanese, not always if they are found.
(bug 5601 a.o.).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:53:40 +00:00
Jürgen Spitzmüller
737e9b2c20
start XeTeX support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 06:58:30 +00:00
Jürgen Spitzmüller
b52205d30b
configure.py:
...
- add support for newer lilypond versions (bug 5834).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 13:47:58 +00:00
José Matox
b8ce87578f
Use logging module instead of homebrew python class (Patch from Bo Peng)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-04 18:54:08 +00:00
Pavel Sanda
28bfbe4e03
Duplicate line.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 16:32:54 +00:00
Pavel Sanda
b17f13a5e5
Allow Dia diagrams as external insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:07:07 +00:00
Pavel Sanda
441161daa2
ispell leftover
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27817 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-08 22:26:45 +00:00
Vincent van Ravesteijn
ab015d7389
configure.py: Add the new LyX 1.6.x file format and convertor.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 22:14:59 +00:00
Stephan Witt
37749a04dc
use new converter variable $$d to make tgif preview working (via png converter path)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 16:20:53 +00:00
Jean-Marc Lasgouttes
071016df39
remove last traces of plaintext_roff_command
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27515 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 23:39:48 +00:00
Jean-Marc Lasgouttes
1b391f35cd
do not try to run platex if it has not been found
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27450 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:56:57 +00:00