Re: word counter: feature not usefull for me

2006-08-31 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Marcelo Acuña ha escrit:
  Word counter count words in Notes and ERTs.
  This is not usefull for me.
  I think that command in ERT must not be counted.
[...]
  Marc, said that this is in bugzilla.
 I posted this question because, when I put problem
 with notes and word counter in bugzilla, I received a
 mail from Lyx team saying that this behaviour is
 rigth.
 
  Thanks Helge, Marc
 Marcelo

OK, I see you reported #2566. Didn't check emails.

IMO, the best solution is to make LFUN_WORDS_COUNT display both
printable and absolute words in the info dialog, but I suppose this
would require some non-trivial code. countWords should be redesigned to
parse environments instead of simply counting chars.

This requires further discussion, I guess. I suggest marking #2566 as a
duplicate / depending on #2064 and posting more descriptive comments there.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9wAEu4rFT+k3kmQRAjzaAJ9mRw2+ZODVXApPoOPJwQiq21qGFQCfdVGK
kENd7XIb80LFczcKQi0Eom8=
=56cB
-END PGP SIGNATURE-


Re: word counter: feature not usefull for me

2006-08-31 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Marcelo Acuña ha escrit:
  Word counter count words in Notes and ERTs.
  This is not usefull for me.
  I think that command in ERT must not be counted.
[...]
  Marc, said that this is in bugzilla.
 I posted this question because, when I put problem
 with notes and word counter in bugzilla, I received a
 mail from Lyx team saying that this behaviour is
 rigth.
 
  Thanks Helge, Marc
 Marcelo

OK, I see you reported #2566. Didn't check emails.

IMO, the best solution is to make LFUN_WORDS_COUNT display both
printable and absolute words in the info dialog, but I suppose this
would require some non-trivial code. countWords should be redesigned to
parse environments instead of simply counting chars.

This requires further discussion, I guess. I suggest marking #2566 as a
duplicate / depending on #2064 and posting more descriptive comments there.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9wAEu4rFT+k3kmQRAjzaAJ9mRw2+ZODVXApPoOPJwQiq21qGFQCfdVGK
kENd7XIb80LFczcKQi0Eom8=
=56cB
-END PGP SIGNATURE-


Re: word counter: feature not usefull for me

2006-08-31 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Marcelo Acuña ha escrit:
>>>  Word counter count words in Notes and ERTs.
>>>  This is not usefull for me.
>>>  I think that command in ERT must not be counted.
[...]
>  Marc, said that this is in bugzilla.
> I posted this question because, when I put problem
> with notes and word counter in bugzilla, I received a
> mail from Lyx team saying that this behaviour is
> rigth.
> 
>  Thanks Helge, Marc
> Marcelo

OK, I see you reported #2566. Didn't check emails.

IMO, the best solution is to make LFUN_WORDS_COUNT display both
printable and "absolute" words in the info dialog, but I suppose this
would require some non-trivial code. countWords should be redesigned to
parse environments instead of simply counting chars.

This requires further discussion, I guess. I suggest marking #2566 as a
duplicate / depending on #2064 and posting more descriptive comments there.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9wAEu4rFT+k3kmQRAjzaAJ9mRw2+ZODVXApPoOPJwQiq21qGFQCfdVGK
kENd7XIb80LFczcKQi0Eom8=
=56cB
-END PGP SIGNATURE-


Re: word counter: feature not usefull for me

2006-08-30 Thread Marcelo Acuña
   Word counter count words in Notes and ERTs.
   This is not usefull for me.
   I think that command in ERT must not be counted.
   I use notes for reminders, for keep quotes in
  original language for further revision of
 translation,
  and so on.
   Again, count words in notes not make usefull
  information for me.
   What think about this other Lyx´s users? 
 
   
 I agree that skipping notes is the right thing to
 do.

Ok.

 ERT is more tricky, for it is perfectly possible
 to have some words of normal printed text inside
 ERT.
 For example, if you need to do:
 \begin{myhighlight}Special words\end{myhighlight}
 The Special words will print, and should therefore
 be counted.

I not think in this. Is very complex.
 
 Unfortunately, parsing latex in order to get a
 perfect word count
 is hard, so perhaps skipping ERT is the better
 choice.

This work in most of cases.

 The counting issue above may then be avoided by
 having two ERT boxes
 containing the commands only. Between them the
 special words will
 be written as normal text. The downside of this
 approach is that the
 two latex boxes _must_ be matched pairs.  Cutpaste
 errors
 may then leave you with an extra ERT box somewhere,
 which will cause
 odd latex errors when you try to print or preview.
 
 Do you really have so much code in ERT that this is
 a real problem?
 Consider filing bugs at bugzilla.lyx.org.
 
 Helge Hafting
 

 Marc, said that this is in bugzilla.
I posted this question because, when I put problem
with notes and word counter in bugzilla, I received a
mail from Lyx team saying that this behaviour is
rigth.

 Thanks Helge, Marc
Marcelo







__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Re: word counter: feature not usefull for me

2006-08-30 Thread Marcelo Acuña
   Word counter count words in Notes and ERTs.
   This is not usefull for me.
   I think that command in ERT must not be counted.
   I use notes for reminders, for keep quotes in
  original language for further revision of
 translation,
  and so on.
   Again, count words in notes not make usefull
  information for me.
   What think about this other Lyx´s users? 
 
   
 I agree that skipping notes is the right thing to
 do.

Ok.

 ERT is more tricky, for it is perfectly possible
 to have some words of normal printed text inside
 ERT.
 For example, if you need to do:
 \begin{myhighlight}Special words\end{myhighlight}
 The Special words will print, and should therefore
 be counted.

I not think in this. Is very complex.
 
 Unfortunately, parsing latex in order to get a
 perfect word count
 is hard, so perhaps skipping ERT is the better
 choice.

This work in most of cases.

 The counting issue above may then be avoided by
 having two ERT boxes
 containing the commands only. Between them the
 special words will
 be written as normal text. The downside of this
 approach is that the
 two latex boxes _must_ be matched pairs.  Cutpaste
 errors
 may then leave you with an extra ERT box somewhere,
 which will cause
 odd latex errors when you try to print or preview.
 
 Do you really have so much code in ERT that this is
 a real problem?
 Consider filing bugs at bugzilla.lyx.org.
 
 Helge Hafting
 

 Marc, said that this is in bugzilla.
I posted this question because, when I put problem
with notes and word counter in bugzilla, I received a
mail from Lyx team saying that this behaviour is
rigth.

 Thanks Helge, Marc
Marcelo







__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Re: word counter: feature not usefull for me

2006-08-30 Thread Marcelo Acuña
> >  Word counter count words in Notes and ERTs.
> >  This is not usefull for me.
> >  I think that command in ERT must not be counted.
> >  I use notes for reminders, for keep quotes in
> > original language for further revision of
> translation,
> > and so on.
> >  Again, count words in notes not make usefull
> > information for me.
> >  What think about this other Lyx´s users? 
> >
   
> I agree that skipping notes is the right thing to
> do.

Ok.

> ERT is more tricky, for it is perfectly possible
> to have some words of normal printed text inside
> ERT.
> For example, if you need to do:
> \begin{myhighlight}Special words\end{myhighlight}
> The "Special words" will print, and should therefore
> be counted.

I not think in this. Is very complex.
> 
> Unfortunately, parsing latex in order to get a
> perfect word count
> is hard, so perhaps skipping ERT is the better
> choice.

This work in most of cases.

> The counting issue above may then be avoided by
> having two ERT boxes
> containing the commands only. Between them the
> "special words" will
> be written as normal text. The downside of this
> approach is that the
> two latex boxes _must_ be matched pairs.  Cut
> errors
> may then leave you with an extra ERT box somewhere,
> which will cause
> odd latex errors when you try to print or preview.
> 
> Do you really have so much code in ERT that this is
> a real problem?
> Consider filing bugs at bugzilla.lyx.org.
> 
> Helge Hafting
> 

 Marc, said that this is in bugzilla.
I posted this question because, when I put problem
with notes and word counter in bugzilla, I received a
mail from Lyx team saying that this behaviour is
rigth.

 Thanks Helge, Marc
Marcelo







__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



Re: word counter: feature not usefull for me

2006-08-29 Thread Helge Hafting

Marcelo Acuña wrote:

Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 
  

I agree that skipping notes is the right thing to do.
ERT is more tricky, for it is perfectly possible
to have some words of normal printed text inside ERT.
For example, if you need to do:
\begin{myhighlight}Special words\end{myhighlight}
The Special words will print, and should therefore be counted.

Unfortunately, parsing latex in order to get a perfect word count
is hard, so perhaps skipping ERT is the better choice.
The counting issue above may then be avoided by having two ERT boxes
containing the commands only. Between them the special words will
be written as normal text. The downside of this approach is that the
two latex boxes _must_ be matched pairs.  Cutpaste errors
may then leave you with an extra ERT box somewhere, which will cause
odd latex errors when you try to print or preview.

Do you really have so much code in ERT that this is a real problem?
Consider filing bugs at bugzilla.lyx.org.

Helge Hafting


Re: word counter: feature not usefull for me

2006-08-29 Thread Helge Hafting

Marcelo Acuña wrote:

Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 
  

I agree that skipping notes is the right thing to do.
ERT is more tricky, for it is perfectly possible
to have some words of normal printed text inside ERT.
For example, if you need to do:
\begin{myhighlight}Special words\end{myhighlight}
The Special words will print, and should therefore be counted.

Unfortunately, parsing latex in order to get a perfect word count
is hard, so perhaps skipping ERT is the better choice.
The counting issue above may then be avoided by having two ERT boxes
containing the commands only. Between them the special words will
be written as normal text. The downside of this approach is that the
two latex boxes _must_ be matched pairs.  Cutpaste errors
may then leave you with an extra ERT box somewhere, which will cause
odd latex errors when you try to print or preview.

Do you really have so much code in ERT that this is a real problem?
Consider filing bugs at bugzilla.lyx.org.

Helge Hafting


Re: word counter: feature not usefull for me

2006-08-29 Thread Helge Hafting

Marcelo Acuña wrote:

Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 
  

I agree that skipping notes is the right thing to do.
ERT is more tricky, for it is perfectly possible
to have some words of normal printed text inside ERT.
For example, if you need to do:
\begin{myhighlight}Special words\end{myhighlight}
The "Special words" will print, and should therefore be counted.

Unfortunately, parsing latex in order to get a perfect word count
is hard, so perhaps skipping ERT is the better choice.
The counting issue above may then be avoided by having two ERT boxes
containing the commands only. Between them the "special words" will
be written as normal text. The downside of this approach is that the
two latex boxes _must_ be matched pairs.  Cut errors
may then leave you with an extra ERT box somewhere, which will cause
odd latex errors when you try to print or preview.

Do you really have so much code in ERT that this is a real problem?
Consider filing bugs at bugzilla.lyx.org.

Helge Hafting


Re: word counter: feature not usefull for me

2006-08-28 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Marcelo Acuña ha escrit:
 Hello,
  Word counter count words in Notes and ERTs.
  This is not usefull for me.
  I think that command in ERT must not be counted.
  I use notes for reminders, for keep quotes in
 original language for further revision of translation,
 and so on.
  Again, count words in notes not make usefull
 information for me.
  What think about this other Lyx´s users? 
 
  Regards.
  Marcelo

Hi.

I think this is annoying, and *commands* in ERT should not be counted.
For instance, write an equation and put an alpha in it, then write
$\alpha$ in ERT. The ERT alpha will be counted, while the equation's
will be ignored.

However, this behaviour has already been reported, see bugs #2064 and #2566.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8zqiu4rFT+k3kmQRAmoeAJ0UbcIzikmKZtDi3e4Dkgq0VNUf5gCghLeF
7vb/uaDicmTKCJCJNUxrdQg=
=VW/5
-END PGP SIGNATURE-


Re: word counter: feature not usefull for me

2006-08-28 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Marcelo Acuña ha escrit:
 Hello,
  Word counter count words in Notes and ERTs.
  This is not usefull for me.
  I think that command in ERT must not be counted.
  I use notes for reminders, for keep quotes in
 original language for further revision of translation,
 and so on.
  Again, count words in notes not make usefull
 information for me.
  What think about this other Lyx´s users? 
 
  Regards.
  Marcelo

Hi.

I think this is annoying, and *commands* in ERT should not be counted.
For instance, write an equation and put an alpha in it, then write
$\alpha$ in ERT. The ERT alpha will be counted, while the equation's
will be ignored.

However, this behaviour has already been reported, see bugs #2064 and #2566.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8zqiu4rFT+k3kmQRAmoeAJ0UbcIzikmKZtDi3e4Dkgq0VNUf5gCghLeF
7vb/uaDicmTKCJCJNUxrdQg=
=VW/5
-END PGP SIGNATURE-


Re: word counter: feature not usefull for me

2006-08-28 Thread Marc Vinyals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En/na Marcelo Acuña ha escrit:
> Hello,
>  Word counter count words in Notes and ERTs.
>  This is not usefull for me.
>  I think that command in ERT must not be counted.
>  I use notes for reminders, for keep quotes in
> original language for further revision of translation,
> and so on.
>  Again, count words in notes not make usefull
> information for me.
>  What think about this other Lyx´s users? 
> 
>  Regards.
>  Marcelo

Hi.

I think this is annoying, and *commands* in ERT should not be counted.
For instance, write an equation and put an alpha in it, then write
$\alpha$ in ERT. The ERT alpha will be counted, while the equation's
will be ignored.

However, this behaviour has already been reported, see bugs #2064 and #2566.

Marc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8zqiu4rFT+k3kmQRAmoeAJ0UbcIzikmKZtDi3e4Dkgq0VNUf5gCghLeF
7vb/uaDicmTKCJCJNUxrdQg=
=VW/5
-END PGP SIGNATURE-


word counter: feature not usefull for me

2006-08-26 Thread Marcelo Acuña
Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 

 Regards.
 Marcelo






__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



word counter: feature not usefull for me

2006-08-26 Thread Marcelo Acuña
Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 

 Regards.
 Marcelo






__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



word counter: feature not usefull for me

2006-08-26 Thread Marcelo Acuña
Hello,
 Word counter count words in Notes and ERTs.
 This is not usefull for me.
 I think that command in ERT must not be counted.
 I use notes for reminders, for keep quotes in
original language for further revision of translation,
and so on.
 Again, count words in notes not make usefull
information for me.
 What think about this other Lyx´s users? 

 Regards.
 Marcelo






__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas