Commit Graph

40 Commits

Author SHA1 Message Date
Angus Leeming
38927eb419 If we bother to test for the presence of latex, then the test should work...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5907 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-06 17:40:46 +00:00
Angus Leeming
3a82c61287 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-22 12:00:05 +00:00
Angus Leeming
e27f7329c9 Don't use "if [ $? -ne 0 ]"; personally, I blame JMarc ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5693 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-21 17:09:22 +00:00
Angus Leeming
bd54683932 Stupid piping error :-(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5564 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-31 13:51:29 +00:00
Angus Leeming
279ea68a2a Use pnmcrop to crop the previews
Use pnmcrop to crop the previews and be done with all this nonsense.
Should fix the drawing problems in tables too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5440 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-18 12:17:38 +00:00
Angus Leeming
53177767c9 Improved error message on failure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5437 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-18 08:32:18 +00:00
José Matox
2f7c9e057a Sanitize python scripts headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5246 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-10 10:14:10 +00:00
Angus Leeming
1eb8155fa0 This file is part of LyX, the document processor.
Licence details can be found in the file COPYING.

and thank God for sed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00
Angus Leeming
4d42b1d8aa Augment the preliminary blurb, as suggested by Andr�.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5207 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 11:45:44 +00:00
Angus Leeming
e742268ef9 Rename lyxpreview2ppm.sh as lyxpreview2bitmap.sh because the script now
takes an extra argument specifying the desired output format, ppm or png.
Qt users may want to change their preferences file to suit ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5205 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-04 11:56:45 +00:00
Angus Leeming
63dca538e9 Simplify code by telling gs to output bitmap files as %d, not %Nd where
N is some painfully specified integer.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5204 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-04 10:15:56 +00:00
Angus Leeming
285b8c52ab Clean-up preliminary blurb.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5200 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 19:23:29 +00:00
Angus Leeming
ca5ff30107 Fix warning when using test with non-integer arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5199 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 17:23:33 +00:00
Angus Leeming
fff79cf645 Fix crash reported by Norbert Koksch, using a hard-coded 5 digits (boo! hiss!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5197 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 16:15:03 +00:00
Angus Leeming
1ccc528e28 Activate the code using preview.sty 0.73. Ditch support for older versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5194 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 13:52:37 +00:00
John Levon
555abe1948 Not all the world's a Linux.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4999 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 16:26:02 +00:00
John Levon
9c54f354ce try to force +x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4926 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 15:42:45 +00:00
John Levon
e540343c39 remove sh files temporarily
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4925 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 15:41:22 +00:00
Angus Leeming
256dc1b99f Rename bbox.sed so that multiple runs don't get confused.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4808 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 17:14:16 +00:00
Angus Leeming
0253a8b7b7 Use "\\" rather than "[\]" by using '' not "" to delimit the expression.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4759 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 10:07:54 +00:00
Angus Leeming
0fc1b8d397 More efficient R.E..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4757 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-23 09:19:58 +00:00
Jean-Marc Lasgouttes
af9352a2e7 latest graphics jumbo patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4741 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 12:36:41 +00:00
Angus Leeming
c723c2aeff * Improve error reporting.
* Make it work with scary_eqns.lyx by repeating the LaTeX run if it failed
first time round, but this time remove the showlabels option from
preview.sty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4704 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 17:17:17 +00:00
Angus Leeming
6ae1cb1d6c Use gs's pnmraw device rather than its pnm one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4622 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 14:53:40 +00:00
Angus Leeming
a0003fb2a8 New lyxrc variables for the preview stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4580 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:09:37 +00:00
Angus Leeming
83d049ff0c Make the cropping work and then turn it off by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4547 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 12:50:49 +00:00
Angus Leeming
0cf115854c Add an option to crop to the left and to the right of the images if so desired. Add some blurb to the top of the script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4546 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 11:57:30 +00:00
Angus Leeming
f68a2bfb91 Preview code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4538 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-05 21:24:15 +00:00
André Pönitz
2f8ca779af Herbert's changes to the converter script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4504 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 08:07:21 +00:00
André Pönitz
492182feae move the preview conversion stuff into an external script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4494 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-27 10:42:51 +00:00
Jean-Marc Lasgouttes
d246375c2c backport listerrors to python 1.5, fix installation when there are no ps TeX fonts, update NEWS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3829 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 23:29:30 +00:00
Jean-Marc Lasgouttes
f10227802b tentative fix for #190; other small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3782 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 21:42:50 +00:00
Dekel Tsur
7a57795f20 insetexternal: Do not run update command if result file exists and is up to
date.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2960 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-02 16:28:29 +00:00
Jean-Marc Lasgouttes
44b7b7fc71 more skak tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2957 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 17:16:35 +00:00
Jean-Marc Lasgouttes
60ca300e1d skak support, John's ERT fixes, loclae blunder fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:19:49 +00:00
Jean-Marc Lasgouttes
1d415f2c7c update to TeXFiles.sh
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2886 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 13:59:11 +00:00
Jean-Marc Lasgouttes
ec03124798 fixes to tex-info stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2865 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 08:15:47 +00:00
Angus Leeming
ba61c3aa4c Clean-up of Herbert's Texinfo dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:45:05 +00:00
Jürgen Vigna
7590dcfa98 Patch from Dekel for fig2pstex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@819 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-19 08:27:20 +00:00
Lars Gullik Bjønnes
6bba977f42 FILMagain changes (will need some work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00