bugtex4ht - Bugs: bug #548, Incomatibility with...

 
 
Show feedback again

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

bug #548: Incomatibility with \renewcommand{\rmdefault}{ptm}?

Submitted by:  Taichi Kato <tk2022>
Submitted on:  Sat Feb 5 06:07:54 2022  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed Feb 23 09:06:33 2022, comment #2:

The updated Make4ht with support for problematic fonts is not in TeX Live.

Michal Hoftich <michal_h21>
Project Member
Mon Feb 7 16:46:01 2022, comment #1:

It seems that some fonts are not supported correctly. It seems that TeX4ht cannot detect correctly font size. I've fixed that in the development version of make4ht. At least for your test file.

Michal Hoftich <michal_h21>
Project Member
Sat Feb 5 06:07:54 2022, original submission:

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}

Taichi Kato <tk2022>

 

Attached Files
file #491:  test6.odt added by tk2022 (7kB - application/vnd.oasis.opendocument.text)
file #492:  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 (Posted a comment)
  • -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):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Feb 23 09:06:33 2022michal_h21Open/ClosedOpen=>Closed
    Sat Feb 5 06:07:54 2022tk2022Attached File-=>Added test6.odt, #491
      Attached File-=>Added test6.docx, #492
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray