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

JabRef should, if necessary, warn about changes to the "citationkeys" that have been added to the files! #12411

Open
NeymanDmitry opened this issue Jan 23, 2025 · 3 comments

Comments

@NeymanDmitry
Copy link

The directory marked as "Latex file directory" contains many documents that can be linked to the library through existing citationkeys.

A simple change in the rules of citatiokey formation in the program leads to the loss of relevant links in the relevant TeX documents.

So you might have to fix hundreds of links manually!?

Suggestion for improvement:

Each time the citation key is changed, it is necessary to automatically check whether this citationkeys are included in the documents corresponding to the Latex file directory. If they are included, there should be at least two possibilities to change the citationkeys data in the documents, the default action and rename automatically.

@koppor
Copy link
Member

koppor commented Jan 27, 2025

I never thought about a usage like this. Normally, files are linked in directories configured elsewhere. See https://docs.jabref.org/finding-sorting-and-cleaning-entries/filelinks.

@ilippert
Copy link
Contributor

ilippert commented Feb 2, 2025

I wonder whether one implicit issue here is the question of whether JabRef should offer to rename a file, when the link to the linked file is affected by the change of the respective entry's data (such as author, citationkey, year, etc).

I think at the moment, JabRef only links to files; but does not track whether a file should be renamed. For the latter, see #11316

@NeymanDmitry
Copy link
Author

I'm sorry for my English! I meant that when citationkey changes in the JabRef program, it is necessary to include the changes in the corresponding \cite{...} from the TeX documents.

For example, if you change citationkey1 to citationkey2 in the entry table, then you must automatically replace \cite{citationkey1} with \cite{citationkey2} in the TeX document (the article may be).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants