[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2020-07-26 Thread Michal Hoftich
Follow-up Comment #4, bug #236 (project tex4ht):

Yes, it seems correct. Thanks, Karl. Newtx seems like a huge project. 

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2020-07-26 Thread Karl Berry
Follow-up Comment #3, bug #236 (project tex4ht):

I installed the new htf files in TL. There were a ton. Hope that was the right
thing to do.

alias/LibertineMath
alias/NewTXMath
alias/TeXGyreTermes
alias/TeXGyreTermesX
alias/XCharterMath
alias/coch
alias/erew
alias/ntxsups
alias/ntxtm
alias/t1xbtt
alias/t1xbttsc
alias/t1xtt
alias/t1xttsc
alias/tcxbtt
alias/txbexas
alias/txbmiaX
alias/txbsyb
alias/txbsyc
alias/txbsys
alias/txbtt
alias/txbttsc
alias/txfonts/pxbsyc.htf
alias/txmiaX
alias/txsys
alias/txtt
alias/txttsc
unicode/Baskervaldx
unicode/LibertineMath
unicode/MinLib
unicode/NCXFourierMath
unicode/NewTXMath
unicode/Nimbus_Roman_No9_L
unicode/TeXGyreTermes
unicode/TeXGyreTermesX
unicode/coch
unicode/ebg
unicode/erewMath
unicode/ntxsups
unicode/ntxtm
unicode/stickstooMath
unicode/stxickstooMath
unicode/t1xtt
unicode/tcxtt
unicode/txbexs
unicode/txbmiaX
unicode/txbsys
unicode/txexas
unicode/txexs
unicode/txmiaX
unicode/txsyb
unicode/txsyc
unicode/txsys
unicode/txtt


___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2020-07-25 Thread Michal Hoftich
Update of bug #236 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #2:

In the end, I've identified all those glyphs, so Newtx fonts are now
supported. The HTF files were generated automatically, so I hope that
everything is correct.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



Re: [tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2020-07-25 Thread Michal Hoftich
Hi Wojtek,

nice to hear from you :) I understand it now, it is "rohaté o" in
Czech. I've found that it uses private unicode area in Latin Modern
fonts. It probably doesn't have standard Unicode mapping.

Here: https://en.wikipedia.org/wiki/%C3%98_(disambiguation) I found
some alternatives, in particular:

https://en.wikipedia.org/wiki/Voiceless_bilabial_fricative
https://en.wikipedia.org/wiki/Phi

But maybe it is best to just use "o" and "O"? Is this letter used much?

Best regards from cloudy and warm Prague :)

On Sat, Jul 25, 2020 at 1:05 PM Wojciech Myszka
 wrote:
>
> Orogate (also orogate) is taken from polish rogate o (which means letter o 
> with horns).
>
> Still do not known if the letter has unicode equivalent, but probably can (or 
> can not) be found in TeX-Gyre fonts: 
> http://www.gust.org.pl/projects/e-foundry/tex-gyre/cursor/qcr-hist.txt/view
>
> Regards from cold and rainy Baltic beach
> Wojtek



Re: [tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2020-07-25 Thread Wojciech Myszka
Orogate (also orogate) is taken from polish rogate o (which means letter o
with horns).

Still do not known if the letter has unicode equivalent, but probably can
(or can not) be found in TeX-Gyre fonts:
http://www.gust.org.pl/projects/e-foundry/tex-gyre/cursor/qcr-hist.txt/view

Regards from cold and rainy Baltic beach
Wojtek

sob., 25 lip 2020, 00:30 użytkownik Michal Hoftich <
puszcza-hack...@gnu.org.ua> napisał:

> Follow-up Comment #1, bug #236 (project tex4ht):
>
> OK, I am working on this question for more than five year now. Some details
> can be found in my answer on TeX.sx:
> https://tex.stackexchange.com/a/460843/2891
>
> Thanks to Michael Sharpe's talk at TUG, I learned about existence of the
> glyphtounicode-ntx.tex file. It contains mapping of glyphs from Newtx
> fonts to
> Unicode. I am now able to generate .htf files where only relatively small
> number of glyphs doesn't have the correct mapping to Unicode. Here is the
> list:
>
> aciiacutedbl
> asciiacute
> asciibreve
> asciicaron
> asciidieresis
> asciigrave
> asciigravedbl
> asciimacron
> circledP
> cwmascender
> cwmcapital
> guillbracketleft
> guillbracketright
> hyphendblchar
> newtieaccentcapital
> newtieaccentlowercase
> openbracketleft
> openbracketright
> orogate
> Orogate
>
> I found visual appearance of some of these in this file:
> http://texdoc.net/texmf-dist/doc/fonts/lm/lm-info.pdf
>
> Some of them, like cwmcapital clearly doesn't have any visual appearance.
> Others like orogate, are some esoteric characters, that I haven't ever
> seen. I
> do not know if they have any corresponding Unicode character.
>
> If anyone know about Unicode mapping for any of these, I will be more then
> happy to add them to the HTF files. I hope to add them to TeX4ht sources
> soon.
>
> ___
>
> Reply to this item at:
>
>   
>
> ___
>   Message sent via/by Puszcza
>   http://puszcza.gnu.org.ua/
>
>


[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2020-07-24 Thread Michal Hoftich
Follow-up Comment #1, bug #236 (project tex4ht):

OK, I am working on this question for more than five year now. Some details
can be found in my answer on TeX.sx:
https://tex.stackexchange.com/a/460843/2891

Thanks to Michael Sharpe's talk at TUG, I learned about existence of the
glyphtounicode-ntx.tex file. It contains mapping of glyphs from Newtx fonts to
Unicode. I am now able to generate .htf files where only relatively small
number of glyphs doesn't have the correct mapping to Unicode. Here is the
list:

aciiacutedbl
asciiacute
asciibreve
asciicaron
asciidieresis
asciigrave
asciigravedbl
asciimacron
circledP
cwmascender
cwmcapital
guillbracketleft
guillbracketright
hyphendblchar
newtieaccentcapital
newtieaccentlowercase
openbracketleft
openbracketright
orogate
Orogate

I found visual appearance of some of these in this file:
http://texdoc.net/texmf-dist/doc/fonts/lm/lm-info.pdf

Some of them, like cwmcapital clearly doesn't have any visual appearance.
Others like orogate, are some esoteric characters, that I haven't ever seen. I
do not know if they have any corresponding Unicode character. 

If anyone know about Unicode mapping for any of these, I will be more then
happy to add them to the HTF files. I hope to add them to TeX4ht sources soon.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

2015-01-06 Thread Nasser M. Abbasi
URL:
  

 Summary: using {newtxtext,newtxmath} packages breaks MathML
generation in tex4ht
 Project: tex4ht
Submitted by: nma123
Submitted on: Tue 06 Jan 2015 09:51:32 PM EET
Category: None
Priority: 5 - Normal
Severity: 3 - Minor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

There is a work around for this, but adding it here for tracking just in
case.

I found when adding the line \usepackage{newtxtext,newtxmath} breaks mathml
generated by tex4ht and hence the math looks bad when viewed in the browser.
It seems to be a font issue.

\documentclass[10pt,notitlepage]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{newtxtext,newtxmath}
\usepackage{etex}
\begin{document}
\[
  \int \sin(x) \, dx
\]
\end{document}

compiling as

htlatex foo.tex "nma.cfg,charset=utf-8" " -cunihtf -utf8"

Produces invalid HTML. Please see

http://tex.stackexchange.com/questions/220555/why-using-newtxtext-newtxmath-packages-breaks-mathml-generation-in-tex4ht

Work around is not to use \usepackage{newtxtext,newtxmath} when compiling with
tex4ht if target is mathml.






___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/