[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: Pronunciation in LaTeX mode



Kalyan Mukherjea <kalyan.infinity@xxxxxxxxxxx> writes:

> Maybe a audio clue for spaces, like a auditory icon could alert the
> user to the existence of blank spaces (the number is unimportant.)
> could be incorporated without too much difficulty.
>
> Could someone suggest a "hack" for this?

While not exactly what you are looking for, this will allow you to
listen to the line without having to manually move character by
character. 

(defun speak-line-char-by-char ()
  "Speaks the line character by character"
  (interactive)
  (emacspeak-speak-char t)
  (while (not (eolp))
    (emacspeak-forward-char)
    (emacspeak-speak-char t)
    (sit-for .5)))

If you want to test this out before putting it in your .emacs file,
place point at the end of the last line and use C-x C-e to evaluate it.
Then you can use M-x to test it out.

One thing you might want to do is to change the speed.  If you change
the line that reads 

(sit-for ...

this can be accomplished.  The number is the time it should sit-for in
seconds.  

You asked for a hack.  Maybe this will work in the short-term until
someone else gives you something better.

rdc
-- 
Robert D. Crawford                                      rdc1x@xxxxxxxxxxx

No transfers issued until the bus comes to a complete stop.

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search