Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
^codecov\.yml$
^TinyTeX\.zip$
^.github$
^data-raw$
6 changes: 5 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ Description: Helper functions to install and maintain the 'LaTeX' distribution
portable, and easy-to-maintain version of 'TeX Live'. This package also
contains helper functions to compile 'LaTeX' documents, and install missing
'LaTeX' packages automatically.
Imports: xfun (>= 0.5)
Imports:
xfun (>= 0.5),
usethis (>= 1.6.1)
Suggests: testit, rstudioapi
License: MIT + file LICENSE
URL: https://github.com/yihui/tinytex
BugReports: https://github.com/yihui/tinytex/issues
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.1
Depends:
R (>= 2.10)
26 changes: 26 additions & 0 deletions R/jup_pkgs.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#' Additional tinytex packages needed for rendering of PDFs in Jupyter
#'
#' These 16 TexLive packages are required to allow for rendering of PDFs in
#' Jupyter when tinytex is used to install LaTeX.
#'
#' @format A vector with 16 package names:
#' \describe{
#' \item{adjustbox}{}
#' \item{caption}{}
#' \item{collectbox}{}
#' \item{enumitem}{}
#' \item{environ}{}
#' \item{eurosym}{}
#' \item{jknapltx}{}
#' \item{parskip}{}
#' \item{pgf}{}
#' \item{rsfs}{}
#' \item{tcolorbox}{}
#' \item{titling}{}
#' \item{trimspaces}{}
#' \item{ucs}{}
#' \item{ulem}{}
#' \item{upquote}{}
#' }
#' @source \url{https://github.com/yihui/tinytex/issues/228}
"jup_pkgs"
22 changes: 22 additions & 0 deletions data-raw/jup_pkgs.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## code to prepare `jup_pkgs` dataset goes here

jup_pkgs <- c(
"adjustbox",
"caption",
"collectbox",
"enumitem",
"environ",
"eurosym",
"jknapltx",
"parskip",
"pgf",
"rsfs",
"tcolorbox",
"titling",
"trimspaces",
"ucs",
"ulem",
"upquote"
)

usethis::use_data(jup_pkgs, overwrite = TRUE)
Binary file added data/jup_pkgs.rda
Binary file not shown.
38 changes: 38 additions & 0 deletions man/jup_pkgs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.