Commit Graph

93 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
4070ca5e5c * lib/configure.py:
- check if texindy is available and if so, use it instead of makeindex
	  (bug 4732).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25401 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-28 12:28:16 +00:00
Jürgen Spitzmüller
afc3cec313 * lib/configure.py:
- add support for Graphviz Dot files (bug 4882).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 08:51:50 +00:00
Jürgen Spitzmüller
050ead8891 * lib/configure.py:
- rename "Comma-separated values" to "Table (CSV)"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24853 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 06:20:07 +00:00
Jürgen Spitzmüller
dd6cbed911 Hartmut's csv2lyx.py script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24660 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 16:43:29 +00:00
Jürgen Spitzmüller
cb05cc652f * lib/configure.py:
- Add support for the HTML-to-LaTeX converters gnuhtml2latex 
	  and htmltolatex (bug 4615).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 14:10:13 +00:00
Jürgen Spitzmüller
0a77e56725 * lib/configure.py:
- Use verbose htlatex command instead of oolatex, if available, 
	  since the latter caused problems on some systems (bug 4604).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-05 23:31:10 +00:00
Jürgen Spitzmüller
9ea2659bdd * lib/configure.py:
- add checks for pdf2ps and pdftops (bug 3968).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-29 10:32:34 +00:00
Pavel Sanda
db87738005 Roll back xdg-open in configure.py.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg133878.html .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22431 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 14:22:29 +00:00
Jürgen Spitzmüller
9eead9f8f8 * lib/configure.py:
- support xdg-open and sensible-editor (patch by Sven Hoexter).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22000 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-07 11:51:54 +00:00
Bo Peng
c4d5c686ea Use latex instead of pplatex to check latex configurations, and exit from configure.py with proper error code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 16:17:35 +00:00
Enrico Forestieri
6fc3139837 When searching for programs, also take into account all possible
extensions for executables (only Windows is affected by this).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 15:31:39 +00:00
Enrico Forestieri
7293bc940c Fix DraftDVI entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21000 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-16 21:21:31 +00:00
Bo Peng
880739c5c5 Check and show proper error message if configure.py fails (part of buf 2829)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20966 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-14 14:48:09 +00:00
Bo Peng
abe07b71dd Make sure a textclass.lst will exist even when configure.py fails. Part of Bug 2829
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20518 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 15:58:48 +00:00
Richard Heck
dc86101baa htlatex detection updates from Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19779 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 16:59:46 +00:00
Richard Heck
7c0217483f Revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 16:58:40 +00:00
Richard Heck
6011937aef Old update I forgot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19777 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 16:55:44 +00:00
Enrico Forestieri
3790dc945b On Windows, remove log file generated by miktex and copy chkconfig.ltx
obeying the umask value as on cygwin access is controlled through ACLs
and the python port knows nothing about them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-04 23:33:34 +00:00
Jean-Marc Lasgouttes
c83c5b0510 revert r19290
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 21:18:37 +00:00
Richard Heck
3c78a6d2a7 Use mk4ht oolatex' instead of htlatex etc etc etc', per Jean-Pierre's advice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 14:44:52 +00:00
Richard Heck
538fd6796e Bug 2085
Get OpenDocument export working when htlatex is available but oolatex
is not. Also check for oowriter as an ODT viewer. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 17:19:39 +00:00
Joost Verburg
b3ace671d2 configure.py: add support for the EMF file format and the metafile2eps conversion utility for WMF/EMF to EPS conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-24 21:08:25 +00:00
Michael Schmitt
c4d2b66aca fix white space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 21:20:09 +00:00
Richard Heck
954be90e11 Make HTML export work.
The key is the new copier script lib/scripts/ext_copy.py. Usage:
 ext_copy.py [-e ext1,ext2,...] <from file> <to file>
Given a <from file> and <to file>, it will copy all files in the directory 
in which from_file is found that have the extensions given in the -e option, 
or all files in that directory if no such argument is given. So, for example, 
we can do:
  python ext_copy.py -e png,html,css /path/from/file.html /path/to/file.html
and all html, png, and css files in /path/from/ will be copied to the 
(possibly new) directory /path/to/file.html.LyXconv/. The -t option determines 
the extension added to the output filename passed to the script ($$o, in the
copier definition), the default being "LyXconv". If just . is given, then no 
extension is added.

