[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden)
From: |
pkx166h |
Subject: |
Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden) |
Date: |
Tue, 03 Nov 2015 21:45:02 +0000 |
doesn't compile doc
https://codereview.appspot.com/275770043/diff/40001/Documentation/changes.tely
File Documentation/changes.tely (right):
https://codereview.appspot.com/275770043/diff/40001/Documentation/changes.tely#newcode91
Documentation/changes.tely:91:
This snippet doesn't compile. I cannot work out why.
Remember that this is all built using lilypond-book during doc
compilation, so you can test any snippet you add by using a basic
texinfo file layout and adding the TexInfo code:
--snip--
\input texinfo @node Top
@top
@lilypond[verbatim,quote]
\markup {
\combine
\filled-box #'(-1 . 15) #'(-3 . 4) #1
\override #'(thickness . 2)
\whiteout whiteout-box
}
\markup {
\combine
\filled-box #'(-1 . 18) #'(-3 . 4) #1
\override #'(whiteout-style . outline)
\override #'(thickness . 3)
\whiteout whiteout-outline
}
\relative {
\override Staff.Clef.whiteout-style = #'outline
\override Staff.Clef.whiteout = 3
g1'
}
@end lilypond
@bye
--snip--
So put this in a file (called foo.tely) and run
lilypond-book --pdf foo.tely
In this case it fails to compile:
Writing snippets...
Processing...
Running lilypond...
GNU LilyPond 2.19.31
Processing `./snippet-map-3978275931912102135.ly'
Parsing...
Processing `./39/lily-d81e2151.ly'
Parsing...
././39/lily-d81e2151.ly:4:1: error: markup outside of text script or
\lyricmode
\markup {
././39/lily-d81e2151.ly:10:1: error: markup outside of text script or
\lyricmode
\markup {
././39/lily-d81e2151.ly:20:5: error: syntax error, unexpected '\''
g1
'
././39/lily-d81e2151.ly:-4:1: error: errors found, ignoring music
expression
\relative c'
fatal error: failed files: "39/lily-d81e2151.ly"
command failed: /home/james/lilypond-git/build/out/bin/lilypond
--formats=ps,png -dbackend=eps -I "./" --formats=eps
-deps-box-padding=3.000000 -dread-file-list -dno-strip-output-dir
"/home/james/test/snippet-names-3978275931912102135.ly"
Child returned 1
It's to do with how @lilypond[xxx] puts some \paper and other
boilerplate variables around the actual constructed example. But I
cannot work out how to fix it, I think some of the other devs in the
list will.
https://codereview.appspot.com/275770043/
- Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), paulwmorris, 2015/11/02
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), pkx166h, 2015/11/03
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), tdanielsmusic, 2015/11/03
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), pkx166h, 2015/11/03
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), paulwmorris, 2015/11/03
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), paulwmorris, 2015/11/03
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden),
pkx166h <=
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), dak, 2015/11/03
- Re: Issue 4504/5 update changes.tely (issue 275770043 by address@hidden), paulwmorris, 2015/11/03