]> git.lyx.org Git - features.git/commit
*** Extend preview scripts to also handle PDF output (bug 2165) ***
authorJürgen Spitzmüller <spitz@lyx.org>
Wed, 2 Jul 2008 14:42:04 +0000 (14:42 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Wed, 2 Jul 2008 14:42:04 +0000 (14:42 +0000)
commit01c71419d9e8e21fab0dfcd6363b31b53f61faf7
treebfdaa06ae7b161e1fb1eb4bbbb51a529e8f5eeaa
parent35e14de7066347030b5168216c4e6a82abc67174
*** Extend preview scripts to also handle PDF output (bug 2165) ***

* src/PreviewLoader.cpp:
- add conditions for preview with pdf output

* lib/scripts/legacy_lyxpreview2ppm.py:
- if no dvi preview file is available, check for a PDF file
  and process that, if found
- also produce png output, if requested.

* lib/scripts/lyxpreview2bitmap.py:
- if no dvi preview file is available, check for a PDF file
  and process that, if found

*  lib/scripts/lyxpreview_tools.py:
- move some common functions here

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25419 a592a061-630c-0410-9148-cb99ea01b6c8
lib/scripts/legacy_lyxpreview2ppm.py
lib/scripts/lyxpreview2bitmap.py
lib/scripts/lyxpreview_tools.py
src/graphics/PreviewLoader.cpp