From 7cd465d8696feff895ed647c0a653e696988281f Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 7 Mar 2013 15:42:26 +0100 Subject: [PATCH] Closes #3 Changed cc license to the unported variant. Included license xmp metadata. --- Makefile | 4 +- ...CC_Attribution-ShareAlike_3.0_Unported.xmp | 43 +++++++++++++++++++ settings.tex | 24 +++++++++++ sheet-music_tinwhistle.lytex | 4 +- title.tex | 4 +- 5 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 license/CC_Attribution-ShareAlike_3.0_Unported.xmp create mode 100644 settings.tex diff --git a/Makefile b/Makefile index b937794..ae4fe3b 100644 --- a/Makefile +++ b/Makefile @@ -14,12 +14,14 @@ INDEX=cd $(OUTDIR) && makeindex $(FILE).tex VPATH = \ $(CURDIR)/lyrics \ $(CURDIR)/notes \ - $(CURDIR)/pdf \ + $(CURDIR)/pdf \ all: book book: $(OUTDIR) $(PDFDIR) cp headfoot.tex $(OUTDIR)/ + cp settings.tex $(OUTDIR)/ + cp -r license/ $(OUTDIR)/ cp -r images/ $(OUTDIR)/ $(LILY_PDF) $(FILE).lytex $(PDF) diff --git a/license/CC_Attribution-ShareAlike_3.0_Unported.xmp b/license/CC_Attribution-ShareAlike_3.0_Unported.xmp new file mode 100644 index 0000000..f6fd4a0 --- /dev/null +++ b/license/CC_Attribution-ShareAlike_3.0_Unported.xmp @@ -0,0 +1,43 @@ + + + + + True + + + + + + + + This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>. + This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>. + This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>. + + + + + + + Sing-Alongs + Sing-Alongs + + + + + + + + Sing-Alongs + + + + + \ No newline at end of file diff --git a/settings.tex b/settings.tex new file mode 100644 index 0000000..8dbcea4 --- /dev/null +++ b/settings.tex @@ -0,0 +1,24 @@ +\geometry{a4paper,left=20mm,right=20mm, top=3cm, bottom=3cm} + +\includexmp{license/CC_Attribution-ShareAlike_3.0_Unported} + +\hypersetup +{ + bookmarks=true, % show bookmarks bar? + unicode=true, % non-Latin characters in Acrobat’s bookmarks + pdftoolbar=true, % show Acrobat’s toolbar? + pdfmenubar=false, % show Acrobat’s menu? + pdffitwindow=false, % window fit to page when opened + pdfstartview={FitH}, % fits the width of the page to the window + pdftitle={Sing-Alongs}, % title + pdfauthor={Sebastian Hugentobler}, % author + pdfsubject={Music to sing along}, % subject of the document + pdfcreator={Sebastian Hugentobler}, % creator of the document + pdfproducer={Sebastian Hugentobler}, % producer of the document + pdfnewwindow=true, % links in new window + colorlinks=true, % false: boxed links; true: colored links + citecolor=black, + filecolor=black, + linkcolor=black, + urlcolor=black +} \ No newline at end of file diff --git a/sheet-music_tinwhistle.lytex b/sheet-music_tinwhistle.lytex index 6a5fc00..d67a985 100644 --- a/sheet-music_tinwhistle.lytex +++ b/sheet-music_tinwhistle.lytex @@ -4,8 +4,10 @@ \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{geometry} -\geometry{a4paper,left=20mm,right=20mm, top=3cm, bottom=3cm} +\usepackage{xmpincl} +\usepackage{hyperref} +\input{settings.tex} \input{headfoot.tex} \begin{document} diff --git a/title.tex b/title.tex index a75c345..24887b6 100644 --- a/title.tex +++ b/title.tex @@ -21,8 +21,8 @@ \end{minipage} \vfill - \textbf{Creative Commons BY-SA 3.0 Switzerland License} - http://creativecommons.org/licenses/by-sa/3.0/ch/ \\ + \textbf{Creative Commons BY-SA 3.0 Unported License} + http://creativecommons.org/licenses/by-sa/3.0/ \\ ~\\ \includegraphics[width=0.20\textwidth]{images/by-sa.png}\\[1cm]