From 27c25eb14720fd08fb0bf2babbd6e99b030d6025 Mon Sep 17 00:00:00 2001 From: leopoldfajtak Date: Thu, 31 Oct 2024 16:13:04 +0100 Subject: [PATCH] changed csv delimiter --- footer.tt | 2 +- musician_scores.tt | 2 +- qr_codes.csv | 2 +- song_choices.csv | 30 +++++++++++++++--------------- songsheet.tt | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/footer.tt b/footer.tt index 2eff549..f897202 100644 --- a/footer.tt +++ b/footer.tt @@ -1,6 +1,6 @@ \vspace*{\fill} -[% USE qr_codes = datafile('qr_codes.csv') %] +[% USE qr_codes = datafile('qr_codes.csv', delim='&') %] [% FOREACH qr_code = qr_codes -%] diff --git a/musician_scores.tt b/musician_scores.tt index 423f434..c182b1e 100644 --- a/musician_scores.tt +++ b/musician_scores.tt @@ -75,7 +75,7 @@ RawFeature = {+ss06} [% subtitle %] \end{centering} -[% USE song_choices = datafile('song_choices.csv') %] +[% USE song_choices = datafile('song_choices.csv', delim='&') %] [% IF parts == 0 -%] parts = ensemble [% END -%] diff --git a/qr_codes.csv b/qr_codes.csv index d79aa49..9ce44b0 100644 --- a/qr_codes.csv +++ b/qr_codes.csv @@ -1 +1 @@ -description : url +description & url diff --git a/song_choices.csv b/song_choices.csv index e6730ee..37d8f80 100644 --- a/song_choices.csv +++ b/song_choices.csv @@ -1,15 +1,15 @@ -purpose : content : template : variables -: : : -introitus : : : -#confiteor : \input{library/gebete/confiteor/confiteor_de.tex} : : -kyrie : : : -gloria : : : -graduale : : : -tractus : : : -#credo : \input{library/gebete/credo/apostolisch_de.tex} : : -offertorium : : : -sanctus : : : -agnus : : : -communio : : : -#BMV : : : -: : : +purpose & content & template & variables +& & & +introitus & & & +#confiteor & \input{library/gebete/confiteor/confiteor_de.tex} & & +kyrie & & & +gloria & & & +graduale & & & +tractus & & & +#credo & \input{library/gebete/credo/apostolisch_de.tex} & & +offertorium & & & +sanctus & & & +agnus & & & +communio & & & +#BMV & & & +& & & diff --git a/songsheet.tt b/songsheet.tt index 0e950a7..03a5806 100644 --- a/songsheet.tt +++ b/songsheet.tt @@ -4,7 +4,7 @@ \begin{document} [% INCLUDE head.tt %] -[% USE song_choices = datafile('song_choices.csv') %] +[% USE song_choices = datafile('song_choices.csv', delim='&') %] [% FOREACH song = song_choices %] [% template = song.template == '' ? "song_template.tt" : song.template -%]