Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Patch the Pandoc LaTeX template instead of providing our own, which i…
…s too hard to maintain (#1563) * Patch pandoc LaTeX template Patch the pandoc LaTeX template to include the document subtitle (unnecessary with pandoc 2.6 onwards) using `--include-in-header` rather than overwriting its built-in template, avoiding compability problems with newer versions of pandoc. Closes #1510. * Missing quotes * Fix changelog typo * Ensure self-contained is set for LaTeX * Less verbose graphics setting * move news of #1563 to v1.18 * cosmetic * force --self-contained regardless of the template * factor out pandoc_path_arg(rmarkdown_system_file(...)) to system_file_arg() * support compact titles via a header include compact-title.tex I didn't consider ef41eb4. I think it is a relatively minor issue and not worth the effort (if we have to bring it back, we need to test has_yaml_parameter(, 'author') and has_yaml_parameter(, 'date'), and conditionally include more titling hacks) * mention the PR #252 which introduced the titling hacks * cosmetic * shouldn't change the value of the `template` argument when it is `default` * add Andrew Dunning to the list of contributors * also closes #1649
- Loading branch information
Showing
15 changed files
with
55 additions
and
1,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| % https://github.com/rstudio/rmarkdown/issues/337 | ||
| \let\rmarkdownfootnote\footnote% | ||
| \def\footnote{\protect\rmarkdownfootnote} | ||
|
|
||
| % https://github.com/rstudio/rmarkdown/pull/252 | ||
| \usepackage{titling} | ||
| \setlength{\droptitle}{-2em} | ||
|
|
||
| \pretitle{\vspace{\droptitle}\centering\huge} | ||
| \posttitle{\par} | ||
|
|
||
| \preauthor{\centering\large\emph} | ||
| \postauthor{\par} | ||
|
|
||
| \predate{\centering\large\emph} | ||
| \postdate{\par} |
Oops, something went wrong.