making the envois script use commandline arguments, beginning to add support for latex rendering