Skip to content

Commit

Permalink
Updating documentation for file preferences option (#283)
Browse files Browse the repository at this point in the history
* Updating documentation for file preferences option

* updating message

* updating image

Co-authored-by: mbadar <arsalan_badar@intuit.com>
  • Loading branch information
abadar and mbadar authored May 28, 2020
1 parent 894d902 commit 32076c8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
4 changes: 2 additions & 2 deletions en/finding-sorting-and-cleaning-entries/filelinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ JabRef enables setting a directory per database. When sharing a library across m

If JabRef saves an attached file and my loginname matches the name stored in the `bib` file, it chooses that directory. If no match is found, it uses the "General file directory" of the bib file. If that is not found, it uses the one configured at Options → Preferences → File → External file links \("Main file directory"\).

In some settings, the bib file is stored in **the same directory** as the PDF files. Then, one ignore all the above directories and enable "use the BIB file location as primary file directory". In this case, JabRef starts searching for PDF files in the directory of the `bib` file. It is also possible to achieve this result by setting `.` as "General file directory" in the library properties.
In some settings, the bib file is stored in **the same directory** as the PDF files. Then, one ignore all the above directories and enable "Search and store files relative to library file location". In this case, JabRef starts searching for PDF files in the directory of the `bib` file. It is also possible to achieve this result by setting `.` as "General file directory" in the library properties.

![Use the BIB file location as primary file directory](../.gitbook/assets/preferences-file-usethebibfilelocationasprimaryfiledirectory%20%281%29.png).
![Search and store files relative to library file location](../.gitbook/assets/preferences-file-searchandstoreforfilesrelativetolibraryfilelocation.png).

Relative file directories obviously only work in the library properties fo a bib file, e.g. `a.bib` → Library properties → General file directory → `papers`. Assume to have two bib files: `a.bib` and `b.bib` located in different directories: `a.bib` located at `C:\a.bib` and `b.bib` located at `X:\b.bib`. When I click on the `+` icon in the general Tab of file `a.bib`, the popup is opened in the directory `C:\papers` \(assuming `C:\papers` exists\).

Expand Down

0 comments on commit 32076c8

Please sign in to comment.