Skip to content
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

Keep the \author{} command even if author is not specified #5961

Merged
merged 4 commits into from
Dec 5, 2019
Merged

Keep the \author{} command even if author is not specified #5961

merged 4 commits into from
Dec 5, 2019

Conversation

yihui
Copy link
Contributor

@yihui yihui commented Dec 4, 2019

otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled.

otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled.
yihui added a commit to rstudio/rmarkdown that referenced this pull request Dec 4, 2019
…ate{}) when no author is given in the document (it is kind of surprising that LaTeX doesn't know how to properly remove the blank \author{} space...)

also add \author{} if no author is provided to avoid the LaTeX warning (while waiting for jgm/pandoc#5961 to be merged)
@jgm jgm merged commit ee44d44 into jgm:master Dec 5, 2019
@yihui yihui deleted the patch-1 branch December 5, 2019 19:08
renjianxiongqi pushed a commit to renjianxiongqi/pandoc that referenced this pull request Dec 23, 2019
Otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled.
This does not affect spacing in the title block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants