Re: Experiemental interactive formula editing ...

2012-03-28 Thread Jean-Baptiste Faure
Hi,

Le 27/03/2012 19:08, Regina Henschel a écrit :
 Michael Meeks schrieb:
 Hi guys,

 I wondered - are there any serious known issues in this anymore ?
 and/or is there any reason why it's left as an experimental feature ?

I can't say better than Regina.
From my point of view, an option to choose the editor mode is the best
thing to do.

Best regards.
JBF

 
 I know that users coming from Word MathType will like it. But I do not
 want to use it and need an option to disable it, when it leaves
 experimental mode.
 
 Main reason for me: It does not preserve the StarMath notation.
 
 In more detail:
 The feature works directly on the MathML code. But that does not know
 all StarMath markup. For example sum from {i=1} to n {n_i cdot 2^i} or
 1 over 22 = nospace{0,0 overline {45}}
 
 If you use the new feature, then the formulas are changed. Try it,
 change for example 2 to 3. Without that feature the StarMath markup
 is preserved as annotation inside the MathML code and restored when
 loading.
 
 If the new feature is enabled, then those working with the command
 window like me loose the ability to mark a part of the formula by
 double-click on it in the rendering. And that is needed for easily
 changing single figures or variables in a complex formula.
 
 Therefore I want to be able to still use the old kind editing.
 
 Kind regards
 Regina
 

 --- a/starmath/source/view.cxx
 +++ b/starmath/source/view.cxx
 @@ -2134,7 +2134,7 @@ void SmViewShell::Notify( SfxBroadcaster  ,
 const SfxHint  rHint )

   bool SmViewShell::IsInlineEditEnabled() const
   {
 -return pImpl-aOpts.IsExperimentalMode();
 +return true;
   }

   /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


 Having had Jonas do all the work, it seems a shame not to ship it -
 right ? :-) Olivier - do you have a view ?

 All the best,

 Michael.

 
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
 


-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Experiemental interactive formula editing ...

2012-03-28 Thread Michael Meeks

On Tue, 2012-03-27 at 17:45 +0400, Ivan Timofeev wrote:
 On 27.03.2012 17:40, Ivan Timofeev wrote:
  3. Impossible to write statements like 'cos x' without adding a space
  between 'cos' and 'x'.
 
 Sorry, I mean this statement becomes 'cos ~ x' - additional space is added.

Hah - and Regina had a few issues too she shared. It looks to me as if
we need some noble volunteer to collect that little lot in bugzilla
under a tracker bug, and (preferably) Easy-hack-ise it.

:-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Experiemental interactive formula editing ...

2012-03-27 Thread Michael Meeks
Hi guys,

I wondered - are there any serious known issues in this anymore ?
and/or is there any reason why it's left as an experimental feature ?

--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -2134,7 +2134,7 @@ void SmViewShell::Notify( SfxBroadcaster , const 
SfxHint rHint )
 
 bool SmViewShell::IsInlineEditEnabled() const
 {
-return pImpl-aOpts.IsExperimentalMode();
+return true;
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


Having had Jonas do all the work, it seems a shame not to ship it -
right ? :-) Olivier - do you have a view ?

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Experiemental interactive formula editing ...

2012-03-27 Thread Ivan Timofeev

Hi Michael,

On 27.03.2012 17:24, Michael Meeks wrote:

I wondered - are there any serious known issues in this anymore ?
and/or is there any reason why it's left as an experimental feature ?


There are some small (or not small) problems:

1. Ctrl+Z doesn't work.
2. Typed keywords aren't recognized as such (try to input 'newline' or 
'~' and then modify the starmath source).
3. Impossible to write statements like 'cos x' without adding a space 
between 'cos' and 'x'. (Or I just don't know how to do it?)
4. Cursor position is wrong sometimes (try to input ~50 letters 'f' in 
succession)

And maybe something more generic...

But all these seem fixable though.

Regards,
Ivan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Experiemental interactive formula editing ...

2012-03-27 Thread Ivan Timofeev

On 27.03.2012 17:40, Ivan Timofeev wrote:

3. Impossible to write statements like 'cos x' without adding a space
between 'cos' and 'x'.


Sorry, I mean this statement becomes 'cos ~ x' - additional space is added.

Ivan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Experiemental interactive formula editing ...

2012-03-27 Thread Regina Henschel

Michael Meeks schrieb:

Hi guys,

I wondered - are there any serious known issues in this anymore ?
and/or is there any reason why it's left as an experimental feature ?


I know that users coming from Word MathType will like it. But I do not 
want to use it and need an option to disable it, when it leaves 
experimental mode.


Main reason for me: It does not preserve the StarMath notation.

In more detail:
The feature works directly on the MathML code. But that does not know 
all StarMath markup. For example sum from {i=1} to n {n_i cdot 2^i} or 
1 over 22 = nospace{0,0 overline {45}}


If you use the new feature, then the formulas are changed. Try it, 
change for example 2 to 3. Without that feature the StarMath markup 
is preserved as annotation inside the MathML code and restored when loading.


If the new feature is enabled, then those working with the command 
window like me loose the ability to mark a part of the formula by 
double-click on it in the rendering. And that is needed for easily 
changing single figures or variables in a complex formula.


Therefore I want to be able to still use the old kind editing.

Kind regards
Regina



--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -2134,7 +2134,7 @@ void SmViewShell::Notify( SfxBroadcaster  , const 
SfxHint  rHint )

  bool SmViewShell::IsInlineEditEnabled() const
  {
-return pImpl-aOpts.IsExperimentalMode();
+return true;
  }

  /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


Having had Jonas do all the work, it seems a shame not to ship it -
right ? :-) Olivier - do you have a view ?

All the best,

Michael.



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice