diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-09-12 22:21:02 +0200 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-09-12 22:21:02 +0200 |
commit | 33a6f9ec86a9c5e5072e163615e7dca44ae5b843 (patch) | |
tree | dcfe922d91b6eabea7888935e4f92f4ac646602f | |
parent | 1d288cae171b2dd6fa225ff59797c2668e03870e (diff) |
Give the songbook a proper title
-rw-r--r-- | lib/latex.rb | 2 | ||||
-rw-r--r-- | scripts/build.rb | 2 | ||||
-rw-r--r-- | templates/songbook.tex.erb | 2 | ||||
-rw-r--r-- | 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 @@ <!DOCTYPE html> <html lang=en> <head> - <title>Śpiewnik tradycyjny<%= title ? " | #{title}" : "" %></title> + <title>Śpiewnik Tuturutu<%= title ? " | #{title}" : "" %></title> <meta charset='utf-8'> <link rel='stylesheet' type='text/css' href='<%= path_to 'style' %>'> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> -<h1><a href='<%= path_to 'index' %>'>Śpiewnik tradycyjny</a></h1> +<h1><a href='<%= path_to 'index' %>'>Śpiewnik Tuturutu</a></h1> <%= content -%> |