bugtex4ht - 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 <saefo8ea>
Submitted on:  Thu 19 Dec 2019 06:50:16 PM EET  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 14 Feb 2020 04:41:29 PM EET, 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>
Project Member
Thu 19 Dec 2019 06:50:16 PM EET, 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 michal_h21 (Posted a comment)
  • -unavailable- added by saefo8ea (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray