tmalsburg / helm-bibtex

Search and manage bibliographies in Emacs
GNU General Public License v2.0
465 stars 74 forks source link

Prenote and Postnote options for citations in org-mode #421

Closed adamSneller closed 1 year ago

adamSneller commented 1 year ago

If I select an entry and then Insert Citation (from within a LaTeX buffer) helm-bibtex displays a list of possible citation types. Selecting textcite or parencite then gives me the option of entering a Prenote or a Postnote.

How can I get the same option to enter a Prenote or Postnote for the citep and citet types (while working in an org-mode buffer)? Are these options specific to org-ref or is this implemented in helm-bibtex?

Thanks!

tmalsburg commented 1 year ago

Hi, this can be configured using bibtex-completion-cite-commands. Just add citep and citet to the list.

adamSneller commented 1 year ago

Ah fantastic! Thanks @tmalsburg!!

adamSneller commented 1 year ago

Hi @tmalsburg,

When I try to insert a cite link (whether it is a textcite, parencite, or what not), options for adding a Pre- or Postnote a only available from within a .tex buffer. How can I get these same options when visiting an org buffer?

Thanks,

tmalsburg commented 1 year ago

See configuration variable bibtex-completion-format-citation-functions.