Home
last modified time | relevance | path

Searched refs:pandoc_to (Results 1 – 15 of 15) sorted by relevance

/dports/print/R-cran-knitr/knitr/man/
H A Doutput_type.Rd6 \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 Draw_block.Rd20 chunk \code{knitr:::pandoc_to()} and see what it returns after the document
/dports/print/R-cran-knitr/knitr/tests/testit/
H A Dtest-utils.R214 (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 Drender.R484 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 Dutil.R190 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 Drender.R232 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 Dutil.R169 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 Dhooks-md.R5 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 Dutils.R364 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 Dhooks-html.R56 if (is.null(pandoc_to())) sprintf('plot of chunk %s', options$label) else ''
H A Dengine.R407 to = pandoc_to()
451 if (is.null(pandoc_to())) stop('The engine "block2" is for R Markdown only')
H A Dhooks-latex.R144 } else if (pandoc_to(c('latex', 'beamer'))) {
H A Dtable.R181 if (is.null(format)) format = if (is.null(pandoc_to())) switch(
H A Dplot.R531 fmt = pandoc_to()
/dports/print/R-cran-knitr/knitr/
H A DNAMESPACE110 export(pandoc_to)