From 61cf3f58846eb71a2d62b184578eb19d2828f738 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 5 Aug 2002 13:31:48 +0000 Subject: [PATCH] Prepare for impending arrival of preview.sty 0.73 by adding "lyx" to the 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 | 7 +++++++ src/graphics/PreviewLoader.C | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/graphics/ChangeLog b/src/graphics/ChangeLog index e09183afbd..d2ebf24c56 100644 --- a/src/graphics/ChangeLog +++ b/src/graphics/ChangeLog @@ -1,3 +1,10 @@ +2002-08-05 Angus Leeming + + * 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 * GraphicsLoader.C: cache the BufferView as a weak_ptr. diff --git a/src/graphics/PreviewLoader.C b/src/graphics/PreviewLoader.C index 8e15ac8184..189ff2ff6d 100644 --- a/src/graphics/PreviewLoader.C +++ b/src/graphics/PreviewLoader.C @@ -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 -- 2.39.2