Skip to content
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

Add import option to improve PDF annotation use-case #1027

Closed
MMachado05 opened this issue Feb 21, 2024 · 4 comments · Fixed by #1032
Closed

Add import option to improve PDF annotation use-case #1027

MMachado05 opened this issue Feb 21, 2024 · 4 comments · Fixed by #1032
Labels
enhancement New feature or request

Comments

@MMachado05
Copy link

Is your feature request related to a problem? Please describe.
I was looking at RNote as a way to take notes for some of my university classes (annotating slide decks, handouts, etc.), but I noticed that importing PDFs into the software "played with" the PDF page layout.

For example, here's a screenshot from Okular showing a slide deck in a psychology class I'm taking:
image

Then, I import that PDF into RNote, which, I'll say, is a bit unintuitive with the current import options that show up (I'm not sure what the options mean):
image

Already, this is not what I expect when I import a PDF into an annotation tool. Ideally, all the pages would just show up ready to be focused on and annotating. The continuous option seems to help:
image

but still, it moreso "opens" a file to be annotated on the current RNote file, rather than creating a new area to annotate a specific PDF file, which is what my current use case is.

Then, trying to export this file with whatever annotations I might have will result in a PDF largely unusable, when compared to the design and purposes of the original PDF. Either I can export the pages of the document I've manually selected (which is infeasible with PDFs like the 100-odd page slide decks some professors use), which looks like this:
image

Or I can export the entire document, which breaks the pages based on how the import function worked:
image

Or I can export the individual document's pages, which seemingly does the same thing here:
image

None of which, unfortunately, give me the easy export-back-to-original-format behavior that I want.

Describe the solution you'd like
Ideally, when importing a PDF, perhaps an option to open the PDF separately (rather than adding it to the current workspace) could be presented, and the workspace is that PDF, and nothing more. That way, exporting it back into a PDF will retain all of the original aspects of the PDF, while adding all of the annotations I might have created during my not-taking.

Describe alternatives you've considered
Perhaps something else could be a more fleshed-out way to select only the pages of the PDF I've imported in the current workspace, and a better recognition of those pages' layout. Honestly, as long as there's an easy way to import a PDF, annotate it, and export it in a way that makes it look largely the same save my new annotations, I think that'll work.

Additional context
Again, this is all for the primary use case of downloading PDF handouts from instructors to annotate them with notes, where the structure should be largely unchanged, and it can be used to look back on for exam review (notes with personal context)

@flxzt flxzt changed the title Importing PDFs and annotating them should maintain the original PDF's page structure add import option to improve Pdf annotation use-case Feb 22, 2024
@flxzt flxzt added the enhancement New feature or request label Feb 22, 2024
@MariusAlbrecht
Copy link

some opinions from another user:

  1. in my understanding rnote is not a pdf annotation tool, its a note-taking app which always operates on its own canvas. Like similar tools (ie oneNote) imports will inherently result in a loss of data (text for example) because they're only added ontop of to the existing canvas
  2. you import your pdf into an existing rnote document. This has existing Page and Document format settings in place. If you want every one of your pdf pages to 1:1 cover a rnote page then you just have to configure your rnote document to do that
  3. if you do that then the export will work pretty well. The imported and exported pages have a 1:1 mapping. The only thing that's lost is any sort of invisible structure the pdf had (most importantly, text) which is because the pdf is being converted to an image when importing and then converted back when exporting

@flxzt
Copy link
Owner

flxzt commented Feb 26, 2024

I do see the benefit of an pdf import option that adjusts the document format to the size of the pdf, aligns it to the pages and sets the page layout to fixed size.

@MMachado05
Copy link
Author

  1. in my understanding rnote is not a pdf annotation tool, its a note-taking app which always operates on its own canvas. Like similar tools (ie oneNote) imports will inherently result in a loss of data (text for example) because they're only added ontop of to the existing canvas

I was not aware of this! I was under the impression that, on top of being a note-taking tool, it also was intended to have PDF annotation functionalities. That being said, as mentioned by @flxzt, I think supporting this use case would greatly improve the user experience of the app.

  1. you import your pdf into an existing rnote document. This has existing Page and Document format settings in place. If you want every one of your pdf pages to 1:1 cover a rnote page then you just have to configure your rnote document to do that

I'll have to look into that. A lot of the RNote UI doesn't feel super intuitive to me (could very well be a skill issue), so it'll take some effort, but that's effort I'm certainly willing to expend if it means I can take better class notes!

  1. if you do that then the export will work pretty well. The imported and exported pages have a 1:1 mapping. The only thing that's lost is any sort of invisible structure the pdf had (most importantly, text) which is because the pdf is being converted to an image when importing and then converted back when exporting

This seems pretty promising, though yes, the internal data of how the PDF is structured being lost would be unfortunate. Also, how seamless would this document setup be for the case where each document is anywhere between 100-150 pages long? If there's some way I can configure RNote to automatically detect the PDF page structure, that's ideal, but otherwise, my original issue request stands.

This being said, thank you for pointing me in the direction of alternatives! I'll have to explore Rnote's other functionalities and see what else it can do for me.

@MMachado05 MMachado05 changed the title add import option to improve Pdf annotation use-case Add import option to improve PDF annotation use-case Feb 26, 2024
@MariusAlbrecht
Copy link

MariusAlbrecht commented Feb 27, 2024

seamless in what way?
Without the proposed new feature you'd maybe have to readjust page sizing.
Longer documents might also take considerable time to load (though I've also had ~150 page docs load almost instantly) #1024
the double conversion might also significantly increase file sizes #668 (comment)

also: #153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants