* Re: org-bibtex manual
@ 2023-07-20 18:42 Ypo
2023-07-20 19:00 ` Ihor Radchenko
0 siblings, 1 reply; 6+ messages in thread
From: Ypo @ 2023-07-20 18:42 UTC (permalink / raw)
To: yantar92, Org-mode
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
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 entry)))/
> >/ (author (cdr (assoc :author entry))))/
> >/ (concat "Mi encabezado personalizado: " title " - " author)))/
> >
> >/(setq org-bibtex-headline-format #'my-org-bibtex-headline-format)/
> >/#+end_src/
>
> This is correct, but this customization only works in
> `org-bibtex-write', which works together with `org-bibtex-read-buffer' /
> `org-bibtex-read-file'.
>
> `org-bibtex-create' hard-codes heading to be the same with BiBTeX :title
> field.
>
> Yes, org-bibtex is not very polished.
[-- Attachment #2: Type: text/html, Size: 1222 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-bibtex manual 2023-07-20 18:42 org-bibtex manual Ypo @ 2023-07-20 19:00 ` Ihor Radchenko 2023-07-20 19:33 ` Ypo 0 siblings, 1 reply; 6+ messages in thread From: Ihor Radchenko @ 2023-07-20 19:00 UTC (permalink / raw) To: Ypo; +Cc: Org-mode Ypo <ypuntot@gmail.com> 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, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-bibtex manual 2023-07-20 19:00 ` Ihor Radchenko @ 2023-07-20 19:33 ` Ypo 2023-07-21 7:42 ` [FR] Respect `org-bibtex-headline-format-function' in `org-bibtex-create' (was: org-bibtex manual) Ihor Radchenko 0 siblings, 1 reply; 6+ messages in thread From: Ypo @ 2023-07-20 19:33 UTC (permalink / raw) To: Ihor Radchenko; +Cc: Org-mode [-- Attachment #1: Type: text/plain, Size: 448 bytes --] 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<ypuntot@gmail.com> 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. > [-- Attachment #2: Type: text/html, Size: 1211 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* [FR] Respect `org-bibtex-headline-format-function' in `org-bibtex-create' (was: org-bibtex manual) 2023-07-20 19:33 ` Ypo @ 2023-07-21 7:42 ` Ihor Radchenko 0 siblings, 0 replies; 6+ messages in thread From: Ihor Radchenko @ 2023-07-21 7:42 UTC (permalink / raw) To: Ypo; +Cc: Org-mode Ypo <ypuntot@gmail.com> writes: > No, I mean customizing the generated headline. Instead of just title, to > be like: > > * Author (year) /Title/. Publisher It would indeed make sense. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> ^ permalink raw reply [flat|nested] 6+ messages in thread
* [FR] Respect `org-bibtex-headline-format-function' in `org-bibtex-create' (was: org-bibtex manual)
@ 2023-07-21 19:27 Ypo
2023-07-21 19:33 ` Ihor Radchenko
0 siblings, 1 reply; 6+ messages in thread
From: Ypo @ 2023-07-21 19:27 UTC (permalink / raw)
To: yantar92, Org-mode
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
Thanks, Ihor.
What does [FR] mean?
Bests
> ------------------------------------------------------------------------
> Ypo<ypuntot@gmail.com> writes:
>
> >/No, I mean customizing the generated headline. Instead of just title, to /
> >/be like:/
> >
> >/* Author (year) /Title/. Publisher/
>
> It would indeed make sense.
> *From*: Ihor Radchenko
> *Subject*: [FR] Respect `org-bibtex-headline-format-function' in
> `org-bibtex-create' (was: org-bibtex manual)
> *Date*: Fri, 21 Jul 2023 07:42:36 +0000
>
[-- Attachment #2: Type: text/html, Size: 1453 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [FR] Respect `org-bibtex-headline-format-function' in `org-bibtex-create' (was: org-bibtex manual) 2023-07-21 19:27 Ypo @ 2023-07-21 19:33 ` Ihor Radchenko 0 siblings, 0 replies; 6+ messages in thread From: Ihor Radchenko @ 2023-07-21 19:33 UTC (permalink / raw) To: Ypo; +Cc: Org-mode Ypo <ypuntot@gmail.com> writes: > What does [FR] mean? Feature request. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-07-21 19:34 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-07-20 18:42 org-bibtex manual Ypo 2023-07-20 19:00 ` Ihor Radchenko 2023-07-20 19:33 ` Ypo 2023-07-21 7:42 ` [FR] Respect `org-bibtex-headline-format-function' in `org-bibtex-create' (was: org-bibtex manual) Ihor Radchenko -- strict thread matches above, loose matches on Subject: below -- 2023-07-21 19:27 Ypo 2023-07-21 19:33 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).