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

Output/save key replacements when merging #267

Open
sebastianst opened this issue Jun 23, 2022 · 0 comments
Open

Output/save key replacements when merging #267

sebastianst opened this issue Jun 23, 2022 · 0 comments

Comments

@sebastianst
Copy link

I want to merge multiple latex projects into one and would like to use bibtex-tidy for merging the bibliographies. However, if entries are merged, only the first entry's key survives the merge and the duplicate keys are lost. It would be very helpful to have the option to output all key replacements to a file or a separate output field in the web app, so that they can be used in a find-replace script to fix the latex sources.

Example: There are two entries with keys riemann1859 and anzahlprim, both having the same title Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse.. If I use the deduplication option by title, both entries will be merged and the key anzahlprim is lost. This means that all latex sources referencing anzahlprim now have an undefined reference. If I had a list of the form

anzahlprim riemann1859
<other-lost-key> <replaced-by>

I could run an easy script that replaces all references to anzahlprim with riemann1859 in the latex sources.

Is there already a way to do this? E.g. the CLI could get a flag --save-key-replacements <file-path> and the web app a simple output text field.

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

No branches or pull requests

2 participants