[tex4ht] [bug #548] Incomatibility with \renewcommand{\rmdefault}{ptm}?

Taichi Kato puszcza-hackers at gnu.org.ua
Sat Feb 5 07:07:54 CET 2022


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

                 Summary: Incomatibility with \renewcommand{\rmdefault}{ptm}?
                 Project: tex4ht
            Submitted by: tk2022
            Submitted on: Sat Feb  5 08:07:54 2022
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Using the following source, \textit and \it are
treated differently in the .odt result.
After conversion of the .odt file to .docx, all italics
in the reference section are converted to roman
(but not in the main text).
This apparently does not happen without
\renewcommand{\rmdefault}{ptm}

(But my full article source cannot be compiled by
make4ht if I comment out this line. No problem with
ordinary platex.  I will post this issue separately
if I can find a minimum set.)

What is wrong?

\documentclass[12pt,a4paper]{article}

\usepackage[comma,colon]{natbib}

\renewcommand{\rmdefault}{ptm}

\begin{document}

\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}





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat Feb  5 08:07:54 2022  Name: test6.odt  Size: 7kB   By: tk2022

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=491>
-------------------------------------------------------
Date: Sat Feb  5 08:07:54 2022  Name: test6.docx  Size: 8kB   By: tk2022

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=492>

    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.