summaryrefslogtreecommitdiff
path: root/src/index.tex
blob: 117f87cfc1e2896d7b25bb3529d83dd6857b784e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\foreach\Year in {2023,...,2023}{
  \foreach\Month in {January,February,March,April,May}{
    \foreach\Day in {1,...,31}{
      \IfFileExists{\Year/\Month/\Day}{
        \openin\mysource=\Year/\Month/\Day.tex

        \read\mysource to \firstline

        \closein\mysource

        \xdef\writetitle{1}

        \begin{logEntry}{\Month\ \Day,\ \Year}{\firstline}
          \xdef\writetitle{0}

          \input{\Year/\Month/\Day}
          \newline
        \end{logEntry} 
      }{}
    }  
  }
}