fix temporary path
use random footnote label
fix issue with uppercase latex env
define default latex compiler (mainly for latex preview)
remove ignoreheading line
remove duplicated code
kozmetix