Davide P. Cervone
Davide P. Cervone
PS, that didn't work for me in a test file that I was working with (I couldn't do it with your page, as whatever it is doing slowed down my...
You are correct that MathJax output can't be copied directly from the page in version 3. Version 3 uses CSS with `content` properties in order to insert the characters into...
@thisiscam: > If this is a simple fix, I can look into this and give a PR. It's not an easy fix, but I did make a [post](https://groups.google.com/g/mathjax-users/c/1BzTQFINbqY/m/xGYAlhDNAwAJ) about it...
> Curiously though, the `addCopyText` function is called twice If an extension needs to be loaded for some equation on the page, then the rendering is halted until the extension...
Here is a version that implements the processed and state bits: ``` javascript MathJax = { options: { renderActions: { addCopyText: [156, (doc) => { if (!doc.processed.isSet('addtext')) { for (const...
@thisiscam, thanks for identifying the issue with processing escapes. That is easily resolved (see below). The issue of selectable text on either side is more difficult. I think that if...
@mina86, while @thisiscam chose to do the whole-expression-as-tex approach for his copying solution, the post I linked to above also included one where you could copy portions of the output...
@yuki2006, It is not clear which of the two approaches in the linked discussion you are referring to. The first one (copying the original TeX code) is problematic in a...
There are some reasons not to do this, and I've asked Volker Sorge, author of the speech-rule-engine that underlies MathJax's speech-text generation, to comment on the pros and cons of...
The `math.typesetRoot` *is* the element that becomes the child of the DOM. It is not yet in the DOM when `addAlttext()` is called, but later in the render actions, it...