Markdown reader: Added p., pp., sec., ch., as abbreviations.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1861 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
76e6c071d0
commit
1f3b48c193
1 changed files with 2 additions and 1 deletions
|
@ -1136,7 +1136,8 @@ likelyAbbrev x =
|
|||
let abbrevs = [ "Mr.", "Mrs.", "Ms.", "Capt.", "Dr.", "Prof.",
|
||||
"Gen.", "Gov.", "e.g.", "i.e.", "Sgt.", "St.",
|
||||
"vol.", "vs.", "Sen.", "Rep.", "Pres.", "Hon.",
|
||||
"Rev.", "Ph.D.", "M.D.", "M.A." ]
|
||||
"Rev.", "Ph.D.", "M.D.", "M.A.", "p.", "pp.",
|
||||
"ch.", "sec." ]
|
||||
abbrPairs = map (break (=='.')) abbrevs
|
||||
in map snd $ filter (\(y,_) -> y == x) abbrPairs
|
||||
|
||||
|
|
Loading…
Reference in a new issue