Export: Multiple file links (instead of only one)

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

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) 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

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