Do not try what follows until you have read js/node/README.org and successfully set up nvm (Node Version Manager) as described there.
Spoken mathematics on the emacspeak audio desktop. Use a NodeJS based speech-rule-engine for Mathematics as the backend for processing mathematical markup. The result of this processing is an annotated S-expression that is rendered via Emacspeak’s speech facilities. Annotations follow Aural CSS as implemented in Emacspeak, This allows us to map these expressions to aural properties supported by specific TTS engines.
Start the server/client: M-x emacspeak-maths-start. Once the server and client are started, you can browse any number of math expressions using the emacspeak-maths-navigator defined in module See emacspeak-maths as described below.
Note: In general, once everything is configured correctly, using the maths navigator automatically starts the server and client. Invoke the Navigator using s-spc — this is the <windows> key on Linux laptops. Linux. Now you can use these keys:
The current expression is spoken after each of the above commands. It is also displayed in a special buffer *Spoken Math*. That buffer holds all previously generated output, And Emacs commands forward-page and backward-page can be used to move through each chunk of output.
Move depth in current Math expression. (auto-generated)
Move down in current Math expression. (auto-generated)
Send a LaTeX expression to Maths server, guess based on context.
Send the guessed LaTeX expression to Maths server.
Flush client buffer if things go out of sync.
Move left in current Math expression. (auto-generated)
Restart Node math-server if running. Otherwise starts a new one.
Move right in current Math expression. (auto-generated)
Move root in current Math expression. (auto-generated)
Shutdown client and server processes.
Speak alt text as Maths. For use on Wikipedia pages for example.
Special mode for interacting with Spoken Math. This mode is used by the special buffer that displays spoken math returned from the Node server. This mode is similar to Emacs’ ‘view-mode’. see the key-binding list at the end of this description. Emacs online help facility to look up help on these commands. Key Binding ——————————————————————————- [ backward-page ] forward-page h emacspeak-maths-left j emacspeak-maths-down k emacspeak-maths-up l emacspeak-maths-right In addition to any hooks its parent mode ‘special-mode’ might have run, this mode runs the hook ‘emacspeak-maths-spoken-mode-hook’, as the final or penultimate step during initialization.
Start Maths server bridge.
Switch to output buffer.
Move up in current Math expression. (auto-generated)