[Blindmath] JAWS with Mathematica

Theodor Loots theo.loots at gmail.com
Fri Oct 17 06:46:53 UTC 2014


Dear Laura,

I make extensive use of Mathematica, almost on a daily basis.  I usually
type my code in a Mathematica script file (.m extension) and process it on
the commandline with something like:
math.exe -script Code/myfile.m
(This obviously require you to set the path to the Mathematica kernel in
your path environment variable.)

The contents of the script file could be something like

MyFile = OpenWrite["output.tex"]
OutputFile = OpenWrite["log.txt"]
$Messages = {OutputFile}

SetOptions[MyFile, FormatType -> OutputForm];
SetOptions[OutputFile, FormatType -> InputForm];

F[x_] := x^2+1;
Sol = Integrate[f[x], x];

Write[MyFile, TeXForm[sol]];

Quit[]

This is a minimal example, but can obviously be changed to do whatever you
wish.  The log output will be written to the file log.txt and the output.tex
file will contain the result from integrating f(x) in TeX form.

Hope this helps...

Best,
t

-----Original Message-----
From: Blindmath [mailto:blindmath-bounces at nfbnet.org] On Behalf Of
Littlefield, Tyler via Blindmath
Sent: 16 October 2014 11:04 PM
To: Laura Carlson; Blind Math list for those interested in mathematics
Subject: Re: [Blindmath] JAWS with Mathematica

Hello:
First, a few things:
If you're using Mathamatica's kernel (which I recommend), you can just type
and it'll show the results as they would normally see them.
 From the kernel, I always use this:
$Post=InputForm
This is case sensative, but shows fractions as 2/3 instead of 2 and 3
vertically.
also here is a quick script I wrote to make Jaws read the output if they're
using Jaws. It could probably be better, but it works so far.
To use this, press insert+0 from the mathamatica kernel, and paste in the
code between the ;start and ;end. Press control+s and close the script
manager.
;start:
use "default.jsb"
Void Function NewTextEvent (handle hWnd,  string sBuffer,  int iAttributes,
int iTextColor,  int iBackgroundColor,  int iEcho, string
sFrameName)
SayString(sBuffer)
return
EndFunction
;end

HTH,
On 10/16/2014 4:14 PM, Laura Carlson via Blindmath wrote:
> Hi All,
>
> We are working with a student who is blind and is enrolled in a 
> Calculus 3 class.  Part of this class requires students to use the 
> program Mathematica to input and manipulate equations.
>
> I found Mathematica's Section 508 Voluntary Product Accessibility 
> Template (VPAT) at:
> http://www.wolfram.com/legal/accessibility/wolfram-mathematica.html
>
> It has the following links:
>
> Accessibility
> http://reference.wolfram.com/language/guide/Accessibility.html
>
> Keyboard Shortcut Listing
> http://reference.wolfram.com/language/tutorial/KeyboardShortcutListing
> .html
>
> Does anyone have  experience with the JAWS/Mathematica combination to 
> share? Are there any incompatibility issues? Any tips or tricks?
>
> Thank you.
>
> Best Regards,
> Laura
>


--
Take care,
Ty
http://tds-solutions.net
He that will not reason is a bigot; he that cannot reason is a fool; he that
dares not reason is a slave.


_______________________________________________
Blindmath mailing list
Blindmath at nfbnet.org
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
To unsubscribe, change your list options or get your account info for
Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/theo.loots%40gmail.co
m
BlindMath Gems can be found at
<http://www.blindscience.org/blindmath-gems-home>





More information about the BlindMath mailing list