org-roam / org-roam-bibtex

Org Roam integration with bibliography management software
GNU General Public License v3.0
572 stars 47 forks source link

PDF-Scrapper: Show Scrapper modals side-by-side #171

Open j-steinbach opened 3 years ago

j-steinbach commented 3 years ago

I got another quick idea: Is it possible to show the "Scrapper modals" side-by-side? (vertical windows)

Text-mode: PDF | Text

BibTeX-mode: Text | BibTeX

Org-modal: BibTeX | Org

Basically we see the buffer where we last came from. This allows to look-up and fix mistakes in previous buffers.

Originally posted by @j-steinbach in https://github.com/org-roam/org-roam-bibtex/issues/146#issuecomment-785061165


Maybe it would be even better to allow me to preview (and edit) all previous modals in a second window?

If I am in the BibTeX-mode I can preview the original PDF and the text-mode modal.

BibTeX || Text or PDF

Ideally this also allows me to fix mistakes backwards, i.e. I can edit the Text-modal and it also updates the BibTeX-modal.

myshevchuk commented 3 years ago

That's a great idea and faint thoughts in this direction also appeared to me, although with your sketch I can visualize them now. I like the concept and I'd say it'd be a must if ORB PDF Scrapper were to become a separate package. It will not be very easy and will definitely require some time. I'll put it on the project list.

myshevchuk commented 3 years ago

A note from https://github.com/org-roam/org-roam-bibtex/pull/146#issuecomment-786336966

And I also would say that there is just one direction.

text -> bibtex -> org

If a user changes a bibtex cell, then the changes bubble up to the org cell. Text remains untouched. If a user changes a text cell, then the changes bubble up to the org cell. It changes, which bubbles up to the org cell.