Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:posts:convert_a_phd_thesis_to_markdown [2024/01/31 11:15] – created Piet Swinkelsen:posts:convert_a_phd_thesis_to_markdown [2026/03/22 14:01] (current) Piet Swinkels
Line 1: Line 1:
 ====== Convert a PhD thesis to markdown ====== ====== Convert a PhD thesis to markdown ======
  
-Say, you have your own little website, which you made as a hobby. And say you wrote a [[en:blog:thesis_formatting|PhD thesis in LaTeX]]. Would it not be nice to also publish it on %%LaTeX%%? How hard can it be?+Say, you have your own little website, which you made as a hobby. And say you wrote a [[en:posts:thesis_formatting|PhD thesis in LaTeX]]. Would it not be nice to also publish it on %%LaTeX%%? How hard can it be?
  
 ======  ====== ======  ======
  
-As it turns out, not that hard actually. Because of the wonderful tool called [[https://pandoc.org/|pandoc]]. Pandoc converts many document types into other document types. And since this website is made using [[https://gohugo.io/|Hugo]], which uses markdown files, I can simply convert the %%LaTeX%% files to markdown using pandoc, and paste them into my website. +As it turns out, not that hard actually. Because of the wonderful tool called [[https://pandoc.org/|pandoc]]. Pandoc converts many document types into other document types. And since this website is made using [[https://gohugo.io/|Hugo]]((Oops, this is no longer true... [[switching_to_dokuwiki]])), which uses markdown files, I can simply convert the %%LaTeX%% files to markdown using pandoc, and paste them into my website. 
  
 There are some bumps on the road though. And I thought I would share them, just for myself, and who knows who else this might be useful for. Do note that some of the instructions below are quite Hugo-specific, so just skip those if you don't want them. There are some bumps on the road though. And I thought I would share them, just for myself, and who knows who else this might be useful for. Do note that some of the instructions below are quite Hugo-specific, so just skip those if you don't want them.