# What bibtex fields can go into orb-templates?

**URL:** <https://org-roam.discourse.group/t/what-bibtex-fields-can-go-into-orb-templates/346>\
**Category:** Troubleshooting\
**Created:** [June 12, 2020, 5:17pm UTC](https://org-roam.discourse.group/t/what-bibtex-fields-can-go-into-orb-templates/346 "2020-06-12T17:17:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scotto](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@scotto](https://org-roam.discourse.group/u/scotto)\
**Post date:** [June 12, 2020, 5:17pm UTC](https://org-roam.discourse.group/t/what-bibtex-fields-can-go-into-orb-templates/346/1 "2020-06-12T17:17:05Z")

</div>

What bibtex fields can be inserted into reference notes via the orb-templates. What I’m calling a “bibtex field” are, for example, `citekey` and `title` in the template below:

```
(setq orb-templates
  '(("r" "ref" plain (function org-roam-capture--get-point) ""
     :file-name "${citekey}"
     :head "#+TITLE: ${citekey}: ${title}\n#+ROAM_KEY: ${ref}\n" ; <--
     :unnarrowed t)))

```

I tried to put `year` in my template but this had no effect. Should it? How about `abstract`?

---

<div class="post-metadata">

**Author:** ![zaeph](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/zaeph/32/764_2.png) [@zaeph](https://org-roam.discourse.group/u/zaeph)\
**Post date:** [June 12, 2020, 5:28pm UTC](https://org-roam.discourse.group/t/what-bibtex-fields-can-go-into-orb-templates/346/2 "2020-06-12T17:28:53Z")

</div>

You need to modify `orb-preformat-keywords`. For your example, all you’d need is to append `abstract` to that list. Just make sure to keep the other members of that list.

---

<div class="post-metadata">

**Author:** ![scotto](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@scotto](https://org-roam.discourse.group/u/scotto)\
**Post date:** [June 13, 2020, 7:13pm UTC](https://org-roam.discourse.group/t/what-bibtex-fields-can-go-into-orb-templates/346/3 "2020-06-13T19:13:19Z")

</div>

Thanks, that worked.
