Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-08-10 Thread reinhold . kainhofer

On 2011/07/26 21:38:00, J_lowe wrote:

A few minor syntax and doc policy issues


I have now also changed the documentation and uploaded a new patch.

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-08-10 Thread pkx166h

minor stuff.


http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely#newcode225
Documentation/usage/lilypond-book.itely:225: In the input file, music is
specified with any of the following commands
Minor nitpick, I just noticed this needs a comma after the word
'command'. We don't 'run into' the example any more. CG 5.3.7.

http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely#newcode439
Documentation/usage/lilypond-book.itely:439: In the input file, music is
specified with any of the following commands
again a comma needed at the end of this phrase.

http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely#newcode516
Documentation/usage/lilypond-book.itely:516: In the input file, music is
specified with any of the following commands
One more comma here too.

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-08-10 Thread Carl . D . Sorensen

LGTM.  Thanks!

Carl



http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/16001/Documentation/usage/lilypond-book.itely#newcode225
Documentation/usage/lilypond-book.itely:225: In the input file, music is
specified with any of the following commands
I think a colon is better than a comma in these situations.

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-07-27 Thread reinhold . kainhofer

Of course, all comments for the docs apply to HTML/LaTeX/Texinfo as
well.


http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode206
Documentation/usage/lilypond-book.itely:206: @itemize @bullet
On 2011/07/26 21:38:00, J_lowe wrote:

We don't use @bullet with @itemize.


Okay, I don't know anything about docs formatting, so I usually copy
things from the same file. IN this case, the @bullet is copied from a
few lines down (line 275 in the unmodified file). I'll remove it.

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode207
Documentation/usage/lilypond-book.itely:207: @item the
@code{\lilypond@{...@}} command, where you can directly enter short
lilypond code
On 2011/07/26 21:38:00, J_lowe wrote:

On 2011/07/26 15:49:50, lemzwerg wrote:
 Please stay within a width of 80 characters.



80?



72 (preferably 66 - see 5.3.5 Text formatting in CG - also see @item

in the

various sections)


Yes, sorry. Plus, I should add the blank lines between the @items

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode226
Documentation/usage/lilypond-book.itely:226: @end example
On 2011/07/26 21:38:00, J_lowe wrote:

I did this
Myself a few days ago on another section and Graham, quite rightly,

said it was

unnecessary. Can we just use one single



@example
...
@end example for all of these?


I have just added one more to the already existing list of @examples.
How exactly should the doc look with 1 @example?

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-07-27 Thread pkx166h


http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode226
Documentation/usage/lilypond-book.itely:226: @end example
On 2011/07/27 14:20:57, Reinhold wrote:

On 2011/07/26 21:38:00, J_lowe wrote:
 I did this
 Myself a few days ago on another section and Graham, quite rightly,

said it

was
 unnecessary. Can we just use one single

 @example
 ...
 @end example for all of these?



I have just added one more to the already existing list of @examples.

How

exactly should the doc look with 1 @example?


Oh, sorry Reinhold. I got carried away :)

Well if it were me...I'd probably have edited them 'while I was about
it' but then again Doc is all I do.

So in that case.

LGTM

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-07-26 Thread lemzwerg

LGTM (without testing).


http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode207
Documentation/usage/lilypond-book.itely:207: @item the
@code{\lilypond@{...@}} command, where you can directly enter short
lilypond code
Please stay within a width of 80 characters.

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-07-26 Thread pkx166h

A few minor syntax and doc policy issues


http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely
File Documentation/usage/lilypond-book.itely (right):

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode206
Documentation/usage/lilypond-book.itely:206: @itemize @bullet
Please see Contributor's guide

5.3.6 Syntax survey

Lists

We don't use @bullet with @itemize.

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode207
Documentation/usage/lilypond-book.itely:207: @item the
@code{\lilypond@{...@}} command, where you can directly enter short
lilypond code
On 2011/07/26 15:49:50, lemzwerg wrote:

Please stay within a width of 80 characters.


80?

72 (preferably 66 - see 5.3.5 Text formatting in CG - also see @item in
the various sections)

