tea.mathoverflow.net - Discussion Feed (Preview of Number.period) Sun, 04 Nov 2018 23:18:54 -0800 http://mathoverflow.tqft.net/ Lussumo Vanilla 1.1.9 & Feed Publisher Harald Hanche-Olsen comments on "Preview of Number.period" (10575) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10575#Comment_10575 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10575#Comment_10575 Thu, 11 Nov 2010 21:52:51 -0800 Harald Hanche-Olsen @Peter: I'd say it's a bug in the design of markdown, not its implementation. As such, I'd rather leave it alone, as I don't relish the prospect of having to deal with a combinatorial explosion of possible markdown implementations.

]]>
Peter McNamara comments on "Preview of Number.period" (10537) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10537#Comment_10537 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10537#Comment_10537 Thu, 11 Nov 2010 15:39:25 -0800 Peter McNamara Anton Geraschenko comments on "Preview of Number.period" (10532) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10532#Comment_10532 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10532#Comment_10532 Thu, 11 Nov 2010 14:02:10 -0800 Anton Geraschenko @Andrew: You only need two
spaces to respect a line break

]]>
Will Jagy comments on "Preview of Number.period" (10528) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10528#Comment_10528 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10528#Comment_10528 Thu, 11 Nov 2010 13:44:07 -0800 Will Jagy Andrew Stacey comments on "Preview of Number.period" (10527) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10527#Comment_10527 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10527#Comment_10527 Thu, 11 Nov 2010 13:40:44 -0800 Andrew Stacey If I type

 The previous line   
 2. hello   
 3. goodbye

then I get

The previous line
2. hello
3. goodbye

(To avoid too much recrimination, I will confess to a little trickery there. What I wrote is completely honest, but that may not quite be what you see.)

]]>
Scott Morrison comments on "Preview of Number.period" (10524) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10524#Comment_10524 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10524#Comment_10524 Thu, 11 Nov 2010 13:35:13 -0800 Scott Morrison This is actually an example of a strange software feature that comes from even further upstream than the Stack Exchange people: this is standard Markdown behavior. Even if we could tweak it, I'd be inclined not to.

]]>
Mark Meckes comments on "Preview of Number.period" (10493) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10493#Comment_10493 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10493#Comment_10493 Thu, 11 Nov 2010 06:34:48 -0800 Mark Meckes I just noticed that zhoraster did precisely that (with a parenthesis) on the question that presumably inspired the present question. Even so, that solution offends my aesthetic sensibilities. If the question is numbered followed by a period, I want my answer labeled the same way.

Edit: the above was in response to jbl; Harald's answer, which addresses my petty complaint, appeared while I was typing.

]]>
Harald Hanche-Olsen comments on "Preview of Number.period" (10492) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10492#Comment_10492 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10492#Comment_10492 Thu, 11 Nov 2010 06:34:08 -0800 Harald Hanche-Olsen Or put a nonbreaking space after the period.

]]>
jbl comments on "Preview of Number.period" (10491) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10491#Comment_10491 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10491#Comment_10491 Thu, 11 Nov 2010 06:31:18 -0800 jbl Don't put a period after the number, and use parentheses, a space, etc.

]]>
Mark Meckes comments on "Preview of Number.period" (10490) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10490#Comment_10490 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10490#Comment_10490 Thu, 11 Nov 2010 06:25:37 -0800 Mark Meckes So what's a good work-around in the event that you really care about the exact numbers that you enter? It's not that hard to imagine such a situation (I've found myself in it): a question actually includes several numbered sub-questions, and you want to address some proper subset of them in correspondingly numbered paragraphs.

]]>
Andrew Stacey comments on "Preview of Number.period" (10484) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10484#Comment_10484 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10484#Comment_10484 Thu, 11 Nov 2010 02:34:54 -0800 Andrew Stacey This isn't a bug, it's a feature.

When you type a number followed by a period at the start of a line, the text formatter (Markdown) thinks that you are starting an enumerated list. So the preview shows the start of that list. The formatter works on the principle that the numbers that you enter don't matter. The assumption being that you are more likely to be in the situation where you want to go back and add something, or rearrange the list, than in the position where you really care about the exact numbers that you enter.

Thus if you type

1. First item
2. Second item
3. Third item

then you get

  1. First item
  2. Second item
  3. Third item

if you now remember something that ought to be done between the first and second steps, you can simply add it in:

1. First item
1. Something I just remembered
2. Second item
3. Third item

and you get

  1. First item
  2. Something I just remembered
  3. Second item
  4. Third item
]]>
zhoraster comments on "Preview of Number.period" (10483) http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10483#Comment_10483 http://mathoverflow.tqft.net/discussion/760/preview-of-numberperiod/?Focus=10483#Comment_10483 Thu, 11 Nov 2010 02:28:52 -0800 zhoraster
http://lh5.ggpht.com/_iFCdp50WkYM/TNvEuy8GjTI/AAAAAAAABws/JDWgnmTxTFM/mopreview.jpg

It's only when I put a point after a number, and the same story happens with 3., 4., ..., 99., ... ]]>