robert7 / nixnote2

Nixnote - Evernote desktop client for Linux
GNU General Public License v3.0
299 stars 31 forks source link

Improve/fix LaTeX formula integration #46

Open robert7 opened 6 years ago

robert7 commented 6 years ago

The LaTeX integration is unstable/broken Info: https://github.com/robert7/nixnote2/issues/43#issuecomment-430233402 It seems the "gif rendering" of the formula doesn't get synced to Evernote (message BAD_DATA_FORMAT parameter=ResourceAttributes.sourceURL)

In the v2.0 the functionality wan't very stable either (upload worked, but e.g. edit not). As I don't use LaTeX .. this is kind of low prio for me.. ... if anyone want to have it ... pull request is welcome.

jotech commented 6 years ago

hm the latex thing seems unstable indeed! What I can say is that editing worked with the baumgarr version. And only some latex code seems to cause a sync error. Will try to figure it out in more detail!

HaleTom commented 5 years ago

Thanks @jotech. I use LaTeX a fair bit for AI which requires non-trivial formulae. Appreciated.

robert7 commented 5 years ago

I plan to fix it in the near future.

robert7 commented 5 years ago

@jotech @HaleTom I fixed the LaTeX integration as far I could. It seems to work now. screen_20181216_01

Pls check. It works from version 2.1.2-f. The formula is internally rendered by "mimetex", so you need to have it installed and NixNote accepts the formulas which mimetex can understand.

robert7 commented 5 years ago

wiki page https://github.com/robert7/nixnote2/wiki/LaTeX-integration-(math-expressions)

jotech commented 5 years ago

@robert7 sorry I just updated to >2.1.2-f ! As far as I can see right now, it is working. I'm quite happy to have it back :o) Thank you very much!

jotech commented 5 years ago

Is it worth to think about something else than mimetex because its output has lower quality? Maybe textogif or tex2im are alternatives with higher quality formulas?

robert7 commented 5 years ago

@jotech maybe; so I let the issue open