Hi Stephen,

I am only using tiddlywiki personally, and I'm basically writing up my 
solutions/proofs to problems, but I want to hide them in the tiddler until 
I press reveal, so if I read the problem a few months later, I can attempt 
the problem again before reading the solution.

On Wednesday, June 14, 2017 at 9:58:33 PM UTC+8, Stephen Wilson wrote:
>
>  Hi Yan, what are you attempting to do with this?  I'm also struggelingto 
> get LaTeX palying nice with other widgets and macros.  see 
> https://groups.google.com/forum/?pli=1#!topic/tiddlywiki/8-T2DQmYRJI
> I would like to use it to genrate maths problems and then give feedback to 
> the student automatiucally by comparing the answer to the correct answer.
>
> Stephen 
>
> On Wednesday, 14 June 2017 13:58:40 UTC+1, Yan Yau CHENG wrote:
>>
>> 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 [email protected].
To post to this group, send email to [email protected].
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/88d36574-f7f9-40b3-9ba4-f02aa3598c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to