[liblouis-liblouisxml] Re: SV: testing my changes on table

  • From: James Bowden <James.Bowden@xxxxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 27 Mar 2020 14:30:57 +0000

Hi Bue,

I have no idea why my message was blank. It isn't blank in my sent items, so 
here it is again...

Hoping this is helpful.

With best regards,

James.

-----Original Message-----
From: James Bowden 
Sent: 27 March 2020 10:28
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: RE: [liblouis-liblouisxml] Re: SV: testing my changes on table

Hi Ikrami,

Speaking personally, I rarely use lou_trace, only when I need to find out what 
rules are happening.

To test tables, I use either lou_checkyaml, for the main tests, or perhaps 
lou_translate to simply try things out.
All these programs work at a command prompt. Assuming Windows, type CMD at the 
Run dialog.
Then, for simplicity, navigate to the folder with the tables, or set the 
louis_tablepath environment variable to point there. (commands are CD or SET)

Example, using UEB Grade 2 (contracted):

lou_translate en-ueb-g2.ctb

(you get a blank line)

Type some text like this.

lou_translate echoes back the braille:
,type "s text l ?4

Press Ctrl+Z to stop.

To translate from braille back to print, simply add the -b switch:

lou_translate -b en-ueb-g2.ctb

(You get a blank line again)

,type "s text ag4

(lou_translate echoes back)

Type some text again.

Again use Ctrl+Z to finish.

Lou_trace operates in exactly the same way, except now, as well as the output 
text, you also get a list of the rules which are applied. I have only found 
lou_trace helpful if I'm trying to track down a particular error. Once you have 
the list of rules, you may also have to look them up in the table, using your 
text editor as usual.

I trust this helps.

With best regards,

James.


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of ;
ikrami.ahmad@xxxxxxxxx
Sent: 27 March 2020 10:06
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: SV: testing my changes on table

James bowden's instructions on how to compile a large yaml file through excel 
is excellent as well and worth to be added to the page.
However, I honestly still need more simple instructions on how to use lu-trace. 
I am a person with zero programing or coding knowledge. I am afraid to say that 
this sounded very complicated to me. I try to copy my modified table to 
liblouis directory in NVDA and see how it behaves, forward translation works 
good, but backward translation always gives me headaches. The problem is that 
every screen reader gives different result. This is why I want to be able to 
test through liblouis itself so that I get away from the different 
implementations of screen readers.


For a description of the software, to download it and links to
project pages go to http://liblouis.org ;<http://liblouis.org
Donate: http://liblouis.org/sponsoring ;<http://liblouis.org/sponsoring


--

During these challenging times, information is vital.  In response, we are 
ramping up our support and services to ensure blind and partially sighted 
people get the help they need.  
We urge anyone in our community who needs us to call our Helpline on 0303 123 
9999 or email helpline@xxxxxxxxxxx.

Help us continue removing barriers that stop people with sight loss from living 
the lives they want to lead - visit https://www.rnib.org.uk to donate today.

--


DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended recipient you 
should not use, disclose, distribute or copy any of the content of it or of any 
attachment; you are requested to notify the sender immediately of your receipt 
of the email and then to delete it and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by its 
staff are free from viruses or other contaminants.  However, it cannot accept 
any responsibility for any  such which are transmitted.

We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and any 
attachments are those of the author and do not necessarily represent those of 
RNIB.

RNIB Registered Charity Number: 226227

Website: https://www.rnib.org.uk

Other related posts: