-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Typed text based notebooks #9
Comments
Yep, good point that I should add it to the roadmap. I recall having worked on this a while back, but haven't looked at it in a while. I believe I worked together with ricklupton from https://github.com/ricklupton/rmscene to make it possible to read the text correctly. As far as I remember, the feature was nearly finished too. It just so happened that my own ReMarkable broke :( |
@Azeirah Can we add @ricklupton to this issue :) |
Rick has done in rmscene what was necessary: rmscene parses the data structures correctly and provides them for consumers of the library. I prefer not to bother him with things that are outside of the scope of his project, he is doing amazing work, but he is doing all of it for free. See here for the discussion with Rick: ricklupton/rmscene#22 It's about rendering the text in remarks now: |
For what it's worth, I had it running almost perfectly. i believe all that needed to be done was get the spacing and the coordinates correct. I'll take a look if I have a local branch somewhere, it might have been deleted since last October. Otherwise, I will get to work on that really soon anyway. I really want to make progress with remarks. The notebook rendering is by far the most important functionality of Scrybble. |
From what I can see this was the code as I had it. From the top of my head:
The newest data structure is a lot simpler, so it should be easier to get the text rendered with the code that I already have. I will work on this the coming weekend. What I could really use from you is the following
Normally I do these steps myself, but like I said, my ReMarkable is non-functional 😅 |
@Azeirah I don't have my remarkable right now, because I am waiting for the paper pro XD However, I have done all the steps through remarkable connect windows app, which I believe would be equivalent. Here is the PDF: github.pdf |
Here are the files! |
Making good progress! Couple of things for during development:
Perhaps it might have to do with what we can see in SceneTreeNode.anchorMode? |
Hey! Awesome :) Just a thought, but if you don't have the positional information, it might be messy when syncing a page that has both Handwritten and typed notes. Handwritten and typed notes will probably overlap. Another thought, since you can get the strings right now and we're syncing to obsidian, maybe it would make sense to give the option to output .md files (if there is only text). Haven't thought whether it should be 1 or multiple .md files. Looking at the file in acrobat, the pdf page size seems to be 6.18 x 8.25 in, unless there is extra content which will extend the page as long as you keep adding content. |
This is a good idea. Scrybble already generates markdown files with the texts of the highlights. I can easily add the written text to Obsidian. I will do so tomorrow. |
I haven't looked at it for a little while, but I think there are improvements in this PR -- does that help? https://github.com/ricklupton/rmc/pull/5/files#diff-538deb7981b2fb5957c3bf53371d1c860bddac89e8c99ff99914e7670083ab1e The drawings are anchored relative to the position of specific characters in the text, which means I think it's not possible to draw just the handwritten parts without also working out where the text is positioned. |
I found that the debugging mode that was found in xochitl will make a huge difference in figuring out how the positioning and coordinate system works. It's always been the most difficult to understand part of rmdocs imo. |
Maybe add to roadmap: Add support for typed notes. Currently, handwritten notes are synced to obsidian, but NOT notes that are typed with keyboard.
When syncing into Obsidian, typed notes into remarkable appear blank in obsidian. A blank PDF is generated with the same number of pages, but pages are empty.
Expected to show the text :)
The text was updated successfully, but these errors were encountered: