]> git.lyx.org Git - features.git/commitdiff
Prepare for impending arrival of preview.sty 0.73 by adding "lyx" to the
authorAngus Leeming <leeming@lyx.org>
Mon, 5 Aug 2002 13:31:48 +0000 (13:31 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 5 Aug 2002 13:31:48 +0000 (13:31 +0000)
list of options output to preview.sty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4862 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/ChangeLog
src/graphics/PreviewLoader.C

index e09183afbd050282da6f284b69025b77c5a53237..d2ebf24c56a12f21a3d14bf5a403b38052f8247c 100644 (file)
@@ -1,3 +1,10 @@
+2002-08-05  Angus Leeming  <leeming@lyx.org>
+
+       * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
+       to preview.sty. Works only for versions of preview.sty > 0.72b but
+       doesn't hurt earlier versions. Allows me to test the new parsing of
+       LyX-specific data from the generated log file.
+
 2002-08-02  Angus Leeming  <leeming@lyx.org>
 
        * GraphicsLoader.C: cache the BufferView as a weak_ptr.
index 8e15ac8184ce97aca8ed37009fe3f3ece3185aef..189ff2ff6dd216e41d007caa4665727524d3e4d1 100644 (file)
@@ -584,7 +584,7 @@ void PreviewLoader::Impl::dumpPreamble(ostream & os) const
        // Use the preview style file to ensure that each snippet appears on a
        // fresh page.
        os << "\n"
-          << "\\usepackage[active,delayed,dvips,tightpage,showlabels]{preview}\n"
+          << "\\usepackage[active,delayed,dvips,tightpage,showlabels,lyx]{preview}\n"
           << "\n";
 
        // This piece of PostScript magic ensures that the foreground and