Import 294 songs from Carmina Leonis PDF
Add import-songs.py script that extracts songs from the PDF text and generates .tex files with leadsheets format. Adds song properties for all reference books (BuLiBu, BuLiBuII, CL, SwA, Barde, LiBock). Generates all-songs.tex with alphabetical inputs. Note: Chord alignment is approximate from PDF extraction and may need manual review for some songs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
\ExplSyntaxOff
|
||||
\useleadsheetslibraries{chordnames,chords,shorthands,properties,templates,translations,songs}
|
||||
|
||||
% --- Repeat markers (used by shorthands library for |: and :| ) ---
|
||||
\providecommand{\leftrepeat}{|:\,}
|
||||
\providecommand{\rightrepeat}{\,:|}
|
||||
\providecommand{\leftrightrepeat}{|:\,:|}
|
||||
|
||||
|
||||
% --- Font setup ---
|
||||
\setmainfont{TeX Gyre Heros}
|
||||
\newfontfamily\frakfont{UnifrakturMaguntia-Book}[Path=fonts/,Extension=.ttf]
|
||||
@@ -47,6 +53,12 @@
|
||||
\definesongproperty{note}
|
||||
\definesongproperty{mundorgel}
|
||||
\definesongproperty{pfadfinderliederbuch}
|
||||
\definesongproperty{bulibu}
|
||||
\definesongproperty{bulibull}
|
||||
\definesongproperty{cl}
|
||||
\definesongproperty{swa}
|
||||
\definesongproperty{barde}
|
||||
\definesongproperty{libock}
|
||||
|
||||
% --- leadsheets settings ---
|
||||
\setleadsheets{
|
||||
@@ -56,6 +68,7 @@
|
||||
chorus/named = false,
|
||||
chorus/numbered = false,
|
||||
after-song = \songendsection,
|
||||
bar-shortcuts = false,
|
||||
}
|
||||
|
||||
\setchords{
|
||||
|
||||
Reference in New Issue
Block a user