progress
This commit is contained in:
parent
f254ee08b6
commit
0d92707366
14
bin/build.sh
14
bin/build.sh
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
TEXML_HOME=$HOME/Library/texmf/tex/latex
|
||||
PDF_JOINER="/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
|
||||
SONGS_HOME=`pwd`
|
||||
|
||||
function setup_pdflatex {
|
||||
if [ ! -d $TEXML_HOME ]; then
|
||||
@ -9,14 +9,14 @@ function setup_pdflatex {
|
||||
fi
|
||||
|
||||
if [ ! -d $TEXML_HOME/tex ]; then
|
||||
ln -s "`realpath .`" $TEXML_HOME
|
||||
ln -s $SONGS_HOME/tex $TEXML_HOME
|
||||
fi
|
||||
}
|
||||
|
||||
function make_pdf {
|
||||
infile="`realpath "$1"`"
|
||||
infile="$SONGS_HOME/$1"
|
||||
indir=$(dirname "$1")
|
||||
pdf_outdir="`realpath "build/pdf"`/${indir#songs/}"
|
||||
pdf_outdir="$SONGS_HOME/build/pdf/${indir#songs/}"
|
||||
#aux_outdir="`realpath "aux"`/${indir#songs/}"
|
||||
|
||||
mkdir -p "$pdf_outdir"
|
||||
@ -42,6 +42,6 @@ function make_packet {
|
||||
}
|
||||
|
||||
setup_pdflatex
|
||||
#make_pdf "$1"
|
||||
make_pdf "$1"
|
||||
|
||||
make_packet "packets/pha202006.tex"
|
||||
#make_packet "packets/aircoustic202007.tex"
|
||||
|
10
packets/aircoustic202007.tex
Normal file
10
packets/aircoustic202007.tex
Normal file
@ -0,0 +1,10 @@
|
||||
\documentclass{article}
|
||||
\usepackage{grffile}
|
||||
\usepackage{pdfpages}
|
||||
\begin{document}
|
||||
\includepdf[pages=-]{build/pdf/Commodores/Nightshift.pdf}
|
||||
\includepdf[pages=-]{build/pdf/Funkadelic/Can You Get To That.pdf}
|
||||
\includepdf[pages=-]{build/pdf/Morcheeba/Part of the Process.pdf}
|
||||
\includepdf[pages=-]{build/pdf/Prince/Kiss.pdf}
|
||||
\includepdf[pages=-]{build/pdf/Tracy Chapman/Give Me One Reason.pdf}
|
||||
\end{document}
|
@ -40,7 +40,7 @@ It seems like ^{C}yester ^{Cadd9}day,
|
||||
^{C} When we were ^{D}working out \\
|
||||
^{G} Jackie, ^{Em7} ^{-} ^{C} you set the ^{D}world on fire.
|
||||
You came and ^{C}gifted ^{Cadd0}us;
|
||||
^{G} Your love it ^{G}lifted us, \\
|
||||
^{G} Your love it ^{D}lifted us, \\
|
||||
Higher and higher.
|
||||
\end{verse}
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
\begin{verse}
|
||||
I ^{E}once had a life, or rather, ^{A}life had me \\
|
||||
I was ^{E}one among many or at ^{A}least I seemed to be \\
|
||||
I was ^{E}one among many, or at ^{A}least I seemed to be \\
|
||||
Well, I ^{E}read an old quotation in a ^{A}book just yesterday \\
|
||||
Said "Gonna ^{E}reap just what you sow, \\
|
||||
The debts you ^{A}make you have to pay." Can you get to that?
|
||||
|
@ -2,7 +2,7 @@
|
||||
\usepackage{graphicx}
|
||||
\usepackage[export]{adjustbox}
|
||||
|
||||
\newcommand{\kiss}{\includegraphics[width=1em,valign=t,raise=-0.1em]{1F618.pdf}}
|
||||
\newcommand{\kiss}{\includegraphics[width=1em,valign=t,raise=-0.1em]{emoji/1F618.pdf}}
|
||||
|
||||
\begin{document}
|
||||
\begin{song}[transpose-capo=true]{title={Kiss}, band={Prince}, year={1986}, key={A}}
|
||||
|
@ -52,7 +52,7 @@ wasting my precious ^{F#}energy ^{F#7} ^{F#}
|
||||
\begin{verse}
|
||||
^{F#}Baby, just give me one reason, ^{B} give me ^{C#7}just one reason ^{F#}why ^{F#7} ^{F#} \\
|
||||
^{B}Baby, just give me one reason, oh, ^{B7} give me ^{C#7}just one reason why I should ^{F#}stay ^{F#7} ^{F#} \\
|
||||
Said I ^{C#7}told you that I loved you ^{B}
|
||||
Said I ^{C#7}told you that I loved you ^{B*}
|
||||
and there ain't no more to ^{F#}say ^{F#7} ^{B} ^{B7} ^{F#}
|
||||
\end{verse}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user