Browse Source

[examples] Add an example with a second datadir

pull/118/head
Louis 9 years ago
parent
commit
83ba7ce62c
  1. 19
      patacrep/data/examples/datadir2/img/datadir2.ly
  2. BIN
      patacrep/data/examples/datadir2/img/datadir2.png
  3. 1
      patacrep/data/examples/example-subdir.sb
  4. 10
      patacrep/data/examples/songs/subdir/datadir2.sg
  5. 6
      patacrep/data/examples/songs/subdir/datadir2.sgc

19
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.
}
}

BIN
patacrep/data/examples/datadir2/img/datadir2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

1
patacrep/data/examples/example-subdir.sb

@ -5,6 +5,7 @@
"lilypond",
"pictures"
],
"datadir": ["datadir2"],
"booktype" : "chorded",
"template" : "patacrep.tex",
"lang" : "french",

10
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

6
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}
Loading…
Cancel
Save