2 ms·
This really makes me want to give SymPy a proper try. And I didn't know about `org-fragtog`, that's really neat! I'm a bit confused about the main idea here: d
by V1ndaar 5y ago
This really makes me want to give SymPy a proper try. And I didn't know about `org-fragtog`, that's really neat!
I'm a bit confused about the main idea here: doesn't the usage of `:results raw` mean the output will be inserted multiple times, if the code is re-run? As far as I know `replace` doesn't actually work with `raw`. Would love to be wrong though.
- skhm 5y agoah, you're right. thankfully it looks like 'drawer' (which i only found out about just now) fixes this and retains the spirit of the thing; fragtog doesn't render it immediately though (needs C-u C-u `org-latex-preview`), but it'd probably be straightforward to add a post-(C-c C-c) hook to render it automatically. I'll add a note :)