# Export: Multiple file links (instead of only one)

**URL:** https://discourse.jabref.org/t/export-multiple-file-links-instead-of-only-one/92
**Category:** Help
**Created:** [July 27, 2016, 7:36pm UTC](https://discourse.jabref.org/t/export-multiple-file-links-instead-of-only-one/92 "2016-07-27T19:36:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://discourse.jabref.org/u/Lars)
#### Post date: [July 27, 2016, 7:36pm UTC](https://discourse.jabref.org/t/export-multiple-file-links-instead-of-only-one/92/1 "2016-07-27T19:36:06Z")

</div>

Hi folks

I have a little question:  
How can I get that all input files (also with a link) from a single record are exported in a .html output file?

This code gives me (only) one PDF file from the record:

  \format[FileLink(pdf)]{\file} 

Result is (one):  
T:\lorem\ipsum\dolor.pdf (as a link) --\> works well, but …

Result should (multiple):  
dolor.pdf (as link with server address ‘\servername\lorem\ipsum\dolor.pdf’ instead of drive ‘T:’ )  
sit.pdf (as link …)  
amet.pdf (as link …)

Thanks in advance for any help.

Regards Lars

Using JabRef 3.3

---

<div class="post-metadata">

### Author: ![matthiasgeiger](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/matthiasgeiger/32/7_2.png) [@matthiasgeiger](https://discourse.jabref.org/u/matthiasgeiger)
#### Post date: [July 29, 2016, 7:55am UTC](https://discourse.jabref.org/t/export-multiple-file-links-instead-of-only-one/92/2 "2016-07-29T07:55:16Z")

</div>

Hi Lars,  
I currently have not the time to investigate it in the source code but I fear using the FileLink formatter this is not possible. In the documentation a `WrapFileLinks` formatter (see [http://help.jabref.org/en/CustomExports](http://help.jabref.org/en/CustomExports)) is described as “This formatter iterates over all file links, or all file links of a specified type, outputting a format string given as the first argument.”- but I’m not sure whether this works in your case or not.

Regards  
Matthias

---

<div class="post-metadata">

### Author: ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://discourse.jabref.org/u/Lars)
#### Post date: [August 4, 2016, 2:34pm UTC](https://discourse.jabref.org/t/export-multiple-file-links-instead-of-only-one/92/3 "2016-08-04T14:34:08Z")

</div>

Hi Matthias

Many thanks for the WrapFileLinks hint which works fine:

\format[WrapFileLinks(\p)]{\file} --\> gives all files in one line, but with no CR between the files:

Question: How can I force that there is a CR (carriage return) between the files?

Is:  
Lorem:\ipsum\dolor\sit\Lorem:\ipsum\dolor\sit1\Lorem:\ipsum\dolor\sit2\

Should:  
Lorem:\ipsum\dolor\sit  
Lorem:\ipsum\dolor\sit1  
Lorem:\ipsum\dolor\sit2\

Also with text, e.g in the field abstract?

- Lorem ipsum dolor sit
- amet, consetetur sadipscing
- elitr, sed diam nonumy
- eirmod tempor invidunt ut labore

Export text should be the same with the CR, and not all in one line like this:

- Lorem ipsum dolor sit - amet, consetetur sadipscing - elitr, sed diam nonumy - eirmod tempor invidunt ut labore

Thanks in advance for any help.

Regards Lars
