Windows installer: Fix file format entry for Lilypond-book

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.
This commit is contained in:
Vincent van Ravesteijn 2014-03-19 23:08:07 +01:00
parent fc22ba1642
commit 912d4a7c61

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