I have the following configuration file in my LaTeX source:
% !TEX encoding = UTF-8 Unicode
\documentclass[a4paper,12pt]{article}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
After generating the PDF file, I tried to convert it to Microsoft Word (.doc) format in several sites, but the one closest to the expected result was:
http://www.pdfonline.com/pdf-to-word-converter/
By doing the conversion of PDF format to doc, the final result was as follows:
Accents are not converted correctly, please correct me if I'm wrong, I believe the error of conversion was because of the utf-8 encoding that I used on my source file in latex.
Therefore, is there any package in LaTeX that facilitates the conversion of pdf file generated from LaTeX source for doc format without disturbing accent?
\usepackage[LY1]{fontenc}
which is closer to latin1 than the T1 encoding. (The input encoding has no affect on the output pdf)make4ht -f odt filename.tex
. The ODT file can be then converted to Word by LibreOffice.