mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Win installer: add support for the program rsvg
also remove the now superfluous eLyXer addition
This commit is contained in:
parent
098f160fc0
commit
cb20102701
@ -20,6 +20,7 @@ Configuration of LyX installer
|
|||||||
!define FILES_IMAGEMAGICK "${FILES_DEPS}\imagemagick"
|
!define FILES_IMAGEMAGICK "${FILES_DEPS}\imagemagick"
|
||||||
!define FILES_GHOSTSCRIPT "${FILES_DEPS}\ghostscript"
|
!define FILES_GHOSTSCRIPT "${FILES_DEPS}\ghostscript"
|
||||||
!define FILES_NETPBM "${FILES_DEPS}\bin"
|
!define FILES_NETPBM "${FILES_DEPS}\bin"
|
||||||
|
!define FILES_RSVG "${FILES_DEPS}\bin"
|
||||||
!define FILES_DTL "${FILES_DEPS}\bin"
|
!define FILES_DTL "${FILES_DEPS}\bin"
|
||||||
!define FILES_DVIPOST "${FILES_DEPS}\bin"
|
!define FILES_DVIPOST "${FILES_DEPS}\bin"
|
||||||
!define FILES_DVIPOST_PKG "${FILES_DEPS}\tex"
|
!define FILES_DVIPOST_PKG "${FILES_DEPS}\tex"
|
||||||
@ -56,7 +57,7 @@ Configuration of LyX installer
|
|||||||
!define APP_WEBPAGE_INFO "${APP_NAME} Website"
|
!define APP_WEBPAGE_INFO "${APP_NAME} Website"
|
||||||
!define APP_WIKI "http://wiki.lyx.org"
|
!define APP_WIKI "http://wiki.lyx.org"
|
||||||
!define APP_WIKI_INFO "${APP_NAME} Wiki"
|
!define APP_WIKI_INFO "${APP_NAME} Wiki"
|
||||||
!define APP_COPYRIGHT "LyX is Copyright © 1995 by Matthias Ettrich, 1995-2014 by the LyX Team"
|
!define APP_COPYRIGHT "LyX is Copyright © 1995 by Matthias Ettrich, 1995-2014 by the LyX Team"
|
||||||
|
|
||||||
!define APP_RUN "bin\lyx.exe"
|
!define APP_RUN "bin\lyx.exe"
|
||||||
!define BIN_LYX "lyx.exe"
|
!define BIN_LYX "lyx.exe"
|
||||||
|
@ -65,6 +65,12 @@ Lists of files to include in the installer
|
|||||||
|
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
!macro FileListRsvg COMMAND DIRECTORY
|
||||||
|
|
||||||
|
${FILE}rsvg-convert.exe"
|
||||||
|
|
||||||
|
!macroend
|
||||||
|
|
||||||
!macro FileListDvipostBin COMMAND DIRECTORY
|
!macro FileListDvipostBin COMMAND DIRECTORY
|
||||||
|
|
||||||
${FILE}pplatex.exe"
|
${FILE}pplatex.exe"
|
||||||
|
@ -158,10 +158,6 @@ Section -Configure
|
|||||||
FileWrite $R1 '\path_prefix "$PathPrefix"$\r$\n'
|
FileWrite $R1 '\path_prefix "$PathPrefix"$\r$\n'
|
||||||
${endif}
|
${endif}
|
||||||
|
|
||||||
# set path to eLyXer
|
|
||||||
FileWrite $R1 '\converter "lyx" "odt" "python -tt \"$INSTDIR\Python\Lib\elyxer.py\" --html --nofooter --unicode --directory $$$$r $$$$i $$$$o" ""$\r$\n\
|
|
||||||
\converter "lyx" "word" "python -tt \"$INSTDIR\Python\Lib\elyxer.py\" --html --nofooter --unicode --directory $$$$r $$$$i $$$$o" ""$\r$\n'
|
|
||||||
|
|
||||||
# use pdfview for all types of PDF files
|
# use pdfview for all types of PDF files
|
||||||
FileWrite $R1 '\format "pdf5" "pdf" "PDF (LuaTeX)" "u" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
|
FileWrite $R1 '\format "pdf5" "pdf" "PDF (LuaTeX)" "u" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
|
||||||
\format "pdf4" "pdf" "PDF (XeTeX)" "X" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
|
\format "pdf4" "pdf" "PDF (XeTeX)" "X" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
|
||||||
|
@ -52,6 +52,7 @@ Section -ProgramFiles SecProgramFiles
|
|||||||
!insertmacro FileListMSVC File "${FILES_MSVC}\"
|
!insertmacro FileListMSVC File "${FILES_MSVC}\"
|
||||||
!insertmacro FileListNetpbmBin File "${FILES_NETPBM}\"
|
!insertmacro FileListNetpbmBin File "${FILES_NETPBM}\"
|
||||||
!insertmacro FileListDTLBin File "${FILES_DTL}\"
|
!insertmacro FileListDTLBin File "${FILES_DTL}\"
|
||||||
|
!insertmacro FileListRsvg File "${FILES_RSVG}\"
|
||||||
!insertmacro FileListDvipostBin File "${FILES_DVIPOST}\"
|
!insertmacro FileListDvipostBin File "${FILES_DVIPOST}\"
|
||||||
!insertmacro FileListPDFViewBin File "${FILES_PDFVIEW}\"
|
!insertmacro FileListPDFViewBin File "${FILES_PDFVIEW}\"
|
||||||
!insertmacro FileListPDFToolsBin File "${FILES_PDFTOOLS}\"
|
!insertmacro FileListPDFToolsBin File "${FILES_PDFTOOLS}\"
|
||||||
|
Loading…
Reference in New Issue
Block a user