Add Github url <noupdate>

This commit is contained in:
2024-05-21 09:41:24 +02:00
parent 084dce7d24
commit 9d6b6aa7b1
16 changed files with 20 additions and 1 deletions

View File

@ -79,7 +79,7 @@
\centering
\vspace*{\fill}
\huge
\textbf{\@title}\\
\href{\giturl}{\textbf{\@title}}\\
{\Large Last update: \lastupdate}
\vspace*{\fill}

View File

@ -3,6 +3,7 @@
\title{Cognition and Neuroscience\\(Module 1)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\DeclareAcronym{psp}{short=PSP, long=postsynaptic potential, long-plural=s}
\DeclareAcronym{epsp}{short=EPSP, long=excitatory postsynaptic potential, long-plural=s}

View File

@ -5,6 +5,7 @@
\title{Cognition and Neuroscience\\(Module 2)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\newtheorem*{casestudy}{Case study}

View File

@ -3,6 +3,7 @@
\title{Combinatorial Decision Making\\and Optimization\\(Module 1)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -3,6 +3,7 @@
\title{Combinatorial Decision Making\\and Optimization\\(Module 2)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\def\calT{\mathcal{T}}
\def\calB{\mathcal{B}}

View File

@ -3,6 +3,7 @@
\title{Deep Learning}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -3,6 +3,7 @@
\title{Fundamentals of Artificial Intelligence and Knowledge Representation\\(Module 1)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -3,6 +3,7 @@
\title{Fundamentals of Artificial Intelligence and Knowledge Representation\\(Module 2)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -3,6 +3,7 @@
\title{Fundamentals of Artificial Intelligence and Knowledge Representation\\(Module 3)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -5,6 +5,7 @@
\title{Image Processing and Computer Vision\\(Module 1)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -3,6 +3,7 @@
\title{Image Processing and Computer Vision\\(Module 2)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\newcommand*\rot{\rotatebox{90}}

View File

@ -3,6 +3,7 @@
\title{Languages and Algorithms for\\Artificial Intelligence\\(Module 2)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -4,6 +4,7 @@
\title{Languages and Algorithms for\\Artificial Intelligence\\(Module 3)}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\newcommand{\enc}[1]{{\llcorner{#1}\lrcorner}}
\newcommand{\tapestart}[0]{\triangleright}
\newcommand{\tapeblank}[0]{\square}

View File

@ -3,6 +3,7 @@
\title{Machine Learning and Data Mining}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\DeclareAcronym{oltp}{short=OLTP, long=Online Transaction Processing}
\DeclareAcronym{erp}{short=ERP, long=Enterprise Resource Planning}

View File

@ -3,6 +3,7 @@
\title{Statistical and Mathematical Methods for Artificial Intelligence}
\date{2023 -- 2024}
\def\lastupdate{{PLACEHOLDER-LAST-UPDATE}}
\def\giturl{{PLACEHOLDER-GIT-URL}}
\begin{document}

View File

@ -19,6 +19,7 @@ old_out_dir=`realpath $3`
hash_file="$old_out_dir/.hash"
new_hash_file="$out_dir/.hash"
work_dir=`realpath $1`
git_base_url="https://github.com/NotXia/unibo-ai-notes/blob/pdfs"
mkdir -p $out_dir
touch $hash_file
@ -94,6 +95,10 @@ for f in **/[!_]*.tex; do
last_update=`getLastUpdateDate`
sed -i "s/PLACEHOLDER-LAST-UPDATE/${last_update}/" $f_base
# Insert Github link
git_url="${git_base_url}/${f_dir}/${f_nameonly}.pdf"
sed -i "s@PLACEHOLDER-GIT-URL@${git_url}@" $f_base
# Compile
latexmk -pdf -jobname=${f_nameonly} ${f_base}
mv ${f_nameonly}.pdf $out_dir/${f_dir}/.