[liblouis-liblouisxml] Re: Some Recent Concerns

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 4 Jun 2008 15:40:38 -0500

Mike, Thanks.

Jeff, Please use 4 instead of 456.

John

On Wed, Jun 04, 2008 at 01:20:13PM -0700, Mike Sivill wrote:
> Those are not the correct dot patterns. For square brackets in Nemeth they
> should be:
> Opening: dots 4, 12356
> Closing: dots 4, 23456
> In ASCII @( and @)
> 
> Mike
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Dittel
> Sent: Wednesday, June 04, 2008 12:05 PM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Some Recent Concerns
> 
> 
> John,
> 
> sorry about that.  I accidentally took  things off the list.  BTW: I am
> using C++ in VC6.  
> 
> I finally got things so it seems to be working.  I learned that if you want
> to call lbx_translateString once you can either call lbx_initialize once
> then lbx_translateString with mode = 1, or call lbx_translateString with
> mode = 0.  If you want to call lbx_translateString multiple times, you need
> to call lbx_initialize once and then lbx_translateString multiple times with
> mode = 1.  does that sound like what you would expect?  
> 
> Another question: I need to use square brackets ([), so I added the
> following line to math.sem:
> 
> mfenced mfenced,open,[ ^[,^]
> 
> This generates the following Braille for opening and closing square
> brackets:
> 
> ^_( ^_)
> 
> I just wanted to confirm this is correct Nemeth code.  
> 
> thanks for your help,
> 
> Jeff
> 
> Jeff Dittel, President
> ~~~~~~~~~~~~~~~~~~~~~~
> Britlan, Ltd.
> 516 East Birch Avenue
> Whitefish Bay, WI 53217
> jeff@xxxxxxxxxxx
> U.S. Office: (414)962-2281
> Costa Rica Office: (414)290-0574
> 
> 
> 
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> Boyer
> Sent: Sunday, June 01, 2008 11:42 AM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Some Recent Concerns
> 
> Jeff,
> 
> What are you getting when the software encounters a math element? The 
> default math tables are actually set in canonical.cfg. They are for 
> Nemeth.
> 
> Sorry you've been having so many problems. We need better quality 
> assurance to keep things like this from happening. I found some good 
> resources.
> 
> John
> 
> On Sat, May 31, 2008 at 03:43:28PM -0500, Jeff Dittel wrote:
> > 
> > John,
> > 
> > that seemed to have fixed the problem.  thanks.  
> > 
> > Did you change things such that default.cfg no longer translates to Nemeth
> > when a <math> node is encountered in an html document?  Because, it is no
> > longer translating to Nemeth for me.  
> > 
> > Jeff
> >  
> > 
> > -----Original Message-----
> > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> > Boyer
> > Sent: Friday, May 30, 2008 7:11 PM
> > To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > Subject: [liblouis-liblouisxml] Re: Some Recent Concerns
> > 
> > Jeff,
> > 
> > Bug is right. In the module readconfig.c go to line 808, which reads 
> > configPath[++k] = 0; Remove the ++ . I haven't tested this yet, so I 
> > hope it works.
> > 
> > If you could produce Windows binaries that would be great!
> > 
> > John
> > 
> > On Fri, May 30, 2008 at 04:01:55PM -0500, Jeff Dittel wrote:
> > > 
> > > John,
> > > 
> > > Maybe some day I can help you with generating the Windows binaries.  I
> > come
> > > across another problem.  I am passing in the full path to
> lbx_initialize:
> > > 
> > >
> c:\vcp\ct5000\development\ct5000\central\cd\braille\lbx_files\default.cfg
> > > 
> > > and I noticed that when the path is added to ud->path_list there is a
> "\"
> > at
> > > the end of the string.  Later in the code when the tables are attempted
> to
> > > be compiled there ends up being a double backslash just before the file
> > > name, so the file is unable to be found.  I think this is a bug?  
> > > 
> > > Thanks,
> > > 
> > > Jeff
> > > 
> > > 
> > > -----Original Message-----
> > > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> > > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> > > Boyer
> > > Sent: Friday, May 30, 2008 3:38 PM
> > > To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > > Subject: [liblouis-liblouisxml] Re: Some Recent Concerns
> > > 
> > > Jeff,
> > > 
> > > Thanks for the tips. I do want liblouis and liblouisxml to work with 
> > > Windows, since this would greatly increase the number of people using 
> > > it. I'm trying to get Windows binaries, but I have a tough time with the
> 
> > > GUI intercace on Visual Studio.
> > > 
> > > I fixed the underscore problem, but I'll have to track down the problem 
> > > with xml_header.
> > > 
> > > Hopefully, the function protypes are now adequate, so there will be no 
> > > more changes.
> > > 
> > > John
> > > 
> > > On Fri, May 30, 2008 at 01:49:21PM -0500, Jeff Dittel wrote:
> > > > 
> > > > John,
> > > > 
> > > > Thanks for at least being aware of us Windows developers with this
> > > project.
> > > > I tracked down my path problem, and it was an issue with my code.
> but,
> > a
> > > > couple of things that have come up:
> > > > 
> > > > *  LibLOUISXML.c line 46 is missing the underscore in front of
> vsnprintf
> > > to
> > > > allow compilation in Windows
> > > >   vsnprintf (buffer, sizeof (buffer - 4), msg, args);
> > > > I added it to my code.  But, could you add it to the working code on
> > your
> > > > end, so it is there for the next release?
> > > > *  I was trying to use the xml_header member variable of the UserData
> > > > structure and after one call to lbx_translateString the variable is
> > > cleared.
> > > > Is this supposed to happen?  
> > > > 
> > > > Thanks,
> > > > 
> > > > Jeff
> > > > 
> > > >  
> > > > 
> > > > -----Original Message-----
> > > > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> > > > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John
> J.
> > > > Boyer
> > > > Sent: Friday, May 30, 2008 12:12 PM
> > > > To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > > > Subject: [liblouis-liblouisxml] Some Recent Concerns
> > > > 
> > > > General: I'm learning how to run this project as we go along. In the 
> > > > future I'll be more aware of the need for testing and of portability 
> > > > concerns. I'll also be more careful not to mess things up for 
> > > > established users when new features are added.
> > > > 
> > > > For Jeff: I'll get back to you about the path probpem. Where are you 
> > > > keeping your lbx_files directory. There is a new subroutine in paths.c
> 
> > > > that will provide the name of the Program Files dioectory. If your 
> > > > lbx_files directory is there, look for the line that contains
> yourSubDir
> > 
> > > > and change it. If not, you will be able to change the path in lines
> near
> > 
> > > > this location.
> > > > 
> > > > For Eitan: Your changes look ok. I am wondering about the statement
> src 
> > > > = k; It shouldn't be necessary. If it makes a difference there may be
> a 
> > > > problem elsewhere.
> > > > 
> > > > John
> > > > 
> > > > -- 
> > > > John J. boyer; President, Chief Software Developer
> > > > JJB Software, Inc.
> > > > http://www.jjb-software.com
> > > > Madison, WI USA
> > > > Developing software for people with disabilities
> > > > 
> > > > For a description of the software and to download it go to
> > > > http://www.jjb-software.com
> > > > 
> > > > For a description of the software and to download it go to
> > > > http://www.jjb-software.com
> > > 
> > > -- 
> > > John J. boyer; President, Chief Software Developer
> > > JJB Software, Inc.
> > > http://www.jjb-software.com
> > > Madison, WI USA
> > > Developing software for people with disabilities
> > > 
> > > For a description of the software and to download it go to
> > > http://www.jjb-software.com
> > > 
> > > For a description of the software and to download it go to
> > > http://www.jjb-software.com
> > 
> > -- 
> > John J. boyer; President, Chief Software Developer
> > JJB Software, Inc.
> > http://www.jjb-software.com
> > Madison, WI USA
> > Developing software for people with disabilities
> > 
> > For a description of the software and to download it go to
> > http://www.jjb-software.com
> > 
> > For a description of the software and to download it go to
> > http://www.jjb-software.com
> 
> -- 
> John J. boyer; President, Chief Software Developer
> JJB Software, Inc.
> http://www.jjb-software.com
> Madison, WI USA
> Developing software for people with disabilities
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
John J. boyer; President, Chief Software Developer
JJB Software, Inc.
http://www.jjb-software.com
Madison, WI USA
Developing software for people with disabilities

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: