I’ve written a Miro addon that renders LaTeX math expressions to images you can then drag and drop to your boards. It also includes the option to toggle the input mode from plain tex to the excellent MathLive equation editor widget.
I’m looking for a few test users to give some feedback on the UI and iron out any bugs.
- Addon url is https://miro.com/oauth/authorize/?response_type=code&client_id=3458764526714594504&redirect_uri=%2Fconfirm-app-install%2F
- Code is here: https://github.com/grady/miro-latex
- This is under active development, so it could break at any moment.
I hope people find this useful.
Thank you soo much! This is awesome!
Known bug: If the drag & drop controls or the place button don’t work, just close and re-open the app panel. This bug is triggered if the board needs to “reconnect” after idling while the app panel is open.
If anyone knows a way to fix this disconnection issue with the Miro SDK v2, please let me know.
Thank you very much. Is there a way to change the formula once it is created? It looks like the ‘update’ button might do this, I have tried to change the formula using the text field on the left but it doesn’t work (figure 2)
I wasn’t aware of the update button in the interface there, but based on how this works, that error message makes sense. What happens briefly is that
So, when you hit the refresh image button, Miro will get a 404 error when it tries to re-read the SVG from my server. This displays the error message you see.
Hope that explains somewhat why no editing is currently possible.
This whole convoluted mess could be avoided if Miro adds local image upload to the SDK. If you’re interested, please go upvote the product roadmap item for that: https://portal.productboard.com/bs3msuyjdbfr8dfxd84wngpn/c/75-local-image-file-uploads
Instead, perhaps you could select an image on the board, and I could add two buttons to the app panel interface that do the actions “Copy tex string from current selection title” and then "replace selected image.” I think that should all be fairly easy to implement with the SDK.
Any potential users please let me know which of these (or both?) seems like a better idea for implementing some sort of ability to go back and change what you’ve made.
I just tried it and I could produce nice formulas - just the newline “\\” did not work with LaTeX input.
Do I have to create multiple images or did I miss something about the newline?
From how I intended this to be used, I think you need to make multiple images, or try one of the multiline ams environments like gather
f(x)=x^2 \\ g(w)=w+\sqrt w - 2
Small update annoucement: There is now a very experimental history/editing feature. If you create a new latex image, the latex string for that image will be stored within the board data. If you later have the MiroTeX window open and then select that image (and only that image), you should get the latex string inserted into the editor box for you to edit.
You also get a new button “Replace selection” in this situation. If you click that, the currently active latex is converted and uploaded in the same location as the old image, and the old image is deleted.
Currently very alpha, but the basic feature works for me. However, there are things missing too: If you resized the image, it won’t resize the replacement for you yet.
I totally agreed with you my problem is solved. I am very happy.
For more information see 4d Astro
Does anybody have problem that the program is not working at all. It is installed, but no toolkit is added, nothing is changing.
Maybe I missed some stage of changing the mirror parameters to let it work?
EDIT: It is working now. I simply had to refresh my page! :D
I’m having the same problem as Liubov Markovich. I can’t find MiroTex under my Apps list when I click on “>>” (more tools) on my toolbar. I’m not sure whether I did something wrong or whether there’s a bug.
This is absolutely brilliant! Thank you so much for working hard on this feature!
A few features that would be absolutely brilliant: