[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: Pronunciation in LaTeX mode
- To: emacspeak@xxxxxxxxxxx
- Subject: Re: Pronunciation in LaTeX mode
- From: "Robert D. Crawford" <rdc1x@xxxxxxxxxxx>
- Date: Tue, 12 Dec 2006 04:53:00 -0600
- Delivered-To: priestdo@xxxxxxxxxxx
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <17790.10324.936820.493217@xxxxxxxxxxx> (Kalyan Mukherjea's message of "Tue\, 12 Dec 2006 09\:26\:04 +0530")
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <rdc1x@xxxxxxxxxxx>
- Resent-Date: Tue, 12 Dec 2006 05:52:46 -0500 (EST)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <V9BlSB.A.wGC.-nofFB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
- User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)
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