Hacker News new | ask | show | jobs
by magicalhippo 642 days ago
Was just looking for something like this. Does it handle equations to latex or similar? How about rotated tables, ie landscape mode but page is still portait?
3 comments

I messed around with some rotating tables in that Apollo 17 demo video - you can check it out in the repo if you want. It's pretty straightforward to tweak just by changing the prompt. You can customize that prompt section in the code to fit whatever you need.

Oh, and if you throw in a line about LaTeX, it'll make things even more consistent. Just add it to that markdown definition part I set up. Honestly, it'll probably work pretty well as is - should be way better than those clunky old OCR systems.

Check out Nougat from meta
Thanks, looks very interesting, but also somewhat abandoned. Will keep an eye on it in case someone picks up the torch.
Have you checked out Mathpix? It's another option.

Disclaimer: I'm the founder.

+1! Most LLMs can already output Mathpix markdown. I prompt it to do so and it gives the code and this use a rendering library to show the scalable and selectable equations. No wonder facebook nougat also uses it. Good stuff!
Was looking for a self-hosted solution as I have quite on/off needs, but I'll give it a whirl as it looks quite promising.