]> git.lyx.org Git - features.git/commitdiff
* Change the lyxpreview_to_bitmap_command to the new python script.
authorAngus Leeming <leeming@lyx.org>
Tue, 20 Apr 2004 08:10:15 +0000 (08:10 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 20 Apr 2004 08:10:15 +0000 (08:10 +0000)
* Ignore *.pyc in the scripts directory.

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

lib/ChangeLog
lib/configure.m4
lib/scripts/.cvsignore [new file with mode: 0644]

index 8edf7980d9fca20bd64ac0da7a89739959411aac..652a1aa19ebfc1b12a0c669adad143fc584b1cbb 100644 (file)
@@ -1,3 +1,10 @@
+2004-04-20  Angus Leeming  <leeming@lyx.org>
+
+       * configure.m4: change the lyxpreview_to_bitmap_command to the
+       new python script.
+
+       * scripts/.cvsignore: new file, ignoring *.pyc.
+
 2004-04-20  Angus Leeming  <angus@localhost.localdomain>
 
        * external_templates: Comment out the insertion of the definitions
index 29621133d95ed1efe8cf0776c9de38a7f47c7761..ba5b1bb0efde5f7b1cd72833bded5d5c96ab10be 100644 (file)
@@ -306,8 +306,8 @@ test $dvi_to_ps_command = "dvips" && dvi_to_ps_command="dvips -o \$\$o \$\$i"
 SEARCH_PROG([for a DVI to PDF converter],dvi_to_pdf_command,dvipdfm)
 test $dvi_to_pdf_command = "dvipdfm" && dvi_to_pdf_command="dvipdfm \$\$i"
 
-# We have a script to convert previewlyx to ppm
-lyxpreview_to_bitmap_command='$$s/lyxpreview2bitmap.sh'
+# We have a script to convert previewlyx to ppm or to png
+lyxpreview_to_bitmap_command='python $$s/lyxpreview2bitmap.py'
 
 # Search a *roff program (used to translate tables in ASCII export)
 LYXRC_PROG([for a *roff formatter], \ascii_roff_command, dnl
@@ -565,6 +565,7 @@ cat >$outfile <<EOF
 \\converter linuxdoc   lyx        "$linuxdoc_to_lyx_command"   ""
 \\converter literate   latex      "$literate_to_tex_command"   ""
 \\converter literate   lyx        "$literate_to_lyx_command"   ""
+\\converter lyxpreview png        "$lyxpreview_to_bitmap_command"      ""
 \\converter lyxpreview ppm        "$lyxpreview_to_bitmap_command"      ""
 \\converter ps         fax        "$fax_command"       ""
 \\converter ps         pdf        "$ps_to_pdf_command" ""
diff --git a/lib/scripts/.cvsignore b/lib/scripts/.cvsignore
new file mode 100644 (file)
index 0000000..0d20b64
--- /dev/null
@@ -0,0 +1 @@
+*.pyc