Showing posts with label latex. Show all posts
Showing posts with label latex. Show all posts

Wednesday, 28 September 2011

finished...??

Well, the thesis is now printed out and at the binders, ready to be picked up and submitted this Friday morning. At the back of my head, I know that this is not the last time I will work on it. I want to submit a paper based on the thesis to a Cognitive Computation journal special issue which has a deadline of 1st November, generate papers out of the thesis and return to it again at viva time. And it's not handed in, yet. An academic's work is never done?

But...

A little celebrating will be done on Friday!

For the moment, the thesis in its submitted form is available at
http://dl.dropbox.com/u/6496211/AnnaJordanousThesis.pdf 
It's a large file (23.8Mb) so I'd like to put it up, chapter by chapter if possible, on academia.edu or similar, and probably link to it on this blog too. But that is to be done another time, let's at least allow myself a day or two off of it!

Friday, 22 July 2011

The perils of word counts in LaTeX

I'm currently writing up my thesis. I am writing it in LaTeX, which for the uninitiated means that rather than writing it in Word or similar, I write it in a text file and include lots of formatting commands around the thesis to say `this bit should be emphasised' or `this bit is a subsection', then LaTeX produces a pretty pdf file from my text file.

Like any self-respecting numbers girl, I like to keep a watch on how many words I have written that day, and in total. Although I don't have a word limit to adhere to, hitting a good word count for a day makes me feel like I've done good work, even if a lot of it gets cut later...

For a while now I've been dubious about the word counter I've been using: the inbuilt Statistics word counter in TeXShop, which works using detex | wc -w , or in plain English, it strips the thesis file of all the formatting commands and then counts the number of words left. According to this word counter, I have 61138 words, but I've noticed that this total tends to fluctuate: there have been days where I've written a lot and have ended up with less words than I started with.

Trying some alternatives out:

  • texcount *.tex: 60239 in text + 1457 in headers + 2469 in captions = 64165
  • ps2ascii thesis.pdf | wc -w: 83415 (but this includes the bibliography which is currently 7686 words and any appendices text) 
  • copying and pasting the text into OpenOffice: 75222
  • copying and pasting the text into Word: 74664
  • copying and pasting the text into TextWrangler (a Mac text editor): 74093

So I've anything between 61000 and 83000 words. TeXShop's statistics is instant but inaccurate. Texcount takes about 30 seconds to process then a quick calculation has to be done. ps2ascii also takes a little while and doesn't separate the thesis text from the bibliography/appendices. Copying and pasting, sadly, looks the most accurate (though now I have no idea how many words I've actually got...)

What I mostly want is a tool that measures progress very quickly, for some motivation - so I'll probably stick with TeXShop's Statistics or use texcount, after all of that!

As my housemate says, however,
it doesn't really matter if its 60 or 80 or 100,000 words, just finish it!

Right then: enough procrastination, back to the writing...
---
PS Must mention the excellent LaTeX tutorials written by Andrew Roberts.