Thoughts on Forester: A Scientist's Zettelkasten

3 Likes

Hey! That’s me! I am the author of that blog post – thanks for posting it over here Owen! Since then, I have been playing a lot more with forester and oh my gosh: this is it!

I just figured out how to define macros for tikz based drawings and I am speechless at how flawlessly, how easily, and just intelligently the handling for this all just works. As I mentioned in the blog post, I am really sad that all my prior notes are in pandoc-flavored markdown otherwise, I would just switch everything to forester. Going forward, I am going to be using forester however.


To show the recent discoveries I made, I figured out how to do code highlighting thanks to Utensil’s forest example on GitHub:

And also thanks to Utensil, we have dark mode toggles!

Then, thanks to Tim Hosgood’s work on doing some language translation work on hodge theory into English, I figured out how to get tikz working:

And then finally, @johncarlosbaez and I have been having just a delightful conversation about petri nets over in the Category Theory Zulip which prompted me to get the petri net tikz package working in Forester – and it just worked!


All this to say, I am just stunned and so thrilled! This is just about everything I could ever want in a personal digital garden. Huge shout out to Evan Patterson for showing this to me a while ago and Owen for being such a strong advocate for this work. And of course, none of this would be possible without the simply incredible work done by @jonsterling on this.

Please let me know if you would like me to expound on anything related to my findings in case it would be helpful for forester development. Otherwise, forester is it! :smile:

3 Likes

@TheCedarPrince Hi! I just wanted to thank you for all the kind words and creative experimentation with Forester.

3 Likes

Hi folks!

After some more tinkering today, I was able to figure out how to use TikzIt alongside Forester:

I’ll need to clean this up a bit further but the ability to quickly create complicated diagrams for systems dynamics and more on the fly is super cool. Took a while to get TikzIt all set-up but once I did, it’s been pretty outstanding to just go between my forest, TikzIt, and writing. It even works for very zany diagrams like this:

All home and happy within my little forest! :smiley:


In other news, @Matt_Cuffaro has more or less convinced me to write a sequel to this blog post so I shall do that at some point in the near future!

Cheers!

jz

1 Like

@TheCedarPrince Hi! Just found out this post from the mail list. I also want to thank you for the kind words and more creative experiments with forester.

Some notes on my experiments on freely using more formats:

  • I have experiments with Markdown, Typst, Shiki (syntax highlighting), Penrose, Pikchr, WebGL etc., links are in this recent ticket submitted to forester .
  • I also have experiments on translations: Translation of Bourbaki on Clifford algebras you can use the earth icon to toggle the French original text
  • forester has native support for tikz diagrams, and forester macros can be used inside tikz diagrams to support an object-oriented way to specify what’s being draw, and my diagrams (e.g. the backlinked notes of string diagrams) on category theory use this mechanism heavily, based on Jon’s own experiments.
  • I have some more tikz diagram experiments here.

Although I should mark that my forest experiments are still under heavy development, e.g. recently I’ve changed the HTML tags/classes for many rich content macros, the javascript and css are significantly modified to be loaded on demand, to be able to use more libraries including WASM and they are now transpiled via bundlers. There are many modifications to the LaTeX conversion too. In the long run, I hope these HTML tags would be replaced by XML tags etc.

2 Likes