diff --git a/patacrep/data/examples/datadir2/img/datadir2.ly b/patacrep/data/examples/datadir2/img/datadir2.ly new file mode 100644 index 00000000..1fd2bccb --- /dev/null +++ b/patacrep/data/examples/datadir2/img/datadir2.ly @@ -0,0 +1,19 @@ +\include "_lilypond/header" +\paper{paper-height = 6.5\cm} + +{ + \key a \minor + \time 6/8 + \partial 8 a'8 + \relative c''{ + c4 d8 e8. (f16) e8 d4 b8 g8. (a16) b8 + c4 a8 a8. (gis16) a8 b4 gis8 e4 a8 + c4 d8 e8. (f16 e8) d4 b8 g8. (a16) b8 + c8. (b16) a8 gis8. (fis16) gis8 a4 a8 a4. + + g'4. g8. (fis16) e8 d4 b8 g8. (a16) b8 + c4 (a8) a8. (gis16) a8 b4 gis8 e4. + g'4. g8. (fis16) e8 d4 b8 g8. (a16) b8 + c8. (b16) a8 gis8. (fis16) gis8 a4. a4. + } +} diff --git a/patacrep/data/examples/datadir2/img/datadir2.png b/patacrep/data/examples/datadir2/img/datadir2.png new file mode 100644 index 00000000..90a75c1d Binary files /dev/null and b/patacrep/data/examples/datadir2/img/datadir2.png differ diff --git a/patacrep/data/examples/example-subdir.sb b/patacrep/data/examples/example-subdir.sb index c7d23631..b1c93e9f 100644 --- a/patacrep/data/examples/example-subdir.sb +++ b/patacrep/data/examples/example-subdir.sb @@ -5,6 +5,7 @@ "lilypond", "pictures" ], +"datadir": ["datadir2"], "booktype" : "chorded", "template" : "patacrep.tex", "lang" : "french", diff --git a/patacrep/data/examples/songs/subdir/datadir2.sg b/patacrep/data/examples/songs/subdir/datadir2.sg new file mode 100644 index 00000000..f5bad860 --- /dev/null +++ b/patacrep/data/examples/songs/subdir/datadir2.sg @@ -0,0 +1,10 @@ +\beginsong{Image included from a different datadir\\\LaTeX} + [cov={datadir2}] + + \cover + + \lilypond{datadir2.ly} + + \image{datadir2} + +\endsong diff --git a/patacrep/data/examples/songs/subdir/datadir2.sgc b/patacrep/data/examples/songs/subdir/datadir2.sgc new file mode 100644 index 00000000..b83122d4 --- /dev/null +++ b/patacrep/data/examples/songs/subdir/datadir2.sgc @@ -0,0 +1,6 @@ +{title : Image included from a different datadir} +{subtitle: Chordpro} +{cover: datadir2.png} + +{partition: datadir2.ly} +{image: datadir2.png}