More efficient R.E..

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4757 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-07-23 09:19:58 +00:00
parent 38f68d107b
commit 0fc1b8d397
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-07-18 Angus Leeming <leeming@lyx.org>
* scripts/lyxpreview2ppm.sh: more efficient RE.
2002-07-22 Herbert Voss <voss@lyx.org>
* scripts/convertDefault.sh: defines a converter which is used

View File

@ -60,7 +60,8 @@ if [ ${STATUS} -ne 0 ]; then
# LaTeX failed.
# preview.sty has known problems with the showlabels option,
# so remove it and try again.
sed -e "/^[\]usepackage\(.*\){preview}/s/,showlabels//" \
# This "fix" should be removed once preview-latex 0.73 is released.
sed -e "/^[\]usepackage/,/{preview}$/s/,showlabels//" \
< ${TEXFILE} > .${TEXFILE}
cmp -s ${TEXFILE} .${TEXFILE}
STATUS=$?