Re: Feature request: word count needed

2002-10-18 Thread Jean-Marc Lasgouttes
John == John Levon [EMAIL PROTECTED] writes: John On Thu, Oct 17, 2002 at 11:35:45PM +0300, Martin Vermeer wrote: Hmmm great! Why not put into CVS? John It's a hacky work around. John Neat trick, but it's a trick. What about putting it in the FAQ? JMarc

Re: Feature request: word count needed

2002-10-18 Thread José Abílio Oliveira Matos
On Thursday 17 October 2002 18:40, Dr. Richard E. Hawkins wrote: Long-requested, and long wanted. It just hit me--why not just list this as a command, but have it do a ~~~ With a pipe? ;-) text export piped to wc? hawk -- José Abílio

Re: Feature request: word count needed

2002-10-18 Thread Dr. Richard E. Hawkins
On Thu, Oct 17, 2002 at 06:06:32PM +0100, John Levon wrote: On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: I couldn't find a way to get a word count in LyX 1.2.1 (other than spellchecking which is a pain). Long-requested, and long wanted. It just hit me--why not just list

Re: Feature request: word count needed

2002-10-18 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 08:21:15PM +0200, Dekel Tsur wrote: A better solution (it does not count the LyX key words) is to define a format name wordcount, whose viewer is xterm -geometry 30x2 -e less, and define a text-wordcount converter whose command is wc -w $$i $$o. Or if you are lazy,

Re: Feature request: word count needed

2002-10-18 Thread José Abílio Oliveira Matos
On Thursday 17 October 2002 19:12, Martin Vermeer wrote: Yes, I have used this. wc -w in a pipe. Works. But not very accurate... includes LyX key words etc. As we have discussed several times before the word count is a difficult to define. Do you count Reference that is outputed by latex as

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Thu, Oct 17, 2002 at 11:35:45PM +0300, Martin Vermeer wrote: Hmmm great! Why not put into CVS? It's a hacky work around. Neat trick, but it's a trick. regards john -- It's a cardboard universe ... and if you lean too hard against it, you fall through. - Philip K. Dick

Re: Feature request: word count needed

2002-10-18 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 05:11:48PM -0300, Garst R. Reese wrote: \format wordcount wc Wordcount \viewer wordcount xterm -geometry 30x2 -e less \converter text wordcount wc -w $$i $$o Now View Wordcount works perfectly for me. Just be aware that wc counts numbers and spellcheck does not.

Re: Feature request: word count needed

2002-10-18 Thread Martin Vermeer
On Thu, Oct 17, 2002 at 08:21:15PM +0200, Dekel Tsur wrote: ... A better solution (it does not count the LyX key words) is to define a format name wordcount, whose viewer is xterm -geometry 30x2 -e less, and define a text-wordcount converter whose command is wc -w $$i $$o. Or if you are

Re: Feature request: word count needed

2002-10-18 Thread Martin Vermeer
On Thu, Oct 17, 2002 at 01:40:35PM -0400, Dr. Richard E. Hawkins wrote: On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: I couldn't find a way to get a word count in LyX 1.2.1 (other than spellchecking which is a pain). Long-requested, and long wanted. It just hit

Re: Feature request: word count needed

2002-10-18 Thread Andre Poenitz
On Fri, Oct 18, 2002 at 04:01:38AM -0300, Garst R. Reese wrote: Agreed. Is there a similar solution for those poor folks that have to use Windows? I don't care for the members of the empty set [_poor_ _and_ _Windows_?] ;-} In any case, 'wc' comes with Cygwin IIRC, so the tools are there.

Re: Feature request: word count needed

2002-10-18 Thread Darren Freeman
On Fri, 2002-10-18 at 03:41, José Abílio Oliveira Matos wrote: On Thursday 17 October 2002 19:12, Martin Vermeer wrote: Yes, I have used this. wc -w in a pipe. Works. But not very accurate... includes LyX key words etc. As we have discussed several times before the word count is a

Feature request: word count needed

2002-10-18 Thread Darren Freeman
Dear list, I couldn't find a way to get a word count in LyX 1.2.1 (other than spellchecking which is a pain). I would appreciate a menu option for counting the words in a selection, maybe with a config dialogue to control how words are counted. Have fun, Darren Freeman

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: I couldn't find a way to get a word count in LyX 1.2.1 (other than spellchecking which is a pain). Long-requested, and long wanted. regards john -- It's a cardboard universe ... and if you lean too hard against it, you fall

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 10:59:23AM +0200, Andre Poenitz wrote: If we had proper iterators, not hard at all (three lines or so). Alas, we haven't now and I do not really feel like working around for 1.3. In the next cycle chances are good that this will change... Whilst we still have the

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 09:52:35AM +0200, Jean-Marc Lasgouttes wrote: John Neat trick, but it's a trick. What about putting it in the FAQ? Sure, and ask Herbert to put in his tips. regards john -- It's a cardboard universe ... and if you lean too hard against it, you fall through.

Re: Feature request: word count needed

2002-10-18 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Thu, Oct 17, 2002 at 11:35:45PM +0300, Martin Vermeer wrote: >> Hmmm great! Why not put into CVS? John> It's a hacky work around. John> Neat trick, but it's a trick. What about putting it in the FAQ? JMarc

Re: Feature request: word count needed

2002-10-18 Thread José Abílio Oliveira Matos
On Thursday 17 October 2002 18:40, Dr. Richard E. Hawkins wrote: > > Long-requested, and long wanted. > > It just hit me--why not just list this as a command, but have it do a ~~~ With a pipe? ;-) > text export piped to wc? > > hawk -- José Abílio

Re: Feature request: word count needed

2002-10-18 Thread Dr. Richard E. Hawkins
On Thu, Oct 17, 2002 at 06:06:32PM +0100, John Levon wrote: > On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: > > I couldn't find a way to get a word count in LyX 1.2.1 (other than > > spellchecking which is a pain). > Long-requested, and long wanted. It just hit me--why not

Re: Feature request: word count needed

2002-10-18 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 08:21:15PM +0200, Dekel Tsur wrote: > A better solution (it does not count the LyX key words) is to define a format > name wordcount, whose viewer is "xterm -geometry 30x2 -e less", and define a > text->wordcount converter whose command is "wc -w $$i > $$o". > > Or if you

Re: Feature request: word count needed

2002-10-18 Thread José Abílio Oliveira Matos
On Thursday 17 October 2002 19:12, Martin Vermeer wrote: > > Yes, I have used this. wc -w in a pipe. Works. But not very > accurate... includes LyX key words etc. As we have discussed several times before the word count is a difficult to define. Do you count Reference that is outputed by latex

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Thu, Oct 17, 2002 at 11:35:45PM +0300, Martin Vermeer wrote: > Hmmm great! Why not put into CVS? It's a hacky work around. Neat trick, but it's a trick. regards john -- "It's a cardboard universe ... and if you lean too hard against it, you fall through." - Philip K. Dick

Re: Feature request: word count needed

2002-10-18 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 05:11:48PM -0300, Garst R. Reese wrote: > > \format wordcount wc "Wordcount" "" > > \viewer wordcount "xterm -geometry 30x2 -e less" > > \converter text wordcount "wc -w $$i > $$o" "" > Now View Wordcount works perfectly for me. Just be aware that wc counts > numbers and

Re: Feature request: word count needed

2002-10-18 Thread Martin Vermeer
On Thu, Oct 17, 2002 at 08:21:15PM +0200, Dekel Tsur wrote: ... > A better solution (it does not count the LyX key words) is to define a format > name wordcount, whose viewer is "xterm -geometry 30x2 -e less", and define a > text->wordcount converter whose command is "wc -w $$i > $$o". > > Or

Re: Feature request: word count needed

2002-10-18 Thread Martin Vermeer
On Thu, Oct 17, 2002 at 01:40:35PM -0400, Dr. Richard E. Hawkins wrote: > > > On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: > > > > I couldn't find a way to get a word count in LyX 1.2.1 (other than > > > spellchecking which is a pain). > > > Long-requested, and long wanted. >

Re: Feature request: word count needed

2002-10-18 Thread Andre Poenitz
On Fri, Oct 18, 2002 at 04:01:38AM -0300, Garst R. Reese wrote: > Agreed. Is there a similar solution for those poor folks that have to > use Windows? I don't care for the members of the empty set [_poor_ _and_ _Windows_?] ;-} In any case, 'wc' comes with Cygwin IIRC, so the tools are there. >

Re: Feature request: word count needed

2002-10-18 Thread Darren Freeman
On Fri, 2002-10-18 at 03:41, José Abílio Oliveira Matos wrote: > On Thursday 17 October 2002 19:12, Martin Vermeer wrote: > > > > Yes, I have used this. wc -w in a pipe. Works. But not very > > accurate... includes LyX key words etc. > > As we have discussed several times before the word count

Feature request: word count needed

2002-10-18 Thread Darren Freeman
Dear list, I couldn't find a way to get a word count in LyX 1.2.1 (other than spellchecking which is a pain). I would appreciate a menu option for counting the words in a selection, maybe with a config dialogue to control how words are counted. Have fun, Darren Freeman

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: > I couldn't find a way to get a word count in LyX 1.2.1 (other than > spellchecking which is a pain). Long-requested, and long wanted. regards john -- "It's a cardboard universe ... and if you lean too hard against it, you fall

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 10:59:23AM +0200, Andre Poenitz wrote: > If we had proper iterators, not hard at all (three lines or so). Alas, we > haven't now and I do not really feel like working around for 1.3. In the > next cycle chances are good that this will change... Whilst we still have the

Re: Feature request: word count needed

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 09:52:35AM +0200, Jean-Marc Lasgouttes wrote: > John> Neat trick, but it's a trick. > > What about putting it in the FAQ? Sure, and ask Herbert to put in his tips. regards john -- "It's a cardboard universe ... and if you lean too hard against it, you fall through."