installer: fix converter for HTML

- fix bug reported on the lyx-devel list that eLyXer could not be invoked if Python is not installed
This commit is contained in:
Uwe Stöhr 2013-05-15 23:48:23 +02:00
parent 8c23318a99
commit 792e216989
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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\