SWC-673: add editor, and fix encoding since pipes are in TeX commands