sawhney17 / logseq-citation-manager

73 stars 12 forks source link

What if I'm already having a page named as [[citekey]] #71

Open superr90 opened 7 months ago

superr90 commented 7 months ago

I tried this and found that the template can't get inserted into the original page related to a particular reference. Can we just add the template directly to the beginning of the existent page?

roy-abhi-roy commented 6 months ago

I am also having this issue.

alchemiker commented 3 months ago

Hello, I'm not from the plugin development team, but I think that's intended behaviour. If the plugin would modificate already existing pages, the options would be:

In the first case you would have the risk of losing your aready existing data on the page, in the second case you could get duplicates in your notes.

If the page you created is still blank, you can delete it and let the plugin create a new page for you. If the page already has notes on it, my approach would be to weigh what holds more information - the already existing notes or the auto-generated page from this plugin. Depending on that I would decide:

a) the notes have more information: If the information of the template is minimal, e.g. page tags and properties, you can copy-paste them at the beginning of the already existing page which holds all of your notes. b) the template has more information: If the template extracts a lot of information from the .bib-file and your notes are just a couple of bullet points, then you can

  1. rename the notes file, e.g. appending "old" to the name
  2. generate a new page via plugin
  3. copy-paste the notes from the "old" page to the new page
  4. delete the old page

    Hope that helps!