Is there any way to convert my (LuaLaTex + MakeIndex + BibTex) main.tex from MikTex file to html or docx?

I've tried this https://tex.stackexchange.com/a/73092/189401 but it's not what I want.

Any help, Thanks


\documentclass[12pt, a4paper]{article}


\setmainfont{Times New Roman}



\usepackage[top=2.50cm, bottom=2.50cm, left=3.00cm, right=2.00cm]{geometry}




\fancypagestyle{plain}{ \fancyhf{} \fancyfoot[R]{\thepage} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}}





\usepackage[LGR, T1]{fontenc}



\usepackage[unicode, linktoc=all]{hyperref}









\hypersetup{colorlinks=true, linkcolor=black, urlcolor=black, citecolor=black}
















bumped to the homepage by Community 7 hours ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • there are many convertors, latexml, tex4ht, lwarp, ... but whether they work with luatex depends in some cases how much lua you are using, and you give no clues. also saying "not what you want" does not tell anyone what you do want. – David Carlisle May 21 at 12:48
  • you can also simply import the generated pdf into word and see what it does (I am told) – David Carlisle May 21 at 12:48
  • make4ht -ul filename.tex for html or make4ht -ulf odt filename.tex for ODT. You will need to configure it for makeindex and bibtex. it is impossible to say anything more without some additional inforamtion about problems you encountered and especially a code sample – michal.h21 May 21 at 13:02
  • I've tried what you said, but it says that it can't read my figures. – Dionisis Stefanopoulos May 22 at 7:09
  • I need a full example including the figure code and the error messages from the command line output. common issue may be that you don't use filename extensions in the \includegraphics command. see tex.stackexchange.com/a/213473/2891 for a fix. – michal.h21 May 22 at 7:33

Try pandoc - https://pandoc.org/

The command line should be something like this:

pandoc -s --toc my.tex -o my.html
  • It says that I haven't got titlepage, but I'm using \begin{titlepage} – Dionisis Stefanopoulos May 22 at 7:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.