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

Prenote and postnote options? #1052

Open
adamSneller opened this issue Dec 27, 2022 · 2 comments
Open

Prenote and postnote options? #1052

adamSneller opened this issue Dec 27, 2022 · 2 comments

Comments

@adamSneller
Copy link

If I select an entry, using helm-bibtex, while visiting a LaTeX buffer and then select Insert Citation, I see a list of possible citation types. Selecting textcite or parencite then gives me the option of entering a Prenote or a Postnote.

From within an org buffer, the workflow is similar. In order to see the list of citation types, I type Ctrl-u [enter]. But if I then select citep or citet, the citation is inserted directly (without any option to add Prenote or Postnote).

How can I change this to also prompt for a Pre- or Postnote when using org-ref?

Thanks!

@adamSneller
Copy link
Author

adamSneller commented Dec 27, 2022

Okay, I read through the docs and have "discovered" a work-around. Apparently, I can get exactly what I need by just using org-insert-link (C-c C-l), then selecting citep or citet and then entering my pre/post text as the Description, when prompted.

Not sure why this does not also work by starting from helm-bibtex?

jkitchin added a commit that referenced this issue Jan 2, 2023
discovered from issue #1052.
@jkitchin
Copy link
Owner

jkitchin commented Jan 2, 2023

org-ref does not modify the actions of helm-bibtex anymore. It only looks like you use helm-bibtex because the org-ref insert command does use helm-bibtex actions, but it doesn't actually use helm-bibtex. There isn't really a way to prompt for these notes when inserting. You can click or press enter on a cite link, then press P, or type M-x org-ref-edit-pre-post-notes on a key to be prompted for these.

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

No branches or pull requests

2 participants