[tex4ht] [bug #425] Conflicts between babel and new-accents

ies9oa7N eular.frank at gmail.com
Wed Jun 5 18:15:02 CEST 2019


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

                 Summary: Conflicts between babel and new-accents
                 Project: tex4ht
            Submitted by: saefo8ea
            Submitted on: mer. 05 juin 2019 19:14:49 EEST
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Dear all,

The following code fails to compile when option new-accents is enabled:

> \documentclass{article}
> 
> \usepackage{babel}
> 
> \begin{document}
> Look at $\tilde X$ and $\tilde F$.
> \end{document}

According to the message, it seems that the conflict is originated from
unicode.4ht:

> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>                 \ConfigureHinput{babel}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>     \Configure{quotedblbase}{\x:unicode{201E}}
> \Configure{quotesinglbase}{\x:unicode{201A}}
> \Configure{accent}\bbl at umlauta
>    \bbl at umlaute{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
> t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
> a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
> Y{0178}\i{00EF}%
> {}{34}}
>    {\a:accents{}{#1}}     {\b:accents{uml}{#1}{#2}}

The new-accents case is not treated specially as, say, html0.4ht:

> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>                 \ConfigureHinput{babel}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>     \Configure{quotedblbase}{\HCode{&\#132;}}
> \Configure{quotesinglbase}{\HCode{&\#130;}}
> 
> \ifx \@begindocumenthook\:UnDef\else
>    \:CheckOption{new-accents}     \if:Option \else
>       \def\:temp{russian}\ifx \languagename\:temp
>          \Configure{accent}\"\ddot{A{A}E{E}I{I}O{O}U{U}Y%
>            {Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}å{e}{}{34}}
>    {\a:accents{uml}{#1}}
>    {\def\:temp{>}\def\:tempa{#2}\ifx \:temp\:tempa\HCode{»}%
>     \else \def\:temp{<}\ifx \:temp\:tempa\HCode{«}%
>     \else \b:accents{uml}{#1}{#2}\fi\fi}
> 
>       \fi
> \fi\fi





    _______________________________________________________

Reply to this item at:

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

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


More information about the tex4ht mailing list