Fixed bug where css wasn't getting ref. properly for latex