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

Clean up the bibliography file #2366

Merged
merged 3 commits into from
Oct 26, 2019
Merged

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Oct 26, 2019

Magic used for this operation:

$ awk '/^@/ {text = $0} /^}/ {print text " " $0} /^[^@]/ {text = text " " $0}' documentation/bibliography.bib > oneperline.bib
$ sort -f oneperline.bib > sorted.bib
$ biber --tool --fixinits --output_align --output_indent=2 --output_fieldcase=lower sorted.bib

This produces a file sorted_bibertool.bib which can be copied over documentation\bibliography.bib

@eggrobin eggrobin added the LGTM label Oct 26, 2019
@pleroy pleroy merged commit eaba34b into mockingbirdnest:master Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants