Convert a Word document to LaTeX for free using Pandoc

Опубликовано: 11 Октябрь 2024
на канале: Federico Tartarini
21,041
204

Description: In this video, I will show you how to convert a Microsoft Word document to LaTeX using Pandoc, a free and open-source software. With Pandoc, you can easily transform your Word document into a LaTeX document without losing any formatting or structure. I will walk you through the installation process, show you how to convert a simple Word document to LaTeX, and discuss some of the common issues you may encounter and how to resolve them. By the end of the video, you will have the skills to convert any Word document to a LaTeX document using Pandoc.

Keywords: Pandoc, Word document, LaTeX, conversion, free, open-source, software, formatting, structure, installation, issues, resolution.

Hashtags: #Pandoc #WordToLaTeX #LaTeXConversion #FreeSoftware #OpenSource #Formatting #Structure #Installation #IssueResolution

⚠️ Join my channel to get access to perks:    / @federicotartarini  
🙏 Support my channel on Patreon at   / federicotartarini  
☕ Support my channel by buying me a coffee - https://www.buymeacoffee.com/FedericoT

✅ Let's connect:
🌍 My website - https://federicotartarini.github.io/
💻 GitHub - https://github.com/FedericoTartarini
Twitter -   / federicotartar1  
LinkedIn –   / federico-tartarini  

📝 Useful notes:

👨‍💻 Source code:
``` latex - content of the main.tex file
\documentclass[]{article}

\usepackage{graphicx}
\usepackage{booktabs, tabularx, wrapfig}
\usepackage[hidelinks]{hyperref}
\hypersetup{hidelinks}
\usepackage{xcolor}
\usepackage[normalem]{ulem}
\usepackage{multirow}
\usepackage{longtable}
% \usepackage[margin=3cm]{geometry}
\usepackage{amsmath, amssymb}
\usepackage{enumitem, array}

\begin{document}
\input{body}
\end{document}
```

``` latex - figure
\begin{figure}[h]
\centering
\includegraphics[width=\textwidth]{mountain.jpg}
\caption{Mountain}
\end{figure}
```

``` latex - table
\begin{longtable}{|p{2.8cm}|p{2.5cm}|}
```

🎥 Content of this video:
00:00 - What you will learn
01:00 - How to install Pandoc
04:50 - Convert Word to LaTeX
05:00 - Create LaTeX main file
08:30 - Fix issues