You can subscribe to this list here.
| 2011 |
Jan
(16) |
Feb
(23) |
Mar
(42) |
Apr
|
May
(8) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
|
Oct
(13) |
Nov
(54) |
Dec
(75) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2012 |
Jan
(8) |
Feb
(131) |
Mar
(34) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(22) |
Aug
(2) |
Sep
(3) |
Oct
(3) |
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
(22) |
May
(2) |
Jun
|
Jul
(2) |
Aug
(14) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
(1) |
Feb
(8) |
Mar
(6) |
Apr
(4) |
May
(5) |
Jun
|
Jul
(16) |
Aug
(6) |
Sep
(8) |
Oct
(18) |
Nov
(8) |
Dec
|
| 2015 |
Jan
(13) |
Feb
(7) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2016 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
|
Jun
(4) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Daniel D. <dan...@gm...> - 2011-02-08 11:42:35
|
On Tue, Feb 08, 2011 at 11:33:53AM +0000, Alastair Irving wrote: > This seems like a good idea. How do you intend to determine which > column we're in? If each row of the table is on a separate line then > you just count the number of & signs before the cursor. However its > possible that the current row of the table is split over multiple lines, > in which case you need to keep going back until you either find a \\ or > the start of the table environment. Well if we find the start of the table environment then something has gone wrong, because their is no row above our current row, and hence, no heading for the current cell. The idea is to 1. Use the emacs/jaws/nvda scripting languages to find the last \\ before the cursor. Having done this, text between cursor and the found \\ should be selected and passed to the WhereAmI function in the python table module. 2. Next all we need to do is count the & signs in the passed text. Dan |
|
From: Alastair I. <ala...@sj...> - 2011-02-08 11:34:03
|
Hi This seems like a good idea. How do you intend to determine which column we're in? If each row of the table is on a separate line then you just count the number of & signs before the cursor. However its possible that the current row of the table is split over multiple lines, in which case you need to keep going back until you either find a \\ or the start of the table environment. Alastair On 08/02/2011 06:04, Daniel Dalton wrote: > Well, today when working with a large table in physics, it proved > challenging to keep track of where I was in a table, in terms of which > heading I'm currently working under, or which column I'm in. This tends > to be the case with such wide tables. > > So the idea is relatively simple, but I'm unsure if it is out of the > scope of this project. We seem to focus on mathematics, which is not > directly related to this, but then again the project is "latex-access", > so this fits in. > > Basically, the planned implementation is as follows: > * a "latex-access-table-recognise" function should be defined. Selecting > a region of text and passing it to this function should allow our code > to make a static list of table header information. > * Next edit the table at your leisure. > * Query your location in terms of what heading you are working under by > running the query function, which determines which column you are > working in based off the prior \\ characters. Once the column number had > been determined it'd just be a matter of looking at that particular > index inside the list holding header information and speaking the > result. > * Core implementation would be done in python, and then input/output can > be passed/received by screenreader/Braille/editor independent > functions. I.e> the elisp emacs functions. > > Dan > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Latex-access-devel mailing list > Lat...@li... > https://lists.sourceforge.net/lists/listinfo/latex-access-devel |
|
From: Daniel D. <dan...@gm...> - 2011-02-08 11:04:35
|
On Tue, Feb 08, 2011 at 10:25:01AM +0000, Williams, Robin wrote: > One of the problems I have when reading tables is when the \multicolumn command is used, it would be good if we could handle this. Do you just mean it is annoying, and you'd prefer "\multicolumn not be spoken/brailled? > >From your description, the only problem I could forsee is if the actual column headings, or number of columns, were changed after the table had been passed to the reading function. Yes correct, so for now the user will need to pass the header information to the function manually unfortunately. (On emacs select a region and call the function, on windows, select the text and call the function with key press). This should only really need to be done once per table, a little annoying I know, but not quite sure how to implement anything better without executing hundreds of lines of code...:) Dan |
|
From: Williams, R. <rm...@ex...> - 2011-02-08 10:26:04
|
Hi, This sounds like an excellent idea. Indeed, the project is latex-access, and so anything that improves the accessibility of scientific documents when reading in LaTeX goes. One of the problems I have when reading tables is when the \multicolumn command is used, it would be good if we could handle this. >From your description, the only problem I could forsee is if the actual column headings, or number of columns, were changed after the table had been passed to the reading function. --- Robin Williams Mathematics PhD Student - University of Exeter Harrison building - room 319 W: http://emps.exeter.ac.uk/staff/rmw205 E: rm...@ex... M: 07525 809495 -----Original Message----- From: Daniel Dalton [mailto:dan...@gm...] Sent: 08 February 2011 06:04 To: latex-access-devel Subject: [Latex-access-devel] A weekend project -- is it out of the scope of this project? Well, today when working with a large table in physics, it proved challenging to keep track of where I was in a table, in terms of which heading I'm currently working under, or which column I'm in. This tends to be the case with such wide tables. So the idea is relatively simple, but I'm unsure if it is out of the scope of this project. We seem to focus on mathematics, which is not directly related to this, but then again the project is "latex-access", so this fits in. Basically, the planned implementation is as follows: * a "latex-access-table-recognise" function should be defined. Selecting a region of text and passing it to this function should allow our code to make a static list of table header information. * Next edit the table at your leisure. * Query your location in terms of what heading you are working under by running the query function, which determines which column you are working in based off the prior \\ characters. Once the column number had been determined it'd just be a matter of looking at that particular index inside the list holding header information and speaking the result. * Core implementation would be done in python, and then input/output can be passed/received by screenreader/Braille/editor independent functions. I.e> the elisp emacs functions. Dan ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Latex-access-devel mailing list Lat...@li... https://lists.sourceforge.net/lists/listinfo/latex-access-devel |
|
From: Daniel D. <dan...@gm...> - 2011-02-08 06:04:28
|
Well, today when working with a large table in physics, it proved challenging to keep track of where I was in a table, in terms of which heading I'm currently working under, or which column I'm in. This tends to be the case with such wide tables. So the idea is relatively simple, but I'm unsure if it is out of the scope of this project. We seem to focus on mathematics, which is not directly related to this, but then again the project is "latex-access", so this fits in. Basically, the planned implementation is as follows: * a "latex-access-table-recognise" function should be defined. Selecting a region of text and passing it to this function should allow our code to make a static list of table header information. * Next edit the table at your leisure. * Query your location in terms of what heading you are working under by running the query function, which determines which column you are working in based off the prior \\ characters. Once the column number had been determined it'd just be a matter of looking at that particular index inside the list holding header information and speaking the result. * Core implementation would be done in python, and then input/output can be passed/received by screenreader/Braille/editor independent functions. I.e> the elisp emacs functions. Dan |
|
From: <dda...@us...> - 2011-02-05 03:55:56
|
Revision: 195
http://latex-access.svn.sourceforge.net/latex-access/?rev=195&view=rev
Author: ddalton10
Date: 2011-02-05 03:55:50 +0000 (Sat, 05 Feb 2011)
Log Message:
-----------
It's annoying having to switch the Braille and speech side of LaTeX
access off and on all the time. This requires two m-x calls... So make
one function (latex-access-hack), take care of that. See the
documentation inside the function (c-h f latex-access-hack).
It also describes the proper implementation (I'll do at some
point, unless anyone else wants too!:))
Modified Paths:
--------------
emacs/emacs-latex-access.el
Modified: emacs/emacs-latex-access.el
===================================================================
--- emacs/emacs-latex-access.el 2011-02-02 00:20:19 UTC (rev 194)
+++ emacs/emacs-latex-access.el 2011-02-05 03:55:50 UTC (rev 195)
@@ -278,4 +278,25 @@
(emacspeak-table-display-table-in-region (point-min) (point-max)))
(kill-buffer workspace ))) ; Delete our workspace now.
+;; This is silly, but convenient whilst we lack key bindings.
+;; Ultimately, something of this nature could be of value, but the
+;; implementation should take into account whether specific
+;; functionality is allowed to be enabled. I.e. if the user doesn't have
+;; Braille this shouldn't alter the Braille on/off settings...
+(defun latex-access-hack (&optional prefix)
+ "Disables both Braille and speech. When properly implemented checks
+should determine what functionality the user actually has
+available... For now, use if you use both Braille and speech, and
+require a method to switch them on/off together.
+If you supply an arg (c-u), the latex-access functionality will be
+turned on, otherwise, with no arg, it is turned off."
+ (interactive "P")
+ (if (not prefix)
+ (progn ; Disable
+ (latex-access-braille-off)
+ (latex-access-speech-off))
+ (progn ; Arg supplied, turn on
+ (latex-access-speech-on)
+ (latex-access-braille-on))))
+
;;; emacs-latex-access.el ends here
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-02-02 00:20:25
|
Revision: 194
http://latex-access.svn.sourceforge.net/latex-access/?rev=194&view=rev
Author: nschmidt19
Date: 2011-02-02 00:20:19 +0000 (Wed, 02 Feb 2011)
Log Message:
-----------
Hopefully fixed two file conflicts with nvda/todo.txt and nvda/bugs.txt.
Modified Paths:
--------------
nvda/bugs.txt
nvda/todo.txt
Modified: nvda/bugs.txt
===================================================================
--- nvda/bugs.txt 2011-02-01 11:13:46 UTC (rev 193)
+++ nvda/bugs.txt 2011-02-02 00:20:19 UTC (rev 194)
@@ -3,13 +3,13 @@
fixed.
* TypeErrors: NVDA doesn't like the overide of the caret event.
-I am not sure how to fix this yet. The log is pasted below: ERROR -
-eventHandler.executeEvent (17:41:30): error executing event: caret on
-<NVDAObjects.Dynamic_IAccessibleRichEdit50WindowNVDAObject object at
-0x072BAEF0> with extra args of {} Traceback (most recent call last):
-File "C:\bzrInit\nvda\main\source\eventHandler.py", line 135, in
-executeEvent _EventExecuter(eventName,obj,kwargs) File
-"C:\bzrInit\nvda\main\source\eventHandler.py", line 84, in __init__
-self.next() File "C:\bzrInit\nvda\main\source\eventHandler.py", line 90,
-in next return func(*args, **self.kwargs) TypeError: event_caret() takes
-exactly 1 argument (3 given)
+I am not sure how to fix this yet. The log is pasted below:
+ERROR - eventHandler.executeEvent (17:41:30):
+error executing event: caret on <NVDAObjects.Dynamic_IAccessibleRichEdit50WindowNVDAObject object at 0x072BAEF0> with extra args of {}
+Traceback (most recent call last):
+File "C:\bzrInit\nvda\main\source\eventHandler.py", line 135, in executeEvent
+_EventExecuter(eventName,obj,kwargs)
+File "C:\bzrInit\nvda\main\source\eventHandler.py", line 84, in __init__
+self.next()
+File "C:\bzrInit\nvda\main\source\eventHandler.py", line 90, in next
+return func(*args, **self.kwargs) TypeError: event_caret() takes exactly 1 argument (3 given)
\ No newline at end of file
Modified: nvda/todo.txt
===================================================================
--- nvda/todo.txt 2011-02-01 11:13:46 UTC (rev 193)
+++ nvda/todo.txt 2011-02-02 00:20:19 UTC (rev 194)
@@ -16,8 +16,10 @@
the ini file if this can be done. Issue: to get this done by
the developers, we need good justification for the suggestion.
- * Add support for the preprocessor - To be done. - Make a GUI
+ * Add support for the preprocessor - To be done.
+ - Make a GUI
perhaps with wxPython for the preprocessor: To be done.
- * Add support for the matrix - To be done. Translate lines of
- * LaTeX into nemeth braille and speech: Under development.
+ * Add support for the matrix - To be done.
+ * Translate lines of
+LaTeX into nemeth braille and speech: Under development.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dda...@us...> - 2011-02-01 11:13:52
|
Revision: 193
http://latex-access.svn.sourceforge.net/latex-access/?rev=193&view=rev
Author: ddalton10
Date: 2011-02-01 11:13:46 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
Rename toggle-latex-access-* functions to latex-access-toggle-* (haven't
tested, but shouldn't break anything)
Modified Paths:
--------------
emacs/emacs-latex-access.el
Modified: emacs/emacs-latex-access.el
===================================================================
--- emacs/emacs-latex-access.el 2011-02-01 07:09:14 UTC (rev 192)
+++ emacs/emacs-latex-access.el 2011-02-01 11:13:46 UTC (rev 193)
@@ -95,7 +95,7 @@
(latex-access-dmsg nil t)
(setq latex-access-speech-initial t)))
-(defun toggle-latex-access-speech ()
+(defun latex-access-toggle-speech ()
"Toggle latex-access speech on/off."
(interactive)
(make-local-variable 'latex-access-speech)
@@ -103,7 +103,7 @@
(latex-access-speech-off)
(latex-access-speech-on))) ; Speech is off, turn it on.
-(defun toggle-latex-access-braille ()
+(defun latex-access-toggle-braille ()
"Toggle latex-access Braille on/off."
(interactive)
(make-local-variable 'latex-access-braille)
@@ -111,13 +111,13 @@
(latex-access-braille-off)
(latex-access-braille-on))) ; Braille is off now, turn it on.
-(defun toggle-latex-access-dollars-braille ()
+(defun latex-access-toggle-dollars-braille ()
"Toggle whether to Braille dollar signs."
(interactive)
(message "Dollar signs will %s be shown in Braille."
(if (latex_access_emacstoggle-dollars-nemeth) "not" "")))
-(defun toggle-latex-access-dollars-speech ()
+(defun latex-access-toggle-dollars-speech ()
"Toggle whether to speak dollar signs."
(interactive)
(message "Dollar signs will %s be spoken."
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dda...@us...> - 2011-02-01 07:09:21
|
Revision: 192
http://latex-access.svn.sourceforge.net/latex-access/?rev=192&view=rev
Author: ddalton10
Date: 2011-02-01 07:09:14 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
Fix wrap in the *.txt files in nvda branch.
Make a very slight change to the contributors file as the emacs branch
supports Braille and emacspeak.
Fix a typo in nvda/todo.txt (toto)
Modified Paths:
--------------
contributors.txt
nvda/bugs.txt
nvda/todo.txt
Modified: contributors.txt
===================================================================
--- contributors.txt 2011-02-01 06:43:15 UTC (rev 191)
+++ contributors.txt 2011-02-01 07:09:14 UTC (rev 192)
@@ -2,6 +2,6 @@
Alastair Irving: Main developer
Robin Williams: Extensive testing, feature suggestions and cleanup of the translation tables
-Daniel Dalton: Emacspeak support
+Daniel Dalton: Emacs support
Nathaniel Schmidt: NVDA Support
-Stefan Moisei: romanian translation of speech table
\ No newline at end of file
+Stefan Moisei: romanian translation of speech table
Modified: nvda/bugs.txt
===================================================================
--- nvda/bugs.txt 2011-02-01 06:43:15 UTC (rev 191)
+++ nvda/bugs.txt 2011-02-01 07:09:14 UTC (rev 192)
@@ -1,13 +1,15 @@
-The following is a list of buggs found in the latex_access GlobalPlugin for NVDA. Feel free to add more as they arise, and remove ones that are fixed.
+The following is a list of buggs found in the latex_access GlobalPlugin
+for NVDA. Feel free to add more as they arise, and remove ones that are
+fixed.
- * TypeErrors: NVDA doesn't like the overide of the caret event. I am not sure how to fix this yet. The log is pasted below:
-ERROR - eventHandler.executeEvent (17:41:30):
-error executing event: caret on <NVDAObjects.Dynamic_IAccessibleRichEdit50WindowNVDAObject object at 0x072BAEF0> with extra args of {}
-Traceback (most recent call last):
- File "C:\bzrInit\nvda\main\source\eventHandler.py", line 135, in executeEvent
- _EventExecuter(eventName,obj,kwargs)
- File "C:\bzrInit\nvda\main\source\eventHandler.py", line 84, in __init__
- self.next()
- File "C:\bzrInit\nvda\main\source\eventHandler.py", line 90, in next
- return func(*args, **self.kwargs)
-TypeError: event_caret() takes exactly 1 argument (3 given)
+ * TypeErrors: NVDA doesn't like the overide of the caret event.
+I am not sure how to fix this yet. The log is pasted below: ERROR -
+eventHandler.executeEvent (17:41:30): error executing event: caret on
+<NVDAObjects.Dynamic_IAccessibleRichEdit50WindowNVDAObject object at
+0x072BAEF0> with extra args of {} Traceback (most recent call last):
+File "C:\bzrInit\nvda\main\source\eventHandler.py", line 135, in
+executeEvent _EventExecuter(eventName,obj,kwargs) File
+"C:\bzrInit\nvda\main\source\eventHandler.py", line 84, in __init__
+self.next() File "C:\bzrInit\nvda\main\source\eventHandler.py", line 90,
+in next return func(*args, **self.kwargs) TypeError: event_caret() takes
+exactly 1 argument (3 given)
Modified: nvda/todo.txt
===================================================================
--- nvda/todo.txt 2011-02-01 06:43:15 UTC (rev 191)
+++ nvda/todo.txt 2011-02-01 07:09:14 UTC (rev 192)
@@ -1,11 +1,23 @@
-This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
+This is a todo file for the latex_access GlobalPlugin for NVDA, where
+new features are put to be worked on or fixed.
- * Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find. The best event to use would probably be the IAcessible event, event_caret, but I haven't written the code for that yet.
+ * Important! Use events instead of scripts: This is a priority,
+ however hard to implement as certain events can be unreliable
+ in different situations, and there is no real list of all
+ events so they are hard to find. The best event to use would
+ probably be the IAcessible event, event_caret, but I haven't
+ written the code for that yet.
- * Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the issue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
+ * Add translations of braille without the message timing out
+ after a configgored amount of time - this currently cannot be
+ done. Suggestion: File an enhancement in the issue tracker
+ for a message function that will not time out, or an extra
+ argument in the existing function for overiding the option in
+ the ini file if this can be done. Issue: to get this done by
+ the developers, we need good justification for the suggestion.
- * Add support for the preprocessor - To be done.
- - Make a GUI perhaps with wxPython for the preprocessor: To be done.
+ * Add support for the preprocessor - To be done. - Make a GUI
+ perhaps with wxPython for the preprocessor: To be done.
- * Add support for the matrix - To be done.
- * Translate lines of LaTeX into nemeth braille and speech: Under development.
\ No newline at end of file
+ * Add support for the matrix - To be done. Translate lines of
+ * LaTeX into nemeth braille and speech: Under development.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-02-01 06:43:21
|
Revision: 191
http://latex-access.svn.sourceforge.net/latex-access/?rev=191&view=rev
Author: nschmidt19
Date: 2011-02-01 06:43:15 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
Renamed toto.txt to todo.txt. Changed input variable to currentLine. I am still stuck with why the event_caret thing won't work but I hope to fix it very soon.
Modified Paths:
--------------
nvda/latex_access.py
Added Paths:
-----------
nvda/todo.txt
Removed Paths:
-------------
nvda/toto.txt
Modified: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-24 23:15:36 UTC (rev 190)
+++ nvda/latex_access.py 2011-02-01 06:43:15 UTC (rev 191)
@@ -32,7 +32,7 @@
initialised = False
processMaths = False
latex_access = None
-input = None
+currentLine = None
matrix = None
row = None
column = None
@@ -51,19 +51,19 @@
def event_caret (self):
"""This event is called when the system caret moves, and it is being overidden so that latex-access translation can be used if the user wishes."""
- global initialised, input, latex_access
+ global initialised, currentLine, latex_access
if not initialised:
self.initialize ()
if processMaths:
- input = GetLine ()
- if not input:# Is it a blank line?
- input = "blank"
+ currentLine = GetLine ()
+ if not currentLine:# Is it a blank line?
+ currentLine = "blank"
else:
- input = latex_access.speech (input)
- speech.speakMessage (input)
- braille.handler.message (input)
+ currentLine = latex_access.speech (input)
+ speech.speakMessage (currentLine)
+ braille.handler.message (currentLine)
else:
SayLine ()
Copied: nvda/todo.txt (from rev 190, nvda/toto.txt)
===================================================================
--- nvda/todo.txt (rev 0)
+++ nvda/todo.txt 2011-02-01 06:43:15 UTC (rev 191)
@@ -0,0 +1,11 @@
+This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
+
+ * Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find. The best event to use would probably be the IAcessible event, event_caret, but I haven't written the code for that yet.
+
+ * Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the issue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
+
+ * Add support for the preprocessor - To be done.
+ - Make a GUI perhaps with wxPython for the preprocessor: To be done.
+
+ * Add support for the matrix - To be done.
+ * Translate lines of LaTeX into nemeth braille and speech: Under development.
\ No newline at end of file
Deleted: nvda/toto.txt
===================================================================
--- nvda/toto.txt 2011-01-24 23:15:36 UTC (rev 190)
+++ nvda/toto.txt 2011-02-01 06:43:15 UTC (rev 191)
@@ -1,11 +0,0 @@
-This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
-
- * Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find. The best event to use would probably be the IAcessible event, event_caret, but I haven't written the code for that yet.
-
- * Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the issue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
-
- * Add support for the preprocessor - To be done.
- - Make a GUI perhaps with wxPython for the preprocessor: To be done.
-
- * Add support for the matrix - To be done.
- * Translate lines of LaTeX into nemeth braille and speech: Under development.
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ala...@us...> - 2011-01-24 23:15:42
|
Revision: 190
http://latex-access.svn.sourceforge.net/latex-access/?rev=190&view=rev
Author: alastair-irving
Date: 2011-01-24 23:15:36 +0000 (Mon, 24 Jan 2011)
Log Message:
-----------
Modified the way the argument of the \displaystyle command is
extracted. Things like \displaystyle\frac{1}{2} now translate correctly.
Modified Paths:
--------------
latex_access.py
Modified: latex_access.py
===================================================================
--- latex_access.py 2011-01-24 07:06:10 UTC (rev 189)
+++ latex_access.py 2011-01-24 23:15:36 UTC (rev 190)
@@ -86,8 +86,16 @@
'''Removes the displaystile command but translates its argument.
Returns tuple.'''
- arg=get_arg(input,start)
- return (self.translate(arg[0]),arg[1])
+ i=start
+ #Check we haven't gone past the end of the command
+ if i>=len(input): return ("",i)
+ #Skip space
+ while input[i]==" " and i < len(input): i+=1
+ if input[i]=="{":
+ arg=get_arg(input,start)
+ return (self.translate(arg[0]),arg[1])
+ else:
+ return("",i)
def remove(self,input,start):
'''Used to remove a command and its argument totally from the translation.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-24 07:06:16
|
Revision: 189
http://latex-access.svn.sourceforge.net/latex-access/?rev=189&view=rev
Author: nschmidt19
Date: 2011-01-24 07:06:10 +0000 (Mon, 24 Jan 2011)
Log Message:
-----------
Updated bugs.txt.
Started work on using event_caret() for translation, although this will probably only work for speech. I have since found some methods in braille.py which could be helpful, but I have yet to work out how to go about using them.
Modified Paths:
--------------
nvda/bugs.txt
nvda/latex_access.py
Modified: nvda/bugs.txt
===================================================================
--- nvda/bugs.txt 2011-01-24 05:17:37 UTC (rev 188)
+++ nvda/bugs.txt 2011-01-24 07:06:10 UTC (rev 189)
@@ -1,4 +1,13 @@
The following is a list of buggs found in the latex_access GlobalPlugin for NVDA. Feel free to add more as they arise, and remove ones that are fixed.
- * Atribute errors: when the latex-access GlobalPlugin is initialized, The global variable initialised can't be changed for some reason. It is first set to None, then it has the latex_access com object attached to it but that doesn't seem to go well.
-
+ * TypeErrors: NVDA doesn't like the overide of the caret event. I am not sure how to fix this yet. The log is pasted below:
+ERROR - eventHandler.executeEvent (17:41:30):
+error executing event: caret on <NVDAObjects.Dynamic_IAccessibleRichEdit50WindowNVDAObject object at 0x072BAEF0> with extra args of {}
+Traceback (most recent call last):
+ File "C:\bzrInit\nvda\main\source\eventHandler.py", line 135, in executeEvent
+ _EventExecuter(eventName,obj,kwargs)
+ File "C:\bzrInit\nvda\main\source\eventHandler.py", line 84, in __init__
+ self.next()
+ File "C:\bzrInit\nvda\main\source\eventHandler.py", line 90, in next
+ return func(*args, **self.kwargs)
+TypeError: event_caret() takes exactly 1 argument (3 given)
Modified: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-24 05:17:37 UTC (rev 188)
+++ nvda/latex_access.py 2011-01-24 07:06:10 UTC (rev 189)
@@ -32,6 +32,7 @@
initialised = False
processMaths = False
latex_access = None
+input = None
matrix = None
row = None
column = None
@@ -42,21 +43,61 @@
def initialize (self):
"""An overide of the initialize() function in globalPluginHandler.py. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
- global initialised
- global latex_access
+ global initialised, latex_access
if not initialised:# is the latex_access com object created yet?
latex_access = CreateObject ("latex_access")
initialised = True
+ def event_caret (self):
+ """This event is called when the system caret moves, and it is being overidden so that latex-access translation can be used if the user wishes."""
+
+ global initialised, input, latex_access
+
+ if not initialised:
+ self.initialize ()
+
+ if processMaths:
+ input = GetLine ()
+ if not input:# Is it a blank line?
+ input = "blank"
+ else:
+ input = latex_access.speech (input)
+ speech.speakMessage (input)
+ braille.handler.message (input)
+
+ else:
+ SayLine ()
+ BrailleLine ()
+
+ def script_toggleMaths (self, Gesture):
+ """A script to toggle the latex-access translation on or off.
+ @param gesture: the gesture to be past through to NVDA (in this case, a keypress).
+ @type gesture: keypress.
+ """
+
+ if processMaths:# is translation on?
+ processMaths = False
+ speech.speakMessage (_("Maths to be read as plain latex"))
+ else:
+ processMaths = True
+ speech.speakMessage (_("Maths to be processed to a more verbal form"))
+
+ script_toggleMaths.__doc__ = _("Toggles the speaking of mathematical expressions as either straight latex or a more verbal rendering.")
+
+ # For the key bindings:
+ __gestures = {
+ "kb:control+M": "toggleMaths",
+ }
+
# Useful functions:
-def GetLine ()
+def GetLine ():
"""Retrieves the current line that the current navigator object is focussed on."""
info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
info.expand(textInfos.UNIT_LINE)
currentLine = info.text
-def SayLine ()
+def SayLine ():
"""This function says the current line without any translation. This is necessary so that we can return to NVDA's default behaviour when LaTeX translation is toggled off."""
speech.speakMessage (GetLine())
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-24 05:17:43
|
Revision: 188
http://latex-access.svn.sourceforge.net/latex-access/?rev=188&view=rev
Author: nschmidt19
Date: 2011-01-24 05:17:37 +0000 (Mon, 24 Jan 2011)
Log Message:
-----------
removed nvda/latex_access.py.speakMessage() so that we can now use events. Added a BrailleLine() function as well but the way the current line is being brailed is bad. I don't know how to fix this though.
Modified Paths:
--------------
nvda/latex_access.py
Modified: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-24 05:04:35 UTC (rev 187)
+++ nvda/latex_access.py 2011-01-24 05:17:37 UTC (rev 188)
@@ -19,7 +19,7 @@
* matrix browser for reading larger matrices: not completed.
* The preprocessor (support for custom defined LaTeX commands): not completed."""
-from comtypes.client import *
+from comtypes.client import CreateObject
import api
import braille, speech# for brailling/speaking messages in NVDA
@@ -48,29 +48,6 @@
latex_access = CreateObject ("latex_access")
initialised = True
- def script_speakTranslation (self, gesture):
- # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
- # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
- # between the translation and the default behaviour. I will fix this later on.
-
- global initialised
- global latex_access
-
- if not initialised:
- self.initialize ()
-
- # get the current line:
- currentLine = GetLine ()
- currentLine = latex_access.speech (currentLine)
- speech.speakMessage (currentLine)
-
- script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
-
- # For the key bindings:
- __gestures = {
- "kb:NVDA+alt+s": "speakTranslation",
- }
-
# Useful functions:
def GetLine ()
@@ -81,4 +58,8 @@
def SayLine ()
"""This function says the current line without any translation. This is necessary so that we can return to NVDA's default behaviour when LaTeX translation is toggled off."""
- speech.speakMessage (GetLine())
\ No newline at end of file
+ speech.speakMessage (GetLine())
+
+def BrailleLine ():
+ """Brailles the current line. This again is necessary so that we can return to NVDA's default behaviour."""
+ braille.handler.message (GetLine())
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-24 05:04:41
|
Revision: 187
http://latex-access.svn.sourceforge.net/latex-access/?rev=187&view=rev
Author: nschmidt19
Date: 2011-01-24 05:04:35 +0000 (Mon, 24 Jan 2011)
Log Message:
-----------
Updated toto.txt.
Modified Paths:
--------------
nvda/toto.txt
Modified: nvda/toto.txt
===================================================================
--- nvda/toto.txt 2011-01-20 07:59:17 UTC (rev 186)
+++ nvda/toto.txt 2011-01-24 05:04:35 UTC (rev 187)
@@ -1,8 +1,8 @@
This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
- * Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find.
+ * Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find. The best event to use would probably be the IAcessible event, event_caret, but I haven't written the code for that yet.
- * Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the ussue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
+ * Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the issue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
* Add support for the preprocessor - To be done.
- Make a GUI perhaps with wxPython for the preprocessor: To be done.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-20 07:59:23
|
Revision: 186
http://latex-access.svn.sourceforge.net/latex-access/?rev=186&view=rev
Author: nschmidt19
Date: 2011-01-20 07:59:17 +0000 (Thu, 20 Jan 2011)
Log Message:
-----------
Organised the code differently so that it will be easier to provide LaTeX translation when we use events. Removed BrailleTranslation (), as it will cauze problems later on. At the moment, only speech translation is available.
Modified Paths:
--------------
nvda/latex_access.py
Modified: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-19 06:28:12 UTC (rev 185)
+++ nvda/latex_access.py 2011-01-20 07:59:17 UTC (rev 186)
@@ -60,34 +60,25 @@
self.initialize ()
# get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.speech(currentLine)
+ currentLine = GetLine ()
+ currentLine = latex_access.speech (currentLine)
speech.speakMessage (currentLine)
script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
- def script_brailleTranslation (self, gesture):
- # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
-
- global initialised
- global latex_access
-
- if not initialised:
- self.initialize ()
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.nemeth(currentLine)
- braille.handler.message (currentLine)
-
- script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
-
# For the key bindings:
__gestures = {
"kb:NVDA+alt+s": "speakTranslation",
- "kb:NVDA+alt+b": "brailleTranslation"
- }
\ No newline at end of file
+ }
+
+# Useful functions:
+
+def GetLine ()
+ """Retrieves the current line that the current navigator object is focussed on."""
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+
+def SayLine ()
+ """This function says the current line without any translation. This is necessary so that we can return to NVDA's default behaviour when LaTeX translation is toggled off."""
+ speech.speakMessage (GetLine())
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-19 06:28:19
|
Revision: 185
http://latex-access.svn.sourceforge.net/latex-access/?rev=185&view=rev
Author: nschmidt19
Date: 2011-01-19 06:28:12 +0000 (Wed, 19 Jan 2011)
Log Message:
-----------
We now have a working GlobalPlugin. Next step is to make it much much better!
Modified Paths:
--------------
nvda/latex_access.py
Modified: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-17 04:10:19 UTC (rev 184)
+++ nvda/latex_access.py 2011-01-19 06:28:12 UTC (rev 185)
@@ -38,10 +38,10 @@
### End of global variable declarations
class GlobalPlugin (globalPluginHandler.GlobalPlugin):
- """main class for the global plugin, in which all key bindings and NVDA events are handled."""
+ """main class for the global plugin, in which all key bindings/scripts and NVDA events are handled."""
def initialize (self):
- """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
+ """An overide of the initialize() function in globalPluginHandler.py. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
global initialised
global latex_access
if not initialised:# is the latex_access com object created yet?
@@ -53,8 +53,12 @@
# we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
# between the translation and the default behaviour. I will fix this later on.
+ global initialised
global latex_access
+ if not initialised:
+ self.initialize ()
+
# get the current line:
info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
info.expand(textInfos.UNIT_LINE)
@@ -67,8 +71,12 @@
def script_brailleTranslation (self, gesture):
# same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
+ global initialised
global latex_access
+ if not initialised:
+ self.initialize ()
+
# get the current line:
info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
info.expand(textInfos.UNIT_LINE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-17 04:10:26
|
Revision: 184
http://latex-access.svn.sourceforge.net/latex-access/?rev=184&view=rev
Author: nschmidt19
Date: 2011-01-17 04:10:19 +0000 (Mon, 17 Jan 2011)
Log Message:
-----------
Renamed latex_access_GlobalPlugin.py back to latex_access.py.
Updated bugs.txt and toto.txt.
Modified Paths:
--------------
nvda/bugs.txt
nvda/toto.txt
Added Paths:
-----------
nvda/latex_access.py
Removed Paths:
-------------
nvda/latex_access_GlobalPlugin.py
Modified: nvda/bugs.txt
===================================================================
--- nvda/bugs.txt 2011-01-17 03:01:37 UTC (rev 183)
+++ nvda/bugs.txt 2011-01-17 04:10:19 UTC (rev 184)
@@ -1,6 +1,4 @@
The following is a list of buggs found in the latex_access GlobalPlugin for NVDA. Feel free to add more as they arise, and remove ones that are fixed.
- * Strange com errors: If the global plugin is loaded by NVDA, it seems to be unable to use the latex_access com object even though it has been created. Different errors appear at different times, so I am a little confused as to what to do. Unspecified windows errors appear as well. I have found no way to fix this yet.
+ * Atribute errors: when the latex-access GlobalPlugin is initialized, The global variable initialised can't be changed for some reason. It is first set to None, then it has the latex_access com object attached to it but that doesn't seem to go well.
- * KeyboardHandler errors: In recent rivisions of NVDA, when it loads the latex_access GlobalPlugin, keyboardHandler.py throwhs errors, and every single keypress gives an error. I believe this is an error more to do with NVDA rather than the latex_access.py code, so we might have to make an AppModule for now instead of a GlobalPlugin. I know this is not ideal since nothing exists yet like confignames in JAWS, but we may have no choice. ClassAttributeError keeps coming up also.
-
Copied: nvda/latex_access.py (from rev 183, nvda/latex_access_GlobalPlugin.py)
===================================================================
--- nvda/latex_access.py (rev 0)
+++ nvda/latex_access.py 2011-01-17 04:10:19 UTC (rev 184)
@@ -0,0 +1,85 @@
+# latex_access.py
+# A part of the latex-access project at http://latex-access.sourceforge.net/
+# Author: Nathaniel Schmidt <nat...@we...>
+# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
+#
+# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
+# either version 2 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with this program; if not, visit <http://www.gnu.org/licenses>
+
+"""A global plugin for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
+
+Features:
+ * Translating lines of LaTeX into nemeth braille and speech: under development.
+ * matrix browser for reading larger matrices: not completed.
+ * The preprocessor (support for custom defined LaTeX commands): not completed."""
+
+from comtypes.client import *
+
+import api
+import braille, speech# for brailling/speaking messages in NVDA
+import globalPluginHandler
+import textInfos# to get information such as the current line.
+
+### Global variables:
+### I know this is probably not the best way to do this, but I wasn't sure exactly how to successfully do it another way and keep the values of the variables
+### the same throughout classes and other functions.
+initialised = False
+processMaths = False
+latex_access = None
+matrix = None
+row = None
+column = None
+### End of global variable declarations
+
+class GlobalPlugin (globalPluginHandler.GlobalPlugin):
+ """main class for the global plugin, in which all key bindings and NVDA events are handled."""
+
+ def initialize (self):
+ """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
+ global initialised
+ global latex_access
+ if not initialised:# is the latex_access com object created yet?
+ latex_access = CreateObject ("latex_access")
+ initialised = True
+
+ def script_speakTranslation (self, gesture):
+ # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
+ # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
+ # between the translation and the default behaviour. I will fix this later on.
+
+ global latex_access
+
+ # get the current line:
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+ currentLine = latex_access.speech(currentLine)
+ speech.speakMessage (currentLine)
+
+ script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
+
+ def script_brailleTranslation (self, gesture):
+ # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
+
+ global latex_access
+
+ # get the current line:
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+ currentLine = latex_access.nemeth(currentLine)
+ braille.handler.message (currentLine)
+
+ script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
+
+ # For the key bindings:
+ __gestures = {
+ "kb:NVDA+alt+s": "speakTranslation",
+ "kb:NVDA+alt+b": "brailleTranslation"
+ }
\ No newline at end of file
Deleted: nvda/latex_access_GlobalPlugin.py
===================================================================
--- nvda/latex_access_GlobalPlugin.py 2011-01-17 03:01:37 UTC (rev 183)
+++ nvda/latex_access_GlobalPlugin.py 2011-01-17 04:10:19 UTC (rev 184)
@@ -1,85 +0,0 @@
-# latex_access.py
-# A part of the latex-access project at http://latex-access.sourceforge.net/
-# Author: Nathaniel Schmidt <nat...@we...>
-# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
-#
-# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
-# either version 2 of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with this program; if not, visit <http://www.gnu.org/licenses>
-
-"""A global plugin for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
-
-Features:
- * Translating lines of LaTeX into nemeth braille and speech: under development.
- * matrix browser for reading larger matrices: not completed.
- * The preprocessor (support for custom defined LaTeX commands): not completed."""
-
-from comtypes.client import *
-
-import api
-import braille, speech# for brailling/speaking messages in NVDA
-import globalPluginHandler
-import textInfos# to get information such as the current line.
-
-### Global variables:
-### I know this is probably not the best way to do this, but I wasn't sure exactly how to successfully do it another way and keep the values of the variables
-### the same throughout classes and other functions.
-initialised = False
-processMaths = False
-latex_access = None
-matrix = None
-row = None
-column = None
-### End of global variable declarations
-
-class GlobalPlugin (globalPluginHandler.GlobalPlugin):
- """main class for the global plugin, in which all key bindings and NVDA events are handled."""
-
- def initialize (self):
- """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
- global initialised
- global latex_access
- if not initialised:# is the latex_access com object created yet?
- latex_access = CreateObject ("latex_access")
- initialised = True
-
- def script_speakTranslation (self, gesture):
- # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
- # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
- # between the translation and the default behaviour. I will fix this later on.
-
- global latex_access
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.speech(currentLine)
- speech.speakMessage (currentLine)
-
- script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
-
- def script_brailleTranslation (self, gesture):
- # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
-
- global latex_access
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.nemeth(currentLine)
- braille.handler.message (currentLine)
-
- script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
-
- # For the key bindings:
- __gestures = {
- "kb:NVDA+alt+s": "speakTranslation",
- "kb:NVDA+alt+b": "brailleTranslation"
- }
\ No newline at end of file
Modified: nvda/toto.txt
===================================================================
--- nvda/toto.txt 2011-01-17 03:01:37 UTC (rev 183)
+++ nvda/toto.txt 2011-01-17 04:10:19 UTC (rev 184)
@@ -1,8 +1,11 @@
This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
* Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find.
+
* Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the ussue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
+
* Add support for the preprocessor - To be done.
- Make a GUI perhaps with wxPython for the preprocessor: To be done.
+
* Add support for the matrix - To be done.
* Translate lines of LaTeX into nemeth braille and speech: Under development.
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-17 03:01:44
|
Revision: 183
http://latex-access.svn.sourceforge.net/latex-access/?rev=183&view=rev
Author: nschmidt19
Date: 2011-01-17 03:01:37 +0000 (Mon, 17 Jan 2011)
Log Message:
-----------
Removed latex_access_AppModule.py as it is no longer needed.
I also found the fix for most problems from before. I am not supposed to make a constructor, but overide the initialize function so everything should work fine now!
Modified Paths:
--------------
nvda/latex_access_GlobalPlugin.py
Removed Paths:
-------------
nvda/latex_access_AppModule.py
Deleted: nvda/latex_access_AppModule.py
===================================================================
--- nvda/latex_access_AppModule.py 2011-01-16 03:36:46 UTC (rev 182)
+++ nvda/latex_access_AppModule.py 2011-01-17 03:01:37 UTC (rev 183)
@@ -1,86 +0,0 @@
-# latex_access_AppModule.py
-# A part of the latex-access project at http://latex-access.sourceforge.net/
-# Author: Nathaniel Schmidt <nat...@we...>
-# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
-#
-# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
-# either version 2 of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with this program; if not, visit <http://www.gnu.org/licenses>
-
-"""An AppModule for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
-
-Features:
-* Translating lines of LaTeX into nemeth braille and speech: under development.
-* matrix browser for reading larger matrices: not completed.
-* The preprocessor (support for custom defined LaTeX commands): not completed."""
-
-from comtypes.client import *
-
-import api
-import braille, speech# for brailling/speaking messages in NVDA
-import appModuleHandler
-import textInfos# to get information such as the current line.
-
-### Global variables:
-### I know this is probably not the best way to do this, but I wasn't sure exactly how to successfully do it another way and keep the values of the variables
-### the same throughout classes and other functions.
-initialised = False
-processMaths = False
-latex_access = None
-matrix = None
-row = None
-column = None
-### End of global variable declarations
-
-class AppModule (appModuleHandler.AppModule):
- """main class for the latex-access AppModule, in which all key bindings and NVDA events are handled."""
-
- def __init__ (self):
- """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
- global initialised
- global latex_access
- appModuleHandler.AppModule.__init__(self,processID,appName="notepad"):
- if not initialised:# is the latex_access com object created yet?
- latex_access = CreateObject ("latex_access")
- initialised = True
-
- def script_speakTranslation (self, gesture):
- # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
- # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
- # between the translation and the default behaviour. I will fix this later on.
-
- global latex_access
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.speech(currentLine)
- speech.speakMessage (currentLine)
-
- script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
-
- def script_brailleTranslation (self, gesture):
- # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
-
- global latex_access
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.nemeth(currentLine)
- braille.handler.message (currentLine)
-
- script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
-
- # For the key bindings:
- __gestures = {
- "kb:NVDA+alt+s": "speakTranslation",
- "kb:NVDA+alt+b": "brailleTranslation"
- }
\ No newline at end of file
Modified: nvda/latex_access_GlobalPlugin.py
===================================================================
--- nvda/latex_access_GlobalPlugin.py 2011-01-16 03:36:46 UTC (rev 182)
+++ nvda/latex_access_GlobalPlugin.py 2011-01-17 03:01:37 UTC (rev 183)
@@ -15,9 +15,9 @@
"""A global plugin for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
Features:
-* Translating lines of LaTeX into nemeth braille and speech: under development.
-* matrix browser for reading larger matrices: not completed.
-* The preprocessor (support for custom defined LaTeX commands): not completed."""
+ * Translating lines of LaTeX into nemeth braille and speech: under development.
+ * matrix browser for reading larger matrices: not completed.
+ * The preprocessor (support for custom defined LaTeX commands): not completed."""
from comtypes.client import *
@@ -40,7 +40,7 @@
class GlobalPlugin (globalPluginHandler.GlobalPlugin):
"""main class for the global plugin, in which all key bindings and NVDA events are handled."""
- def __init__ (self):
+ def initialize (self):
"""Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
global initialised
global latex_access
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-16 03:36:52
|
Revision: 182
http://latex-access.svn.sourceforge.net/latex-access/?rev=182&view=rev
Author: nschmidt19
Date: 2011-01-16 03:36:46 +0000 (Sun, 16 Jan 2011)
Log Message:
-----------
renamed latex_access.py to latex_access_GlobalPlugin.py for now because we have the globalPlugin and the appModule as well.
Added Paths:
-----------
nvda/latex_access_GlobalPlugin.py
Removed Paths:
-------------
nvda/latex_access.py
Deleted: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-09 06:27:07 UTC (rev 181)
+++ nvda/latex_access.py 2011-01-16 03:36:46 UTC (rev 182)
@@ -1,85 +0,0 @@
-# latex_access.py
-# A part of the latex-access project at http://latex-access.sourceforge.net/
-# Author: Nathaniel Schmidt <nat...@we...>
-# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
-#
-# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
-# either version 2 of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with this program; if not, visit <http://www.gnu.org/licenses>
-
-"""A global plugin for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
-
-Features:
-* Translating lines of LaTeX into nemeth braille and speech: under development.
-* matrix browser for reading larger matrices: not completed.
-* The preprocessor (support for custom defined LaTeX commands): not completed."""
-
-from comtypes.client import *
-
-import api
-import braille, speech# for brailling/speaking messages in NVDA
-import globalPluginHandler
-import textInfos# to get information such as the current line.
-
-### Global variables:
-### I know this is probably not the best way to do this, but I wasn't sure exactly how to successfully do it another way and keep the values of the variables
-### the same throughout classes and other functions.
-initialised = False
-processMaths = False
-latex_access = None
-matrix = None
-row = None
-column = None
-### End of global variable declarations
-
-class GlobalPlugin (globalPluginHandler.GlobalPlugin):
- """main class for the global plugin, in which all key bindings and NVDA events are handled."""
-
- def __init__ (self):
- """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
- global initialised
- global latex_access
- if not initialised:# is the latex_access com object created yet?
- latex_access = CreateObject ("latex_access")
- initialised = True
-
- def script_speakTranslation (self, gesture):
- # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
- # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
- # between the translation and the default behaviour. I will fix this later on.
-
- global latex_access
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.speech(currentLine)
- speech.speakMessage (currentLine)
-
- script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
-
- def script_brailleTranslation (self, gesture):
- # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
-
- global latex_access
-
- # get the current line:
- info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
- info.expand(textInfos.UNIT_LINE)
- currentLine = info.text
- currentLine = latex_access.nemeth(currentLine)
- braille.handler.message (currentLine)
-
- script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
-
- # For the key bindings:
- __gestures = {
- "kb:NVDA+alt+s": "speakTranslation",
- "kb:NVDA+alt+b": "brailleTranslation"
- }
\ No newline at end of file
Copied: nvda/latex_access_GlobalPlugin.py (from rev 181, nvda/latex_access.py)
===================================================================
--- nvda/latex_access_GlobalPlugin.py (rev 0)
+++ nvda/latex_access_GlobalPlugin.py 2011-01-16 03:36:46 UTC (rev 182)
@@ -0,0 +1,85 @@
+# latex_access.py
+# A part of the latex-access project at http://latex-access.sourceforge.net/
+# Author: Nathaniel Schmidt <nat...@we...>
+# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
+#
+# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
+# either version 2 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with this program; if not, visit <http://www.gnu.org/licenses>
+
+"""A global plugin for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
+
+Features:
+* Translating lines of LaTeX into nemeth braille and speech: under development.
+* matrix browser for reading larger matrices: not completed.
+* The preprocessor (support for custom defined LaTeX commands): not completed."""
+
+from comtypes.client import *
+
+import api
+import braille, speech# for brailling/speaking messages in NVDA
+import globalPluginHandler
+import textInfos# to get information such as the current line.
+
+### Global variables:
+### I know this is probably not the best way to do this, but I wasn't sure exactly how to successfully do it another way and keep the values of the variables
+### the same throughout classes and other functions.
+initialised = False
+processMaths = False
+latex_access = None
+matrix = None
+row = None
+column = None
+### End of global variable declarations
+
+class GlobalPlugin (globalPluginHandler.GlobalPlugin):
+ """main class for the global plugin, in which all key bindings and NVDA events are handled."""
+
+ def __init__ (self):
+ """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
+ global initialised
+ global latex_access
+ if not initialised:# is the latex_access com object created yet?
+ latex_access = CreateObject ("latex_access")
+ initialised = True
+
+ def script_speakTranslation (self, gesture):
+ # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
+ # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
+ # between the translation and the default behaviour. I will fix this later on.
+
+ global latex_access
+
+ # get the current line:
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+ currentLine = latex_access.speech(currentLine)
+ speech.speakMessage (currentLine)
+
+ script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
+
+ def script_brailleTranslation (self, gesture):
+ # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
+
+ global latex_access
+
+ # get the current line:
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+ currentLine = latex_access.nemeth(currentLine)
+ braille.handler.message (currentLine)
+
+ script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
+
+ # For the key bindings:
+ __gestures = {
+ "kb:NVDA+alt+s": "speakTranslation",
+ "kb:NVDA+alt+b": "brailleTranslation"
+ }
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Alastair I. <ala...@sj...> - 2011-01-09 12:04:07
|
No, I don't think so. I've just aproved your sourceforge address to post to the list so it should work in future. Alastair On 09/01/2011 05:38, Nathaniel Schmidt wrote: > Hi, > > Would it be possible to make the commits to svn be emailed from our real > emails instead of our sourceforge ones? I keep getting a bounceback > saying I have to wait for moderated approval. > > Thanks, > > Nathaniel > |
|
From: <nsc...@us...> - 2011-01-09 06:27:13
|
Revision: 181
http://latex-access.svn.sourceforge.net/latex-access/?rev=181&view=rev
Author: nschmidt19
Date: 2011-01-09 06:27:07 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
Extended AppModule.__init__ to try to fix the error I was getting. Now I get an import error saying that there is no module named notepad, even though it appears to recognise that fact that there is an AppModule called notepad. Very strange. If anyone has a way of fixing this it would be great! But I think it's progress, even if it's slow progress. At least there are not any com errors like before. A lot of these problems seem to be with nvda, so I am finding it hard to tell if I am doing anything wrong or not.
(sorry for the long commit message)
Modified Paths:
--------------
nvda/latex_access_AppModule.py
Modified: nvda/latex_access_AppModule.py
===================================================================
--- nvda/latex_access_AppModule.py 2011-01-09 06:00:56 UTC (rev 180)
+++ nvda/latex_access_AppModule.py 2011-01-09 06:27:07 UTC (rev 181)
@@ -44,6 +44,7 @@
"""Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
global initialised
global latex_access
+ appModuleHandler.AppModule.__init__(self,processID,appName="notepad"):
if not initialised:# is the latex_access com object created yet?
latex_access = CreateObject ("latex_access")
initialised = True
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-09 06:01:03
|
Revision: 180
http://latex-access.svn.sourceforge.net/latex-access/?rev=180&view=rev
Author: nschmidt19
Date: 2011-01-09 06:00:56 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
Added an AppModule to contain similar code to the Global plugin, the only difference being that the code only works when a certain application is loaded. Since I haven't made a readme file yet, instructions are below (sorry for spelling mistakes, I am doing this very quickly):
1. Copy latex_access_AppModule.py to either NVDA directory\userConfig\appModules if running a portable archive/running from source, or AppData\NvDA\appModules.
2. Rename the module to the exicutable name of your favourite editor, e.g. notepad.exe would be notepad.py.
3. run NVDa, and run notepad. See what happens, and let me know of any errors you get. I know I should test this before commiting, and normally I would, but like I wrote in nvda/bugs.txt, different people are getting different errors so I need other people to test the module.
Modified Paths:
--------------
nvda/latex_access.py
readme.txt
Added Paths:
-----------
nvda/latex_access_AppModule.py
Modified: nvda/latex_access.py
===================================================================
--- nvda/latex_access.py 2011-01-09 05:35:11 UTC (rev 179)
+++ nvda/latex_access.py 2011-01-09 06:00:56 UTC (rev 180)
@@ -1,4 +1,4 @@
-# latex-access.py
+# latex_access.py
# A part of the latex-access project at http://latex-access.sourceforge.net/
# Author: Nathaniel Schmidt <nat...@we...>
# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
Added: nvda/latex_access_AppModule.py
===================================================================
--- nvda/latex_access_AppModule.py (rev 0)
+++ nvda/latex_access_AppModule.py 2011-01-09 06:00:56 UTC (rev 180)
@@ -0,0 +1,85 @@
+# latex_access_AppModule.py
+# A part of the latex-access project at http://latex-access.sourceforge.net/
+# Author: Nathaniel Schmidt <nat...@we...>
+# Copyright (C) 2011 Nathaniel Schmidt/latex-access Contributors
+#
+# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
+# either version 2 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with this program; if not, visit <http://www.gnu.org/licenses>
+
+"""An AppModule for NVDA to provide optional translations of LaTeX math into nemeth braille and speech that is easier to understand, by way of latex-access. See readme.txt for more information.
+
+Features:
+* Translating lines of LaTeX into nemeth braille and speech: under development.
+* matrix browser for reading larger matrices: not completed.
+* The preprocessor (support for custom defined LaTeX commands): not completed."""
+
+from comtypes.client import *
+
+import api
+import braille, speech# for brailling/speaking messages in NVDA
+import appModuleHandler
+import textInfos# to get information such as the current line.
+
+### Global variables:
+### I know this is probably not the best way to do this, but I wasn't sure exactly how to successfully do it another way and keep the values of the variables
+### the same throughout classes and other functions.
+initialised = False
+processMaths = False
+latex_access = None
+matrix = None
+row = None
+column = None
+### End of global variable declarations
+
+class AppModule (appModuleHandler.AppModule):
+ """main class for the latex-access AppModule, in which all key bindings and NVDA events are handled."""
+
+ def __init__ (self):
+ """Constructor. Here we initialise what we need: we use the initialised global variable, and we create the latex_access com object. We interface with the matrix later."""
+ global initialised
+ global latex_access
+ if not initialised:# is the latex_access com object created yet?
+ latex_access = CreateObject ("latex_access")
+ initialised = True
+
+ def script_speakTranslation (self, gesture):
+ # This should really be an event and not a script, but because of certain limitations at the moment with NVDA events and a problem with brailling messages,
+ # we only press a keystroke to provide the translation of the current line instead of updating it all the time and toggling
+ # between the translation and the default behaviour. I will fix this later on.
+
+ global latex_access
+
+ # get the current line:
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+ currentLine = latex_access.speech(currentLine)
+ speech.speakMessage (currentLine)
+
+ script_speakTranslation.__doc__ = _("speaks the current line that NVDA is positioned on, but translates it first into latex_access's speech")# for input help.
+
+ def script_brailleTranslation (self, gesture):
+ # same problem here, and another one added, so for now we will do the same thing like what is in script_speakTranslation ().
+
+ global latex_access
+
+ # get the current line:
+ info = api.getFocusObject().makeTextInfo(textInfos.POSITION_CARET)
+ info.expand(textInfos.UNIT_LINE)
+ currentLine = info.text
+ currentLine = latex_access.nemeth(currentLine)
+ braille.handler.message (currentLine)
+
+ script_brailleTranslation.__doc__ = _("brailles the current line that NVDA is focussed on, but passes it through latex_access's nemeth method so as to translate the LaTeX into nemeth braille code.")
+
+ # For the key bindings:
+ __gestures = {
+ "kb:NVDA+alt+s": "speakTranslation",
+ "kb:NVDA+alt+b": "brailleTranslation"
+ }
\ No newline at end of file
Modified: readme.txt
===================================================================
--- readme.txt 2011-01-09 05:35:11 UTC (rev 179)
+++ readme.txt 2011-01-09 06:00:56 UTC (rev 180)
@@ -20,7 +20,7 @@
instead. It is hoped that cursor rooting will be implemented in the future.
The scripts also translate the current line into English speech which
- is then spoken by jaws/emacspeak.
+ is then spoken by JAWS/emacspeak/NVDA.
The Python scripts provide output in a large area of
mathematics, such as fractions, superscripts and subscripts,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Nathaniel S. <nat...@we...> - 2011-01-09 05:39:03
|
Hi, Would it be possible to make the commits to svn be emailed from our real emails instead of our sourceforge ones? I keep getting a bounceback saying I have to wait for moderated approval. Thanks, Nathaniel |
|
From: <nsc...@us...> - 2011-01-09 05:35:17
|
Revision: 179
http://latex-access.svn.sourceforge.net/latex-access/?rev=179&view=rev
Author: nschmidt19
Date: 2011-01-09 05:35:11 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
Updated toto.txt with some important information.
Modified Paths:
--------------
nvda/toto.txt
Modified: nvda/toto.txt
===================================================================
--- nvda/toto.txt 2011-01-09 04:28:23 UTC (rev 178)
+++ nvda/toto.txt 2011-01-09 05:35:11 UTC (rev 179)
@@ -1,6 +1,8 @@
This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
+ * Important! Use events instead of scripts: This is a priority, however hard to implement as certain events can be unreliable in different situations, and there is no real list of all events so they are hard to find.
+ * Add translations of braille without the message timing out after a configgored amount of time - this currently cannot be done. Suggestion: File an enhancement in the ussue tracker for a message function that will not time out, or an extra argument in the existing function for overiding the option in the ini file if this can be done. Issue: to get this done by the developers, we need good justification for the suggestion.
* Add support for the preprocessor - To be done.
- Make a GUI perhaps with wxPython for the preprocessor: To be done.
* Add support for the matrix - To be done.
- * Translate lines of LaTeX into nemeth braille and speech: Under development.
+ * Translate lines of LaTeX into nemeth braille and speech: Under development.
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <nsc...@us...> - 2011-01-09 04:28:29
|
Revision: 178
http://latex-access.svn.sourceforge.net/latex-access/?rev=178&view=rev
Author: nschmidt19
Date: 2011-01-09 04:28:23 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
As Daniel Dalton suggested, Added a bugs.txt file to trac bugs a little easier. Also added a toto.txt file to put in new feature suggestions and things to be worked on.
Added Paths:
-----------
nvda/bugs.txt
nvda/toto.txt
Added: nvda/bugs.txt
===================================================================
--- nvda/bugs.txt (rev 0)
+++ nvda/bugs.txt 2011-01-09 04:28:23 UTC (rev 178)
@@ -0,0 +1,6 @@
+The following is a list of buggs found in the latex_access GlobalPlugin for NVDA. Feel free to add more as they arise, and remove ones that are fixed.
+
+ * Strange com errors: If the global plugin is loaded by NVDA, it seems to be unable to use the latex_access com object even though it has been created. Different errors appear at different times, so I am a little confused as to what to do. Unspecified windows errors appear as well. I have found no way to fix this yet.
+
+ * KeyboardHandler errors: In recent rivisions of NVDA, when it loads the latex_access GlobalPlugin, keyboardHandler.py throwhs errors, and every single keypress gives an error. I believe this is an error more to do with NVDA rather than the latex_access.py code, so we might have to make an AppModule for now instead of a GlobalPlugin. I know this is not ideal since nothing exists yet like confignames in JAWS, but we may have no choice. ClassAttributeError keeps coming up also.
+
Added: nvda/toto.txt
===================================================================
--- nvda/toto.txt (rev 0)
+++ nvda/toto.txt 2011-01-09 04:28:23 UTC (rev 178)
@@ -0,0 +1,6 @@
+This is a toto file for the latex_access GlobalPlugin for NVDA, where new features are put to be worked on or fixed.
+
+ * Add support for the preprocessor - To be done.
+ - Make a GUI perhaps with wxPython for the preprocessor: To be done.
+ * Add support for the matrix - To be done.
+ * Translate lines of LaTeX into nemeth braille and speech: Under development.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|