[NTG-context] PDF document statistics (character count incl. spaces)?

Hans Hagen pragma at wxs.nl
Mon Feb 2 00:56:21 CET 2015

On 2/1/2015 10:06 PM, Jörg Weger wrote:
> Is the character count “wc --char <textfile>” returns with or without
> blank spaces? (Which is important for me.) “man wc” doesn’t talk about
> that.
> I had hoped there was a better way than to edit the result of
> “pdftotext” in my text editor or in libreoffice writer (deleting
> unnecessary carriage returns and spaces by searching for regular
> expressions) which are able to do the count I need. In fact I had hoped
> that ConTeXt was able to count the characters and spaces it renders to
> PDF (is that theoretically possible?) …

it's not too hard so maybe when i'm bored or see a good reason ..


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list