## tex4ht - Bugs: bug #446, Accents are treated incorrectly

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

## bug #446: Accents are treated incorrectly

 Submitted by: ies9oa7N Submitted on: Thu Dec 19 16:50:16 2019 Category: None Priority: 5 - Normal Severity: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Closed

Mon Jun 29 22:25:59 2020, comment #2:

think there is nothing more to do here, closing.

Karl Berry <karl>
Fri Feb 14 14:41:29 2020, comment #1:

It I understand it correctly, the letters that are listed in the argument after accent type are ignored. So pictures are created for all F characters, but not for \hat u. I don't know why there are ignored characters just for some accents, but these ignored characters obviously aren't handled correctly, so I've just removed them from the sources.

Thanks for the report and sorry for a late reply.

Michal Hoftich <michal_h21>
Thu Dec 19 16:50:16 2019, original submission:

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

ies9oa7N <saefo8ea>

No files currently attached

Depends on the following items: None found

Items that depend on this one: None found

Carbon-Copy List
• -unavailable- added by karl (Posted a comment)
• -unavailable- added by michal_h21 (Posted a comment)
• -unavailable- added by saefo8ea (Submitted the item)
•

Do you think this task is very important?
This task has 0 encouragements so far.

Only logged-in users can vote.

Please enter the title of George Orwell's famous dystopian book (it's a date):

1 latest change follows.

Date Changed By Updated Field Previous Value => Replaced By
Mon Jun 29 22:25:59 2020karlOpen/ClosedOpenClosed
Show feedback again