commit 5cd64be23a8a7382f40f4b0d00954de5b192d3ae
parent d3de971c197475cd49bb6447d2176ab3903eb6cc
Author: Nick Mathewson <nickm@torproject.org>
Date: Mon, 2 Jul 2007 18:11:55 +0000
r13583@catbus: nickm | 2007-07-02 13:59:46 -0400
Enforce use of en-dash in pages field.
svn:r226
Diffstat:
2 files changed, 28 insertions(+), 26 deletions(-)
diff --git a/BibTeX.py b/BibTeX.py
@@ -380,6 +380,9 @@ class BibTeXEntry:
not self['booktitle'].startswith("{Proceedings of"):
errs.append("ERROR: %s's booktitle doesn't start with 'Proceedings'" % self.key)
+ if self.has_key("pages") and not re.match(r'\d+--\d+', self['pages']):
+ errs.append("ERRROR: Misformed pages in %s"%self.key)
+
if self.type == 'proceedings':
if self.get('title'):
errs.append("ERROR: %s is a proceedings: it should have a booktitle, not a title." % self.key)
diff --git a/anonbib.bib b/anonbib.bib
@@ -117,7 +117,7 @@
booktitle = {Proceedings of the GI/ITG Conference on Communication in Distributed Systems},
year = 1991,
month = February,
- pages = {451-463},
+ pages = {451--463},
www_section = comm,
www_ps_gz_url = "http://www.semper.org/sirene/publ/PfPW_91TelMixeGI_NTG.ps.gz",
www_tags={selected},
@@ -539,7 +539,7 @@
on Design Issues in Anonymity and Unobservability},
year = 2000,
month = {July},
- pages = {10-29},
+ pages = {10--29},
editor = {H. Federrath},
publisher = {Springer-Verlag, LNCS 2009},
www_section = traffic,
@@ -1004,7 +1004,7 @@
year = "2001",
volume = "10",
number = "2",
- pages = "173-199",
+ pages = "173--199",
www_section = economics,
www_html_url = "http://www.si.umich.edu/~presnick/papers/identifiers/",
www_tags={selected},
@@ -1091,7 +1091,7 @@
author = "Paul F. Syverson and Stuart G. Stubblebine",
title = "Group Principals and the Formalization of Anonymity",
booktitle = "Proceedings of the World Congress on Formal Methods (1)",
- pages = "814-833",
+ pages = "814--833",
year = "1999",
www_section = methods,
www_ps_url = "http://chacs.nrl.navy.mil/publications/CHACS/1999/1999syverson-fm99.ps",
@@ -1105,7 +1105,7 @@
journal = {Journal of Computer Security},
volume = {12},
number = {3-4},
- pages = {355-377},
+ pages = {355--377},
year = {2004},
www_section = methods,
www_ps_url = "http://www.csl.sri.com/users/shmat/shmat_crowds.ps",
@@ -1123,7 +1123,7 @@
journal = {Journal of Computer Security},
volume = {12},
number = {1},
- pages = {3-36},
+ pages = {3--36},
% month = {},
year = {2004},
www_section = methods,
@@ -1303,7 +1303,7 @@
title = "Tangler: a censorship-resistant publishing system based on document entanglements",
booktitle = {{Proceedings of the 8th ACM Conference on Computer and
Communications Security (CCS 2001)}},
- pages = "126-135",
+ pages = "126--135",
year = "2001",
month = "November",
www_section = pub,
@@ -1412,7 +1412,7 @@
author = {Qixiang Sun and Daniel R. Simon and Yi-Min Wang and Wilf Russell and Venkata N. Padmanabhan and Lili Qiu},
title = {Statistical Identification of Encrypted Web Browsing Traffic},
booktitle = {Proceedings of the 2002 IEEE Symposium on Security and Privacy},
- pages = {19},
+ %pages = {19}, % This can't be right. -NM
year = {2002},
address = {Berkeley, California},
month = {May},
@@ -1524,8 +1524,7 @@
year = {2004},
month = {February},
address = {San Francisco, USA},
- pages = {},
- editor = {},
+ %editor = {},
www_pdf_url = {http://www.syverson.org/univrenc-ctrsa.pdf},
www_section = comm,
www_tags={selected},
@@ -1692,7 +1691,7 @@
month = February,
editor = {Ari Juels},
publisher = {Springer-Verlag, LNCS 3110},
- pages = {196-211},
+ pages = {196--211},
www_section = credentials,
}
@@ -2059,7 +2058,7 @@
booktitle = {Proceedings of Privacy Enhancing Technologies workshop (PET 2005)},
month = {May},
year = {2005},
- pages = {110-127},
+ pages = {110--127},
www_section = traffic,
www_pdf_url = {http://faculty.cs.tamu.edu/bettati/Papers/pet05/pet2005.pdf}
www_tags={selected},
@@ -2185,7 +2184,7 @@
month = {August},
editor = {Victor Shoup},
publisher = {Springer-Verlag, LNCS 3621},
- pages = "169-187"
+ pages = "169--187"
www_pdf_url = {http://freehaven.net/anonbib/papers/onion21.pdf},
www_section = proofs,
www_tags={selected},
@@ -2287,7 +2286,7 @@
title = {A Random Walk Based Anonymous Peer-to-Peer Protocol Design},
booktitle = {Proceedings of ICCNMC},
year = {2005},
- pages = {143-152},
+ pages = {143--152},
www_section = comm,
www_tags={selected},
}
@@ -2297,7 +2296,7 @@
title = {SAS: A Scalar Anonymous Communication System},
booktitle = {Proceedings of ICCNMC},
year = {2005},
- pages = {452-461},
+ pages = {452--461},
www_section = comm,
www_tags={selected},
}
@@ -2311,7 +2310,7 @@
Anonymous Tunnel},
booktitle = {Proceedings of ICCNMC},
year = {2005},
- pages = {853-862},
+ pages = {853--862},
www_section = comm,
www_tags={selected},
}
@@ -2324,7 +2323,7 @@
booktitle = {Proceedings of the ACM Conference on Computer and Communications Security},
month = {November},
year = {2005},
- pages = {81-91},
+ pages = {81--91},
www_section = comm,
www_pdf_url = "http://ise.gmu.edu/~xwangc/Publications/CCS05-VoIPTracking.pdf",
www_tags={selected},
@@ -2418,7 +2417,7 @@
author = {Giuseppe Ciaccio},
title = {Improving Sender Anonymity in a Structured Overlay with Imprecise Routing},
crossref = {pet2006},
- pages = {190-207},
+ pages = {190--207},
www_section = comm,
www_pdf_url = {http://petworkshop.org/2006/preproc/preproc_11.pdf},
www_tags={selected},
@@ -2623,7 +2622,7 @@ Distributed Computing Systems (ICDCS)},
editor = {S. Cimato C. Galdi G. Persiano },
publisher = {Springer-Verlag},
series = {Lecture Notes in Computer Science},
- pages = {326-341},
+ pages = {326--341},
volume = {2576},
year = {2002}
www_pdf_url = {http://www.cs.bgu.ac.il/~beimel/Papers/BS.pdf},
@@ -2680,7 +2679,7 @@ Unified Construction},
author = {Benny Chor and Oded Goldreich and Eyal Kushilevitz and Madhu
Sudan},
booktitle = {Proceedings of the {IEEE} Symposium on Foundations of Computer Science},
- pages = {41-50},
+ pages = {41--50},
year = {1995},
www_ps_url = {http://theory.lcs.mit.edu/~madhu/papers/pir-journ.ps},
www_section = pir,
@@ -2790,7 +2789,7 @@ Sudan},
title = {Compact E-Cash},
% booktitle = {Proceedings of EUROCRYPT 2005},
% year = {2005},
- pages = {302-321},
+ pages = {302--321},
ee = {http://dx.doi.org/10.1007/11426639_18},
crossref = {eurocrypt2005},
% bibsource = {DBLP, http://dblp.uni-trier.de}
@@ -3049,7 +3048,7 @@ Sudan},
booktitle = {Proceedings of the 2007 IEEE Symposium on Security and Privacy},
year = {2007},
month = {May},
- pages = {116-130},
+ pages = {116--130},
www_section = traffic,
www_pdf_url =
{http://ise.gmu.edu/~xwangc/Publications/Wang-FlowWatermarking.pdf},
@@ -3086,7 +3085,7 @@ Sudan},
author = {Meredith L. Patterson and Len Sassaman},
title = {Subliminal Channels in the Private Information Retrieval Protocols},
year = {2007},
- pages = {8},
+ %pages = {8}, % This can't be right. -NM
booktitle = {Proceedings of the 28th Symposium on Information Theory in the Benelux},
address = {Enschede,NL},
publisher = {Werkgemeenschap voor Informatie- en Communicatietheorie},
@@ -3121,7 +3120,7 @@ Sudan},
author = {George Danezis and Claudia Diaz},
title = {Space-Efficient Private Search},
year = {2007},
- pages = {15},
+ %pages = {15}, % This can't be right. -NM
booktitle = {Proceedings of Financial Cryptography (FC2007)},
series = {Lecture Notes in Computer Science},
address = {Tobago},
@@ -3171,7 +3170,7 @@ journal = {sp},
volume = {0},
year = {2006},
issn = {1081-6011},
-pages = {86-99},
+pages = {86--99},
doi = {http://doi.ieeecomputersociety.org/10.1109/SP.2006.17},
publisher = {IEEE Computer Society},
address = {Los Alamitos, CA, USA},
@@ -3329,7 +3328,7 @@ journal = {iwnas},
volume = {0},
year = {2006},
isbn = {0-7695-2651-9},
-pages = {103-110},
+pages = {103--110},
doi = {http://doi.ieeecomputersociety.org/10.1109/IWNAS.2006.40},
publisher = {IEEE Computer Society},
address = {Los Alamitos, CA, USA},