Skip to content

Path should be relative after import at "Find Unlinked Files" #549

@koppor

Description

@koppor

(Update)

As user I might a directory of files, for which there is no repesentation in my local library. I can use "Search for unlinked local files"

grafik

A documentation is available at https://docs.jabref.org/collect/findunlinkedfiles#link-the-pdfs-to-your-bib-library

When I run the tool and import entries, the full absolute path is written:

    file      = {:C\:/Users/koppor/git-repositories/paper/bib/pdfs/Adapting BDDs for Visualizing Product Configuration Data.pdf:PDF},

expected:

    file      = {:Adapting BDDs for Visualizing Product Configuration Data.pdf:PDF},

because of

    @Comment{jabref-meta: fileDirectory:pdfs;}

The .bib file is located in C\:/Users/koppor/git-repositories/paper/bib. Therefore, the configuration of the path pdf works.

How to reproduce

  1. Put test PDF files in c:\jabref-test\pdfs
  2. Create test.bib in c:\jabref-test
  3. Configure c:\jabref-test\pdfs as PDF path int he library:
    grafik
  4. Execute the "Search for unlinked local files"

Implementation Hints

The functionality to call is the same as in the cleanup entries dialog

grafik

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions