To edit the contents of the clipboard with TeXMacs:
- Save the clipboard to a temp
.tex
file - Open the
.tex
file with TeXmacs a. TeXmacs will automatically import it on the fly - From TeXmacs use the GUI to edit the math
- Save TeXmacs and it will export the file on the fly
- Run the file through pandoc to strip off all the header arguments
- Put the file back into the clipboard