BEGIN { FS="\t" title["refereed"]="Refereed Papers" title["non-refereed"]="Non-Refereed Papers" title["late"]="Late Non-Refereed Papers" title["slides"]="Presentation Slides" title["videos"]="Videos without papers or slides" notes["refereed"]="refereed" notes["non-refereed"]="not refereed" notes["late"]="not refereed" notes["slides"]="presentation slides" notes["videos"]="Video only" html="papers/index.html" bib ="data/nopages.bib" videobp="https://www.youtube.com/watch?v=" system("cat top.html >"html); } /^-[*]-/ { next } { if ($1 == ">") { if ($2 != "videos") print "\\addtocontents{toc}{\\textbf{"title[$2]"}}" else invideos=1 header++; if (header > 1) print "" >>html print "

"title[$2]"

\n" >> html system("cat bottom.html >>"html); }