# JabRef 5.3 Custom Export Filter and .layout file

**URL:** <https://discourse.jabref.org/t/jabref-5-3-custom-export-filter-and-layout-file/2931>\
**Category:** Help\
**Created:** [September 6, 2021, 9:18pm UTC](https://discourse.jabref.org/t/jabref-5-3-custom-export-filter-and-layout-file/2931 "2021-09-06T21:18:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amir](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/amir/32/1034_2.png) [@amir](https://discourse.jabref.org/u/amir)\
**Post date:** [September 6, 2021, 9:18pm UTC](https://discourse.jabref.org/t/jabref-5-3-custom-export-filter-and-layout-file/2931/1 "2021-09-06T21:18:18Z")

</div>

Hi  
I have a custom export filter used fro converting `.bib` files into `.html` files.  
In the main `.layout` file, I have a couple of conditional outputs managing different fields. For the fields, `pdf`, `code`, and `slide`, I have a conditional output as below

```auto
\begin{pdf}<a href="\format[FileLink(pdf)]{\file}">[pdf]</a>\end{pdf}

```

In JabRef 4.3, using this filter, I managed to generate links to the papers’ `pdf` files. Since upgrading to JabRef 5.3, this conditional has not worked as expected.

Any advice is very much appreciated.

Thanks
