Commit c467951a authored by Júda Ronén's avatar Júda Ronén

+numi +CSV

parent 03c068a5
all:
$(MAKE) -C muzikaĵoj
#latexmk -xelatex -file-line-error fanzino
#$(MAKE) -C muzikaĵoj
latexmk -xelatex -file-line-error fanzino
pvc:
latexmk -silent -pvc -file-line-error fanzino
......
\documentclass[12pt]{book}
\usepackage[a4paper]{geometry}
\setlength\parskip{\smallskipamount}
\setlength\parindent{0pt}
\usepackage{graphicx, url, paralist, wrapfig, datatool, pdfpages}
\usepackage[hidelinks]{hyperref}
\newcommand{\middlebox}[1]{$\vcenter{\hbox{#1}}$}
%\newcommand{\betweenLilyPondSystem}[1]{\\[10mm]\noindent}
\newcommand{\betweenLilyPondSystem}[1]{\vspace{5mm}\linebreak}
\newcommand{\muzikajxo}[6]{%
{\large\textbf{#1}} · #5 \hfill
{\label{muz:#3}\large\middlebox{\symbolglyph{#4}}}\hfill
\EO{{\large\textbf{#2}} · #6}
}
\newcommand{\lily}[1]{\begin{center}#1\end{center}\newpage}
\usepackage{multicol}
\setlength{\columnsep}{4em}
\newcommand{\enhavero}[4]{\parbox{1em}{\symbolglyph{#3}} \textbf{#1} / #4\dotfill\pageref{muz:#2}\\}
\usepackage{fontspec}
\usepackage[RTLdocument]{bidi}
\setmainfont[Script=Hebrew, AutoFakeSlant=-0.15, Mapping=tex-text]{Rutz_OE}
\setmonofont[Mapping=tex-text, Scale=0.9]{PragmataPro}
\renewcommand{\L}[1]{\LR{\fontspec{Vesper Pro}#1}}
\newcommand{\EO}[1]{\L{#1}}
\newcommand{\setEO}{\setLR\fontspec{Vesper Pro}}
\newcommand{\setHE}{\setRL\normalfont}
\newcommand{\symbolglyph}[1]{\middlebox{\,\fontspec{Symbola}#1\,}}
\input{agordoj}
\input{agordoj/agordoj}
\begin{document}
\newgeometry{margin=0cm}
......
\newcommand{\muzrubriko}[2]{\dulingvasubtitolo{#1}{#2}}
\newcommand{\pnurl}[1]{\endnote{\url{#1}}}
\newcommand{\pnurletikedo}[2]{\endnote{\label{url:#2}\url{#1}}}
\DTLloaddb{datumaro}{datumaro.csv}
\DTLsort{title-he=ascending}{datumaro}
\DTLsort{titolo-he=ascending}{datumaro}
\DTLforeach[\DTLiseq{\uone}{v}\and\DTLiseq{\filename}{birthday}]{datumaro}{\filename=filename,\titleeo=title-eo,\titlehe=title-he,\uone=u1}{%
{\filename} is {\titleeo} (heb: {\titlehe})\par
\includepdf{muzikaĵoj/\filename/\filename.pdf}
\newcommand{\katenhavo}[1]{
\DTLforeach[\DTLiseq{\uone}{v}\and\DTLiseq{\kategorio}{#1}]{datumaro}{\dosiernomo=dosiernomo,\titoloeo=titolo-eo,\titolohe=titolo-he,\uone=u1,\kategorio=kategorio,\komponistohe=komponisto-he,\komponistoeo=komponisto-eo,\ikono=ikono}{%
\noindent
\parbox[t]{0.43\textwidth}{\noindent%
\textbf{\titolohe}~/ {\komponistohe}}
\parbox[t]{0.07\textwidth}{\centering\LR{\symbolglyph{\ikono} \Lat{\pageref{##2}}}}
\parbox[t]{0.50\textwidth}{\noindent%
\EO{\textbf{\titoloeo}~/ {\komponistoeo}}}\\[0.5ex]
}
}
\muzrubriko{שירים בעברית}{Hebrealingvaj kantoj}
\katenhavo{he}
\muzrubriko{מוזיקה מוקדמת}{Antikva muziko}
\katenhavo{antikva}
%\includepdf{muzikaĵoj/\dosiernomo/\dosiernomo.pdf}
%⚙: להפיק מה־CSV
......
\include "../ĉiea.ly"
\header {
titolo-xx = ""
titolo-he = "נומי נומי"
titolo-eo = "Ekdormu, mia filo"
komponisto-xx = ""
komponisto-he = "יואל אנגל"
komponisto-eo = "Joel Engel"
ikono = "😴"
}
\include "../titolo.ly"
melodio = {
\key d \minor
\time 4/4
\mark "v. A"
\repeat volta 2 {
d4 d a a |
g8\4 f g\4 a g4\4 f8( e) |
d4 d g\4 g\4 |
}
\alternative {
{ f1 | }
{ f2. d4 | }
}
\repeat volta 2 {
g4.\4 d8 g\4 d g\4 a |
g2.\4 f4 |
g4\4 f c' bes |
}
\alternative {
{ a2. d4 | }
{ a4. bes8( a) g\4 a4\fermata | }
}
\bar "|." \break
\mark "v. B"
d4 d a a |
g8\4 f g\4 a g4\4 f4 |
d4 d g\4 g\4 |
f1 | \break
d4 d a a |
g8\4 f g\4 a g4\4 f4 |
c4 c f ees |
d2. d4 | \break
g4.\4 d8 g\4 d g\4 a |
g2.\4 f4 |
g4\4 f bes a |
g2.\4 d4 | \break
g4.\4 d8 g\4 a bes a |
g2.\4 f4 |
g4\4 f c' bes |
a1 |
\bar "|."
}
\include "../muziko.ly"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment