fix booklet layout

This commit is contained in:
Sebastian Hugentobler 2025-01-17 11:14:15 +01:00
parent ae8d6a5d87
commit 5135de5e11
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
10 changed files with 114 additions and 128 deletions

View File

@ -6,5 +6,5 @@ for t in src/songs/*.typ; do
base="$(basename $t .typ)" base="$(basename $t .typ)"
title="$(grep -oP '^\W*title\W*=\W*"\K.*(?="\W*$$)' src/songs/$base.ly)" title="$(grep -oP '^\W*title\W*=\W*"\K.*(?="\W*$$)' src/songs/$base.ly)"
echo -en "#song(\"$title\", \"$base\")\n" >>build/songs.typ echo -en "#song(\"$title\", \"$base\")\n#pagebreak()\n" >>build/songs.typ
done done

View File

@ -10,3 +10,9 @@
#counter(page).update(1) #counter(page).update(1)
#set page(numbering: "1") #set page(numbering: "1")
#include "/build/songs.typ" #include "/build/songs.typ"
#set align(center + horizon)
_êona zerza_ \
_aruida sa_\
_aya dhâom_ \
_nurdra dhao_\

View File

@ -1,6 +1,6 @@
#let song(title, basename) = { #let song(title, basename) = {
hide(heading(title)) hide(heading(title))
image("/build/songs/" + basename + ".svg") image("/build/songs/" + basename + ".svg", width: 100%)
set align(center)
include ("/src/songs/" + basename + ".typ") include ("/src/songs/" + basename + ".typ")
pagebreak()
} }

View File

@ -1,5 +1,3 @@
#columns(2, gutter: 11pt)[
Should auld acquaintance be forgot, \ Should auld acquaintance be forgot, \
And never brought to mind? \ And never brought to mind? \
Should auld acquaintance be forgot, \ Should auld acquaintance be forgot, \
@ -38,5 +36,3 @@ For auld lang syne._ \
For auld lang syne. \ For auld lang syne. \
_[Chorus]_ _[Chorus]_
]

View File

@ -1,5 +1,4 @@
#columns(2, gutter: 11pt)[ #columns(2, gutter: 11pt)[
Ob wir rote, gelbe Kragen \ Ob wir rote, gelbe Kragen \
Helme oder Hüte tragen \ Helme oder Hüte tragen \
Stiefel tragen oder Schuh \ Stiefel tragen oder Schuh \
@ -48,5 +47,4 @@
Alle, die dies Lied gesungen, \ Alle, die dies Lied gesungen, \
So die Alten, wie die Jungen, \ So die Alten, wie die Jungen, \
Tun wir, tun wir was dazu. \ Tun wir, tun wir was dazu. \
] ]

View File

@ -1,5 +1,3 @@
#columns(2, gutter: 11pt)[
_[Chorus] _[Chorus]
Way-hey up she rises \ Way-hey up she rises \
Way-hey up she rises \ Way-hey up she rises \
@ -52,5 +50,3 @@ Earl-eye in the morning?_
That's what we do with a drunken sailor \ That's what we do with a drunken sailor \
That's what we do with a drunken sailor \ That's what we do with a drunken sailor \
Early in the morning! \ Early in the morning! \
]

View File

@ -1,5 +1,4 @@
#columns(2, gutter: 11pt)[ #columns(2, gutter: 11pt)[
As down the glen one Easter morn \ As down the glen one Easter morn \
To a city fair rode I \ To a city fair rode I \
There armed lines of marching men \ There armed lines of marching men \

View File

@ -1,5 +1,3 @@
#columns(2, gutter: 11pt)[
I'm a rover and seldom sober \ I'm a rover and seldom sober \
I'm a rover, o' high degree; \ I'm a rover, o' high degree; \
And when I'm drinking, I'm always thinking \ And when I'm drinking, I'm always thinking \
@ -39,5 +37,3 @@
And though the hills they are high above, \ And though the hills they are high above, \
I will climb them wi' greater pleasure \ I will climb them wi' greater pleasure \
Since I been in the arms o' my love. \ Since I been in the arms o' my love. \
]

View File

@ -1,5 +1,4 @@
#columns(2, gutter: 11pt)[ #columns(2, gutter: 11pt)[
About four years ago I was digging the land \ About four years ago I was digging the land \
With me brogues on me feet and me spade in me hand \ With me brogues on me feet and me spade in me hand \
Says I to me self, what a pity to see, \ Says I to me self, what a pity to see, \

View File

@ -1,5 +1,3 @@
#columns(2, gutter: 11pt)[
I've been a wild rover for many a year \ I've been a wild rover for many a year \
And I've spent all my money on whiskey and beer, \ And I've spent all my money on whiskey and beer, \
And now I'm returning with gold and great store \ And now I'm returning with gold and great store \
@ -31,5 +29,3 @@ No never no more._
Sure I never will play the wild rover no more. \ Sure I never will play the wild rover no more. \
_[Chorus]_ _[Chorus]_
]