[tex4ht] [bug #446] Accents are treated incorrectly

ies9oa7N eular.frank at gmail.com
Thu Dec 19 17:55:03 CET 2019


URL:
  <http://puszcza.gnu.org.ua/bugs/?446>

                 Summary: Accents are treated incorrectly
                 Project: tex4ht
            Submitted by: saefo8ea
            Submitted on: jeu. 19 déc. 2019 18:50:16 EET
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

MWE:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\begin{document}
Look at $\hat u$.
Let's see $\widehat{\mathcal F}=\hat F=\bar F=\tilde F=\overline F$.
\end{document}

Compile with tex4ebook with parameter new-accents, accent-, the accents in the
second line are rendered well. However, the accent $\hat u$ is rendered
incorrectly. I look at the code of html4.4ht, seemingly AEIOUaeiou are treated
differently than other alphabets (say F in the seond line). I guess that this
is the reason for the incorrect rendering:

   \:CheckOption{accent-}     \if:Option
  \Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
  \Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
\fi




    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?446>

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


More information about the tex4ht mailing list