http://codereview.appspot.com/1659041/diff/5001/Documentation/usage/lilypond-book.itely#newcode226
Documentation/usage/lilypond-book.itely:226: @end example
I did this

@example
...
@end example

or

@example
..
@end example

or

@example
...
@end example

Myself a few days ago on another section and Graham, quite rightly, said
it was unnecessary. Can we just use one single

@example
...
@end example for all of these?

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-06-25 Thread ColinPKCampbell

If this is still alive, Reinhold, I'd like to give it an entry on the
issue tracker.  I believe James or I could work with you on the
documentation, as well.

cheers,
Colin

http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-06-25 Thread reinhold . kainhofer

Reviewers: colinpkcampbell_gmail.com,

Message:
On 2011/06/25 19:32:49, Colin Campbell wrote:

If this is still alive, Reinhold, I'd like to give it an entry on the

issue

tracker.


Yes, it's still alive. I can't remember what issues I encountered back
when I wrote the patch, though.

The purpose of this that you can then include musicxml files directly
into texinfo files without having to run musicxml2ly before that. The
advantage is that e.g. in the musicxml regtests (=homepage for my
musicxml test suite) you can then directly link to the .xml files
allowing direct download of the MusicXML files. Currently, all links go
to the .ly files produced by musicxml2ly, which somehow defeats the
purpose...


  I believe James or I could work with you on the documentation, as
well.


That would be nice. It would only require extending the docs for
lilypond-book with those additional commands and their options.

Cheers,
Reinhold

Description:
Lilypond-book: Implement musicxml support in lilypond-book

This patch adds support for including MusicXML files into
documents processed by lilypond-book. In particular:
-) HTML: musicxmlfile optionsfilename.xml/musicxmlfile
-) TeX: \musicxmlfile[options]{filename.xml}
-) Texinfo: @musicxmlfile[options]{filename.xml}

Since MusicXML is so verbose, it doesn't make much sense to
support inline MusicXML.

The snippets are basically processed like a lilypond file,
except that musicxml2ly is run on them (with the options given
for the snippet) and the returned lilypond code is then processed
as if it were the original contents of the file.

This also has the consequence that the image in the output
will link to the converted lilypond file rather than the
MusicXML file. Currently, I like this better, but it can be
easily changed if the majority thinks otherwise.

What's missing is proper documentation in Usage. I'm unsure
how to document such new snippet types...

Please review this at http://codereview.appspot.com/1659041/

Affected files:
  A input/regression/lilypond-book/html-musicxml-file-options.htmly
  A input/regression/lilypond-book/html-musicxml-file.htmly
  A input/regression/lilypond-book/include.xml
  A input/regression/lilypond-book/tex-musicxml-file-options.lytex
  A input/regression/lilypond-book/tex-musicxml-file.lytex
  A input/regression/lilypond-book/texinfo-musicxml-file-options.tely
  A input/regression/lilypond-book/texinfo-musicxml-file.tely
  M python/book_html.py
  M python/book_latex.py
  M python/book_snippets.py
  M python/book_texinfo.py



___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-06-25 Thread pkx166h

On 2011/06/25 19:42:38, Reinhold wrote:

On 2011/06/25 19:32:49, Colin Campbell wrote:
  I believe James or I could work with you on the documentation, as
 well.



That would be nice. It would only require extending the docs for

lilypond-book

with those additional commands and their options.


Could you give an example of (all) the syntax and very brief description
- I'll tidy it up - I can then construct something based on that for the
Usage doc.

James



http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Lilypond-book: Implement musicxml support in lilypond-book (issue1659041)

2011-06-25 Thread reinhold . kainhofer

On 2011/06/25 21:50:08, J_lowe wrote:

On 2011/06/25 19:42:38, Reinhold wrote:
 On 2011/06/25 19:32:49, Colin Campbell wrote:
   I believe James or I could work with you on the documentation, as
  well.

 That would be nice. It would only require extending the docs for

lilypond-book

 with those additional commands and their options.



Could you give an example of (all) the syntax and very brief

description - I'll

tidy it up - I can then construct something based on that for the

Usage doc.

The patch is not yet finished. Once it is ready code-wise, I can tell
you more...


http://codereview.appspot.com/1659041/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel