bugtex4ht - Bugs: bug #425, Conflicts between babel and...

 
 
Show feedback again

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

bug #425: Conflicts between babel and new-accents

Submitted by:  ies9oa7N <saefo8ea>
Submitted on:  Wed Jun 5 16:14:49 2019  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon Aug 19 01:11:13 2019, comment #2:

committed to tl previously, closing.

Karl Berry <karl>
Project Administrator
Thu Jun 6 14:05:06 2019, comment #1:

You are right, there should be \:CheckOption{new-accents}\if:Option\else before \Configure{accent}. I've fixed this in the sources. The updated unicode.4ht file is attached.

Thanks for the report.

(file #314)

Michal Hoftich <michal_h21>
Project Member
Wed Jun 5 16:14:49 2019, original submission:

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@umlauta
> \bbl@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

ies9oa7N <saefo8ea>

 

Attached Files
file #314:  unicode.4ht added by michal_h21 (64kB - application/octet-stream)

 

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 (Updated the item)
  • -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):

     

     

    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 19 01:11:13 2019karlOpen/ClosedOpen=>Closed
    Thu Jun 6 14:05:06 2019michal_h21Attached File-=>Added unicode.4ht, #314
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray