Browse Source

Merge branch 'master' of git://lohrun.net/songbook

Conflicts:
	songs/Renan_Luce/le_lacrymal_circus.sg
remotes/origin/split-songs
olivier desrobert 13 years ago
parent
commit
ac4463cc91
  1. 16
      NEWS
  2. 8
      books/naheulbeuk.sb
  3. 11
      books/volume-5.sb
  4. BIN
      img/internet.png
  5. 216
      img/src/internet.svg
  6. 2
      macos/clean.sh
  7. 1
      makefile
  8. 39
      songbook.py
  9. 5
      sortindex.py
  10. 18
      templates/ancient.tmpl
  11. 5
      templates/minimal.tmpl
  12. 96
      templates/patacrep-en.tmpl
  13. 56
      templates/patacrep.tmpl
  14. 437
      tex/chords.tex
  15. 140
      tex/chords_uku.tex
  16. 133
      tex/crepbook.cls
  17. 77
      tex/license-en.tex
  18. 24
      tex/license-nb.tex
  19. 239
      tex/license.tex
  20. 2
      utils/header-english
  21. 3
      utils/rules.py
  22. 4
      windows/clean.bat
  23. 3
      windows/cleanall.bat

16
NEWS

@ -1,4 +1,20 @@
version 3.6.1
Romain Goffe:
Le Donjon de Naheulbeuk - Chicken quest
Le Donjon de Naheulbeuk - Crom
Le Donjon de Naheulbeuk - Hé, la petite dame
Le Donjon de Naheulbeuk - La hache Durandil
Le Donjon de Naheulbeuk - Le petit gobelin
Le Donjon de Naheulbeuk - Tralala du nain
Les Amis d'ta femme - Le tango du viagra
olivier desrobert:
Thomas Fersen - Au café de la paix
Thomas Fersen - Saint-Jean-du-Doigt
Renan Luce - Le Lacrymal Circus
Les Wriggles - Petit bonhomme
version 3.6.0
Romain Goffe:

8
books/naheulbeuk.sb

@ -8,7 +8,7 @@
],
"booktype" : "chorded",
"footer" : "Musique du Naheulband: \\url{http://www.penofchaos.com/warham/donjon-groupe.htm}",
"license" : "\\input{license-nb.tex}",
"license" : "license-nb.tex",
"picture" : "nb_cover",
"picturecopyright" : "Personnages par \\emph{Pen Of Chaos} / Illustrations par \\emph{Marion Poinsot}",
"subtitle" : "Recueil de chansons non-officiel",
@ -19,6 +19,12 @@
"Belyscendre/Mon_pere_veut_me_marier.sg",
"Belyscendre/Prends_garde_au_loup.sg",
"Le_Donjon_de_Naheulbeuk/10_sous_dans_ma_poche.sg",
"Le_Donjon_de_Naheulbeuk/Chicken_quest.sg",
"Le_Donjon_de_Naheulbeuk/Crom.sg",
"Le_Donjon_de_Naheulbeuk/La_hache_Durandil.sg",
"Le_Donjon_de_Naheulbeuk/Le_petit_gobelin.sg",
"Le_Donjon_de_Naheulbeuk/He_la_petite_dame.sg",
"Le_Donjon_de_Naheulbeuk/Tralala_du_nain.sg",
"Le_Donjon_de_Naheulbeuk/Bugger_off.sg",
"Le_Donjon_de_Naheulbeuk/La_biere_du_donjon.sg",
"Le_Donjon_de_Naheulbeuk/La_compagnie_du_chien_rugissant.sg",

11
books/volume-5.sb

@ -41,13 +41,21 @@
"Jean-Jacques_Goldman/On_ira.sg",
"La_Rue_Ketanou/Sao_loucas.sg",
"Le_clandestin/Rue_Grenelle.sg",
"Le_Donjon_de_Naheulbeuk/Chicken_quest.sg",
"Le_Donjon_de_Naheulbeuk/Crom.sg",
"Le_Donjon_de_Naheulbeuk/He_la_petite_dame.sg",
"Le_Donjon_de_Naheulbeuk/La_hache_Durandil.sg",
"Le_Donjon_de_Naheulbeuk/Le_petit_gobelin.sg",
"Le_Donjon_de_Naheulbeuk/Maitre_du_donjon.sg",
"Le_Donjon_de_Naheulbeuk/Tralala_du_nain.sg",
"Les_Amis_D_Ta_Femme/le_tango_du_viagra.sg",
"Les_Booze_Brothers/Fields_of_Athenry.sg",
"Les_Cowboys_Fringants/8_secondes.sg",
"Les_Cowboys_Fringants/Ces_temps_ci.sg",
"Les_Cowboys_Fringants/Hannah.sg",
"Les_Fatals_Picards/Au_mariage_de_Kevin_et_de_ma_soeur.sg",
"Les_Ogres_de_Barback/Rue_Mazarine.sg",
"Les_Wriggles/petit_bonhomme.sg",
"Maxime_Le_Forestier/Passer_ma_route.sg",
"Noir_Desir/Ou_veux_tu_qu_je_regarde.sg",
"Noir_Desir/Toujours_etre_ailleurs.sg",
@ -55,10 +63,12 @@
"Patrick_Coutin/J_aime_regarder_les_filles.sg",
"Phil_Barney/Un_enfant_de_toi.sg",
"Razorlight/America.sg",
"Renan_Luce/le_lacrymal_circus.sg",
"Roch_Voisine/Helene.sg",
"Telephone/Le_jour_s_est_leve.sg",
"The_Bloody_Irish_Boys/Drunk_tonight.sg",
"The_Dubliners/The_wild_rover.sg",
"Thomas_Fersen/au_cafe_de_la_paix.sg",
"Thomas_Fersen/Bambi.sg",
"Thomas_Fersen/Croque.sg",
"Thomas_Fersen/Irene.sg",
@ -67,6 +77,7 @@
"Thomas_Fersen/L_histoire_d_une_heure.sg",
"Thomas_Fersen/Louise.sg",
"Thomas_Fersen/Rititi_ratata_il_parait_qu_elles_aiment_.sg",
"Thomas_Fersen/saint_jean_du_doigt.sg",
"Tournee_Generale/Avancer_mes_grolles.sg",
"U2/One.sg",
"Yves_Simon/Les_bateaux_du_metro.sg"]

BIN
img/internet.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

216
img/src/internet.svg

@ -0,0 +1,216 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg11300"
height="22"
width="22"
version="1.0"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="internet.svg"
inkscape:export-filename="/home/crep/desktop/applications-internet.png"
inkscape:export-xdpi="73.639999"
inkscape:export-ydpi="73.639999">
<metadata
id="metadata45">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1625"
inkscape:window-height="1026"
id="namedview43"
showgrid="false"
inkscape:zoom="15.170655"
inkscape:cx="-0.42694966"
inkscape:cy="25.572501"
inkscape:window-x="55"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="svg11300" />
<defs
id="defs3">
<linearGradient
id="linearGradient3156">
<stop
id="stop3158"
style="stop-color:#fff"
offset="0" />
<stop
id="stop3160"
style="stop-color:#fff;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient5575"
y2="24.654"
xlink:href="#linearGradient3156"
gradientUnits="userSpaceOnUse"
x2="29.725"
gradientTransform="matrix(-.080599 -.53926 .24452 .0082709 8.3675 28.1)"
y1="55.647"
x1="30.502" />
<linearGradient
id="linearGradient5577"
y2="20.664"
xlink:href="#linearGradient3156"
gradientUnits="userSpaceOnUse"
x2="28.29"
gradientTransform="matrix(-.048560 -.54248 .33934 -.019372 3.6551 28.93)"
y1="-2.3103"
x1="28.221" />
<linearGradient
id="linearGradient5579"
y2="20.664"
xlink:href="#linearGradient3156"
gradientUnits="userSpaceOnUse"
x2="28.29"
gradientTransform="matrix(.54285 -.0033948 .00054207 .37140 -4.4843 4.0902)"
y1="-.81503"
x1="27.889" />
<linearGradient
id="linearGradient5581"
y2="20.664"
xlink:href="#linearGradient3156"
gradientUnits="userSpaceOnUse"
x2="28.29"
gradientTransform="matrix(.53414 -.14026 .096919 .34395 -6.5733 9.6565)"
y1="61.853"
x1="24.335" />
<radialGradient
id="radialGradient5863"
gradientUnits="userSpaceOnUse"
cy="4.625"
cx="62.625"
gradientTransform="matrix(.94118 0 0 .23529 -47.941 21.412)"
r="10.625">
<stop
id="stop8840"
offset="0" />
<stop
id="stop8842"
style="stop-opacity:0"
offset="1" />
</radialGradient>
<radialGradient
id="radialGradient5552"
fy="6.8828"
xlink:href="#linearGradient3156"
gradientUnits="userSpaceOnUse"
cy="13.344"
cx="21.419"
gradientTransform="matrix(.70713 0 0 .47143 -7.0986 1.2927)"
r="14" />
<radialGradient
id="radialGradient5555"
xlink:href="#linearGradient3156"
gradientUnits="userSpaceOnUse"
cy="33"
cx="102.75"
gradientTransform="matrix(1.1993 0 0 1.1 -115.8 -32.1)"
r="9" />
</defs>
<g
id="g6339"
transform="translate(0,-2)">
<path
id="path6401"
style="opacity:.4;fill-rule:evenodd;enable-background:new;fill:url(#radialGradient5863)"
d="m21 22.5c0 1.381-4.477 2.5-10 2.5-5.5228 0-10-1.119-10-2.5s4.4772-2.5 10-2.5 10 1.1193 10 2.5z" />
<path
id="path6653"
style="stroke-linejoin:round;stroke:#2e3436;stroke-linecap:round;fill:#555753"
d="m21.5 13c0 5.796-4.704 10.5-10.5 10.5s-10.5-4.704-10.5-10.5c0-5.7959 4.704-10.5 10.5-10.5s10.5 4.704 10.5 10.5z" />
<path
id="path6657"
style="fill:#eeeeec"
d="m20.682 10.847-0.094 0.36235c-0.27818-0.23108-0.59051-0.42541-0.90767-0.62836l-0.6962 0.07221-0.63607-0.50684v0.62725l0.54495 0.29067 0.36272 0.28955 0.48473-0.38642c0.12202 0.1611 0.24237 0.3222 0.36355 0.4833v0.48277l-0.54578 0.43457-0.99879 0.4833-0.75642 0.53208-0.48474-0.3876 0.24237-0.43457-0.48398-0.38642-0.81738-1.2315-0.6962-0.55498-0.18223 0.14448 0.27327 0.70064 0.51405 0.4105c0.29359 0.59743 0.58401 1.1684 0.96955 1.7395 0.59784 0 1.1614-0.04474 1.7552-0.09746v0.33828l-0.72635 1.2559-0.66614 0.53091-0.54495 0.82216v1.3519l0.18223 0.53208-0.30258 0.24083-0.66697 0.29008-0.6962 0.4105 0.57585 0.4587-0.78732 0.48388 0.15125 0.31304-1.181 0.94258h-0.78649l-0.66614 0.29008h-0.4246v-0.38642l-0.18057-0.77402c-0.23429-0.48506-0.47824-0.96665-0.72635-1.4482 0-0.35548 0.03007-0.70751 0.06022-1.0629l0.30342-0.48277-0.4246-0.58022 0.0309-0.79692-0.57585-0.4587 0.28793-0.66394-0.46849-0.37468h-0.81822l-0.2727-0.217-0.8174 0.363-0.3326-0.266-0.7573 0.459c-0.514-0.411-1.0289-0.822-1.5437-1.232l-0.6052-1.015 0.545-0.579-0.3026-0.241 0.6653-1.112c0.5466-0.479 1.1176-0.9392 1.6951-1.4007l1.0297-0.19321 1.1501-0.096342 0.78732 0.14507 1.12 0.79633 0.3937-0.31362 0.54412-0.048142 1.0297 0.24135h0.78732l0.54495-0.33828 0.24237-0.24135-0.54578-0.24135-0.9085-0.048142c-0.252-0.2465-0.486-0.5056-0.786-0.7247l-0.303 0.0964-0.121 0.6283-0.545-0.4345-0.121-0.4839-0.605-0.3371h-0.2432l0.60592 0.48277-0.24237 0.43457-0.48398 0.096342 0.303-0.4346-0.546-0.1927-0.483-0.3864-0.9092 0.1445-0.1204 0.1926-0.5449 0.242-0.3026 0.5315-0.7564 0.2654-0.3335-0.2654h-0.36272v-0.86972l0.78732-0.29008h0.60517l-0.122-0.3377-0.4832-0.3383 0.8166-0.121 0.4539-0.3618 0.3627-0.4351h0.66697l-0.18223-0.3377 0.4246-0.19321v0.38642l0.90767 0.14448 0.90767-0.53091 0.06097-0.24194 0.78648-0.38613c-0.28468 0.024952-0.56935 0.043268-0.84754 0.096636v-0.43509l0.30258-0.48306h-0.30258l-0.66497 0.43457-0.18223 0.24165 0.18223 0.33858-0.303 0.5791-0.484-0.1932-0.423-0.3377-0.6669 0.3377-0.2424-0.7726 1.1501-0.5312v-0.29008l0.7271-0.33799 1.1501-0.19351 0.78732 0.19351 1.0899 0.48277h-0.78732l0.78732 0.57964 0.60517-0.48277s2.4081 1.2085 3.6518 2.8799c1.2102 1.6263 1.7168 3.4747 1.7697 3.8588z" />
<path
id="path6661"
style="opacity:.4;stroke-linejoin:round;stroke:url(#radialGradient5555);stroke-linecap:round;stroke-width:1.0517;fill:none"
d="m20.374 13c0 5.1745-4.1995 9.3742-9.3739 9.3742s-9.3739-4.1996-9.3739-9.3742 4.1995-9.3742 9.3739-9.3742 9.3739 4.1996 9.3739 9.3742z" />
<path
id="path6663"
style="opacity:.4;fill:url(#radialGradient5552)"
d="m21.01 9.5518c0 3.6432-4.4351 5.6481-9.8998 5.6481s-9.8998-2.0049-9.8998-5.6481 4.4351-7.552 9.8998-7.552 9.8998 3.9087 9.8998 7.552z" />
<path
id="path6665"
style="opacity:.5;stroke:url(#linearGradient5581);stroke-linecap:round;stroke-width:.99694;fill:none"
d="m20.347 11.545c0.93672 3.3243-2.4889 7.118-7.6514 8.4736-5.1624 1.356-10.107-0.24-11.044-3.565-0.93619-3.324 2.4895-7.1176 7.6519-8.4732 5.1621-1.3556 10.107 0.2404 11.043 3.5642z" />
<path
id="path6667"
style="opacity:.5;stroke:url(#linearGradient5579);stroke-linecap:round;stroke-width:1.0004;fill:none"
d="m20.5 12.941c0.0052 3.5896-4.2437 6.5261-9.4903 6.559-5.2466 0.03281-9.5041-2.8505-9.5093-6.4401-0.00524-3.5896 4.2437-6.5261 9.4903-6.559 5.2466-0.032811 9.5041 2.8505 9.5093 6.4401z" />
<path
id="path6669"
style="opacity:.5;stroke:url(#linearGradient5577);stroke-linecap:round;stroke-width:1.0009;fill:none"
d="m9.6502 3.5066c3.2798-0.1873 6.3188 3.9113 6.7878 9.1544 0.47 5.243-1.809 9.645-5.088 9.832-3.2799 0.188-6.319-3.911-6.7884-9.154-0.4693-5.2431 1.8089-9.6452 5.0886-9.8324z" />
<path
id="path6671"
style="opacity:.9;stroke:url(#linearGradient5575);stroke-linecap:round;stroke-width:.98696;fill:none"
d="m10.59 3.4946c2.3633 0.079938 6.6007 5.2149 7.3797 10.427 0.77899 5.212-2.1955 8.5272-4.5588 8.4473-2.364-0.08-4.9111-4.37-5.6901-9.582-0.779-5.2121 0.5053-9.3724 2.8691-9.2924z" />
<g
id="g6673"
style="opacity:.6;stroke-width:2.108"
transform="matrix(.49781 -.13842 .13541 .50886 -1.647 2.0422)">
<path
id="path6675"
style="opacity:.8;fill:#fff"
d="m31.375 37.875c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75 0.7835-1.75 1.75-1.75 1.75 0.7835 1.75 1.75z"
transform="matrix(.85714 0 0 .85714 4.1071 5.0357)" />
</g>
<g
id="g6677"
style="opacity:.6;stroke-width:2.1112"
transform="matrix(.49172 -.11974 .15605 .51358 -14.084 4.1819)">
<path
id="path6679"
style="opacity:.5;fill:#fff"
d="m31.375 37.875c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75 0.7835-1.75 1.75-1.75 1.75 0.7835 1.75 1.75z"
transform="matrix(.85714 0 0 .85714 4.1071 5.0357)" />
</g>
<g
id="g6681"
style="opacity:.6;stroke-width:2.1103"
transform="matrix(.47705 -.16815 .19641 .49982 -6.4521 -6.9074)">
<path
id="path6683"
style="opacity:.8;fill:#fff"
d="m31.375 37.875c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75 0.7835-1.75 1.75-1.75 1.75 0.7835 1.75 1.75z"
transform="matrix(.85714 0 0 .85714 4.1071 5.0357)" />
</g>
<g
id="g6685"
style="opacity:.6;stroke-width:2.1575"
transform="matrix(.51592 -.14876 -.0086906 .50593 -10.12 -6.3754)">
<path
id="path6687"
style="opacity:.5;fill:#fff"
d="m31.375 37.875c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75 0.7835-1.75 1.75-1.75 1.75 0.7835 1.75 1.75z"
transform="matrix(.85714 0 0 .85714 4.1071 5.0357)" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

2
macos/clean.sh

@ -2,3 +2,5 @@
#
echo "manually performs 'make clean'"
rm -rf *.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd
echo "remove temporary covers"
rm -rf covers/

1
makefile

@ -61,6 +61,7 @@ clean:
$(TARGETS:%=%.nav) $(TARGETS:%=%.snm)
@rm -f *.sbx *.sxd *.sxc
@rm -f *.pyc
@rm -rf covers/
cleanall: clean
@rm -f $(PDF)

39
songbook.py

@ -8,8 +8,21 @@ import glob
import re
import json
import locale
import sortindex
import shutil
import locale
reTitle = re.compile('(?<=beginsong\\{)(.(?<!\\}]))+')
reArtist = re.compile('(?<=by=)(.(?<![,\\]\\}]))+')
reAlbum = re.compile('(?<=album=)(.(?<![,\\]\\}]))+')
class Song:
def __init__(self, title, artist, album, path):
self.title = title
self.artist = artist
self.album = album
self.path = path
def __repr__(self):
return repr((self.title, self.artist, self.album, self.path))
def copyCovers():
'''
@ -33,9 +46,26 @@ def matchRegexp(reg, iterable):
return [ m.group(1) for m in (reg.match(l) for l in iterable) if m ]
def songslist(songs):
directories = set(["img/"] + map(lambda x: "songs/" + os.path.dirname(x), songs))
result = [ '\\input{{songs/{0}}}'.format(s.replace("\\","/").strip()) for s in songs ]
return '\n'.join(result)
song_objects = []
for s in songs:
path = 'songs/'+s
with open(path, 'r+') as f:
data = f.read()
title = reTitle.search(data).group(0)
artist = reArtist.search(data.replace("{","")).group(0)
match = reAlbum.search(data.replace("{",""))
if match:
album = match.group(0)
else:
album = ''
song_objects.append(Song(title, artist, album, path))
song_objects = sorted(song_objects, key=lambda x: locale.strxfrm(x.title))
song_objects = sorted(song_objects, key=lambda x: locale.strxfrm(x.album))
song_objects = sorted(song_objects, key=lambda x: locale.strxfrm(x.artist))
result = [ '\\input{{{0}}}'.format(song.path.replace("\\","/").strip()) for song in song_objects ]
return '\n'.join(result)
def parseTemplate(template):
embeddedJsonPattern = re.compile(r"^%%:")
@ -116,7 +146,6 @@ def makeTexFile(sb, output):
if songs == "all":
songs = map(lambda x: x[6:], glob.glob('songs/*/*.sg'))
songs.sort(key=sortindex.sortkey)
if len(songs) > 0:
out.write(formatDefinition('songslist', songslist(songs)))
out.write('\\makeatother\n')

5
sortindex.py

@ -9,6 +9,8 @@ replacePattern = {
'`A': 'À',
'`a': 'à',
'^a': 'â',
"'a": 'á',
"~a": 'ã',
'oe': 'œ',
"'e" : 'é',
"`e" : 'è',
@ -21,6 +23,9 @@ replacePattern = {
r'"\i' : 'i',
r'^\i' : 'i',
'"u' : 'ü',
'`u' : 'ù',
'`u' : 'ù',
'~n' : 'ñ',
"c C" : 'Ç',
"c c" : 'ç',
}

18
templates/ancient.tmpl

@ -19,7 +19,7 @@
% The latest version of this program can be obtained from
% http://songs.sourceforge.net.
%
% Modified to serve personnal purposes. Newer versions can be
% Modified to serve personnal purposes. Newer versions can be
% obtained from http://www.lohrun.net.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Template parameters
@ -31,14 +31,14 @@
%%: {"name":"lang", "description":"Language", "default":"english"},
%%: {"name":"instruments", "description":"Instruments", "type":"flag", "values":["guitar","ukulele"], "join":",", "mandatory":true, "default":["guitar"]},
%%: {"name":"bookoptions", "description":"Options", "type":"flag", "values":["diagram","importantdiagramonly","lilypond","pictures","tabs","repeatchords","onesongperpage"], "join":",", "mandatory":true, "default":["diagram","pictures"]},
%%: {"name":"version", "description":"Version", "default":"3.6.0"},
%%: {"name":"version", "description":"Version", "default":"3.6.1"},
%%: {"name":"subtitle", "description":"Subtitle"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"feel-the-music"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license.tex}"},
%%: {"name":"license", "description":"License", "type":"file", "default":"license.tex"},
%%: {"name":"mainfontsize", "description":"Font Size", "type":"font", "default":"10"},
%%: {"name":"songnumberbgcolor", "description":"Number Shade", "type":"color", "default":"#D1E4AE"},
%%: {"name":"notebgcolor", "description":"Note Shade", "type":"color", "default":"#FFFDB3"},
@ -46,7 +46,8 @@
%%:]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% begin document
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize]{tex/crepbook}
\makeatletter\def\input@path{{tex/}}
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize]{crepbook}
\usepackage[utf8]{inputenc}
\usepackage[portuguese,english,spanish,french]{babel}
\usepackage[T1]{fontenc}
@ -78,18 +79,25 @@
\renewcommand{\idxbgcolor}{IndexBgColor}
\renewcommand{\printchord}[1]{\mdseries\ttfamily\upshape#1}
\pagestyle{empty}
\begin{document}
\maketitle
% licence
\newpage
\input{\getlicense}
\newpage
\showindex{Index des chansons}{titleidx}
\notenamesin{A}{B}{C}{D}{E}{F}{G}
\notenamesout{La}{Si}{Do}{Ré}{Mi}{Fa}{Sol}
\songsection{Liste des chansons}
\phantomsection
\addcontentsline{toc}{section}{Liste des chansons}
\begin{songs}{titleidx,authidx}
\getsongslist
\end{songs}

5
templates/minimal.tmpl

@ -19,7 +19,7 @@
% The latest version of this program can be obtained from
% http://songs.sourceforge.net.
%
% Modified to serve personnal purposes. Newer versions can be
% Modified to serve personnal purposes. Newer versions can be
% obtained from http://www.lohrun.net.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Template parameters
@ -33,7 +33,8 @@
%%:]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% begin document
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize,noshading]{tex/crepbook}
\makeatletter\def\input@path{{tex/}}
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize,noshading]{crepbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

96
templates/patacrep-en.tmpl

@ -1,96 +0,0 @@
% Copyright (C) 2009-2010 Romain Goffe, Alexandre Dupas
% Copyright (C) 2008 Kevin W. Hamlen
%
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation; either version 2
% of the License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
% MA 02110-1301, USA.
%
% The latest version of this program can be obtained from
% http://songs.sourceforge.net.
%
% Modified to serve personnal purposes. Newer versions can be
% obtained from http://www.lohrun.net.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Template parameters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%:[
%%: {"name":"title", "description":"Title", "default":"Patacrep Songbook", "mandatory":true},
%%: {"name":"author", "description":"Author", "default":"Crep (R. Goffe) \\and Lohrun (A. Dupas)", "mandatory":true},
%%: {"name":"booktype", "description":"Type", "type":"enum", "values":["chorded","lyric"], "default":"chorded", "mandatory":true},
%%: {"name":"lang", "description":"Language", "default":"english"},
%%: {"name":"instruments", "description":"Instruments", "type":"flag", "values":["guitar","ukulele"], "join":",", "mandatory":true, "default":["guitar"]},
%%: {"name":"bookoptions", "description":"Options", "type":"flag", "values":["diagram","importantdiagramonly","lilypond","pictures","tabs","repeatchords","onesongperpage"], "join":",", "mandatory":true, "default":["diagram","pictures"]},
%%: {"name":"version", "description":"Version", "default":"3.6.0"},
%%: {"name":"subtitle", "description":"Subtitle"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"Music_by_Katie8594"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"Katie8594 @ deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license-en.tex}"},
%%: {"name":"mainfontsize", "description":"Font Size", "type":"font", "default":"10"},
%%: {"name":"songnumberbgcolor", "description":"Number Shade", "type":"color", "default":"#D1E4AE"},
%%: {"name":"notebgcolor", "description":"Note Shade", "type":"color", "default":"#D1E4AE"},
%%: {"name":"indexbgcolor", "description":"Index Shade", "type":"color", "default":"#D1E4AE"}
%%:]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% begin document
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize]{tex/crepbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[portuguese,spanish,french,english]{babel}
\title{\gettitle}
\author{\getauthor}
\subtitle{\getsubtitle}
\version{\getversion}
\mail{\getmail}
\web{\getweb}
\picture{\getpicture}
\picturecopyright{\getpicturecopyright}
\footer{\getfooter}
\licence{\getlicense}
\lang{\getlang}
\newindex{titleidx}{\getname_title}
\newauthorindex{authidx}{\getname_auth}
\graphicspath{ {covers/}, {img/} }
\definecolor{SongNumberBgColor}{HTML}{\getsongnumberbgcolor}
\definecolor{NoteBgColor}{HTML}{\getnotebgcolor}
\definecolor{IndexBgColor}{HTML}{\getindexbgcolor}
\renewcommand{\snumbgcolor}{SongNumberBgColor}
\renewcommand{\notebgcolor}{NoteBgColor}
\renewcommand{\idxbgcolor}{IndexBgColor}
\pagestyle{empty}
\begin{document}
\maketitle
\showindex{Songs Index}{titleidx}
\showindex{Authors Index}{authidx}
\songsection{List of Songs}
\begin{songs}{titleidx,authidx}
\getsongslist
\end{songs}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% end document

56
templates/patacrep.tmpl

@ -19,7 +19,7 @@
% The latest version of this program can be obtained from
% http://songs.sourceforge.net.
%
% Modified to serve personnal purposes. Newer versions can be
% Modified to serve personnal purposes. Newer versions can be
% obtained from http://www.lohrun.net.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Template parameters
@ -31,14 +31,14 @@
%%: {"name":"lang", "description":"Language", "default":"french"},
%%: {"name":"instruments", "description":"Instruments", "type":"flag", "values":["guitar","ukulele"], "join":",", "mandatory":true, "default":["guitar"]},
%%: {"name":"bookoptions", "description":"Options", "type":"flag", "values":["diagram","importantdiagramonly","lilypond","pictures","tabs","repeatchords","onesongperpage"], "join":",", "mandatory":true, "default":["diagram","pictures"]},
%%: {"name":"version", "description":"Version", "default":"3.6.0"},
%%: {"name":"version", "description":"Version", "default":"3.6.1"},
%%: {"name":"subtitle", "description":"Subtitle"},
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"},
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"},
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"feel-the-music"},
%%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"},
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"},
%%: {"name":"license", "description":"License", "default":"\\input{license.tex}"},
%%: {"name":"license", "description":"License", "type":"file", "default":"license.tex"},
%%: {"name":"mainfontsize", "description":"Font Size", "type":"font", "default":"10"},
%%: {"name":"songnumberbgcolor", "description":"Number Shade", "type":"color", "default":"#D1E4AE"},
%%: {"name":"notebgcolor", "description":"Note Shade", "type":"color", "default":"#D1E4AE"},
@ -46,7 +46,8 @@
%%:]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% begin document
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize]{tex/crepbook}
\makeatletter\def\input@path{{tex/}}
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize]{crepbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
@ -81,17 +82,54 @@
\begin{document}
% translate default title
\IfStrEq{\gettitle}{Recueil de chansons pour guitare}{
\IfStrEq{\getlang}{english}{\title{Patacrep songbook}}{}
}{}
\maketitle
\showindex{Index des chansons}{titleidx}
\showindex{Index des auteurs}{authidx}
% licence
\newpage
\input{\getlicense}
\newpage
% indexes
\IfStrEq{\getlang}{english}{
\showindex{Songs Index}{titleidx}
}{
\showindex{Index des chansons}{titleidx}
}
\IfStrEq{\getlang}{english}{
\showindex{Authors Index}{authidx}
}{
\showindex{Index des auteurs}{authidx}
}
\notenamesin{A}{B}{C}{D}{E}{F}{G}
\notenamesout{La}{Si}{Do}{Ré}{Mi}{Fa}{Sol}
% chords notation
\IfStrEq{\getlang}{french}{
\notenamesin{A}{B}{C}{D}{E}{F}{G}
\notenamesout{La}{Si}{Do}{Ré}{Mi}{Fa}{Sol}
}{}
% list of chords
\ifchorded
\phantomsection
\IfStrEq{\getlang}{english}{
\addcontentsline{toc}{section}{Chords list}
}{
\addcontentsline{toc}{section}{Liste des accords}
}
\include{tex/chords}
\fi
\songsection{Liste des chansons}
% songs
\phantomsection
\IfStrEq{\getlang}{english}{
\addcontentsline{toc}{section}{Songs list}
}{
\addcontentsline{toc}{section}{Liste des chansons}
}
\begin{songs}{titleidx,authidx}
\getsongslist
\end{songs}

437
tex/chords.tex

@ -1,140 +1,321 @@
\ifchorded
\songsection{Liste des accords}
\begin{songs}{}
\newcommand*{\Sharp}{\nolinebreak\hspace{-.05em}\raisebox{.6ex}{\,\small\bf \#}}
\newcommand*{\Flat}{\nolinebreak\hspace{-.05em}\raisebox{.6ex}{\,\small$\mathbf{\flat}$}}
\newcommand*{\chordrule}{\mbox{\hspace{1cm}\rule[0.5cm]{15cm}{0.02cm}}\vspace{-.4cm}}
\newcommand*{\chordname}[2]{\makebox[3cm]{\raisebox{.5cm}{\large \textbf{\IfStrEq{\getlang}{english}{#1}{#2}}}}}
\begin{songs}{}
%hide song number
\definecolor{SongNumberBgColor}{HTML}{FFFFFF}
\renewcommand{\snumbgcolor}{SongNumberBgColor}
\renewcommand{\printsongnum}[1]{}
\setlength{\songnumwidth}{0.1cm}
\songcolumns{1}
\ifguitar
\IfStrEq{\getlang}{english}{\beginsong{Guitar chords}}{\beginsong{Accords de guitare}}
\chordname{C}{Do}
\gtab{C}{~:X32010}
\gtab{C7}{~:X32310}
\gtab{Cm}{3:X02210}
\gtab{Cm7}{3:X02010}
\hspace{1cm}
\gtab*{C7M}{~:332000}
\gtab*{C4}{~:X32011}
\gtab*{C7}{1:X2120X}
\gtab*{C6}{~:XX2213}
\chordrule
\chordname{C\Sharp = D\Flat}{Do\Sharp = Ré\Flat}
\gtab{C#}{4:X02220}
\gtab{C#7}{4:X02020}
\gtab{C#m}{4:X02210}
\gtab{C#m7}{5:XX2213}
\hspace{1cm}
\gtab*{C#7M}{1:X32000}
\gtab*{C#4}{2:X21000}
\gtab*{C#7}{2:X2120X}
\gtab*{C#6}{1:X02010}
\chordrule
\chordname{D}{}
\gtab{D}{~:XX0232}
\gtab{D7}{~:XX0212}
\gtab{Dm}{~:XX0231}
\gtab{Dm7}{~:XX0211}
\hspace{1cm}
\gtab*{D7M}{~:X00222}
\gtab*{D4}{~:X00233}
\gtab*{D7}{3:X2120X}
\gtab*{D6}{~:X00202}
\chordrule
\chordname{D\Sharp = E\Flat}{\Sharp = Mi\Flat}
\gtab{D#}{6:X02220}
\gtab{D#7}{6:X02020}
\gtab{D#m}{6:X02210}
\gtab{D#m7}{~:XX1322}
\hspace{1cm}
\gtab*{D#7M}{3:022010}
\gtab*{D#4}{4:X21000}
\gtab*{D#7}{4:X2120X}
\gtab*{D#6}{1:X00202}
\chordrule
\chordname{E}{Mi}
\gtab{E}{~:022100}
\gtab{E7}{~:020100}
\gtab{Em}{~:022000}
\gtab{Em7}{~:022030}
\hspace{1cm}
\gtab*{E7M}{~:021100}
\gtab*{E4}{~:02220}
\gtab*{E7}{5:X2120X}
\gtab*{E6}{~:022120}
\chordrule
\chordname{F}{Fa}
\gtab{F}{1:022100}
\gtab{F7}{1:020100}
\gtab{Fm}{1:022000}
\gtab{Fm7}{1:020000}
\hspace{1cm}
\gtab*{F7M}{~:XX3210}
\gtab*{F4}{1:022200}
\gtab*{F7}{6:X2120X}
\gtab*{F6}{~:XX0211}
\chordrule
\chordname{F\Sharp = G\Flat}{Fa\Sharp = Sol\Flat}
\gtab{F#}{2:022100}
\gtab{F#7}{2:020100}
\gtab{F#m}{2:022000}
\gtab{F#m7}{2:020000}
\hspace{1cm}
\gtab*{F#7M}{~:XX4321}
\gtab*{F#4}{2:022200}
\gtab*{F#7}{7:X2120X}
\gtab*{F#6}{~:XX1322}
\chordrule
\chordname{G}{Sol}
\gtab{G}{~:320003}
\gtab{G7}{~:320001}
\gtab{Gm}{3:022000}
\gtab{Gm7}{3:020000}
\hspace{1cm}
\gtab*{G7M}{~:XX0002}
\gtab*{G4}{3:022200}
\gtab*{G7}{3:020200}
\gtab*{G6}{~:320000}
\chordrule
\chordname{G\Sharp = A\Flat}{Sol\Sharp = La\Flat}
\gtab{G#}{4:022100}
\gtab{G#7}{4:020100}
\gtab{G#m}{4:022000}
\gtab{G#m7}{4:020000}
\hspace{1cm}
\gtab*{G#7M}{3:XX4321}
\gtab*{G#4}{4:022200}
\gtab*{G#7}{~:XX1122}
\gtab*{G#6}{~:XX1111}
\chordrule
\chordname{A}{La}
\gtab{A}{~:X02220}
\gtab{A7}{~:X02020}
\gtab{Am}{~:X02210}
\gtab{Am7}{~:X02213}
\hspace{1cm}
\gtab*{A7M}{~:X02120}
\gtab*{A4}{~:X02230}
\gtab*{A7}{~:X02233}
\gtab*{A6}{~:XX2222}
\chordrule
\chordname{A\Sharp = B\Flat}{La\Sharp = Si\Flat}
\gtab{A#}{1:X02220}
\gtab{A#7}{1:X02020}
\gtab{A#m}{1:X02210}
\gtab{A#m7}{1:X02010}
\hspace{1cm}
\gtab*{A#7M}{1:X02120}
\gtab*{A#4}{1:X02230}
\gtab*{A#7}{~:XX3344}
\gtab*{A#6}{~:XX3333}
\chordrule
\chordname{B}{Si}
\gtab{B}{2:X02220}
\gtab{B7}{X21202}
\gtab{Bm}{2:X02210}
\gtab{Bm7}{~:X00202}
\hspace{1cm}
\gtab*{B7M}{2:X02120}
\gtab*{B4}{2:X02230}
\gtab*{B7}{~:X22202}
\gtab*{B6}{~:XX4444}
\begin{verse*}
\musicnote[french]{Accordage standard : {\nolyrics \[E A D G B E]}}
\musicnote[english]{Standard tuning: {\nolyrics \[E A D G B E]}}
\end{verse*}
\beginsong{Accords usuels}
%\musicnote[french]{Accords usuels}
%\musicnote[english]{Standard chords}
\gtab{C}{X32010}
\gtab{C7}{X32310}
\gtab{Cm}{3:X02210}
\gtab{Cm7}{3:X02010}
\gtab{C#=D&}{4:X02220}
\gtab{C#7=D&7}{4:X02020}
\gtab{C#m=D&m}{4:X02210}
\gtab{C#m7=D&m7}{5:XX2213}
\gtab{D}{XX0232}
\gtab{D7}{XX0212}
\gtab{Dm}{XX0231}
\gtab{Dm7=F6}{XX0211}
\gtab{D#=E&}{6:X02220}
\gtab{D#7=E&7}{6:X02020}
\gtab{D#m=E&m}{6:X02210}
\gtab{D#m7=E&m7}{XX1322}
\gtab{E}{022100}
\gtab{E7}{020100}
\gtab{Em}{022000}
\gtab{Em7}{022030}
\gtab{F}{1:022100}
\gtab{F7}{1:02010}
\gtab{Fm}{1:022000}
\gtab{Fm7=A&6}{1:020000}
\gtab{F#=G&}{2:022100}
\gtab{F#7=G&7}{2:020100}
\gtab{F#m=G&m}{2:022000}
\gtab{F#m7=A6}{2:020000}
\gtab{G}{320003}
\gtab{G7}{320001}
\gtab{Gm}{3:022000}
\gtab{Gm7=B&6}{3:020000}
\gtab{G#=A&}{4:022100}
\gtab{G#7=A&7}{4:020100}
\gtab{G#m=A&m}{4:022000}
\gtab{G#m7=B6}{4:020000}
\gtab{A}{X02220}
\gtab{A7}{022100}
\gtab{Am}{XX0232}
\gtab{Am7}{X02213}
\gtab{A#=B&}{1:X02220}
\gtab{A#7=B&7}{1:X02020}
\gtab{A#m=B&m}{1:X02210}
\gtab{A#m7=B&m7}{1:X02010}
\gtab{B}{2:X02220}
\gtab{B7}{X21202}
\gtab{Bm}{2:X02210}
\gtab{Bm7=D6}{X00202}
\endsong
\fi
\ifukulele
\IfStrEq{\getlang}{english}{\beginsong{Ukulele chords}}{\beginsong{Accords de ukulélé}}
\chordname{C}{Do}
\utab{C}{~:0003}
\utab{C7}{~:0001}
\utab{Cm}{~:0333}
\utab{Cm7}{3:0000}
\hspace{1cm}
\utab*{C7M}{~:0002}
\utab*{C6}{~:0000}
\utab*{Caug}{~:1003}
\utab*{Cdim}{2:3101}
\chordrule
\chordname{C\Sharp = D\Flat}{Do\Sharp = Ré\Flat}
\utab{C#}{1:0003}
\utab{C#7}{1:0001}
\utab{C#m}{~:1104}
\utab{C#m7}{4:0000}
\hspace{1cm}
\utab*{C#7M}{1:0002}
\utab*{C#6}{1:0000}
\utab*{C#aug}{~:2110}
\utab*{C#dim}{~:0104}
\chordrule
\chordname{D}{}
\utab{D}{~:2220}
\utab{D7}{2:0001}
\utab{Dm}{~:2210}
\utab{Dm7}{1:1102}
\hspace{1cm}
\utab*{D7M}{2:0002}
\utab*{D6}{2:0000}
\utab*{Daug}{1:2110}
\utab*{Ddim}{1:0104}
\chordrule
\chordname{D\Sharp = E\Flat}{\Sharp = Mi\Flat}
\utab{D#}{1:2220}
\utab{D#7}{3:0001}
\utab{D#m}{1:2210}
\utab{D#m7}{2:1102}
\hspace{1cm}
\utab*{D#7M}{3:0002}
\utab*{D#6}{3:0000}
\utab*{D#aug}{~:0332}
\utab*{D#dim}{~:2320}
\chordrule
\chordname{E}{Mi}
\utab{E}{2:2220}
\utab{E7}{~:1202}
\utab{Em}{~:0432}
\utab{Em7}{~:0202}
\hspace{1cm}
\utab*{E7M}{~:1302}
\utab*{E6}{~:1102}
\utab*{Eaug}{1:0000}
\utab*{Edim}{1:2320}
\chordrule
\chordname{F}{Fa}
\utab{F}{~:2010}
\utab{F7}{~:2310}
\utab{Fm}{~:1013}
\utab{Fm7}{1:0202}
\hspace{1cm}
\utab*{F7M}{1:1302}
\utab*{F6}{1:1102}
\utab*{Faug}{~:2110}
\utab*{Fdim}{2:2320}
\chordrule
\chordname{F\Sharp = G\Flat}{Fa\Sharp = Sol\Flat}
\utab{F#}{1:2010}
\utab{F#7}{1:2310}
\utab{F#m}{~:2120}
\utab{F#m7}{2:0202}
\hspace{1cm}
\utab*{F#7M}{2:1302}
\utab*{F#6}{~:0202}
\utab*{F#aug}{1:2110}
\utab*{F#dim}{~:2020}
\chordrule
\chordname{G}{Sol}
\utab{G}{~:0232}
\utab{G7}{~:0212}
\utab{Gm}{~:0231}
\utab{Gm7}{~:0211}
\hspace{1cm}
\utab*{G7M}{~:0222}
\utab*{G6}{~:0202}
\utab*{Gaug}{~:0332}
\utab*{Gdim}{~:0131}
\chordrule
\chordname{G\Sharp = A\Flat}{Sol\Sharp = La\Flat}
\utab{G#}{3:2010}
\utab{G#7}{1:0212}
\utab{G#m}{1:0231}
\utab{G#m7}{1:0211}
\hspace{1cm}
\utab*{G#7M}{1:0222}
\utab*{G#6}{1:0202}
\utab*{G#aug}{~:1003}
\utab*{G#dim}{1:0131}
\chordrule
\chordname{A}{La}
\utab{A}{~:2100}
\utab{A7}{~:0100}
\utab{Am}{~:2000}
\utab{Am7}{~:0000}
\hspace{1cm}
\utab*{A7M}{~:1100}
\utab*{A6}{2:0202}
\utab*{Aaug}{~:2110}
\utab*{Adim}{2:0131}
\chordrule
\chordname{A\Sharp = B\Flat}{La\Sharp = Si\Flat}
\utab{A#}{1:2100}
\utab{A#7}{1:0100}
\utab{A#m}{1:2000}
\utab{A#m7}{1:0000}
\hspace{1cm}
\utab*{A#7M}{1:1100}
\utab*{A#6}{~:0211}
\utab*{A#aug}{1:2110}
\utab*{A#dim}{~:3101}
\chordrule
\chordname{B}{Si}
\utab{B}{2:2100}
\utab{B7}{2:0100}
\utab{Bm}{2:2000}
\utab{Bm7}{2:0000}
\hspace{1cm}
\utab*{B7M}{2:1100}
\utab*{B6}{1:0211}
\utab*{Baug}{~:0332}
\utab*{Bdim}{1:3101}
\begin{verse*}
\musicnote[french]{Accordage standard : {\nolyrics \[G C E A]}}
\musicnote[english]{Standard tuning: {\nolyrics \[G C E A]}}
\end{verse*}
\beginsong{Accords avancés}
%\musicnote[french]{Accords avancés}
%\musicnote[english]{Advanced chords}
\gtab{C7M}{332000}
\gtab{C4}{X32011}
\gtab{C7}{1:X2120X}
\gtab{C6}{XX2213}
\gtab{C#7M=D&7M}{1:X32000}
\gtab{C#4=D&4}{2:X21000}
\gtab{C#7=D&7}{2:X2120X}
\gtab{C#6=D&6}{1:X02010}
\gtab{D7M}{X00222}
\gtab{D4}{X00233}
\gtab{D7}{3:X2120X}
\gtab{D6}{X00202}
\gtab{D#7M=E&7M}{3:022010}
\gtab{D#4=E&4}{4:X21000}
\gtab{D#7=E&7}{4:X2120X}
\gtab{D#6=E&6}{1:X00202}
\gtab{E7M}{021100}
\gtab{E4}{02220}
\gtab{E7}{5:X2120X}
\gtab{E6}{022120}
\gtab{F7M}{XX3210}
\gtab{F4}{1:022200}
\gtab{F7}{6:X2120X}
\gtab{F6}{XX0211}
\gtab{F#7M=G&7M}{XX4321}
\gtab{F#4=G&4}{2:022200}
\gtab{F#7=G&7}{7:X2120X}
\gtab{F#6=G&6}{XX1322}
\gtab{G7M}{XX0002}
\gtab{G4}{3:022200}
\gtab{G7}{3:020200}
\gtab{G6}{320000}
\gtab{G#7M=A&7M}{3:XX4321}
\gtab{G#4=A&4}{4:022200}
\gtab{G#7=A&7}{XX1122}
\gtab{G#6=A&6}{XX1111}
\gtab{A7M}{X02120}
\gtab{A4}{X02230}
\gtab{A7}{X02233}
\gtab{A6}{XX2222}
\gtab{A#7M=B&7M}{1:X02120}
\gtab{A#4=B&4}{1:X02230}
\gtab{A#7=B&7}{XX3344}
\gtab{A#6=B&6}{XX3333}
\gtab{B7M}{2:X02120}
\gtab{B4}{2:X02230}
\gtab{B7}{X22202}
\gtab{B6}{XX4444}
\endsong
\fi
\end{songs}
\fi

140
tex/chords_uku.tex

@ -1,140 +0,0 @@
\ifchorded
\songsection{Liste des accords}
\begin{songs}{}
%hide song number
\definecolor{SongNumberBgColor}{HTML}{FFFFFF}
\renewcommand{\snumbgcolor}{SongNumberBgColor}
\renewcommand{\printsongnum}[1]{}
\setlength{\songnumwidth}{0.1cm}
\beginsong{Accords usuels}
%\musicnote[french]{Accords usuels}
%\musicnote[english]{Standard chords}
\utab{C}{0003}
\utab{C7}{0001}
\utab{Cm}{0333}
\utab{Cm7}{3:0000}
\utab{C#=D&}{1:0003}
\utab{C#7=D&7}{1:0001}
\utab{C#m=D&m}{1104}
\utab{C#m7=D&m7}{4:0000}
\utab{D}{2220}
\utab{D7}{2:0001}
\utab{Dm}{2210}
\utab{Dm7}{1:1102}
\utab{D#=E&}{1:2220}
\utab{D#7=E&7}{3:0001}
\utab{D#m=E&m}{1:2210}
\utab{D#m7=E&m7}{2:1102}
\utab{E}{2:2220}
\utab{E7}{1202}
\utab{Em}{0432}
\utab{Em7}{0202}
\utab{F}{2010}
\utab{F7}{2310}
\utab{Fm}{1013}
\utab{Fm7}{1:0202}
\utab{F#=G&}{1:2010}
\utab{F#7=G&7}{1:2310}
\utab{F#m=G&m}{2120}
\utab{F#m7=G&m7}{2:0202}
\utab{G}{0232}
\utab{G7}{0212}
\utab{Gm}{0231}
\utab{Gm7}{0211}
\utab{G#=A&}{3:2010}
\utab{G#7=A&7}{1:0212}
\utab{G#m=A&m}{1:0231}
\utab{G#m7=A&m7}{1:0211}
\utab{A}{2100}
\utab{A7}{0100}
\utab{Am}{2000}
\utab{Am7}{0000}
\utab{A#=B&}{1:2100}
\utab{A#7=B&7}{1:0100}
\utab{A#m=B&m}{1:2000}
\utab{A#m7=B&m7}{1:0000}
\utab{B}{2:2100}
\utab{B7}{2:0100}
\utab{Bm}{2:2000}
\utab{Bm7}{2:0000}
\endsong
\beginsong{Accords avancés}
%\musicnote[french]{Accords avancés}
%\musicnote[english]{Advanced chords}
\utab{C7M}{0002}
\utab{C6}{0000}
\utab{Caug}{1003}
\utab{Cdim}{2:3101}
\utab{C#7M=D&7M}{1:0002}
\utab{C#6=D&6}{1:0000}
\utab{C#aug=D&aug}{2110}
\utab{C#dim=D&dim}{0104}
\utab{D7M}{2:0002}
\utab{D6}{2:0000}
\utab{Daug}{1:2110}
\utab{Ddim}{1:0104}
\utab{D#7M=E&7M}{3:0002}
\utab{D#6=E&6}{3:0000}
\utab{D#aug=E&aug}{0332}
\utab{D#dim=E&dim}{2320}
\utab{E7M}{1302}
\utab{E6}{1102}
\utab{Eaug}{1:0000}
\utab{Edim}{1:2320}
\utab{F7M}{1:1302}
\utab{F6}{1:1102}
\utab{Faug}{2110}
\utab{Fdim}{2:2320}
\utab{F#7M=G&7M}{2:1302}
\utab{F#6=G&6}{0202}
\utab{F#aug=G&aug}{1:2110}
\utab{F#dim=G&dim}{2020}
\utab{G7M}{0222}
\utab{G6}{0202}
\utab{Gaug}{0332}
\utab{Gdim}{0131}
\utab{G#7M=A&7M}{1:0222}
\utab{G#6=A&6}{1:0202}
\utab{G#aug=A&aug}{1003}
\utab{G#dim=A&dim}{1:0131}
\utab{A7M}{1100}
\utab{A6}{2:0202}
\utab{Aaug}{2110}
\utab{Adim}{2:0131}
\utab{A#7M=B&7M}{1:1100}
\utab{A#6=B&6}{0211}
\utab{A#aug=B&aug}{1:2110}
\utab{A#dim=B&dim}{3101}
\utab{B7M}{2:1100}
\utab{B6}{1:0211}
\utab{Baug}{0332}
\utab{Bdim}{1:3101}
\endsong
\end{songs}
\fi

133
tex/crepbook.cls

@ -64,12 +64,15 @@
\definecolor{tango-blue-3}{HTML}{204a87}
\RequirePackage[bookmarks,
bookmarksopen,
hyperfigures=true,
colorlinks=true,
linkcolor=tango-green-3,
urlcolor=tango-blue-3]{hyperref}
\RequirePackage{tikz}
\RequirePackage{licence}
\RequirePackage{xstring}
\RequirePackage{ifthen}
\RequirePackage{framed}
\iflyric%
\tabsfalse%
@ -189,9 +192,6 @@
\@footer
\thispagestyle{empty}
\newpage
\@licence
\newpage
}
\makeatletter
@ -204,6 +204,8 @@
\newcommand{\songalbum}{}
\newsongkey{cov}{\let\songcover\@empty}{\def\songcover{#1}}
\newsongkey{album}{\let\songalbum\@empty}{\def\songalbum{#1}}
\newsongkey{url}{\let\songurl\@empty}{\def\songurl{#1}}
\newsongkey{original}{\let\songoriginal\@empty}{\def\songoriginal{#1}}
\newcommand\cover{%
\ifpictures%
\ifx\songcover\@empty\else%
@ -215,6 +217,23 @@
\fi%
}
% display album in song header
\renewcommand{\extendprelude}{
{\bfseries\showauthors}
{\footnotesize\it\songalbum}
\IfStrEq{\songurl}{}{}{
\href{\songurl}{\includegraphics[width=.3cm]{internet}}
}
}
\renewcommand{\extendpostlude}{
{\footnotesize%
\IfStrEq{\songoriginal}{}{}{
\IfStrEq{\@lang}{english}{Original song:}{Chanson originale :}
\songoriginal
}
}
}
\newlength{\capoheight}
\setlength{\capoheight}{1.5cm}
\renewcommand\capo[1]{%
@ -338,10 +357,10 @@
% Horizontal space reserved to verse number
\setlength{\versenumwidth}{1em}
% Modifier to the space between consecutive lines of lyrics
\baselineadj=-2pt plus 1pt minus 1pt
\baselineadj=-6pt plus 0pt minus 2pt
% Space between verses and chorus
\versesep=6pt plus 2pt minus 2pt
%lyrics font
% lyrics font
\renewcommand{\lyricfont}{\normalfont\normalsize}
@ -429,38 +448,41 @@
\fi%
%% End of tabs.sty file
\newcommand{\Intro}{
\IfStrEq{\@lang}{english}{intro}{}
\IfStrEq{\@lang}{french}{intro}{}
}
\newcommand{\Outro}{
\IfStrEq{\@lang}{english}{outro}{}
\IfStrEq{\@lang}{french}{outro}{}
}
\newcommand{\Bridge}{
\IfStrEq{\@lang}{english}{bridge}{}
\IfStrEq{\@lang}{french}{pont}{}
}
\newcommand{\Chorus}{
\IfStrEq{\@lang}{english}{chorus}{}
\IfStrEq{\@lang}{french}{refrain}{}
}
\newcommand{\Verse}{
\IfStrEq{\@lang}{english}{verse}{}
\IfStrEq{\@lang}{french}{couplet}{}
}
\newcommand{\Solo}{
\IfStrEq{\@lang}{english}{solo}{}
\IfStrEq{\@lang}{french}{solo}{}
}
\newcommand{\Pattern}{
\IfStrEq{\@lang}{english}{pattern}{}
\IfStrEq{\@lang}{french}{motif}{}
}
\newcommand{\Rythm}{
\IfStrEq{\@lang}{english}{rythm}{}
\IfStrEq{\@lang}{french}{rythme}{}
}
\newcommand*{\Intro}{%
\IfStrEq{\@lang}{english}{intro}{}%
\IfStrEq{\@lang}{french}{intro}{}%
}%
\newcommand*{\Outro}{%
\IfStrEq{\@lang}{english}{outro}{}%
\IfStrEq{\@lang}{french}{outro}{}%
}%
\newcommand*{\Bridge}{%
\IfStrEq{\@lang}{english}{bridge}{}%
\IfStrEq{\@lang}{french}{pont}{}%
}%
\newcommand*{\Chorus}{%
\IfStrEq{\@lang}{english}{chorus}{}%
\IfStrEq{\@lang}{french}{refrain}{}%
}%
\newcommand*{\Verse}{%
\IfStrEq{\@lang}{english}{verse}{}%
\IfStrEq{\@lang}{french}{couplet}{}%
}%
\newcommand*{\Solo}{%
\IfStrEq{\@lang}{english}{solo}{}%
\IfStrEq{\@lang}{french}{solo}{}%
}%
\newcommand*{\Pattern}{%
\IfStrEq{\@lang}{english}{pattern}{}%
\IfStrEq{\@lang}{french}{motif}{}%
}%
\newcommand*{\Rythm}{%
\IfStrEq{\@lang}{english}{rythm}{}%
\IfStrEq{\@lang}{french}{rythme}{}%
}%
\newcommand*{\Adlib}{%
\emph{ad~lib.}%
}%
\let\musicnoteORIG\musicnote
\renewcommand{\musicnote}[2][]{%
@ -478,12 +500,25 @@
}
}
\renewcommand{\FrameCommand}[1]{
\begin{tikzpicture}
\node[rectangle] (rect) {
\begin{minipage}{.8\textwidth}
#1
\end{minipage}
};
\draw[very thick, dashed] (rect.north west) -- (rect.south west);
\end{tikzpicture}
}
\newenvironment{bridge}{%
\musicnote{\Bridge}%
\vspace{-.3cm}%
\begin{verse*}%
}{%
\end{verse*}
\begin{framed}
\vspace{-.4cm}
\begin{verse*}
}{
\end{verse*}
\vspace{-.2cm}
\end{framed}
}
%% \SB@chordsoff with a greater for the line spacing
@ -522,4 +557,18 @@
\fi%
}
\fi
\def\removefirstch@r#1{}
\newcommand{\transposition}[1]{%
\ifnorepeatchords%
\musicnote{%
\IfStrEq{\@lang}{english}{transposition:~}{}%
\IfStrEq{\@lang}{french}{transposition~:~}{}%
\ifthenelse{#1>0}{#1$\Uparrow$}{\removefirstch@r#1$\Downarrow$}%
}%
\else%
\transpose{#1}
\fi%
}%
\makeatother

77
tex/license-en.tex

@ -1,77 +0,0 @@
%Licence Creative Commons
\begin{center}
\textbf{\LARGE{Creative Commons\footnote{ This work is licensed
under the Creative Commons Attribution-ShareAlike 3.0 Unported
License. To view a copy of this license, visit
\url{http://creativecommons.org/licenses/by-sa/3.0/} or send a
letter to Creative Commons, 171 Second Street, Suite 300, San
Francisco, California, 94105, USA.} Legal Code} }
\end{center}
\vspace{1cm}
%-------------------------------------------------------------------------------
\begin{lblock}{You are free to:}
\begin{pictonote}{share}
\lcondition{Share} copy, distribute and transmit the work;
\end{pictonote}
\begin{pictonote}{remix}
\lcondition{Remix} adapt the work;
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Under the following conditions:}
\begin{pictonote}{by}
\lcondition{Attribution} You must attribute the work in the manner
specified by the author or licensor (but not in any way that
suggests that they endorse you or your use of the work);
\end{pictonote}
\begin{pictonote}{sa}
\lcondition{Share Alike} If you alter, transform, or build upon
this work, you may distribute the resulting work only under the
same or similar license to this one.
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{With the understanding that:}
\hspace{0.4cm}
\parbox{15cm}{
\paragraph{Waiver --}
Any of the above conditions can be waived if you get permission
from the copyright holder.
\paragraph{Public Domain --}
Where the work or any of its elements is in the public domain
under applicable law, that status is in no way affected by the
license.
\paragraph{Other Rights --}
In no way are any of the following rights affected by the license:
\begin{itemize}
\item your fair dealing or fair use rights, or other applicable
copyright exceptions and limitations;
\item apart from the remix rights granted under this license,
the author's moral rights;
\item rights other persons may have either in the work itself
or in how the work is used, such as publicity or privacy rights.
\end{itemize}
}
\begin{center}
\includegraphics[width=4cm]{license}
\end{center}
\end{lblock}
%-------------------------------------------------------------------------------
\paragraph{Songs \LaTeX~Package}
This document is written in \LaTeX, from the Songs
Project\footnote{\url{http://songs.sourceforge.net/}}.
%-------------------------------------------------------------------------------
% End of Licence

24
tex/license-nb.tex

@ -1,5 +1,7 @@
\phantomsection
\addcontentsline{toc}{section}{Licence}
%Licence Creative Commons
\begin{center}
\begin{center}
\textbf{\LARGE{Creative Commons\footnote{ Ce document est mis à
disposition selon le Contrat Attribution-ShareAlike 3.0
Unported disponible en ligne
@ -24,7 +26,7 @@
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Selon les conditions suivantes~:}
\begin{pictonote}{by}
\lcondition{Paternité} Vous devez citer le nom de l'auteur
original de la manière indiquée par l'auteur de l'œuvre ou le
@ -32,30 +34,30 @@
d'une manière qui suggérerait qu'ils vous soutiennent ou
approuvent votre utilisation de l'œuvre)~;
\end{pictonote}
\begin{pictonote}{sa}
\lcondition{Partage des Conditions Initiales à l'Identique} Si
vous modifiez, transformez ou adaptez cette création, vous n'avez
le droit de distribuer la création qui en résulte que sous un
contrat identique a celui-ci~;
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Informations complémentaires~:}
\hspace{0.4cm}
\parbox{15cm}{
\paragraph{Dérogation --}
\paragraph{Dérogation --}
Chacune des conditions optionnelles peut être levée après
l'autorisation du titulaire des droits.
\paragraph{Utilisation --}
\paragraph{Utilisation --}
À chaque réutilisation ou distribution de cette création, vous
devez faire apparaître clairement au public les conditions
contractuelles de sa mise à disposition.
\paragraph{Équité --}
\paragraph{Équité --}
La licence n'interfère avec aucun des droits ci-dessous~:
\begin{itemize}
\item votre bon usage de ce document~;
@ -64,11 +66,11 @@
présenté ou utilisé.
\end{itemize}
}
\begin{center}
\includegraphics[width=5cm]{license}
\end{center}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{itemize}

239
tex/license.tex

@ -1,89 +1,170 @@
%Licence Creative Commons
\begin{center}
\textbf{\LARGE{Creative Commons\footnote{ Cette création est mise à
disposition selon le Contrat Attribution-ShareAlike 3.0
Unported disponible en ligne
\url{http://creativecommons.org/licenses/by-sa/3.0/} ou par
courrier postal à Creative Commons, 171 Second Street, Suite
300, San Francisco, California 94105, USA.} Legal Code} }
\end{center}
\vspace{1cm}
\IfStrEq{\getlang}{english}{
\phantomsection
\addcontentsline{toc}{section}{License}
\begin{center}
\textbf{\LARGE{Creative Commons\footnote{ This work is licensed
under the Creative Commons Attribution-ShareAlike 3.0 Unported
License. To view a copy of this license, visit
\url{http://creativecommons.org/licenses/by-sa/3.0/} or send a
letter to Creative Commons, 171 Second Street, Suite 300, San
Francisco, California, 94105, USA.} Legal Code} }
\end{center}
\vspace{1cm}
%-------------------------------------------------------------------------------
\begin{lblock}{Vous êtes libres~:}
%-------------------------------------------------------------------------------
\begin{lblock}{You are free to:}
\begin{pictonote}{share}
de reproduire, distribuer et communiquer cette création au
public~;
\end{pictonote}
\begin{pictonote}{share}
\lcondition{Share} copy, distribute and transmit the work;
\end{pictonote}
\begin{pictonote}{remix}
de modifier cette création~;
\end{pictonote}
\begin{pictonote}{remix}
\lcondition{Remix} adapt the work;
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Selon les conditions suivantes~:}
\begin{pictonote}{by}
\lcondition{Paternité} Vous devez citer le nom de l'auteur
original de la manière indiquée par l'auteur de l'œuvre ou le
titulaire des droits qui vous confère cette autorisation (mais pas
d'une manière qui suggérerait qu'ils vous soutiennent ou
approuvent votre utilisation de l'œuvre)~;
\end{pictonote}
\begin{pictonote}{sa}
\lcondition{Partage des Conditions Initiales à l'Identique} Si
vous modifiez, transformez ou adaptez cette création, vous n'avez
le droit de distribuer la création qui en résulte que sous un
contrat identique a celui-ci~;
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Informations complémentaires~:}
\hspace{0.4cm}
\parbox{15cm}{
\paragraph{Dérogation --}
Chacune des conditions optionnelles peut être levée après
l'autorisation du titulaire des droits.
\paragraph{Utilisation --}
À chaque réutilisation ou distribution de cette création, vous
devez faire apparaître clairement au public les conditions
contractuelles de sa mise à disposition.
\paragraph{Équité --}
La licence n'interfère avec aucun des droits ci-dessous~:
\begin{itemize}
\item votre bon usage de ce document~;
\item les droits moraux des auteurs~;
\item les droits des personnes tierces dont le travail est
présenté ou utilisé.
\end{itemize}
}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Under the following conditions:}
\begin{pictonote}{by}
\lcondition{Attribution} You must attribute the work in the manner
specified by the author or licensor (but not in any way that
suggests that they endorse you or your use of the work);
\end{pictonote}
\begin{pictonote}{sa}
\lcondition{Share Alike} If you alter, transform, or build upon
this work, you may distribute the resulting work only under the
same or similar license to this one.
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{With the understanding that:}
\hspace{0.4cm}
\parbox{15cm}{
\paragraph{Waiver --}
Any of the above conditions can be waived if you get permission
from the copyright holder.
\paragraph{Public Domain --}
Where the work or any of its elements is in the public domain
under applicable law, that status is in no way affected by the
license.
\paragraph{Other Rights --}
In no way are any of the following rights affected by the license:
\begin{itemize}
\item your fair dealing or fair use rights, or other applicable
copyright exceptions and limitations;
\item apart from the remix rights granted under this license,
the author's moral rights;
\item rights other persons may have either in the work itself
or in how the work is used, such as publicity or privacy rights.
\end{itemize}
}
\begin{center}
\includegraphics[width=4cm]{license}
\end{center}
\end{lblock}
%-------------------------------------------------------------------------------
\paragraph{Songs \LaTeX~Package}
This document is written in \LaTeX, from the Songs
Project\footnote{\url{http://songs.sourceforge.net/}}.
}{
\phantomsection
\addcontentsline{toc}{section}{Licence}
\begin{center}
\includegraphics[width=4cm]{license}
\textbf{\LARGE{Creative Commons\footnote{ Cette création est mise à
disposition selon le Contrat Attribution-ShareAlike 3.0
Unported disponible en ligne
\url{http://creativecommons.org/licenses/by-sa/3.0/} ou par
courrier postal à Creative Commons, 171 Second Street, Suite
300, San Francisco, California 94105, USA.} Legal Code} }
\end{center}
\vspace{1cm}
\end{lblock}
%-------------------------------------------------------------------------------
\paragraph{Songs \LaTeX~Package}
Ce document est écrit en \LaTeX, d'après le style du projet
Songs\footnote{\url{http://songs.sourceforge.net/}}.
\paragraph{Note des auteurs}
Ces tablatures sont des représentations d'interprétations personnelles
et approximatives de chansons potentiellement protégées par droits
d'auteurs. Ce recueil de chansons n'a absolument aucune vocation
commerciale et joue sur l'autorisation tacite des auteurs et des
ayant-droits, pensant que la publication de ces tablatures représente
une publicité positive à leur égard. Si un auteur ou une société
accréditée pense que ces tablatures sont utilisées d'une manière
susceptible de porter atteinte à ses droits et désire s'opposer à leur
publication, merci de nous contacter à \url{crep@team-on-fire.com}.
%-------------------------------------------------------------------------------
\begin{lblock}{Vous êtes libres~:}
\begin{pictonote}{share}
de reproduire, distribuer et communiquer cette création au
public~;
\end{pictonote}
\begin{pictonote}{remix}
de modifier cette création~;
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Selon les conditions suivantes~:}
\begin{pictonote}{by}
\lcondition{Paternité} Vous devez citer le nom de l'auteur
original de la manière indiquée par l'auteur de l'œuvre ou le
titulaire des droits qui vous confère cette autorisation (mais pas
d'une manière qui suggérerait qu'ils vous soutiennent ou
approuvent votre utilisation de l'œuvre)~;
\end{pictonote}
\begin{pictonote}{sa}
\lcondition{Partage des Conditions Initiales à l'Identique} Si
vous modifiez, transformez ou adaptez cette création, vous n'avez
le droit de distribuer la création qui en résulte que sous un
contrat identique a celui-ci~;
\end{pictonote}
\end{lblock}
%-------------------------------------------------------------------------------
\begin{lblock}{Informations complémentaires~:}
\hspace{0.4cm}
\parbox{15cm}{
\paragraph{Dérogation --}
Chacune des conditions optionnelles peut être levée après
l'autorisation du titulaire des droits.
\paragraph{Utilisation --}
À chaque réutilisation ou distribution de cette création, vous
devez faire apparaître clairement au public les conditions
contractuelles de sa mise à disposition.
\paragraph{Équité --}
La licence n'interfère avec aucun des droits ci-dessous~:
\begin{itemize}
\item votre bon usage de ce document~;
\item les droits moraux des auteurs~;
\item les droits des personnes tierces dont le travail est
présenté ou utilisé.
\end{itemize}
}
\begin{center}
\includegraphics[width=4cm]{license}
\end{center}
\end{lblock}
%-------------------------------------------------------------------------------
\paragraph{Songs \LaTeX~Package}
Ce document est écrit en \LaTeX, d'après le style du projet
Songs\footnote{\url{http://songs.sourceforge.net/}}.
\paragraph{Note des auteurs}
Ces tablatures sont des représentations d'interprétations personnelles
et approximatives de chansons potentiellement protégées par droits
d'auteurs. Ce recueil de chansons n'a absolument aucune vocation
commerciale et joue sur l'autorisation tacite des auteurs et des
ayant-droits, pensant que la publication de ces tablatures représente
une publicité positive à leur égard. Si un auteur ou une société
accréditée pense que ces tablatures sont utilisées d'une manière
susceptible de porter atteinte à ses droits et désire s'opposer à leur
publication, merci de nous contacter à \url{crep@team-on-fire.com}.
%-------------------------------------------------------------------------------
}
%-------------------------------------------------------------------------------
% Fin de la Licence
% End of Licence

2
utils/header-english

@ -1,5 +1,5 @@
{
"template" : "patacrep-en.tmpl",
"template" : "patacrep.tmpl",
"lang" : "english",
"bookoptions" : [
"diagram",

3
utils/rules.py

@ -31,6 +31,7 @@ word_dic = {
##: Punctuation
"": "'",
"": "'",
"´": "'",
"Ca ": "Ça ",
"...": "{\\dots}",
"": "{\\dots}",
@ -168,6 +169,8 @@ def language_rules(string):
string = re.sub("(?P<last_char>\S)(?P<symbol>[!?;:])","\g<last_char> \g<symbol>", string)
#... except for gtabs macros with capos
string = re.sub("(?P<gtab>tab.?{.*)\s:","\g<gtab>:", string)
#... and for urls
string = re.sub("http\s:","http:", string)
#and apply a second time for cases like \gtab{Gm}{10:X02210:}
string = re.sub("(?P<gtab>tab.?{.*)\s:","\g<gtab>:", string)
#ensure no spaces after symbols (

4
windows/clean.bat

@ -1,2 +1,4 @@
Rem manually performs "make clean"
del *.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd
FOR %%A IN (*.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd) DO DEL %%A
Rem remove temporary covers
FOR %%A IN (covers\*.*) DO DEL %%A

3
windows/cleanall.bat

@ -1,3 +1,4 @@
Rem remove pdf files
FOR %%A IN (*.pdf) DO DEL %%A
Rem manually performs "make cleanall"
windows\\clean.bat
del *.pdf

Loading…
Cancel
Save