-
Notifications
You must be signed in to change notification settings - Fork 395
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
\cite completion and .bib file globbing #1658
Comments
Hi. I was not aware that one could use wildcards in the |
For the record this requires Excerpt form the manual of biblatex v3.14 Dec 2019
|
Bah, why is everything so complicated. Perhaps a better solution is to not allow globbing, and instead add a different mechanism for this? Also related to #1653, I guess? |
IMHO if people collaborate on the same tex document, they should only use a simple glob pattern, nothing platform dependent. However, if you work on your own document on Windows, you might expect that you can use backslashes as path separator. This is something I suspect someone will eventually raise an issue. You could fix it then. |
Ok, so leave things as they are now and address future issues if they arise. Seems OK to me. |
Works perfectly, as always! Thank you. |
Great, happy to hear it! ) |
The fix in 2efe806 isn't used if biblatex is detected, even though globbing is only possible with biblatex. Since b7fbff1, that code path is only used if there aren't better methods of detecting bib files. That was okay because the only other method introduced was to parse BibTeX's blg file and BibTeX can't handle globbing anyway. But in 2536f04, support for biber's bcf file was added without also adding globbing support. Apparently, globbing can be disabled per resource, so filenames that are candidates for globbing must be retained in the file list. This should only have an effect with curly braces, though. Globbing candidates that aren't actual filenames will be filtered out with s:validate(), as before.
The fix in 2efe806 isn't used if biblatex is detected, even though globbing is only possible with biblatex. Since b7fbff1, that code path is only used if there aren't better methods of detecting bib files. That was okay because the only other method introduced was to parse BibTeX's blg file and BibTeX can't handle globbing anyway. But in 2536f04, support for biber's bcf file was added without also adding globbing support. Apparently, globbing can be disabled per resource, so filenames that are candidates for globbing must be retained in the file list. This should only have an effect with curly braces, though. Globbing candidates that aren't actual filenames will be filtered out with s:validate(), as before.
The fix in 2efe806 isn't used if biblatex is detected, even though globbing is only possible with biblatex. Since b7fbff1, that code path is only used if there aren't better methods of detecting bib files. That was okay because the only other method introduced was to parse BibTeX's blg file and BibTeX can't handle globbing anyway. But in 2536f04, support for biber's bcf file was added without also adding globbing support. Apparently, globbing can be disabled per resource, so filenames that are candidates for globbing must be retained in the file list. This should only have an effect with curly braces, though. Globbing candidates that aren't actual filenames will be filtered out with s:validate(), as before.
The fix in 2efe806 isn't used if biblatex is detected, even though globbing is only possible with biblatex. Since b7fbff1, that code path is only used if there aren't better methods of detecting bib files. That was okay because the only other method introduced was to parse BibTeX's blg file and BibTeX can't handle globbing anyway. But in 2536f04, support for biber's bcf file was added without also adding globbing support. Apparently, globbing can be disabled per resource, so filenames that are candidates for globbing must be retained in the file list. This should only have an effect with curly braces, though. Globbing candidates that aren't actual filenames will be filtered out with s:validate(), as before.
Is your feature request related to a problem? Please describe it.
The
\cite
completion list is empty for me with the following MWE:ref.bib
And it works as expected if I
\addbibresource{ref.bib}
. Can you reproduce?Describe the solution you'd like
Would it be possible to add support for wildcards in the
\addbibresource
command? Or is there already some trick I can use to make this work?The text was updated successfully, but these errors were encountered: