GithubHelp home page GithubHelp logo

Comments (8)

zadrafi avatar zadrafi commented on June 15, 2024

Same issue

from vitae.

mitchelloharawild avatar mitchelloharawild commented on June 15, 2024

I can't reproduce this error, and I have pandoc version 2.19.2.

from vitae.

fgardavaud avatar fgardavaud commented on June 15, 2024

Hi @mitchelloharawild, @loreabad6,
I analyze a bit more this bug.
If I compile my .Rmd document with RStudio 2022.07.1+554 "Spotted Wakerobin" Release for macOS it works !
In this release, pandoc version = 2.18
But with the same Rstudio version, if I install pandoc with for instance brew (so the last version of pandoc), the compilation will crash as Rstudio take the newer version of pandoc in the system.
So, I definitively think there is a problem with pandoc.
I make another test with the next version of Rstudio (RStudio 2022.07.2+576 "Spotted Wakerobin" Release for macOS) and without pandoc installed on my Mac, the compilation crash too with this output :
A new version of TeX Live has been released. If you need to install or update any LaTeX packages, you have to upgrade TinyTeX with tinytex::reinstall_tinytex(repository = "illinois"). ! LaTeX Error: Missing \begin{document}. Errorr : LaTeX failed to compile CV_public_english.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See CV_public_english.log for more info. Execution stopped

In this release, pandoc version = 2.19.2.

Next, I found this post of the Yihui master :
https://yihui.org/en/2017/11/pandoc-2/

Also, Do you want my .Rmd file ?

from vitae.

mitchelloharawild avatar mitchelloharawild commented on June 15, 2024

Thanks for the added info, if you're able to share your .Rmd that could help.

from vitae.

fgardavaud avatar fgardavaud commented on June 15, 2024

Here we go !
CV_public_english.Rmd.zip

from vitae.

loreabad6 avatar loreabad6 commented on June 15, 2024

Found a way around this. I am not sure if it is a bug or if the includes formulation should be preferred to header-includes. loreabad6/R-CV#2 (comment)

from vitae.

fgardavaud avatar fgardavaud commented on June 15, 2024

@loreabad6
Great it's work on my side too.
Congratulation for debugging with success and for your reactivity !

from vitae.

mitchelloharawild avatar mitchelloharawild commented on June 15, 2024

Nice, glad this is figured out. I'm not sure why header-includes isn't working, as far as I'm aware the awesomecv template is set up to accept this as an input. If anyone can figure it out, would be happy to accept a PR to fix this.

$for(header-includes)$
$header-includes$
$endfor$

from vitae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.