diff --git a/R/context_document.R b/R/context_document.R index 83ce594b4a..48744ac459 100644 --- a/R/context_document.R +++ b/R/context_document.R @@ -1,11 +1,8 @@ #' Convert to a ConTeXt document #' -#' Format for converting from R Markdown to PDF using -#' \href{https://wiki.contextgarden.net/Main_Page}{ConTeXt}. +#' Format for converting from R Markdown to PDF using ConTeXt. #' -#' ConTeXt needs to be installed. To install the most recent version, see -#' \url{https://wiki.contextgarden.net/Installation}. A less recent version is -#' also available in TeX Live, you can install it with +#' ConTeXt needs to be installed, e.g., you can install it with #' \code{tinytex::tlmgr_install("context")}. #' #' R Markdown documents can have optional metadata that is used to generate a @@ -17,8 +14,8 @@ #' \href{https://pandoc.org/MANUAL.html#citations}{Bibliographies #' and Citations} article in the online documentation. #' @inheritParams pdf_document -#' @param context_path Path of the ConTeXt executable. If not provided, ConTeXt has -#' to be available from the \code{PATH} environment variable. +#' @param context_path Path of the ConTeXt executable. If not provided, ConTeXt +#' has to be available from the \code{PATH} environment variable. #' @param context_args Command line arguments passed to ConTeXt. #' @param ext Format of the output document (defaults to ".pdf"). #' @return R Markdown output format to pass to \code{\link{render}}. diff --git a/man/context_document.Rd b/man/context_document.Rd index ab5564a64c..2f15a94628 100644 --- a/man/context_document.Rd +++ b/man/context_document.Rd @@ -90,8 +90,8 @@ output format, e.g., \code{"-smart"} means the output format will be \item{pandoc_args}{Additional command line options to pass to pandoc} -\item{context_path}{Path of the ConTeXt executable. If not provided, ConTeXt has -to be available from the \code{PATH} environment variable.} +\item{context_path}{Path of the ConTeXt executable. If not provided, ConTeXt +has to be available from the \code{PATH} environment variable.} \item{context_args}{Command line arguments passed to ConTeXt.} @@ -101,13 +101,10 @@ to be available from the \code{PATH} environment variable.} R Markdown output format to pass to \code{\link{render}}. } \description{ -Format for converting from R Markdown to PDF using -\href{https://wiki.contextgarden.net/Main_Page}{ConTeXt}. +Format for converting from R Markdown to PDF using ConTeXt. } \details{ -ConTeXt needs to be installed. To install the most recent version, see -\url{https://wiki.contextgarden.net/Installation}. A less recent version is -also available in TeX Live, you can install it with +ConTeXt needs to be installed, e.g., you can install it with \code{tinytex::tlmgr_install("context")}. R Markdown documents can have optional metadata that is used to generate a