# Org roam bibtex configuration

**URL:** <https://org-roam.discourse.group/t/org-roam-bibtex-configuration/2340>\
**Category:** How To\
**Created:** [January 6, 2022, 9:44am UTC](https://org-roam.discourse.group/t/org-roam-bibtex-configuration/2340 "2022-01-06T09:44:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mshevchuk](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mshevchuk](https://org-roam.discourse.group/u/mshevchuk)\
**Post date:** [January 6, 2022, 10:42pm UTC](https://org-roam.discourse.group/t/org-roam-bibtex-configuration/2340/4 "2022-01-06T22:42:31Z")

</div>

> [@roi.holtzman](#):
>
> I mean, it does not write the entry type, nor it write the date.

That’s strange and I can’t reproduce that. It’s probably silently throwing an error. You could try debug on error. Or edebug `orb-edit-note`, `orb--new-note` and/or `orb--pre-expand-template` in this order to get the clue.

> [@roi.holtzman](#):
>
> In particular I want it to write the year of publication,

Do you use the `date` (biblatex) or `year` (plain BibTeX) field in your BibTeX file? Whatever you use, you should put all the keywords you want to expand in `orb-preformat-keywords`, and of course put the template placeholders where you want them.

> [@roi.holtzman](#):
>
> and the last author.

That isn’t currently possible, unfortunately, out of the box - it’s either all authors or none. But you can use a custom function in your templates `%(my-split-authors ...)`, which you will need to define yourself. Maybe this thread can be of some help: [How to use extracted %^{keywords} from pdf as seperate filetags in note](https://org-roam.discourse.group/t/how-to-use-extracted-keywords-from-pdf-as-seperate-filetags-in-note/2240). It’s about splitting the value of the keywords field into separate keywords. You’d want to split the authors field into separate authors…

---

_[View the full topic](https://org-roam.discourse.group/t/org-roam-bibtex-configuration/2340)._
