Browse Source

All examples now use yaml

pull/198/head
Oliverpool 9 years ago
parent
commit
4b801c6b90
  1. 44
      examples/example-all.yaml
  2. 26
      examples/example-all.yaml.yaml
  3. 46
      examples/example-crepbook.yaml
  4. 46
      examples/example-layout.yaml
  5. 46
      examples/example-songs.yaml
  6. 26
      examples/example-test.yaml
  7. 44
      examples/example.yaml
  8. 56
      examples/example_encoding.yaml

44
examples/example-all.yaml

@ -1,19 +1,27 @@
{ book:
"bookoptions" : [ lang: fr
"diagram", encoding: utf8
"repeatchords", template: patacrep.tex
"lilypond", datadir: "."
"pictures" pictures: yes
], chords:
"booktype" : "chorded", show: yes
"datadir": ["datadir2"], diagramreminder: all
"template" : "patacrep.tex", repeatchords: yes
"lang" : "fr",
"encoding": "utf8",
"authwords" : {
"sep" : ["and", "et"]
},
"datadir" : ".",
"content": [["sort"]]
} authors:
separators:
- "and"
- "et"
content:
- sort:
template:
patacrep.tex:
color:
songlink: FF0000
hyperlink: 0000FF
bgcolor:
note: D1E4AE
songnumber: AED1E4
index: E4AED1 #not enough songs to see it

26
examples/example-all.yaml.yaml

@ -1,26 +0,0 @@
book:
lang: fr
encoding: utf8
template: patacrep.tex
datadir: "."
pictures: yes
chords:
show: yes
diagramreminder: all
repeatchords: yes
authors:
separators:
- "and"
- "et"
content: {"sort"}
template:
patacrep.tex:
color:
songlink: FF0000
hyperlink: 0000FF
bgcolor:
note: D1E4AE
songnumber: AED1E4
index: E4AED1 #not enough songs to see it

46
examples/example-crepbook.yaml

@ -1,22 +1,24 @@
{ book:
"template" : "patacrep.tex", lang: fr
"bookoptions" : [ encoding: utf8
"importantdiagramonly", template: patacrep.tex
"repeatchords", datadir: "."
"lilypond", pictures: yes
"pictures" chords:
], show: yes
"booktype" : "chorded", diagramreminder: important
"lang" : "fr", repeatchords: yes
"authwords" : { lilypond: yes
"sep" : ["and", "et"]
}, authors:
"datadir" : ".", separators:
"content" : [["section", "Traditional"], - "and"
"chevaliers_de_la_table_ronde.sg", - "et"
"greensleeves.sg", content:
"vent_frais.sg", - section: "Traditional"
["section", "Example"], - "chevaliers_de_la_table_ronde.tsg"
"example-fr.sg", - "greensleeves.csg"
"example-en.sg"] - "vent_frais.tsg"
} - section: Example
- "example-fr.tsg"
- "example-en.tsg"

46
examples/example-layout.yaml

@ -1,22 +1,24 @@
{ book:
"template" : "layout.tex", lang: fr
"bookoptions" : [ encoding: utf8
"importantdiagramonly", template: layout.tex
"repeatchords", datadir: "."
"lilypond", pictures: yes
"pictures" chords:
], show: yes
"booktype" : "chorded", diagramreminder: important
"lang" : "fr", repeatchords: yes
"authwords" : { lilypond: yes
"sep" : ["and", "et"]
}, authors:
"datadir" : ".", separators:
"content" : [["section", "Traditional"], - "and"
"chevaliers_de_la_table_ronde.sg", - "et"
"greensleeves.sg", content:
"vent_frais.sg", - section: "Traditional"
["section", "Example"], - "chevaliers_de_la_table_ronde.tsg"
"example-fr.sg", - "greensleeves.csg"
"example-en.sg"] - "vent_frais.tsg"
} - section: Example
- "example-fr.tsg"
- "example-en.tsg"

46
examples/example-songs.yaml

@ -1,22 +1,24 @@
{ book:
"template" : "songs.tex", lang: fr
"bookoptions" : [ encoding: utf8
"importantdiagramonly", template: songs.tex
"repeatchords", datadir: "."
"lilypond", pictures: yes
"pictures" chords:
], show: yes
"booktype" : "chorded", diagramreminder: important
"lang" : "fr", repeatchords: yes
"authwords" : { lilypond: yes
"sep" : ["and", "et"]
}, authors:
"datadir" : ".", separators:
"content" : [["section", "Traditional"], - "and"
"chevaliers_de_la_table_ronde.sg", - "et"
"greensleeves.sg", content:
"vent_frais.sg", - section: "Traditional"
["section", "Example"], - "chevaliers_de_la_table_ronde.tsg"
"example-fr.sg", - "greensleeves.csg"
"example-en.sg"] - "vent_frais.tsg"
} - section: Example
- "example-fr.tsg"
- "example-en.tsg"

26
examples/example-test.yaml

@ -1,14 +1,14 @@
{ book:
"bookoptions" : [ lang: ERROR
"diagram", encoding: utf8
"repeatchords", template: patacrep.tex
"lilypond", datadir: "."
"pictures" pictures: yes
], chords:
"lang": "ERROR", show: yes
"booktype" : "chorded", diagramreminder: all
"template" : "patacrep.tex", repeatchords: yes
"encoding": "utf8",
"content": ["tests/*.csg", "tests/*.tsg"]
} content:
- "tests/*.csg"
- "tests/*.tsg"

44
examples/example.yaml

@ -1,21 +1,23 @@
{ book:
"bookoptions" : [ lang: fr
"importantdiagramonly", encoding: utf8
"repeatchords", datadir: "."
"lilypond", pictures: yes
"pictures" chords:
], show: yes
"booktype" : "chorded", diagramreminder: important
"lang" : "fr", repeatchords: yes
"authwords" : { lilypond: yes
"sep" : ["and", "et"]
}, authors:
"datadir" : ".", separators:
"content" : [["section", "Traditional"], - "and"
"chevaliers_de_la_table_ronde.sg", - "et"
"greensleeves.sg", content:
"vent_frais.sg", - section: "Traditional"
["section", "Example"], - "chevaliers_de_la_table_ronde.tsg"
"example-fr.sg", - "greensleeves.csg"
"example-en.sg"] - "vent_frais.tsg"
} - section: Example
- "example-fr.tsg"
- "example-en.tsg"

56
examples/example_encoding.yaml

@ -1,24 +1,32 @@
{ book:
"bookoptions" : [ lang: fr
"importantdiagramonly", encoding: utf8
"repeatchords", datadir: "."
"lilypond", pictures: yes
"pictures" chords:
], show: yes
"booktype" : "chorded", diagramreminder: important
"lang" : "fr", repeatchords: yes
"authwords" : { lilypond: yes
"sep" : ["and", "et", "À"],
"ignore" : ["À"], authors:
"after" : ["À"] separators:
}, - "and"
"titleprefixwords": ["À"], - "et"
"datadir" : ".", - "À"
"content" : [["section", "Traditional"], ignore:
"chevaliers_de_la_table_ronde.sg", - "À"
"greensleeves.sg", after:
"vent_frais.sg", - "À"
["section", "Example"],
"example-fr.sg", titles: # Comment sont analysés les titres
"example-en.sg"] prefix:
} - "À"
content:
- section: "Traditionàl"
- "chevaliers_de_la_table_ronde.tsg"
- "greensleeves.csg"
- "vent_frais.tsg"
- section: Exâmple
- "example-fr.tsg"
- "example-en.tsg"

Loading…
Cancel
Save