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

Integrating my University logo to oxforddown project #23

Closed zavud closed 3 years ago

zavud commented 3 years ago

I am trying to integrate my own University logo changing university-logo: templates/beltcrest.pdf to university-logo: templates/my_uni_logo.png. But it gives me an error:

output file: _main.knit.md

! Missing endcsname inserted.
<to be read again> 
                   protect 
l.232 

Error: LaTeX failed to compile _main.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See _main.log for more info.
Execution halted

I am doubting that it only accepts images in pdf format? Is there a way to use a png logo? If so, is it still recommended to use a pdf format?

zavud commented 3 years ago

Problem was the underscore "_". My bad! :)