ulyngs / oxforddown

Template for writing an Oxford University thesis in R Markdown; uses the OxThesis LaTeX template and was inspired by thesisdown.
https://ulyngs.github.io/oxforddown/
MIT License
221 stars 81 forks source link

Write thesis in latex but I wanna use oxforddown when thesis is finished ! #21

Closed aGIToz closed 3 years ago

aGIToz commented 3 years ago

Hey buddy,

Great project, thanks for this awesome work!

I have a question. I would like to write my thesis using oxforddown and generate an html version of it. But my professors would also like to work on my thesis and they are more comfortable with latex.

I would like to ask what are the possible options I have? Is it possible for me to write my thesis in a latex template and then, toward the end of my PhD, I convert everything to rmarkdown and then use oxforddown to generate html?

What is the best strategy for me ?

Kindly help.

ulyngs commented 3 years ago

Please see this chapter section

Options that come to mind:

Writing latex in the R Markdown document

  1. Use oxforddown, but instead of markdown, just write plain latex in the chapters.
  2. When your PhD thesis is finished, use pandoc to convert the latex to markdown syntax

You will probably need to clean up the converted files manually, but pandoc should get you most of the way.

Start out in R Markdown, then migrate to Latex on Overleaf

If your supervisor wants to do collaborative writing in Latex, and he's getting involved later in the process, you could

  1. start out by just doing everything in R Markdown, then output the entire thesis or the individual chapters to PDF
  2. upload the main.tex file for the entire thesis / the individual .tex files for the chapters to overleaf
  3. finish the thesis editing with your supervisor in overleaf
  4. when you are finished, again use pandoc to convert the latex to markdown syntax

Just have your supervisor learn R Markdown

Honestly, it takes like 5 minutes to understand the markdown syntax so there shouldn't be any need for your supervisor to insist on writing in latex, as he should only be interested in the content.

There is still the challenge here though that there is no good collaborative editor for R Markdown