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.)
Which version of Chrome, please? (You can find this out by putting chrome://version into your URL bar.)
5 other instances of LaTex (some paragraph equations, some not) on 3 other posts work.
Hmm, so it is just that one specific post, and the equations in that one post copy-paste incorrectly, while the equations in every other post you’ve tried copy-paste correctly? Is that right?
There is a bug in GW around the functionality you describe: navigate to an article posted today, namely,
https://www.lesswrong.com/posts/JCgs7jGEvritqFLfR/evaluating-hidden-directions-on-the-utility-dataset
Then use the mouse to select the equation that occurs right after “the projection (aka the scalar product)”
When you paste that equation (I tried 2 programs, Emacs and gnome-text-editor, as the destination of the paste operation), you get
P(x_i) =
--with the right-hand side of the equation completely missing.
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
.)Hmm, I can’t replicate this bug on GreaterWrong. Could you please say what browser/version/platform you are using?
Also, do other equations on other posts work?
Chrome downloaded from Google, running on Fedora 38 using the standard graphical environment (Gnome on Wayland).
Firefox works correctly.
>Also, do other equations on other posts work?
5 other instances of LaTex (some paragraph equations, some not) on 3 other posts work.
Which version of Chrome, please? (You can find this out by putting
chrome://version
into your URL bar.)Hmm, so it is just that one specific post, and the equations in that one post copy-paste incorrectly, while the equations in every other post you’ve tried copy-paste correctly? Is that right?
Chrome reports as 117.0.5938.92 (Official Build) (64-bit).
I already described the problem with the first paragraph equation (display equation) on the page.
The second paragraph equation, which can be located by searching for “log-likelihood”, also has the problem. In particular, it copies as
\text{PPL}(X) = \exp\left(-\frac{1}{n}\sum_i^n \log p_\theta(x_i|x_{
The third one, locatable via “concept vector v”, works correctly:
P_{\perp}(x_i) = x_i - \frac{}{||v||^2}v\,.
There is no fourth paragraph equation on the page.
Let me know if you want me to continue to search for instances of the bug, on other pages.
Alright, thank you.
I’ll try to figure out what might be causing this, though I can’t promise it’ll be soon, unfortunately.
Copying that equation from LW with Chrome on Mac, anything I paste it into (pbpaste, standard website, Google Docs) I get:
But when I use the GW version I get:
P(x_i) = <x_i, v>
Did you mean to link to the LW version of the post?