bugtex4ht - Bugs: bug #550, Incompatibility with babel?

 
 
Show feedback again

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

bug #550: Incompatibility with babel?

Submitted by:  Taichi Kato <tk2022>
Submitted on:  Mon Feb 7 00:41:20 2022  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed Feb 23 09:05:45 2022, comment #4:

I hope we can close this issue now, as updates should be included in TeX Live.

Michal Hoftich <michal_h21>
Project Member
Tue Feb 8 10:29:45 2022, comment #3:

Yes, I think it does. With updated TeX4ht, as you need the corrected font tables.

Michal Hoftich <michal_h21>
Project Member
Tue Feb 8 00:13:16 2022, comment #2:

Thank you. I have confirmed that sample.odt produced
the desired .docx output.

I provide a more complex example. Could you confirm
that the latest make4ht gives the correct result?

%%%
\documentclass[12pt,a4paper]{article}

\usepackage[comma,colon]{natbib}

\usepackage[OT2,T1]{fontenc}
\usepackage[english,russian]{babel}

\begin{document}

\selectlanguage{english}

\textit{test italic} \& {\it test italic}

\begin{thebibliography}{}

\bibitem[{Bragin}(2003)]{bra03kustanai}
{Bragin}, E.~A. (2003) \selectlanguage{russian}
{Ornitologi{ch}eskie issledovani{ya} v Kustana{i0}sko{i0} oblasti
v 2003 godu }\selectlanguage{english}{{Ornithological} research in
{Kustanai} region in 2003}. {\it Kazakhstan Ornithol. Bull.\,} 2: 41-46 (in
Russian.)

\bibitem[{Ryabitsev}(2008)]{rya08uralbirds}
{Ryabitsev}, V.~K. (2008) \textit{\selectlanguage{russian}
{Pti{ts}y Urala, Priural{p1}{ya} i Zapadno{i0} Sibiri }
\selectlanguage{english}{The birds of the Urals, Ural Upland and Western
Siberia}.} Yekaterinburg: Ural Univ. Publishing House
(in Russian.)

\bibitem[{Alekseenko}(2016)]{ale16baikalraptorphd}
{Alekseenko}, M.~N. (2016) \textit{Ecological aspects of fall migration of
raptors in south Baikal migration corridor.} PhD Thesis, Bratsk State Univ.,
Bratsk (in Russian.)

\bibitem[{Antonov}(2020)]{ant20middleamur}
{Antonov}, A.~I. (2020) Expansion of new bird species in the {Middle Amur}
region at the end of the 20th century: the role of climatic changes. {\it
Rus. J. Ornithol.} 29: 4819-4827 (in Russian.)

\end{thebibliography}

\end{document}

Taichi Kato <tk2022>
Mon Feb 7 20:55:22 2022, comment #1:

I hope this was fixed with the latest make4ht update too. See the sample.odt file.

(file #497)

Michal Hoftich <michal_h21>
Project Member
Mon Feb 7 00:41:20 2022, original submission:

The following source gives different results for \textit
and \it in .odt. After conversion from .odt to .docx,
all italics in the reference part are converted to roman.

%%%
\documentclass[12pt,a4paper]{article}

\usepackage[comma,colon]{natbib}

\usepackage[OT2,T1]{fontenc}
\usepackage[english,russian]{babel}

\begin{document}

\selectlanguage{english}

\textit{test italic} \& {\it test italic}

\begin{thebibliography}{}

\bibitem[{Alekseenko}(2016)]{ale16baikalraptorphd}
{Alekseenko}, M.~N. (2016) \textit{Ecological aspects of fall migration of
raptors in south Baikal migration corridor.} PhD Thesis, Bratsk State Univ.,
Bratsk (in Russian.)

\bibitem[{Antonov}(2020)]{ant20middleamur}
{Antonov}, A.~I. (2020) Expansion of new bird species in the {Middle Amur}
region at the end of the 20th century: the role of climatic changes. {\it
Rus. J. Ornithol.} 29: 4819-4827 (in Russian.)

\end{thebibliography}

\end{document}

Taichi Kato <tk2022>

 

Attached Files
file #497:  sample.odt added by michal_h21 (7kB - application/vnd.oasis.opendocument.text)
file #494:  test6.odt added by tk2022 (7kB - application/vnd.oasis.opendocument.text)
file #495:  test6.docx added by tk2022 (8kB - application/vnd.openxmlformats-officedocument.wordprocessingml.document)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Updated the item)
  • -unavailable- added by tk2022 (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):

     

     

    4 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Feb 23 09:05:44 2022michal_h21Open/ClosedOpen=>Closed
    Mon Feb 7 20:55:22 2022michal_h21Attached File-=>Added sample.odt, #497
    Mon Feb 7 00:41:20 2022tk2022Attached File-=>Added test6.odt, #494
      Attached File-=>Added test6.docx, #495
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray