[liblouis-liblouisxml] Re: MathML question

  • From: "Norbert Markus" <hamilfonz@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 26 May 2017 16:44:49 +0200

Hi Bert,

The input file is an HTML containing mathml blocks.
The only occurrence of the string "InvisibleTimes" in the file is in a mathml 
block as an operator:
<mo>&InvisibleTimes;</mo>
The html file refers to a css file that I currently don't have and I don't see 
how a CSS file could influence  the interpretation/treatment of such entities 
by liblouisutdml.

A self-experimented solution is now on my behalf is that I added a line to the 
nemeth.ctb file:

noback correct "&InvisibleTimes;" ?

Is this an acceptable way to tackle such situations?

Best Regards, Norbert.

 
From: Bert Frees 
Sent: Friday, May 26, 2017 11:35 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx 
Subject: [liblouis-liblouisxml] Re: MathML question


Hi Norbert,


Is the entity declared in the input XML?



2017-05-25 0:55 GMT+02:00 Norbert Markus <hamilfonz@xxxxxxxxx>:

  Hi All,

  An HTML source file containing mathML blocks produce some unvanted sequences 
in the braille output.

  One of them is an entity:
  &InvisibleTimes;
  (This is a multiplication operator that should not be displayed.)
  Actually, the braille output contains its transcription like
  _&,invisible,times;
  (the excerpt above is given using USA braille characters)

  Can you help me find the most appropriate way to prevent this from appearing 
in the braille material?

  Another question:
  When a math line is too long in braille, liblouisutdml breaks it and puts a 
hyphen at the end of the first line. This hyphen looks exactly like a minus 
sign. Is this legal in Nemeth math code or should it be prevented from 
happening? If it should, do you know how?

  A third question:
  Does anyone happen to know the Nemeth braille representation for the product 
symbol for a product series. In TeX, it is \prod. Its hexadecimal unicode is 
\x220f.
  Syntactically it is the same as a summa but instead of adding the elements of 
the series, it multiplies them.

  In xml/html sources that I am trying to translate into Nemeth math, the 
hexadecimal character code for this symbol appears. Does liblouis already 
handle the braille representation of this symbol or should it be introduced in 
a table?

  Thanks a lot for your answers.

  Best Regards, Norbert.



Other related posts: