Open Etyre opened 2 years ago
Whoops. That last image should be:
Tinkering a bit more, it isn't just the square root signs.
This...
...becomes this...
Maybe it is the last thing in a latex bracket?
I'm gonna do some experiments and keep tinkering.
Note that I found a workaround that solved this: https://github.com/taylormitchell/ankify_roam/issues/46#issuecomment-1086743449
Tinkering a bit more, it isn't just the square root signs.
This...
...becomes this...
Maybe it is the last thing in a latex bracket?
I'm guessing ankify_roam was inferring that {3} is a cloze deletion and then assigning a 1 as a cloze id to get the 13. In the latest version, this shouldn't be a problem on basic cards, because cloze brackets aren't processed on basic cards anymore. Should be easy to fix properly by adding the $$ tokens to the parser. I'm not gonna prioritize this highly since you have a workaround but I'll see if I can sneak a fix into the next release
Tinkering a bit more, it isn't just the square root signs. This...
...becomes this...
Maybe it is the last thing in a latex bracket?
I'm guessing ankify_roam was inferring that {3} is a cloze deletion and then assigning a 1 as a cloze id to get the 13. In the latest version, this shouldn't be a problem on basic cards, because cloze brackets aren't processed on basic cards anymore. Should be easy to fix properly by adding the $$ tokens to the parser. I'm not gonna prioritize this highly since you have a workaround but I'll see if I can sneak a fix into the next release
Any chance of getting this fixed? Trying to create basic cards where the front card contains latex ends up creating another cloze card as well. Thank you so much! :)
So first, of all, I realized that there is already a way to get latex that imports to anki.
I can just write the latex that I want in roam, and bracket it with the symbols that anki (not roam) uses to parse latex.
When I'm not editing, this shows up in roam like this:
Which is pretty good! This gives me just what I need.
This also works in anki, modulo one weird bug. Square root signs (and from what I've seen, only square root signs) add an extra "1" at the front of the number under the square root.
I don't know why that would be!