I'm writing my masters thesis and my supervisor has picked up my sentence structure, in that they are too long. She commented that Microsoft Word has a feature to investigate 'large' sentences. How can I do this with TeX? I'm using a mac and TexShop.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
I think this is the easiest way. First, make sure you have pdftotext and diction installed. These should be available via MacPorts.
Alternatively, you can do it all as a one-liner:
|
|||||||||||
|
cat file.tex | sed 's/[^.]//g' | wc -cshould give you a number that is one more than the total number of period marks used. – Willie Wong Aug 25 '10 at 18:34