Re: [NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Rik Kabel
On 2018-01-16 09:26, Dr. Thomas Möbius wrote: \definestartstop     [abstract]     [style=bold,     after={\blank[big]}] \starttext \title{My title: example of a word and character count} {\strut\tfx Formal guidelines: word count of abstract: $x$, character count of main text: $x$, character

[NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Dr . Thomas Möbius
To meet some formal guidelines, I need to provide a word count of my abstract and a character count of the main text, and a character count of all the text appearing in figure captions. Is this possible (maybe using some lua-magic)? Thank you! Thomas Minimal example: \definestartstop