From 33a6f9ec86a9c5e5072e163615e7dca44ae5b843 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 12 Sep 2021 22:21:02 +0200 Subject: Give the songbook a proper title --- lib/latex.rb | 2 +- scripts/build.rb | 2 +- templates/songbook.tex.erb | 2 +- templates/template.html.erb | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/latex.rb b/lib/latex.rb index 2adcb82..e0c0f9a 100644 --- a/lib/latex.rb +++ b/lib/latex.rb @@ -27,7 +27,7 @@ def render_songbook songs system "lualatex --shell-escape -output-directory=#{TmpDir}/ #{tmp 'songbook.tex'}" # compile twice for table of contents to generate properly system "lualatex --shell-escape -output-directory=#{TmpDir}/ #{tmp 'songbook.tex'}" - system "mv #{tmp 'songbook.pdf'} #{build 'śpiewnik-tradycyjny.pdf'}" + system "mv #{tmp 'songbook.pdf'} #{build 'śpiewnik-tuturutu.pdf'}" end def make_pdfs songs diff --git a/scripts/build.rb b/scripts/build.rb index 04e39d7..1e4e30c 100644 --- a/scripts/build.rb +++ b/scripts/build.rb @@ -20,7 +20,7 @@ P = Pather.new P.add 'index', 'index.html' P.add 'style', 'style.css' -P.add 'songbook', 'śpiewnik-tradycyjny.pdf' +P.add 'songbook', 'śpiewnik-tuturutu.pdf' songs.each_key do |song_id| P.add(song_html(song_id), song_html(song_id)) diff --git a/templates/songbook.tex.erb b/templates/songbook.tex.erb index 7a496c6..7424094 100644 --- a/templates/songbook.tex.erb +++ b/templates/songbook.tex.erb @@ -21,7 +21,7 @@ \parbox[b]{0.75\textwidth}{ {\textsc{Marcin Chrzanowski} przedstawia} \\[2\baselineskip] - {\Huge\bfseries Śpiewnik \\[0.5\baselineskip] Chmielowy} + {\Huge\bfseries Śpiewnik \\[0.5\baselineskip] Tuturutu w Chmielu} \\[14\baselineskip] \begin{flushright} Wersja~~\fbox{$0.1$} diff --git a/templates/template.html.erb b/templates/template.html.erb index a2f36fc..c7297dd 100644 --- a/templates/template.html.erb +++ b/templates/template.html.erb @@ -1,13 +1,13 @@ - Śpiewnik tradycyjny<%= title ? " | #{title}" : "" %> + Śpiewnik Tuturutu<%= title ? " | #{title}" : "" %> '> -

'>Śpiewnik tradycyjny

+

'>Śpiewnik Tuturutu

<%= content -%> -- cgit v1.2.3