/dports/print/R-cran-knitr/knitr/man/ |
H A D | output_type.Rd | 6 \alias{pandoc_to} 12 is_html_output(fmt = pandoc_to(), excludes = NULL) 14 pandoc_to(fmt) 20 provided, \code{is_html_output()} uses \code{pandoc_to()}, and 21 \code{pandoc_to()} returns the output format name.} 38 The function \code{pandoc_to()} returns the Pandoc output format, and 39 \code{pandoc_from()} returns Pandoc input format. \code{pandoc_to(fmt)} 46 the output format is HTML. Use \code{pandoc_to(fmt)} to test a more specific 65 knitr::pandoc_to() 67 knitr::pandoc_to("docx")
|
H A D | raw_block.Rd | 20 chunk \code{knitr:::pandoc_to()} and see what it returns after the document
|
/dports/print/R-cran-knitr/knitr/tests/testit/ |
H A D | test-utils.R | 214 (pandoc_to() %==% NULL) 217 (pandoc_to() %==% 'docx') 218 (pandoc_to('docx')) 219 (!pandoc_to('pptx')) 220 (pandoc_to(c('docx', 'pptx')))
|
/dports/textproc/R-cran-rmarkdown/rmarkdown/R/ |
H A D | render.R | 484 pandoc_to <- output_format$pandoc$to functionVar 624 rmarkdown.pandoc.to = pandoc_to, 641 base_pandoc_to <- gsub('[-+].*', '', pandoc_to) 799 pandoc_to, " output.\nPlease change the output type ", 810 pandoc_to, " output.\nPlease change the output type ", 916 input_files, pandoc_to, output_format$pandoc$from, output, 936 input_files, pandoc_to, output_format$pandoc$from, pandoc_output_tmp, 967 if (output_format$pandoc$keep_tex || pandoc_to %in% c("latex", "beamer")) {
|
H A D | util.R | 190 knitr_cache_dir <- function(file, pandoc_to) { argument 191 paste(xfun::sans_ext(file), "_cache/", pandoc_to, "/", sep = "")
|
/dports/devel/RStudio/rstudio-2021.09.1-372/dependencies/common/rmarkdown/R/ |
H A D | render.R | 232 pandoc_to <- output_format$pandoc$to functionVar 336 rmarkdown.pandoc.to = pandoc_to, 352 base_pandoc_to <- gsub('[-+].*', '', pandoc_to) 519 pandoc_to, " output.\nPlease change the output type ", 530 pandoc_to, " output.\nPlease change the output type ", 594 utf8_input, pandoc_to, output_format$pandoc$from, output, 617 utf8_input, pandoc_to, output_format$pandoc$from, pandoc_output_tmp,
|
H A D | util.R | 169 knitr_cache_dir <- function(file, pandoc_to) { argument 170 paste(tools::file_path_sans_ext(file), "_cache/", pandoc_to, "/", sep = "")
|
/dports/print/R-cran-knitr/knitr/R/ |
H A D | hooks-md.R | 5 if (is.null(to <- pandoc_to()) || is_html_output(to)) 57 to = pandoc_to(); from = pandoc_from() 196 .inline.hook(format_sci(x, if (length(pandoc_to()) == 1L) 'latex' else 'html'))
|
H A D | utils.R | 364 out_format('latex') || pandoc_to(c('latex', 'beamer')) 375 is_html_output = function(fmt = pandoc_to(), excludes = NULL) { 385 pandoc_to = function(fmt) { function 441 pandoc_fragment = function(text, to = pandoc_to(), from = pandoc_from()) {
|
H A D | hooks-html.R | 56 if (is.null(pandoc_to())) sprintf('plot of chunk %s', options$label) else ''
|
H A D | engine.R | 407 to = pandoc_to() 451 if (is.null(pandoc_to())) stop('The engine "block2" is for R Markdown only')
|
H A D | hooks-latex.R | 144 } else if (pandoc_to(c('latex', 'beamer'))) {
|
H A D | table.R | 181 if (is.null(format)) format = if (is.null(pandoc_to())) switch(
|
H A D | plot.R | 531 fmt = pandoc_to()
|
/dports/print/R-cran-knitr/knitr/ |
H A D | NAMESPACE | 110 export(pandoc_to)
|