macs2:cplusplus:use cmake as a buildsystem
fixes to latex files