[NTG-context] Find too long sentences

2013-02-15 Thread H. Özoguz
Good Friday there, working on a book with many too long sentences, I got the following idea/question: Is it possible to recognize the length of a sentence, and to let context show in the pdf, if there is a too long sentence. For example I am thinking of an command like

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Marco Patzer
On 2013–02–15 H. Özoguz wrote: working on a book with many too long sentences, I got the following idea/question: Is it possible to recognize the length of a sentence, and to let context show in the pdf, if there is a too long sentence. This sounds more like a job for the text editor. Many

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Philipp Gesang
···date: 2013-02-15, Friday···from: H. Özoguz··· Good Friday there, working on a book with many too long sentences, I got the following idea/question: Is it possible to recognize the length of a sentence, and to let context show in the pdf, if there is a too long sentence. Places to

[NTG-context] Find too long sentences

2013-02-15 Thread H. Özoguz
Which text editor can do that, find too long sentences? Huseyin Am 15.02.2013 13:55, schrieb ntg-context-requ...@ntg.nl: This sounds more like a job for the text editor. Many text editors already know what a sentence is. That means it's as easy as looping over all sentences and counting the

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Marco Patzer
On 2013–02–15 H. Özoguz wrote: Which text editor can do that, find too long sentences? None, since no editor knows by default what “too long” is. But a few editors (at least vim and I assume emacs as well) have an idea of what a sentence is. Both are scriptable, which means you can tell them

Re: [NTG-context] Find too long sentences

2013-02-15 Thread Marco Patzer
On 2013–02–15 Marco Patzer wrote: In vim pressing “vis” (visualise inner sentence) marks the current sentence, then pressing “gCtrl-g” yields: Selected 2 of 4 lines; 14 of 50 words; 82 of 296 bytes That means current sentence is 82 bytes long. The rest is up to you. Pick a language you