Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build PDF through tinytex::latexmk() (#1222)
* use tinytex::latexmk() if available * always use latexmk() to create PDF and never use Pandoc to create the PDF directly this will make it faster to build PDF with keep_tex, because Pandoc does not need to convert Markdown to LaTeX twice (once for .tex, and once for .pdf) * load quietly * tinytex is on CRAN now, so no longer need to load it from the dark * a news item for the PR #1222 * remove version requirement of tinytex * always assume the output file is PDF unless it has the extension .tex * see if _R_CHECK_TESTS_NLINES_ works (I want to seem more lines of output when the check fails) * preinstall the LaTeX package units * tweak comments
- Loading branch information
Showing
5 changed files
with
28 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ Imports: | |
methods, | ||
stringr (>= 1.2.0) | ||
Suggests: | ||
tinytex, | ||
shiny (>= 0.11), | ||
tufte, | ||
testthat, | ||
|
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