Other changes:
* configure.py: added appropriate copier definitions for html and wordhtml
formats, as well as for the Program pseudo-format.
* lib/Makefile.am and development/scons/scons_manifest.py: add ext_copy.py.
* lib/doc/Customization.lyx: update documentation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 17:02:35 +00:00
Richard Heck
8559f2fd0e Reorder checks for PDF and PS converters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18691 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-06 15:47:41 +00:00
Richard Heck
4fb4c517fd Add a check for the evince viewer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18679 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 17:23:09 +00:00
Richard Heck
3edbc20f79 Remove originaldir flag from HTML converters so that View-HTML works. Export still does not work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18492 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-24 16:45:38 +00:00
Richard Heck
e7149f4dd9 Change converter and format definitons for OpenDocument format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18396 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-18 04:12:58 +00:00
Richard Heck
119400e4b3 Add originaldir,needaux flags to default Latex to HTML(Word) conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18383 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-17 15:33:47 +00:00
Richard Heck
c640f9613f Fix for bug 3423: Add check for gimp-remote before check for gimp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 17:52:02 +00:00
Enrico Forestieri
b343446bd4 Fix bug 3400
* lib/scripts/convertDefault.py: Use the cropbox option when the
	source format is pdf and convert supports it.

	* lib/configure.py: Don't define a PDF->PNG converter in order to
	avoid the EPS->PDF->PNG route when converting EPS to a loadable
	format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17668 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-31 18:21:54 +00:00
Michael Schmitt
7bd29ec955 add firefox as HTML previewer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17408 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-04 15:43:16 +00:00
Georg Baum
fed67a2d50 fix the fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17291 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-21 13:01:34 +00:00
Michael Schmitt
933173db26 * lib/configure.py: fix typo in comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17286 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 20:56:54 +00:00
Georg Baum
022a719d0d explain why we don't have an agr -> grace converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 20:20:19 +00:00
Georg Baum
3ccb9d8af9 * src/exporter.C
(Exporter::Export): Remove hardcoded check for lyx backend.
	Use the shortest converter path instead, that is more flexible and
	always correct.

	* lib/configure.py: Add new formats and converters for importing and
	exporting files from CJK LyX.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-15 20:14:12 +00:00
Enrico Forestieri
1b21743511 Fix bug 3220
* src/insets/ExternalSupport.C
	(updateExternal): Avoid computing crc of a directory as this leads
	to a crash on Cygwin.

	* lib/configure.py:
	Use a python script to get the current date in order to avoid
	a stalling condition with the date command on Win32.

	* lib/scripts/date.py:
	New python script.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 19:09:54 +00:00
Enrico Forestieri
de42495b90 Fix to the fix for bug 2418. The commands python module is a *nix only
thing and it worked on Win32 only by chance.

	* lib/configure.py:
	Correctly collect stderr also on Win32.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 20:15:41 +00:00
Michael Schmitt
a02431057e * lib/configure.py: fix unwanted script abort (identify LinuxDoc layout file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 17:38:11 +00:00
Enrico Forestieri
61b4f87330 Fix bug 2418 (hopefully)
* lib/configure.py:
	Check whether convert understands the -define option, and, if so,
	define a new converter PDF->PNG such that the CropBox rather than
	the MediaBox is used in the conversion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 23:44:43 +00:00
Uwe Stöhr
aba891d408 Add Ignacio García to the credits
step 2/3

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-06 22:03:14 +00:00
Bo Peng
afc9bac8d3 lib/configure.py: remove comments, this file is no longer experimental
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 16:49:57 +00:00
Georg Baum
bbc3a0f0c4 * src/MenuBackend.C
(expandFormats): Document hack

	* lib/configure.py
	(checkFormatEntries): s/Plain text (paragraphs)/Plain Text, Join Lines/
	since this is the term we use elsewhere and it shows up in the file
	filter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17039 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-04 15:16:44 +00:00
Michael Schmitt
1f7a1257f1 * change LFUN file-insert-ascii to file-insert-plaintext
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 22:49:14 +00:00
Georg Baum
47e8e30eb1 Fix bug 144: Support for noteedit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 15:56:41 +00:00
Michael Schmitt
53e186297e * lib/configure.py: change "MS Word (HTML)" to "HTML (MS Word)" as suggested by H. Haase; fix a few typos ("a" => "an")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16552 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 15:03:38 +00:00
Georg Baum
c7490b191e Add LyX 1.4.x format for export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16417 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 16:23:12 +00:00
Michael Schmitt
88a6d1a918 * lib/configure.py: fix typos ("Declear" => "Declare")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16415 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 15:30:12 +00:00
Enrico Forestieri
35be7672f4 Use booleans True and False and fix a typo in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15932 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-15 01:20:31 +00:00
Enrico Forestieri
bfe2d2c027 Fix dtl tools detection. A non-empty variable is always true in python,
even if its value is false...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15910 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 19:23:44 +00:00