-
-
Notifications
You must be signed in to change notification settings - Fork 970
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
1.19 update and fix #1716 breaks the compact title when only title and date fields are present #1719
Comments
After comparing template default-1.17.0.2.tex:
|
For the warning "no \author given", I just submitted a PR to Pandoc to fix it: jgm/pandoc#5961 For the blank space when no author is given, I'll see how to remove it. Thanks for the report! |
Could you install the development version and see if you are happy with the spacing now? Thank you! remotes::install_github('rstudio/rmarkdown') |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
It seems the most recent update to 1.19 removed the custom latex template and uses pandoc's default template. Fix #1716 was proposed to keep a compact title by including
compact-title.tex
in theincludes
argument ofpdf_document()
(essentiallyrender("test.Rmd", output_format = pdf_document(includes = includes(in_header = "compact-title.tex")))
). However, if I have title and date fields but no author field, the rendered PDF document contains a blank line between the title and date. I'm not sure if this is a pandoc, latex, or rmarkdown change, as I receive a "no \author given" warning. Rmarkdown before used to render simply the title and date with no whitespace in between and wouldn't throw any issue with a missing \author.test.Rmd
The text was updated successfully, but these errors were encountered: