+2004-08-09 Angus Leeming <leeming@lyx.org>
+
+ * scripts/lyxpreview_tools.py: move code common to both
+ legacy_lyxpreview2ppm.py and lyxpreview2bitmap.py into a separate
+ file. The code itself is a straight copy of the implementation
+ to be found in the 1.3.x tree. It is much more flexible and powerful
+ than the existing code in the 1.4.x tree. It's also better tested.
+
+ * scripts/legacy_lyxpreview2ppm.py: use the code in
+ lyxpreview_tools.py. Also use try-except blocks when reading files.
+ The code is as similar as possible to that found in the 1.3.x tree,
+ differing only in the parsing of the metrics file as 1.4.x requires
+ different data.
+
+ * scripts/lyxpreview2bitmap.py: use the code in lyxpreview_tools.py.
+ Also use the experience gained in making the 1.3.x code robust to
+ wrap arguments to external programs in 'single quotes'.
+
2004-07-23 Angus Leeming <leeming@lyx.org>
* layouts/apa.layout: Patch from Yvonnick Noel. Spell the