-
-
Notifications
You must be signed in to change notification settings - Fork 978
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
default template does not work with multiple authors #1716
Comments
As expected, running just the pandoc call on the reprex reproduces the problem (i.e. produces a bad
Skipping |
The change to now use default pandoc templat did bring back indeed the issue with
When using deactivating the compact-title addition create no issue indeed. See with this example ---
title: "R Markdown v2 Demo"
author:
- John
- Joe
date: "2015/01/01"
output:
pdf_document:
keep_tex: yes
compact-title: false
---
Hello world. old behavior was custom Rmarkdown template that use no rmarkdown/inst/rmd/latex/default.tex Line 170 in 00a4a45
This indeed fix the issue with a quick test, putting authors one above the other ---
title: "R Markdown v2 Demo"
author:
- John
- Joe
date: "2015/01/01"
output:
pdf_document:
keep_tex: yes
includes:
in_header: header.tex
---
```{cat, engine.opts = list(file = "header.tex")}
\renewcommand{\and}{\\}
```
Hello world. Hope this additional elements help fix this issue.
|
I'm going to drop the |
…r spacing does not seem to worth our official support, and we will let users opt-in if they really prefers the spacing, at the price of providing their own LaTeX templates if they have multiple authors in a document
NOTE: `rmarkdown` causing vignette failure on winbuilder etc. Passing locally (using v1.17 instead of v1.18). See rstudio/rmarkdown#1716
Hi @yihui ` kpathsea: Running mktexmf fplmr.mf Cannot find fplmr.mf. kpathsea: Running mktextfm fplmr The command name is C:\Users\nnabavi\AppData\Roaming\TinyTeX\bin\win32\mktextfm tlmgr itself needs to be updated. tlmgr.pl: Terminating; please see warning above! kpathsea: Running mktexmf fplmr.mf The command name is C:\Users\nnabavi\AppData\Roaming\TinyTeX\bin\win32\mktexmf kpathsea: Running mktextfm fplmr The command name is C:\Users\nnabavi\AppData\Roaming\TinyTeX\bin\win32\mktextfm Error: Failed to compile 09_SSI_integration.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See 09_SSI_integration.log for more info. |
this solves problems like rstudio/rmarkdown#1716 (comment)
@NoushinN Your issue is a different one. Please try |
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. |
(This is perhaps a regression to #353, same problem and reprex).
A minimal reproducible example,
index.Rmd
:Running
rmarkdown::render('index.Rmd')
on this fails with:Running
pandoc --standalone --from=markdown --output=index.pdf index.Rmd
produces the expected pdf.So I am guessing the problem is with the pandoc call or the pandoc latex template.
Reproduces with current dev and CRAN version.
devtools::session_info()
:pandoc -v
:The text was updated successfully, but these errors were encountered: