diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-20 23:06:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-20 23:06:47 +0000 |
commit | 4a940511862dc777d8908864613d02d4852ee108 (patch) | |
tree | 8dc0ccfb84a7df649df80f0411fcc2ba8b9118f0 /Master/texmf-dist/tex/context/third | |
parent | 1fece3d978c4b6e75ca8acf71e55ff643598951d (diff) |
context-lilypond (20may09)
git-svn-id: svn://tug.org/texlive/trunk@13280 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/third')
-rw-r--r-- | Master/texmf-dist/tex/context/third/lilypond/t-lilypond.tex | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/third/lilypond/t-lilypond.tex b/Master/texmf-dist/tex/context/third/lilypond/t-lilypond.tex index 54b54c12ff0..b0895ec2f0f 100644 --- a/Master/texmf-dist/tex/context/third/lilypond/t-lilypond.tex +++ b/Master/texmf-dist/tex/context/third/lilypond/t-lilypond.tex @@ -1,6 +1,6 @@ %D \module %D [ file=t-lilypond, -%D version=2009.03.05, +%D version=2009.05.15, %D title=\CONTEXT\ User Modules, %D subtitle=LilyPond Connections (Music Typesetting), %D author={Christopher Creutzig, Henning Hraban Ramm, Mojca Miklavec}, @@ -19,7 +19,7 @@ %D \starttabulate[|l|l|l|] %D \NC option\NC default\NC comment\NC\NR %D \HL -%D \NC staffsize\NC 20\NC in pt \NC\NR +%D \NC staffsize\NC 14\NC in pt \NC\NR %D \NC indent\NC 0pt\NC first line indent \NC\NR %D \NC time\NC yes\NC count time? (i.e. show time signature, set bars, split line) \NC\NR %D \NC clef\NC yes\NC show clef? \NC\NR @@ -248,19 +248,31 @@ %D %D Generating a PDF directly always creates a whole page, so we generate EPS first. - \def\LP{texmfstart --ifchanged="\lily!filename.eps" --exec bin:lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete-intermediate-files "\lily!filename.tmp"} + %\def\LP{texmfstart --ifchanged="\lily!filename.tmp" --exec bin:lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete-intermediate-files "\lily!filename.tmp"} + \def\LP{mtxrun --ifchanged="\lily!filename.tmp" --exec bin:lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete-intermediate-files "\lily!filename.tmp"} + %\def\LP{lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete-intermediate-files "\lily!filename.tmp"} %D %D It would be nice, if \type{-ddelete-intermediate-files} would delete all useless intermediate files. %D More possible options in \type{lily.scm}. - \def\PDF{texmfstart --ifchanged="\lily!filename.eps" pstopdf "\lily!filename.eps"} + \def\PDF{mtxrun --ifchanged="\lily!filename.eps" pstopdf "\lily!filename.eps"} %D The following line is needed for Lua\TeX, where buffers are kept in memory %D in contrast to other (older) flavours of \TeX\ where they're written to a %D file automatically. We have to require writing to a file explicitely %D with \type{\savebuffer}. +%D +%D There were rumors that \LUATEX\ would drop \type{\savebuffer}, so we would need to re-define it: +%D \starttyping +%D \def\savebuffer{\dosingleempty\dosavebuffer} +%D \def\dosavebuffer[#1]{\ctxlua{buffers.save("#1")}} +%D \stoptyping + + \ifx\directlua\undefined \else \savebuffer[lilypond-\lily!figures]\fi + \writestatus{LilyPond}{\lily!filename} + %\writestatus{LilyPond}{\LP} \executesystemcommand{\LP}% \doif\jobsuffix{pdf}{% \executesystemcommand{\PDF}% |