commit 03d5edb16a37d778b8b4752ea2064d577fa30af8
parent ed444031f6bde91974156e617e7292673f1cab7b
Author: Nick Mathewson <nickm@torproject.org>
Date: Tue, 24 Jul 2007 15:27:45 +0000
r13881@catbus: nickm | 2007-07-24 11:27:40 -0400
Piotr Zelinski has somehow gotten an acute accent on top of one of his consonants. I hear that happens. Fix our code to support that.
svn:r241
Diffstat:
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/BibTeX.py b/BibTeX.py
@@ -624,6 +624,7 @@ ACCENT_MAP = { "'" : 'acute',
'"' : 'uml',
"c" : 'cedil',
}
+UNICODE_MAP = { 'ń' : 'ń', }
HTML_LIGATURE_MAP = {
'AE' : 'Æ',
'ae' : 'æ',
@@ -641,7 +642,8 @@ def _unaccent(m):
accent,char = m.groups()
if char[0] == '{':
char = char[1]
- return "&%s%s;" % (char, ACCENT_MAP[accent])
+ accented = "&%s%s;" % (char, ACCENT_MAP[accent])
+ return UNICODE_MAP.get(accented, accented)
def _unlig_html(m):
return "%s%s"%(HTML_LIGATURE_MAP[m.group(1)],m.group(2))
def htmlize(s):
diff --git a/anonbib.bib b/anonbib.bib
@@ -2985,7 +2985,7 @@ Sudan},
@Inproceedings{murdoch-pet2007,
title={Sampled Traffic Analysis by Internet-Exchange-Level Adversaries},
- author={Steven J. Murdoch and Piotr Zielinski},
+ author={Steven J. Murdoch and Piotr Zieli{\'n}ski},
crossref= pet2007,
www_section = traffic,
www_pdf_url = {http://petworkshop.org/2007/papers/PET2007_preproc_Sampled_traffic.pdf}
diff --git a/anonbib.cfg b/anonbib.cfg
@@ -100,6 +100,7 @@ AUTHOR_URLS = {
'M.*Kohlweiss' : 'http://homes.esat.kuleuven.be/~mkohlwei/',
'A.*Lysyanskaya' : 'http://www.cs.brown.edu/~anna/',
'M.*Meyerovich' : 'http://www.cs.brown.edu/~mira/',
+ 'P.*Zieli.*ski' : 'http://www.cl.cam.ac.uk/~pz215/',
}
# List of paterns for author names _not_ to do an initial-tolerant