]> git.lyx.org Git - features.git/commitdiff
More efficient R.E..
authorAngus Leeming <leeming@lyx.org>
Tue, 23 Jul 2002 09:19:58 +0000 (09:19 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 23 Jul 2002 09:19:58 +0000 (09:19 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4757 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/scripts/lyxpreview2ppm.sh

index 8aa516f24294c3a8819431e16649e53a18a74882..08c14db0b3a63531892deead8bd05edc75b7022f 100644 (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
index 076a8807b87405dd043f1bceafcc34d2d6060237..52f9c4556fcd6e8bd10157eca8e329515df2393a 100644 (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=$?