light edits to get thigns to compile
ignore tex cruft