.bibtoolrsc (825B)
1 % pretty printing 2 print.line.length = 80 3 print.indent = 2 4 print.align = 18 5 print.align.key = 18 6 print.use.tab = off 7 8 % correct page typesetting 9 rewrite.rule {pages # "[ ]*pp[\. ]*\(.*\)" = "\1"} 10 rewrite.rule {pages # "\([0-9]+\) *\(-\|---\) *\([0-9]+\)" = "\1--\3"} 11 12 % superscripts for "th" suffix 13 rewrite.rule {booktitle # "\(.*\)\([0-9]+\)\(th\|st\|rd\)\b\(.*\)" = "\1\2\\textsuperscript{\3}\4"} 14 15 % delete custom fields 16 rewrite.rule {rawentry # ".*"} 17 rewrite.rule {category # ".*"} 18 rewrite.rule {abstract # ".*"} 19 20 % delete keywords 21 rewrite.rule {keywords # ".*"} 22 23 % replace double quotes with curly braces 24 rewrite.rule {"^\"{\(.*\)}\"$" "{\1}"} 25 rewrite.rule {"^\"\(.*\)\"$" "{\1}"} 26 27 % delete empty fields 28 rewrite.rule {"^\" *\"$"} 29 rewrite.rule {"^{ *}$"} 30 31 % sort by date 32 sort = {on} 33 sort.format = { %d(year) # %N(author) }