]> git.lyx.org Git - features.git/commitdiff
Windows installer: Fix file format entry for Lilypond-book
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 19 Mar 2014 22:08:07 +0000 (23:08 +0100)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 19 Mar 2014 22:11:52 +0000 (23:11 +0100)
In preferences format 7, a mime format is added to the format entry in the
preferences file. If this entry does not exist, LyX cannot read the entry.

development/Win32/packaging/installer/setup/configure.nsh

index c4de7cde6ee6922949aba82f86845d1007954253..2e8bd7c69c5e428db3e9ca18caa192066b839dae 100644 (file)
@@ -166,7 +166,7 @@ Section -Configure
   # we need to add these entris because python scripts can only be executed
   # if the full path is given
   ${if} $LilyPondPath != ""
-   FileWrite $R1 '\format "lilypond-book" "lytex" "LilyPond book (LaTeX)" "" "" "auto" "document,menu=export"$\r$\n\
+   FileWrite $R1 '\format "lilypond-book" "lytex" "LilyPond book (LaTeX)" "" "" "auto" "document,menu=export" ""$\r$\n\
                  \converter "lilypond-book" "pdflatex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
                  \converter "lilypond-book" "xetex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --pdf --latex-program=xelatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
                  \converter "lilypond-book" "luatex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --pdf --latex-program=lualatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\