First implementation of LaTeX writer, many things unimplemented