Re: Voice Recognition Accessibility

2022-08-17 Thread Pavel Sanda
On Wed, Aug 03, 2022 at 06:29:53PM -0500, Jodin Morey wrote:
> The main barrier I face right now (other than the time it will take to
> develop all of the scripts), is that many of the mathematical objects in Lyx
> are not available either through a menubar or keystroke.  So my request to
> the developers would be to add keystroke accessibility to as many
> mathematical objects as possible.  To make things easier, these keystrokes
> do not need to be documented in any way.  You needn't add the keystroke
> information on the user interface (for example, when you hover your mouse
> over the button for the math object, or in the help documentation).  The
> point would not be to offer the average user a quick keystroke.  And to that
> end, the keystroke could be very obscure (e.g., Ctrl+Alt+Shift+Meta+K), it
> doesn't need to be simple at all.  Doing this does not limit Dragon
> Dictate's ability to type the keystroke, and simultaneously opens up a lot
> of keystrokes.

Does Nuance Dragon Dictate allows outputing the sequence of characters?
If yes you probably don't need to invent binding catalogoue for LyX at all.

E.g. if you are in math mode (ctrl+m) you don't need keybinding for \varOmega,
you just need to type "\varOmega"+space and its done.

Alternatively you can avoid math mode and write in pure LaTeX in ERT
(via ctrl+l) as others suggested.

In both case there seems nothing to be done on LyX part.

Good luck,
Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Voice Recognition Accessibility

2022-08-04 Thread Jodin Morey

Thanks Tim,

Being new to the program, I hadn't seen that possibility. Actually, I 
have already created a bunch of Dragon Dictate scripts that generate the 
LaTeX for another program (Tex Studio), so I think I will be able to 
fairly easily port it in that way. Thanks for the idea.  Then there is 
no need to mess with the binding.


On 8/3/2022 10:27 PM, t...@wescottdesign.com wrote:
Consider instead setting up Nuance Dragon Dictate to put LyX into 
LaTeX insertion mode, then translate LaTeX directly.


This will give you everything that LyX can give you, with the benefit 
-- to other users if not immediately to you -- of being useful for any 
tool that supports LaTeX, not least being folks who might light to 
author documents in LaTeX directly.


Quoting Jodin Morey :


Hello Lyx Developers,

My name is Jodin, and I recently graduated with my doctorate in 
mathematics.  I have a disability which requires me to use voice 
recognition to input mathematics into my computer.  For the last 10 
years or so, I have used three pieces of software (on Windows) to 
accomplish this.  However, recently two of these software packages 
(Scientific Notebook and MathTalk) stopped being supported (the 
underlying companies went out of business). As a result, I have been 
looking for some other software I might be able to use.  The voice 
recognition software I use (the primary desktop voice recognition 
software in existence) is Nuance Dragon Dictate. It was recently 
purchased by Microsoft, so it is doubtful that this piece of software 
will become unsupported anytime soon. However, there are no longer 
any off-the-shelf software packages which translate the recognized 
words into math, so I am interested in developing something along 
these lines.  In particular, I thought I might develop something 
around Lyx.


It's unfortunate that the voice technology allowing people with 
disabilities to write mathematics has recently disappeared. I am 
hopeful that Lyx can become the future provider of this capability.


I like Lyx because it is open source, and I wish to avoid relying on 
another piece of software that is profit based, and might go out of 
business someday.  The idea is to create hundreds of scripts in 
Dragon Dictate.  That way, when I say "VarOmega," for example, Dragon 
Dictate will turn my voice into words, recognize the words as a 
Dragon Dictate Script, which can then choose from a pulldown menu on 
Lyx, or just enter the right keystrokes.


The main barrier I face right now (other than the time it will take 
to develop all of the scripts), is that many of the mathematical 
objects in Lyx are not available either through a menubar or 
keystroke.  So my request to the developers would be to add keystroke 
accessibility to as many mathematical objects as possible.  To make 
things easier, these keystrokes do not need to be documented in any 
way.  You needn't add the keystroke information on the user interface 
(for example, when you hover your mouse over the button for the math 
object, or in the help documentation).  The point would not be to 
offer the average user a quick keystroke.  And to that end, the 
keystroke could be very obscure (e.g., Ctrl+Alt+Shift+Meta+K), it 
doesn't need to be simple at all.  Doing this does not limit Dragon 
Dictate's ability to type the keystroke, and simultaneously opens up 
a lot of keystrokes.


Regardless, I will start developing this the voice recognition 
capacity with the keystrokes you currently have available, as I need 
it for my own purposes.  However, I believe developing this more 
comprehensively is an important thing for the disability community.  
And I believe the coding effort required is somewhat minimal.


--
Jodin

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users






--
Jodin

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Voice Recognition Accessibility

2022-08-04 Thread Dr Eberhard Lisse



I purchased a Dragon Dictate license for the Mac exactly 4 weeks before
they discontinued the Mac Support.

I was never able to dictate into the Mac LyX, so I went through a small
detour dictating MarkDown which is much easier to dictate than LaTeX,
and worked extremely well for me.  I spent some time on a PanDoc
Template, and so the translation into LyX works perfectly.  Use a
Makefile and include files for example.

That said, from what I read, maths in MarkDown are LaTeX anyway, so if
you can dictate (normal text) into LyX the solution below (ERT) should
do quite well.

greetings, el

On 04/08/2022 05:27, t...@wescottdesign.com wrote:

I can't help you directly -- but consider instead setting up Nuance
Dragon Dictate to put LyX into LaTeX insertion mode, then translate
LaTeX directly.

This will give you everything that LyX can give you, with the benefit
-- to other users if not immediately to you -- of being useful for any
tool that supports LaTeX, not least being folks who might light to
author documents in LaTeX directly.

[...]


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Voice Recognition Accessibility

2022-08-03 Thread tim
I can't help you directly -- but consider instead setting up Nuance  
Dragon Dictate to put LyX into LaTeX insertion mode, then translate  
LaTeX directly.


This will give you everything that LyX can give you, with the benefit  
-- to other users if not immediately to you -- of being useful for any  
tool that supports LaTeX, not least being folks who might light to  
author documents in LaTeX directly.


Quoting Jodin Morey :


Hello Lyx Developers,

My name is Jodin, and I recently graduated with my doctorate in  
mathematics.  I have a disability which requires me to use voice  
recognition to input mathematics into my computer.  For the last 10  
years or so, I have used three pieces of software (on Windows) to  
accomplish this.  However, recently two of these software packages  
(Scientific Notebook and MathTalk) stopped being supported (the  
underlying companies went out of business). As a result, I have been  
looking for some other software I might be able to use.  The voice  
recognition software I use (the primary desktop voice recognition  
software in existence) is Nuance Dragon Dictate. It was recently  
purchased by Microsoft, so it is doubtful that this piece of  
software will become unsupported anytime soon. However, there are no  
longer any off-the-shelf software packages which translate the  
recognized words into math, so I am interested in developing  
something along these lines.  In particular, I thought I might  
develop something around Lyx.


It's unfortunate that the voice technology allowing people with  
disabilities to write mathematics has recently disappeared. I am  
hopeful that Lyx can become the future provider of this capability.


I like Lyx because it is open source, and I wish to avoid relying on  
another piece of software that is profit based, and might go out of  
business someday.  The idea is to create hundreds of scripts in  
Dragon Dictate.  That way, when I say "VarOmega," for example,  
Dragon Dictate will turn my voice into words, recognize the words as  
a Dragon Dictate Script, which can then choose from a pulldown menu  
on Lyx, or just enter the right keystrokes.


The main barrier I face right now (other than the time it will take  
to develop all of the scripts), is that many of the mathematical  
objects in Lyx are not available either through a menubar or  
keystroke.  So my request to the developers would be to add  
keystroke accessibility to as many mathematical objects as  
possible.  To make things easier, these keystrokes do not need to be  
documented in any way.  You needn't add the keystroke information on  
the user interface (for example, when you hover your mouse over the  
button for the math object, or in the help documentation).  The  
point would not be to offer the average user a quick keystroke.  And  
to that end, the keystroke could be very obscure (e.g.,  
Ctrl+Alt+Shift+Meta+K), it doesn't need to be simple at all.  Doing  
this does not limit Dragon Dictate's ability to type the keystroke,  
and simultaneously opens up a lot of keystrokes.


Regardless, I will start developing this the voice recognition  
capacity with the keystrokes you currently have available, as I need  
it for my own purposes.  However, I believe developing this more  
comprehensively is an important thing for the disability community.   
And I believe the coding effort required is somewhat minimal.


--
Jodin

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users





--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Voice Recognition Accessibility

2022-08-03 Thread Paul A. Rubin

On 8/3/22 19:29, Jodin Morey wrote:

Hello Lyx Developers,

My name is Jodin, and I recently graduated with my doctorate in 
mathematics.  I have a disability which requires me to use voice 
recognition to input mathematics into my computer.  For the last 10 
years or so, I have used three pieces of software (on Windows) to 
accomplish this.  However, recently two of these software packages 
(Scientific Notebook and MathTalk) stopped being supported (the 
underlying companies went out of business). As a result, I have been 
looking for some other software I might be able to use.  The voice 
recognition software I use (the primary desktop voice recognition 
software in existence) is Nuance Dragon Dictate. It was recently 
purchased by Microsoft, so it is doubtful that this piece of software 
will become unsupported anytime soon. However, there are no longer any 
off-the-shelf software packages which translate the recognized words 
into math, so I am interested in developing something along these 
lines.  In particular, I thought I might develop something around Lyx.


It's unfortunate that the voice technology allowing people with 
disabilities to write mathematics has recently disappeared. I am 
hopeful that Lyx can become the future provider of this capability.


I like Lyx because it is open source, and I wish to avoid relying on 
another piece of software that is profit based, and might go out of 
business someday.  The idea is to create hundreds of scripts in Dragon 
Dictate.  That way, when I say "VarOmega," for example, Dragon Dictate 
will turn my voice into words, recognize the words as a Dragon Dictate 
Script, which can then choose from a pulldown menu on Lyx, or just 
enter the right keystrokes.


The main barrier I face right now (other than the time it will take to 
develop all of the scripts), is that many of the mathematical objects 
in Lyx are not available either through a menubar or keystroke.  So my 
request to the developers would be to add keystroke accessibility to 
as many mathematical objects as possible.  To make things easier, 
these keystrokes do not need to be documented in any way.  You needn't 
add the keystroke information on the user interface (for example, when 
you hover your mouse over the button for the math object, or in the 
help documentation).  The point would not be to offer the average user 
a quick keystroke.  And to that end, the keystroke could be very 
obscure (e.g., Ctrl+Alt+Shift+Meta+K), it doesn't need to be simple at 
all.  Doing this does not limit Dragon Dictate's ability to type the 
keystroke, and simultaneously opens up a lot of keystrokes.


Regardless, I will start developing this the voice recognition 
capacity with the keystrokes you currently have available, as I need 
it for my own purposes.  However, I believe developing this more 
comprehensively is an important thing for the disability community.  
And I believe the coding effort required is somewhat minimal.


LyX uses "bind" files to associate keystrokes with symbols or commands. 
There is a file named "math.bind" that comes with LyX (found in 
/usr/share/lyx/bind on Linux systems) that contains bindings for math 
objects. It does not have a binding for \varOmega, but for instance the 
key combo "alt+m g shift+E" (without the spaces) inserts \varepsilon. 
The math.bind file is actually a child file, loaded by the main bind 
file the user opts to use. In my case, that is cua.bind, located in the 
same directory. (The user's choice of main bind file is made at Tools > 
Preferences... > Editing > Shortcuts > Bind file.)


So someone (you?) could create an alternative version of math.bind with 
a new name, adding whatever symbols you wish using obscure/unused 
shortcuts, and then create a new version of a main bind file that loaded 
the expanded math bind file. Alternatively, someone (you?) could put the 
new definitions in a new file (say math2.bind) and then load math2.bind 
in addition to math.bind from the main bind file of choice.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Voice Recognition Accessibility

2022-08-03 Thread Jodin Morey

Hello Lyx Developers,

My name is Jodin, and I recently graduated with my doctorate in 
mathematics.  I have a disability which requires me to use voice 
recognition to input mathematics into my computer.  For the last 10 
years or so, I have used three pieces of software (on Windows) to 
accomplish this.  However, recently two of these software packages 
(Scientific Notebook and MathTalk) stopped being supported (the 
underlying companies went out of business). As a result, I have been 
looking for some other software I might be able to use.  The voice 
recognition software I use (the primary desktop voice recognition 
software in existence) is Nuance Dragon Dictate. It was recently 
purchased by Microsoft, so it is doubtful that this piece of software 
will become unsupported anytime soon. However, there are no longer any 
off-the-shelf software packages which translate the recognized words 
into math, so I am interested in developing something along these 
lines.  In particular, I thought I might develop something around Lyx.


It's unfortunate that the voice technology allowing people with 
disabilities to write mathematics has recently disappeared. I am hopeful 
that Lyx can become the future provider of this capability.


I like Lyx because it is open source, and I wish to avoid relying on 
another piece of software that is profit based, and might go out of 
business someday.  The idea is to create hundreds of scripts in Dragon 
Dictate.  That way, when I say "VarOmega," for example, Dragon Dictate 
will turn my voice into words, recognize the words as a Dragon Dictate 
Script, which can then choose from a pulldown menu on Lyx, or just enter 
the right keystrokes.


The main barrier I face right now (other than the time it will take to 
develop all of the scripts), is that many of the mathematical objects in 
Lyx are not available either through a menubar or keystroke.  So my 
request to the developers would be to add keystroke accessibility to as 
many mathematical objects as possible.  To make things easier, these 
keystrokes do not need to be documented in any way.  You needn't add the 
keystroke information on the user interface (for example, when you hover 
your mouse over the button for the math object, or in the help 
documentation).  The point would not be to offer the average user a 
quick keystroke.  And to that end, the keystroke could be very obscure 
(e.g., Ctrl+Alt+Shift+Meta+K), it doesn't need to be simple at all.  
Doing this does not limit Dragon Dictate's ability to type the 
keystroke, and simultaneously opens up a lot of keystrokes.


Regardless, I will start developing this the voice recognition capacity 
with the keystrokes you currently have available, as I need it for my 
own purposes.  However, I believe developing this more comprehensively 
is an important thing for the disability community.  And I believe the 
coding effort required is somewhat minimal.


--
Jodin

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users