mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Herbert's changes to the converter script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4504 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
38be841d7c
commit
2f8ca779af
@ -6,9 +6,10 @@ dir=`dirname $2`
|
|||||||
base=${dir}/`basename $2 .xpm`
|
base=${dir}/`basename $2 .xpm`
|
||||||
|
|
||||||
cp $1 ${base}.tex
|
cp $1 ${base}.tex
|
||||||
(cd ${dir} ; pdflatex --interaction batchmode ${base}.tex)
|
#(cd ${dir} ; latex ${base})
|
||||||
dvips -x 2000 -R -E -o ${base}.eps ${base}.dvi
|
(cd ${dir} ; pdflatex --interaction batchmode ${base})
|
||||||
convert ${base}.eps ${base}.xpm
|
dvips -x 1750 -R -o ${base}.ps ${base}.dvi
|
||||||
|
convert -crop 0x0 ${base}.ps ${base}.xpm
|
||||||
rm ${base}.tex ${base}.aux ${base}.dvi ${base}.log ${base}.eps || true
|
rm ${base}.tex ${base}.aux ${base}.dvi ${base}.log ${base}.eps || true
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user