-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ipywidget radio button widget not rendering LaTeX on reload #2736
Comments
Any resolutions/insights on this issue yet? |
Do you have some example code that could be copy-pasted into a notebook to replicate this issue? |
Hi @vidartf Here is the code I am using to create the multiple choice quiz with some hard coded strings.
Thank you! |
I'm not able to get the LaTeX to render at all for the options. Looking at the code, it doesn't seem like typesetting is supported for the radio labels at the moment. That it works from time to time, is probably a glitch (some other code is typesetting it). If you want typesetting for the labels, you can probably turn this issue into a feature request for that. |
A small follow-up; first off I am observing the same behaviour observed with 7.5.1 I am trying to create multiple-choice tests; traditionally there are 2 kinds of these, one where it is advertised that exactly one answer is correct, one where this info is not exposed so students need to tick all the answers they deem correct former calls for RadioButtons; latter seems to call for something like the following it feels odd that the former does not allow for html (unless I am missing something), while the latter does; is there a way around this ? |
Xref #2636. |
I am currently making a multiple choice quiz in Jupyter Notebook using radio buttons for the answers from the latest release of ipywidgets. The quiz renders LaTeX as expected on the first render (when the code block is first run). However upon subsequent renders the LaTeX in the answers does not render appropriately while the question (Label widget) renders LaTeX just fine.
In order to get the LaTeX in the answers to render I either have to restart the kernel and restart the web page and run the code block again or (and interestingly) hit the run button (ctrl + enter) of the code block twice very fast to get the LaTeX to properly load.
Additionally, when I click on any of the radio button options the LaTeX of the answer options is converted back into plain text no matter which way I get the LaTeX to previously render.
Any help on resolving this issue would be much appreciated! Thank you!
The text was updated successfully, but these errors were encountered: