#!/bin/bash latexmk -pdf ./main.tex && latexmk -pdf -c && mv main.pdf ../"$(basename $(dirname $(pwd)))".pdf