Hi Thomas, LaTeX is basically a language to format math equations. I am using the KaTeX plugin on tiddly wiki to typeset my LaTeX, the source code is here: https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/katex (I don't actually know anything about programming but I just found this)
Since the thing I am trying to put into the details widget is quite long, I'll just provide a shortened example: For example, if I input this: http://imgur.com/07KtVHG The output I get is this: hhttp://imgur.com/E2fB5Lp As you can see, the LaTeX outside the details environment renders x squared properly, while the LaTeX inside the details doesn't. On Wednesday, June 14, 2017 at 8:34:34 PM UTC+8, Thomas Elmiger wrote: > > Hi Yan Yau Cheng > > It seems you are the first to try combining LaTeX and the Details Widget. > Do you have a demo somewhere to show the problem? > > As I do not use LaTeX it might be difficult for me to locate the bug and > we might have to consult some LaTeX experts too. > > All the best, > Thomas > > Am Mittwoch, 14. Juni 2017 13:33:43 UTC+2 schrieb Yan Yau CHENG: >> >> Hi Thomas, >> >> Thanks for making the widget! >> >> I am currently trying to use the details widget to hide some LaTeXed >> math. However, the LaTeX does not seem to be rendering properly, is there a >> fix to this? >> >> On Monday, January 23, 2017 at 12:45:18 AM UTC+8, Thomas Elmiger wrote: >>> >>> Hi all – here comes my first attempt to build a widget: >>> >>> The details widget creates an HTML 5 <details> section including a >>> <summary>. Users can click on the summary to open and close a block >>> containing more details. The parameter *open* defines the initial state >>> at load time. >>> >>> See documentation here: http://tid.li/tw5/hacks.html#DetailsWidget >>> >>> I just finished a first version and the documentation and I am very >>> happy with it. BUT: I am not a javascript expert! So *do yourself a >>> favour and save a backup* of your wiki first. >>> >>> Let me know if it works for you! >>> >>> All the best, >>> Thomas >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/50ada9a3-13ba-4b4f-b005-31bc0d0b28bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.