Commit Graph

106 Commits

Author SHA1 Message Date
Uwe Stöhr
ca14e53a6f fix bug 2418
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-18 18:25:05 +00:00
Enrico Forestieri
0698a90dd4 Fix compatibility with python 2.2.x
* lib/configure.py:
	Add compatibility code for booleans and use True and False
	instead of 'true' and 'false'

	* lib/scripts/lyxpreview_tools.py:
	* lib/scripts/fig_copy.py:
	* lib/scripts/TeXFiles.py:
	Fix typo and make code compatible also with python versions
	greater than 2.2.0


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15947 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-16 10:23:34 +00:00
Martin Vermeer
461900deb5 * layout2layout.py
(convert): remove spurious tabs



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15600 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 11:43:18 +00:00
José Matox
20c3de818d Fix compatibility with python 2.2.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15117 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 10:37:44 +00:00
Jean-Marc Lasgouttes
86a656c8e3 small cleanup after the no-sh patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14580 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:17:08 +00:00
Bo Peng
d6a86a1e16 Change the encoding of some python scripts from iso-8859-15 to iso-8859-1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14479 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:46:03 +00:00
Bo Peng
94f53c061e no-Shell patch five: change indent of lib/scripts/TeXFiles.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14466 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 20:02:13 +00:00
Bo Peng
1603f20819 no-Shell patch three: fig2pstex/pdftex.sh -> fig2pstex/pdftex.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14464 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 19:41:30 +00:00
Bo Peng
d8fb4444fb no-Shell patch two: fig_copy.sh -> fig_copy.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14463 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 19:32:56 +00:00
Bo Peng
26d0812c95 no-Shell patch one: convertDefault.sh -> convertDefault.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-15 15:42:50 +00:00
Jean-Marc Lasgouttes
e85e582e83 New TeXFiles.py script from Bo Peng. This avoids a crash with the bash
version in windows.

	* lib/Makefile.am (dist_scripts_DATA): update.
	* lib/scripts/TeXFiles.sh: removed.
	* lib/scripts/TeXFiles.py: new script.

	* src/frontends/controllers/tex_helpers.C (rescanTexStyles):
	invoke the new TeXFiles.py python script.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-06 12:59:11 +00:00
Georg Baum
730c25aafe forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13923 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-24 19:55:54 +00:00
Georg Baum
7d91f9f96e * lib/scripts/layout2layout.py
(convert): Change "LabelType Static" to "LabelType Itemize" for
	itemize environments
	(convert): Change "LabelType Counter_EnumI" to "LabelType Enumerate"
	for enumerate environments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13660 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 09:10:40 +00:00
Georg Baum
7e95bc60fc *lib/scripts/layout2layout.py: Fix section labelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13587 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:24:07 +00:00
Georg Baum
a3c2ea155d * lib/scripts/layout2layout.py
(concatenate_label): new, concatenate two labels in an intelligent way
	(convert): add the TocLevel for sectioning styles
	(convert): convert LabelString and StringAppendix for sectioning
	styles (append counter)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13538 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-31 14:15:43 +00:00
Jürgen Spitzmüller
12ab1b1cec * lib/scripts/lyxpreview2bitmap.py: fix frac calculation (bug 2391).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13510 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:15:17 +00:00
Jean-Marc Lasgouttes
5bad987680 bug 2167: previews badly placed when ascent or descent is 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13273 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 14:24:17 +00:00
Jürgen Spitzmüller
8e96921285 From Enrico Forestieri: fix script to work with recent versions of preview-latex and dvipng (bug 2243).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13263 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-20 19:29:58 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Georg Baum
ba4236f744 fix bibenvironment handling in layout2layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10755 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 08:40:10 +00:00
Georg Baum
7adc8beb4d Convert bib_environment in layout2layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10715 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-08 15:35:38 +00:00
Angus Leeming
132d2a2da7 Enable instant preview to work if the path to GhostScript contains spaces (bug
2193).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10710 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-05 14:13:14 +00:00
Georg Baum
5d65c9bb09 fix line endings in layout2layout.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10570 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-24 14:13:45 +00:00
Georg Baum
3e885523c3 layout file converter for layout files in old format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10565 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-21 16:11:36 +00:00
Angus Leeming
c302740b9b J�rgen S's fix to bug 1817.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10468 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-21 09:22:18 +00:00
Angus Leeming
f8be560c1f Use gswin32c rather than gswin32 on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10072 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 13:15:09 +00:00
Angus Leeming
0a1fc13eff Do not quote the name of the executable when spawning an external process.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9921 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-08 14:11:55 +00:00
Angus Leeming
f724b28cd9 Send error messages to STDERR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9818 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-17 17:31:15 +00:00
Angus Leeming
ee0434c0ad Enable convertDefault.sh to work reliably under Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9739 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-23 21:48:08 +00:00
Georg Baum
e367172256 use the movers also for copying from temp dir -> export dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9153 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-01 08:50:42 +00:00
Angus Leeming
e5706b107d The Movers patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9130 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 18:39:13 +00:00
José Matox
6b440f84ca Replace os.getenv(x) by os.environ[x] for compatibility with old python versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9063 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-08 09:19:54 +00:00
Angus Leeming
28438b1a4a Protect shell variables with quotes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9030 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-01 15:12:03 +00:00
Angus Leeming
f907db6a82 Move common code into a 'tools' file.
Implementation is as similar as possible to the well-tested code in the
1.3.x tree.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8878 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-09 11:31:18 +00:00
Angus Leeming
3e34d6f23c Append ".exe" to the name of the searched-for program on Win32.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8765 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 14:56:33 +00:00
Angus Leeming
10759f2112 Fix encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8762 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-18 12:31:50 +00:00
Angus Leeming
2e66a01e8f Search for "gswin32" also when looking for ghostscript.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8760 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-18 07:40:18 +00:00
José Matox
fc09056ccc fix wrong point for writing in temporary file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8733 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-04 09:42:24 +00:00
José Matox
19c9cb3799 fix bug with python 2.3 and
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8726 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-03 13:45:59 +00:00
Angus Leeming
915cd386a0 Squash python warning about unknown file encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8694 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-26 09:18:09 +00:00
Angus Leeming
5fb56932b5 * Change the lyxpreview_to_bitmap_command to the new python script.
* Ignore *.pyc in the scripts directory.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8678 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:10:15 +00:00
Angus Leeming
a2e688065a Re-enable preview generation using dvips, gs and pnmcrop.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8675 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 18:12:23 +00:00
Angus Leeming
005545f281 Remove cached var from RenderPreview. Changes elsewhere to suit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8669 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 13:05:36 +00:00
Angus Leeming
8be99f7b3b Rework preview generation to use Jan-��ke Larsson's dvipng.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8655 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-16 14:34:41 +00:00
Angus Leeming
2943f3da29 Safe use of 'cut' with Win32 filenames.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8146 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 09:39:16 +00:00
Angus Leeming
807bc25587 Make the search for the generated output file work on Win32 also.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8018 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 12:31:40 +00:00
Angus Leeming
a60b5c0b72 Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
Angus Leeming
4da67cb792 Store LaTeXFeatures' externalPreambles as a list<string> rather than a string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7658 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 01:49:21 +00:00
Angus Leeming
a52418b360 Revert, revert, revert. Sorry about that, y'all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7651 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:40:58 +00:00
Angus Leeming
9498f9758f src/support/ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:28:39 +00:00