# How to add preview styles

**URL:** https://discourse.jabref.org/t/how-to-add-preview-styles/2920
**Category:** Help
**Created:** [September 2, 2021, 11:20am UTC](https://discourse.jabref.org/t/how-to-add-preview-styles/2920 "2021-09-02T11:20:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![eyolfos](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/eyolfos/32/1030_2.png) [@eyolfos](https://discourse.jabref.org/u/eyolfos)
#### Post date: [September 2, 2021, 11:20am UTC](https://discourse.jabref.org/t/how-to-add-preview-styles/2920/1 "2021-09-02T11:20:18Z")

</div>

I notice that in the documentation page about the entry preview setup ([Entry preview setup - JabRef](https://docs.jabref.org/setup/preview)) there is a long list of preview styles in the “Available” window. I only have four in total. How do I add more, where would I put the files?

---

<div class="post-metadata">

### Author: ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)
#### Post date: [September 3, 2021, 11:32am UTC](https://discourse.jabref.org/t/how-to-add-preview-styles/2920/2 "2021-09-03T11:32:24Z")

</div>

HI,

those in the screenshot are the [CSL styles](https://github.com/citation-style-language/styles) that are included in JabRef. They are shipped with every newer version.  
Which version of JabRef do you use?

---

<div class="post-metadata">

### Author: ![eyolfos](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/eyolfos/32/1030_2.png) [@eyolfos](https://discourse.jabref.org/u/eyolfos)
#### Post date: [September 3, 2021, 12:36pm UTC](https://discourse.jabref.org/t/how-to-add-preview-styles/2920/3 "2021-09-03T12:36:34Z")

</div>

JabRef 5.3–ArchLinux–1  
Linux 5.13.12-arch1-1 amd64  
Java 16.0.2  
JavaFX 16+8

Probably something to do with the Arch build. I’ll look into it - unless you know about the issue?

---

<div class="post-metadata">

### Author: ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)
#### Post date: [September 3, 2021, 3:03pm UTC](https://discourse.jabref.org/t/how-to-add-preview-styles/2920/4 "2021-09-03T15:03:35Z")

</div>

If you are building from source, you might need to copy the csl files first to the resources folder:

```auto
   cp buildres/csl/csl-locales/* src/main/resources/csl-locales/
    cp buildres/csl/csl-locales/* src/main/resources/csl-locales/

```

To fasten build time for local development, we just use a few sample csl styles and copy the rest before the build process.

---

<div class="post-metadata">

### Author: ![eyolfos](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/eyolfos/32/1030_2.png) [@eyolfos](https://discourse.jabref.org/u/eyolfos)
#### Post date: [September 3, 2021, 3:15pm UTC](https://discourse.jabref.org/t/how-to-add-preview-styles/2920/5 "2021-09-03T15:15:31Z")

</div>

Ah! I’ll pass that on to the package maintainer.
