lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rationale for LaTeX lilypond-book syntax?


From: Francisco Vila
Subject: Re: Rationale for LaTeX lilypond-book syntax?
Date: Sun, 18 Apr 2010 17:45:02 +0200

2010/4/18 David Kastrup <address@hidden>:
>
> Hi,
>
> 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}
>
> This is not academic: the current syntax prohibits making a TeX
> implementation of lilypond-book (where TeX could write out the lilypond
> environments and macros itself and run lilypond at the end of the TeX
> run).  It also confuses the heck out of LaTeX-savvy editors which fail
> to recognize the current syntax, making indentation and other supporting
> functionality fail.
>
> Would it be feasible to obsolete the first syntax and support (and
> recommend) the second syntax?

I use spanish option in the babel package and the syntax is

  \usepackage[spanish]{babel}

Is this also considered obsolete?
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]