-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplication of CV sections #254
Comments
I have same issue here, I tried updating the base R but the issue is still persist. |
I have the same issue, it has just started today while updating my CV. |
Same issue here on M2 - Mac Mini |
I'm not super familiar about the render path for Rmarkdown, but it appears that the file knits correctly (no duplication of sections from Rmd -> md). Dupllication occurs in the md -> tex step (I think that is done by Pandoc). However, I've tried several older versions of Pandoc (3.1.*) and the newest version (3.2), and the problem persists. |
Here's a work-around that requires manual editing of a TeX file. I'm going to use the TwentySeconds template as an example. Make the following change to the YAML portion of the Rmd file:
to
If you render your file, you will see a TEX file in your working directory. Manually remove the duplicated sections from the TEX file in Rstudio or the text editor of your choice. Save the TEX file. Open a command prompt and navigate to your working directory. Run the following command :
You'll need to have pdflatex in your PATH, otherwise you may need to specify the location of the pdflatex executable. Edit: I just realized that you can create a PDF from a TeX file using the Rstudio GUI. Open the TeX file, remove the duplicated sections, and then click "Compile PDF". Edit 2: Depending on which template you're using, pdflatex may or may not work. You may need to experiment with using XeLaTeX or LuaLaTeX to typeset PDF documents from TeX. The easiest way to do this is to go into project/global settings in Rstudio -> Sweave -> Change "Typeset LaTeX into PDF using:" |
Even when i remove the duplicated labels on the tex file i can't Knit it, be it on RStudio or direct prompt commands (i've tried xelatex and pdflatex) Through RStudio the error i get is Are there any other ways around this? |
I found a temporary solution, the problem comes from knitr update (this isn`t the first time...) My solution was a downgrade in knitr and xfun packages that were updated recently. The other dependecy (highr) don't have any issue. For a simple fix you can use this code in R: knitr_1.45version <- c("knitr", 1.45) xfun 0.42version <- c("xfun", 0.42) |
@jmmartinf Works as expected. Thank you. |
Same here, odd issue, thanks for the fix, testing it now! |
Confirmed. |
I tried using @jmmartinf but I couldn't downgrade the packages, this worked for me: Knitrpackageurl <- "https://cran.r-project.org/src/contrib/Archive/knitr/knitr_1.45.tar.gz" Xfunpackageurl <- "https://cran.r-project.org/src/contrib/Archive/xfun/xfun_0.42.tar.gz" |
Works for me as well Thanks Abeluis!!! 😄 |
I don't know... but you could list here the version of your packages... |
it is hard to figure out what is the issue. Here are my packages: R6 R6 2.5.1 |
I am experiencing a similar issue as @jjuri-socialmining regarding the spacing on the awesome-cv template. I fixed it by adjusting the
When I changed the |
Thank you so much, I just figured out 30 minutes ago this coding line. Now the issue is 100% solved. It is curious because all the templates have - 4.0mm. This makes sense to overlap, why doesn't this error happen before... It is very interesting |
Fixed in f32ca0b, you can install the fixed version with # install.packages("remotes")
remotes::install_github("mitchelloharawild/vitae") I'll be submitting a new version to CRAN shortly. Thanks for the patience, workarounds, and other useful discussion everyone! |
If I make a new RMarkdown file from a Vitae template (which template doesn't matter) and render the file, then the sections within the PDF or HTML file are duplicated. I'm using a fresh install of R, vitae , Rstudio Server, and TinyTex. I'm running on Debian. Example output:
Untitled.pdf
The "Render" tab produces the following warnings:
I've uninstalled and reinstalled the relevant software a few times, but no luck. I've tried both development and CRAN versions of Vitae. I've progressively removed sections from the template, to see if one of them is problematic, but that hasn't worked. Whatever sections are present are duplicated. I have not been able to replicate this behavior in documents outside of Vitae (everything else renders as expected).
Ideas?
The text was updated successfully, but these errors were encountered: