lilypond-devel
[Top][All Lists]
Advanced

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

Re: Tablature: proper support for tie/slur- and tie/glissando-constellat


From: Marc Hohl
Subject: Re: Tablature: proper support for tie/slur- and tie/glissando-constellations (issue2191042)
Date: Sat, 30 Oct 2010 23:40:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

Am 29.10.2010 11:05, schrieb Neil Puttock:
On 28 October 2010 23:55, Carl Sorensen<address@hidden>  wrote:
Well, as far as I can see, Scheme engravers are really engravers, so they
ought to be documented in the IR along with the C++ engravers, not in an
appendix of the NR along with Scheme functions.

Although the approach you suggest is better than having nothing at all.
I haven't tested Marc's latest patch yet (and I'm sorry this issue
didn't cross my mind when I originally suggested using a Scheme
engraver), but I don't think Valentin's approach is possible without
also changing the doc infrastructure for C++ engravers: I think you'll
find \consist-ing a Scheme engraver in engraver-init.ly will cause
`make doc' to fail.
Running `make doc', I get

Compiling /home/marc/git/lilypond/input/regression/out-www/AAA-intro-regression.texi... /home/marc/git/lilypond/input/regression/out-www/AAA-intro-regression.texi is up to date. /home/marc/git/lilypond/scripts/build/out/extract_texi_filenames -I ./out-www -I . -o /home/marc/git/lilypond/./out-www/xref-maps out-www/AAA-intro-regression.texi
extract_texi_filenames.py: Processing out-www/AAA-intro-regression.texi
writing: /home/marc/git/lilypond/./out-www/xref-maps/AAA-intro-regression.xref-map

Writing snippets...Traceback (most recent call last):
  File "../../scripts/lilypond-book.py", line 679, in <module>
    main ()
  File "../../scripts/lilypond-book.py", line 661, in main
    chunks = do_file (files[0])
  File "../../scripts/lilypond-book.py", line 555, in do_file
    do_process_cmd (chunks, input_fullname, global_options)
  File "../../scripts/lilypond-book.py", line 416, in do_process_cmd
    snippet.write_ly()
File "/home/marc/git/lilypond/python/out/book_snippets.py", line 612, in write_ly if self.relevant_contents (existing) != self.relevant_contents (self.full_ly ()): File "/home/marc/git/lilypond/python/out/book_snippets.py", line 378, in full_ly
    return self.compose_ly (s)
File "/home/marc/git/lilypond/python/out/book_snippets.py", line 561, in compose_ly
    if self.global_options.safe_mode:
AttributeError: Values instance has no attribute 'safe_mode'
make[3]: *** [out-www/collated-files.texi] Error 1
rm out-www/weblinks.itexi
make[3]: Leaving directory `/home/marc/git/lilypond/input/regression'
make[2]: *** [WWW-1] Error 2
make[2]: Leaving directory `/home/marc/git/lilypond/input'
make[1]: *** [WWW-1] Error 2
make[1]: Leaving directory `/home/marc/git/lilypond'
make: *** [doc-stage-1] Fehler 2


What is to be done? Is there a clean solution to enable scheme engravers in engraver-init.ly?
I am not able to rewrite the engraver in c++.

Marc

Cheers,
Neil





reply via email to

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