.docx), convert the source locally with Pandoc (using --citeproc for bibliographies and PNG copies of PDF figures); to export to HTML, use make4ht (included in TeX Live), LaTeXML, or Pandoc. Every LaTeX conversion is lossy for custom macros and complex layouts, so plan a short manual pass afterwards.
Set expectations first
Step 1: Prepare your source and figures
Two preparation steps prevent the most common conversion failures:- Convert PDF figures to PNG: Word cannot embed PDF images, so PDF figures included with
\includegraphicsdisappear or break in.docx. Convert them to 300 DPI PNG withpdftoppm(part of Poppler), using-singlefilesoresults.pdfbecomesresults.pngrather thanresults-1.png:
convert-figures.sh
- Use standard LaTeX markup and extensionless image paths: Leave file extensions off in
\includegraphics[width=0.45\linewidth]{figures/results}sopdflatexpicks the PDF while Pandoc picks the PNG, and expand custom formatting macros into standard commands (such as\textbf{\textit{...}}) before exporting so Pandoc does not silently drop their content.
export-ready.tex
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio
Step 2: Export to Word (.docx) with Pandoc
Pandoc is a separate command-line tool (not bundled with TeX Live) that converts LaTeX to native .docx, turning equations into editable Word math objects:
pandoc-basic.sh
Include the bibliography
Pass--citeproc and your .bib file so citations and the reference list are formatted instead of dropped. Add --csl with a Citation Style Language file from the CSL style repository (or omit --csl for Pandoc’s default author-date style):
pandoc-bibliography.sh
Match a journal .docx template
To copy fonts, heading styles, and margins from a journal’s Word template without copying its body text, pass --reference-doc:
pandoc-reference-doc.sh
Step 3: Export to HTML
Choose the HTML converter that matches how heavily your document relies on TeX macros:make4ht (included in TeX Live)
make4ht ships with TeX Live (v0.4e in TeX Live 2026) and runs your document through TeX itself, so custom macros and packages behave closely to your PDF. HTML5 with UTF-8 encoding is the default:
make4ht.sh
LaTeXML
LaTeXML is installed separately from TeX Live and produces semantic HTML with MathML (it is the converter arXiv uses for its HTML papers):latexml.sh
Pandoc
For simple manuscripts where browser-rendered math is acceptable, Pandoc produces a standalone HTML file quickly using MathJax:pandoc-html.sh
Step 4: Export your source from LaTeX Cloud Studio and check the result
Format conversion runs on your own machine, so start by getting the project files locally. In LaTeX Cloud Studio, projects can be transferred through ZIP upload/export and GitHub import, push, and pull workflows—see GitHub sync, import and export. Make sure the local copy contains your.bib file and figure folder, then run the converter from the project root so relative paths resolve:
from-project-root.sh
.docx or .html file and check:
- Every figure appears and is legible.
- Equations render as equations rather than raw
$...$. - Citations resolve to formatted references instead of empty brackets or
[?], and the reference list appears at the end. - Tables kept their columns and rows, and no section went missing from an unexpanded custom macro.
Related guides
- Inserting images
- Bibliography management with BibTeX
- Writing a research paper
- Collaboration workflow
main.tex with the complete example.