Linking Katex formulae elements to a tiddler

41 views
Skip to first unread message

Christian Macedo

unread,
Sep 11, 2019, 4:47:59 AM9/11/19
to TiddlyWiki
I've managed to install Katex from the link and I'm looking to link any single item in a given formula to a separate tiddler.

If we look at the following formula:

$$e = mc^{2}$$

I would like to link the 'e' to a tiddler which explains it. I managed to do this and then (intelligently) delete it. I've tried:

$$$$[[e]]$$ = mc^{2}$$ and
$$$$[[$$e$$]]$$ = mc^{2}$$

But neither works. 

Any ideas?

Jeremy Ruston

unread,
Sep 11, 2019, 5:19:21 AM9/11/19
to tiddl...@googlegroups.com
Hi Christian

On 11 Sep 2019, at 09:47, Christian Macedo <christi...@gmail.com> wrote:

I've managed to install Katex from the link

Usually it’s easier to install plugins from the official library via the control panel “plugins” tab, did that not work for you?

and I'm looking to link any single item in a given formula to a separate tiddler.

There’s no way at the moment to make a portion of a formula be a link, but one can embed entire formulas into a link. For example:

<$link to="KaTeX">
$$
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
$$
</$link>

Best wishes

Jeremy.



If we look at the following formula:

$$e = mc^{2}$$

I would like to link the 'e' to a tiddler which explains it. I managed to do this and then (intelligently) delete it. I've tried:

$$$$[[e]]$$ = mc^{2}$$ and
$$$$[[$$e$$]]$$ = mc^{2}$$

But neither works. 

Any ideas?

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/94dc836b-7c5a-495b-907d-2a9f87a6f4bd%40googlegroups.com.

Christian Macedo

unread,
Sep 11, 2019, 6:05:27 AM9/11/19
to TiddlyWiki
Hi Jeremy, 

That helped. I can use it as a workaround. Here's e=mc2

<$link to="Fundamental: Energy">$$e$$</$link>$$=$$<$link to="Fundamental: Mass">$$m$$</$link><$link to="Fundamental: Speed of Light">$$c$$</$link>$$^{2}$$

Thanks. 


On Wednesday, 11 September 2019 10:19:21 UTC+1, Jeremy Ruston wrote:
Hi Christian

On 11 Sep 2019, at 09:47, Christian Macedo <christi...@gmail.com> wrote:

I've managed to install Katex from the link

Usually it’s easier to install plugins from the official library via the control panel “plugins” tab, did that not work for you?

and I'm looking to link any single item in a given formula to a separate tiddler.

There’s no way at the moment to make a portion of a formula be a link, but one can embed entire formulas into a link. For example:

<$link to="KaTeX">
$$
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
$$
</$link>

Best wishes

Jeremy.



If we look at the following formula:

$$e = mc^{2}$$

I would like to link the 'e' to a tiddler which explains it. I managed to do this and then (intelligently) delete it. I've tried:

$$$$[[e]]$$ = mc^{2}$$ and
$$$$[[$$e$$]]$$ = mc^{2}$$

But neither works. 

Any ideas?

--
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 tiddl...@googlegroups.com.

Ste Wilson

unread,
Sep 11, 2019, 8:46:07 AM9/11/19
to TiddlyWiki
Have a look at http://stephenteacherprivate.tiddlyspot.com/
For an equation note book or http://stephenteacher.tiddlyspot.com/ to see how I've set up my equations.
Reply all
Reply to author
Forward
0 new messages