I can’t replicate this with my Ubuntu Linux/MATE/Firefox/Emacs setup. I get the whole equation no matter how I copy it.
(Note that there is one catch to the JS copy-paste listener: confusingly to contemporary users, X.org has multiple copy-paste buffers, ‘primary’ / ‘secondary’ / ‘copypaste’, of which browsers will apparently only allow web page JS to affect the first one. Since the browser doesn’t cooperate, this cannot be fixed by the webpage. So if you copy-paste in X.org, depending on how you do it, you may get the intended P(xi)=<xi,v> or you may get that newline-after-every-character version that jefftk quotes. If you are unsure what is going on, you can investigate using the xclip utility, like xclip -o -selection copypaste vs xclip -o -selection primary.)
I can’t replicate this with my Ubuntu Linux/MATE/Firefox/Emacs setup. I get the whole equation no matter how I copy it.
(Note that there is one catch to the JS copy-paste listener: confusingly to contemporary users, X.org has multiple copy-paste buffers, ‘primary’ / ‘secondary’ / ‘copypaste’, of which browsers will apparently only allow web page JS to affect the first one. Since the browser doesn’t cooperate, this cannot be fixed by the webpage. So if you copy-paste in X.org, depending on how you do it, you may get the intended
P(xi)=<xi,v>
or you may get that newline-after-every-character version that jefftk quotes. If you are unsure what is going on, you can investigate using thexclip
utility, likexclip -o -selection copypaste
vsxclip -o -selection primary
.)