Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow recursive library paths #839

Closed
heraplem opened this issue Sep 3, 2024 · 0 comments · Fixed by #840
Closed

Allow recursive library paths #839

heraplem opened this issue Sep 3, 2024 · 0 comments · Fixed by #840
Labels
enhancement New feature or request

Comments

@heraplem
Copy link

heraplem commented Sep 3, 2024

Is your feature request related to a problem? Please describe.

I like to keep my library documents in subdirectories, one for each library entry. In order to make this work, I need to add each subdirectory to citar-library-paths. Additionally, whenever I add a new library file, I have to go and change citar-library-paths. It would be nice to instead have the possibility of letting citar-library-paths be interpreted recursively.

Describe the solution you'd like

Add a new variable, e.g., citar-library-paths-recursive, that, when true, makes Citar look in all subdirectories of each entry in citar-library-paths. This new variable would be set to nil by default for backwards compatibility.

Describe alternatives you've considered

The obvious alternative is to transpose the directory layout; i.e., have a separate directory for each file type. This won't work for my use-case, which is to have Xournal++ files linked to my PDFs.

The other solution is the null solution; i.e., just use a flat directory structure.

@heraplem heraplem added the enhancement New feature or request label Sep 3, 2024
@bdarcus bdarcus closed this as completed in fb9a833 Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant