Re: org-bibtex manual

2023-07-25 Thread Ihor Radchenko
Ihor Radchenko writes: > I should factor out that lambda into a separate readable function name, > like `org-bibtex-headline-from-title'. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ac0042184 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: org-bibtex manual

2023-07-20 Thread Ypo
No, I mean customizing the generated headline. Instead of just title, to be like: * Author (year) /Title/. Publisher Bests El 20/07/2023 a las 21:00, Ihor Radchenko escribió: Ypo writes: Then, is it not possible to customize the entry generated with org-bibtex-create? You mean fields?

Re: org-bibtex manual

2023-07-20 Thread Ihor Radchenko
Ypo writes: > Then, is it not possible to customize the entry generated with > org-bibtex-create? You mean fields? Everything is defined in `org-bibtex-types', but it is not currently a defcustom. I see no problem adding user types. -- Ihor Radchenko // yantar92, Org mode contributor,

Re: org-bibtex manual

2023-07-20 Thread Ypo
Hi Ihor. Then, is it not possible to customize the entry generated with org-bibtex-create? Bests >/#+begin_src emacs-lisp/ >/(defun my-org-bibtex-headline-format (entry)/ >/  "Custom function to generate the headline text for org-bibtex-write."/ >/  (let* ((title (cdr (assoc :title

Re: org-bibtex manual

2023-07-16 Thread Ihor Radchenko
Ypo writes: > And ChatGPT offers me this alternative, which doesn't seem to work (BTW, > I am not able to install asoc.el): You do not need asoc.el.. `assoc' is the built-in function. > #+begin_src emacs-lisp > (defun my-org-bibtex-headline-format (entry) >   "Custom function to generate the

Re: org-bibtex manual

2023-07-16 Thread Ihor Radchenko
Ypo writes: > I would like to customize the name of the heading. I think it should be > customized this function: "Org Bibtex Headline Format Function". > > Is there a guide to do this? > > I can see the default is: > > #[257 "\300.\236A\207" >   [:title] >   3 "\n\n(fn ENTRY)"] >

Re: org-bibtex manual

2023-07-16 Thread Ypo
Thanks, Ihor. I would like to customize the name of the heading. I think it should be customized this function: "Org Bibtex Headline Format Function". Is there a guide to do this? I can see the default is: #[257 "\300\236A\207"   [:title]   3 "\n\n(fn ENTRY)"] But I don't know

Re: org-bibtex manual

2023-07-16 Thread Ihor Radchenko
Ypo writes: > Now... I would like to start using it. I have seen it has a kind of > org-capture template (M-x org-bibtex-create-in-current-entry). > > If I wanted to add more properties: > > - How should the different properties be named and filled to work correctly? In general, the types of