sympy-paper
sympy-paper copied to clipboard
Newline after every dot
What about adding a Travis test to check that every dot ending a period is followed by a new-line?
It would make it easier to see differences in PR.
git diff --word-diff
works pretty well for the actual differences in the paper. Not sure if there is any option to see word diffs on github.
Not sure if there is any option to see word diffs on github.
That's the point.
GitHub sort of already shows the word diff. It highlights the words that were changed on a line in a darker green or red. Unfortunately, it isn't quite the same. For instance, here, I rewrapped several lines, and it highlights those words that moved down a line. git show 164c13d6ae9d7ec3ce8197414405b75920fe46da --word-diff
is much more concise.
I think @moorepants suggested using carriage returns. Does that mean you could use normal newline wrapping?
I'm for doing whatever we need to do. I'll need to figure out how to configure emacs to do the right thing, but it shouldn't be hard.
I just meant use a \n
after every period so that sentences can be changed an diffed individually. I think that is the same thing @Upabjojr is suggesting. It's not a huge deal though. It'll probably work fine with wrapping sentences in the source and simply continuing with new sentences on the same line. Maybe see if there is actually an issue when we try to write before implementing anything.