[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rationale for LaTeX lilypond-book syntax?
From: |
Werner LEMBERG |
Subject: |
Re: Rationale for LaTeX lilypond-book syntax? |
Date: |
Sun, 18 Apr 2010 19:03:15 +0200 (CEST) |
> the "LaTeX" syntax for lilypond-book happens to be something like
>
> \begin[verbatim,fragment]{lilypond}
> \relative c' { c << { d e } { b c } >> <c es g> }
> \end{lilypond}
>
> Unfortunately, this is quite annoying since actual optional
> arguments for environments come _after_ the environment name in
> LaTeX, like
>
> \begin{lilypond}[verbatim,fragment]
> \relative c' { c << { d e } { b c } >> <c es g> }
> \end{lilypond}
>
> Would it be feasible to obsolete the first syntax and support (and
> recommend) the second syntax?
I don't see any reason not to do that. We even don't have to change
the name of the environment. Just allow both
\begin{lilypond}[...]
and
\begin[...]{lilypond}
It should be straightforward to extend lilypond-book's regexp to make
this work.
Werner
- Rationale for LaTeX lilypond-book syntax?, David Kastrup, 2010/04/18
- Re: Rationale for LaTeX lilypond-book syntax?, Francisco Vila, 2010/04/18
- Re: Rationale for LaTeX lilypond-book syntax?,
Werner LEMBERG <=
- Re: Rationale for LaTeX lilypond-book syntax?, David Kastrup, 2010/04/18
- Re: Rationale for LaTeX lilypond-book syntax?, Carl Sorensen, 2010/04/18
- Re: Rationale for LaTeX lilypond-book syntax?, David Kastrup, 2010/04/19
- Re: Rationale for LaTeX lilypond-book syntax?, David Kastrup, 2010/04/19
- Patch for LaTeX lilypond-syntax change (was: Rationale for LaTeX lilypond-book syntax?), David Kastrup, 2010/04/19
- Re: Patch for LaTeX lilypond-syntax change (was: Rationale for LaTeX lilypond-book syntax?), Graham Percival, 2010/04/19
- Re: Patch for LaTeX lilypond-syntax change, David Kastrup, 2010/04/19
- Re: Patch for LaTeX lilypond-syntax change, Graham Percival, 2010/04/19
- Re: Patch for LaTeX lilypond-syntax change, Carl Sorensen, 2010/04/19
- Re: Patch for LaTeX lilypond-syntax change, Graham Percival, 2010/04/19