From 792e216989f9bfe04ef2248e495e97e8a4272036 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 15 May 2013 23:48:23 +0200 Subject: [PATCH] installer: fix converter for HTML - fix bug reported on the lyx-devel list that eLyXer could not be invoked if Python is not installed --- development/Win32/packaging/installer/ChangeLog.txt | 10 ++++++++-- .../Win32/packaging/installer/setup/configure.nsh | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/development/Win32/packaging/installer/ChangeLog.txt b/development/Win32/packaging/installer/ChangeLog.txt index 4e4fb5c1a8..53444ef23a 100644 --- a/development/Win32/packaging/installer/ChangeLog.txt +++ b/development/Win32/packaging/installer/ChangeLog.txt @@ -1,4 +1,9 @@ -Changelog for LyX-206-1: +Changelog for LyX-206-2: +- fix bug that View/Export a file as HTML did not work. + + +Changelog for LyX-206-1: +- installs LyX 2.0.6 - support for Vietnamese, Thai, Serbian Cyrillic and Mongolian will now automatically be installed to MiKTeX - language support files for Belarusian and Hungarian are now included @@ -11,11 +16,12 @@ Slovakian and Swedish (To benefit from them you must uninstall an already installed LyX 2.0.x and then use this installer.) -- updated thesaurus for Italian, Norwegian (Bokmal), Portuguese, Romanian, +- updated thesaurus for Italian, Norwegian(Bokmal), Portuguese, Romanian, Slovakian and Slovenian (need to reinstall LyX to benefit from this) - updated to Python 2.7.4 + Changelog for LyX-2051-5: - Fix broken importing of TeX files to LyX - If a 64bit version of MiKTeX is installed it is now recognized by LyX diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh index 6037ee2c03..ac329522d1 100644 --- a/development/Win32/packaging/installer/setup/configure.nsh +++ b/development/Win32/packaging/installer/setup/configure.nsh @@ -146,6 +146,10 @@ Section -Configure FileWrite $R1 '\path_prefix "$PathPrefix"$\r$\n' ${endif} + # set path to eLyXer + FileWrite $R1 '\converter "lyx" "html" "python -tt \"$INSTDIR\Python\Lib\elyxer.py\" --directory $$$$r $$$$i $$$$o" ""$\r$\n\ + \converter "lyx" "wordhtml" "python -tt \"$INSTDIR\Python\Lib\elyxer.py\" --html --directory $$$$r $$$$i $$$$o" ""' + # use pdfview for all types of PDF files FileWrite $R1 '\format "pdf5" "pdf" "PDF (LuaTeX)" "u" "pdfview" "" "document,vector,menu=export"$\r$\n\ \format "pdf4" "pdf" "PDF (XeTeX)" "X" "pdfview" "" "document,vector,menu=export"$\r$\n\ -- 2.39.2