nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
914 stars 151 forks source link

p. 495, reproduction (natural selection algorithms) #272

Closed shannonfry closed 11 years ago

shannonfry commented 11 years ago

The second line of page numbers here begins with a comma (" , 439"). Can this be fixed manually?

shiffman commented 11 years ago

Ack, it looks like all the numbers are

230 , 231 , 232 , 233

when it should be

230, 231, 232, 233

Going to see if i can fix this. that should fix this problem. if not, might just live with it.

shannonfry commented 11 years ago

I noticed that, but was willing to let it slide if necessary :)

shiffman commented 11 years ago

Ok, actually, I fixed this. In the ERB view there are a bunch of line breaks which trigger an extra space. I didn't really investigate this closely, just removed a bunch of line breaks and the space went away. @runemadsen is this an ok change?

https://github.com/runemadsen/asciidoc/commit/be3fcc769995da034acd30160c75ff7e12c2f169

Going to pull request it.

shiffman commented 11 years ago

ack, so i made it worse and now when there are a lot of page numbers it doesn't wrap to the next line. will look at this again tomorrow.

shiffman commented 11 years ago

Fixed! Closed! Done!

https://github.com/runemadsen/asciidoc/commit/fc1b1342817fe629454310be654ba746b0039a04