This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original by Daniel L. Greenwald | |
# http://dlgreenwald.weebly.com/blog/capitalizing-titles-in-bibtex | |
# Modified by Garrett Dash Nelson | |
import re | |
from titlecase import titlecase | |
# Input and output files | |
my_file = 'library.bibtex' | |
new_file = 'library-capitalized.bibtex' # in case you don't want to overwrite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://sam.zoy.org/wtfpl/COPYING for more details. | |
# | |
# Version 3, enhanced for Ubuntu 13.X+, Fedora 19+, and similar distros. |