[liblouis-liblouisxml] Re: symbols that don't have unicode values

  • From: Neil Soiffer <soiffer@xxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 22 Apr 2020 11:07:16 -0700

Adding to what James said...

Function names such as "sin" and "tan" are letter combinations, so no
special Unicode is required. Symbols such as the arrow for a ray or a
double-ended arrow for a line are part of the huge number of arrow symbols
defined in Unicode.

As James said, Unicode does not contain code points for the 2d math
notations. There are various mark up languages to specify those outside of
Unicode such as TeX, AsciiMath, and MathML. The later is supported in
liblouisutdml. You can find more information about Unicode glyphs in
http://www.unicode.org/reports/tr25/tr25-15.pdf. In particular, section 4.2
discusses Bidirectional Layout of Mathematical Text which seems relevant to
your project.

I hope that helps some,

Neil Soiffer

On Wed, Apr 22, 2020 at 6:34 AM James Bowden <James.Bowden@xxxxxxxxxxx>
wrote:

Hi Ikrami,

I'm sure the folks from APH will be able to comment further on this:

The "problem" with maths, at least printed maths, is that it is not a
linear arrangement of symbols. In particular:
fractions, superscripts, subscripts, radicals and embellishments, mean
that symbols are printed two-dimensionally.

Of course, in braille, and in a number of electronic representations of
maths, we linearise everything. TeX and LaTeX, for example, are popular
ways to write maths for the sighted world and it is a great starting point
for translation to other forms.

So, you will generally not find Unicode characters for the structural
elements of a mathematical expression - there are some exceptions.

I believe APH used some additional "special" characters to represent these
structural elements. I do not know the full set, but you can find some of
them in the file en-ueb-math.ctb, relating to Unified English Braille.

I do not have documentation and I don't know what produces these special
structural characters. I have not studied the file to see how complete it
is.

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: 22 April 2020 14:11
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] symbols that don't have unicode values

Hi

So I am working on adding Math symbols to the Arabic tables. There are
some symbols that don't have corresponding Unicode value, specially in
Geometry, like the Ray, line segments, overlines, and the math functions
like, Tan, Cos,  Log and so on. How can I add those to my table?

Thanks




--

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

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

Other related posts: