khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

E. coli starts a list #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to the User's Guide, an ordered list item starting with a capital 
letter and period needs two spaces after a capital letter.  The point is to 
prevent, say, a paragraph beginning with "E. coli" from starting a list.

This seems no longer to be working.

E.coli now starts a list

Thanks to shamberg for reporting (via gitit).

Original issue reported on code.google.com by fiddloso...@gmail.com on 29 Jan 2010 at 8:17

GoogleCodeExporter commented 9 years ago
I can't reproduce this with SVN pandoc.
What version of pandoc are you using?
Also, are you using markdown or RST?  The two-space rule is only for pandoc's 
markdown.  I can't change RST syntax...

Original comment by fiddloso...@gmail.com on 2 Feb 2010 at 7:44

GoogleCodeExporter commented 9 years ago
i have now updated to gitit 0.7.2 and pandoc 1.4 (from 0.6.2 and 1.2.1).
in my original report (http://code.google.com/p/gitit/issues/detail?id=84) i 
wrote
that “E. coli” turned into a list starting with “5. ” – this is no 
longer the case.
it still starts a list, but now the list starts with “E. ”.

i use markdown. i have attached a page having the described problem and a 
screen shot
of how it looks here.

Original comment by ehamb...@gmail.com on 2 Feb 2010 at 8:15

Attachments:

GoogleCodeExporter commented 9 years ago
Ah, I see.  Pandoc's rule says -- if you start a list with a capital letter and 
period, and 
then follow with another capitalized word, you need two spaces after the 
period. This 
was designed to prevent capture of names with initials (A. Mautner). But in "E. 
coli", 
"coli" is not capitalized. (I capitalized it just now, which is why I wasn't 
able to 
reproduce the problem.) 

I think the best solution is to change pandoc's rule so that it always requires 
two 
spaces after list markers with capital letters and periods...that's easier to 
remember, 
anyway.

Original comment by fiddloso...@gmail.com on 2 Feb 2010 at 4:55

GoogleCodeExporter commented 9 years ago
i think that will be the best solution if following the “principle of least
surprise”, yes. :-)

Original comment by ehamb...@gmail.com on 2 Feb 2010 at 6:21

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1829.

Original comment by fiddloso...@gmail.com on 3 Feb 2010 at 5:48