You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ge-ne,
thanks a lot for sharing bibtool.
If you don't mind me asking here a couple of questions which I've searched over on google but was unable to find some coherent examples.
My use case contains of creating .bib files for my work and occasionally merge them to a bigger .bib file. The citekeys I use are of the following pattern author_year_unique_consecutive_letter, without the underscores.
Example:
doe2018
doe2018b
doe2018c
doe2018d
etc...
I would like eventually to achieve the following when merging .bib files to the main bigger one.
search all entries and if there's a missing field such as for instance journal then add a user defined text
I tried the following command looking at the manual but seems not to produce the desired output. bibtool 'add.field={journal="(journal){%N(journal)}{--no-journal--}"}' ./biblio.bib
before merging everything to the bigger .bib file check for duplicate entries, meaning find entries where they have the same key and same title and resolve those by deleting the excessive entries, in the case where there's only duplicate keys but the titles among those entries are different then extract those entries and dump them in an additional file called duplicates for manual inspection, avoiding merging them altogether in the bigger .bib file.
Thanks!
The text was updated successfully, but these errors were encountered:
Ad 1: I can reproduce your example. A first analysis has lead me to the conclusion that only a subset of the formatting instructions is evaluated for add.field. I will need to perform a deeper analysis in order to explain or fix the behaviour.
Ad 2: See resource check.double.
Double entries are identified if their sort key is identical. In this case the duplicate is deactivated by printing ### instead of @. This can be used for inspection. The resource check.double.delete can be set to delete the duplicates instead of deactivating them.
Hi @ge-ne,
thanks a lot for sharing bibtool.
If you don't mind me asking here a couple of questions which I've searched over on google but was unable to find some coherent examples.
My use case contains of creating .bib files for my work and occasionally merge them to a bigger .bib file. The citekeys I use are of the following pattern author_year_unique_consecutive_letter, without the underscores.
Example:
I would like eventually to achieve the following when merging .bib files to the main bigger one.
I tried the following command looking at the manual but seems not to produce the desired output.
bibtool 'add.field={journal="(journal){%N(journal)}{--no-journal--}"}' ./biblio.bib
Thanks!
The text was updated successfully, but these errors were encountered: