search for: fmtext

Displaying 7 results from an estimated 7 matches for "fmtext".

Did you mean: mtext
2017 Sep 06
4
post_processor in rmarkdown not working
...e/skeleton/skeleton.Rmd is an Rmd is a MWE that fails compile because the post_processor() is not run. Best regards, Thierry post_processor <- function( metadata, input_file, output_file, clean, verbose ) { text <- readLines(output_file, warn = FALSE) # set correct text in fmtext environment end_first_page <- grep("\\\\EndFirstPage", text) #nolint if (length(end_first_page) == 1) { maketitle <- grep("\\\\maketitle", text) #nolint text <- c( text[1:(maketitle - 1)], "\\begin{fmtext}", text[(ma...
2017 Sep 07
0
post_processor in rmarkdown not working
...mpile because the post_processor() is not > run. > > Best regards, > > Thierry > > post_processor <- function( > metadata, input_file, output_file, clean, verbose > ) { > text <- readLines(output_file, warn = FALSE) > > # set correct text in fmtext environment > end_first_page <- grep("\\\\EndFirstPage", text) #nolint > if (length(end_first_page) == 1) { > maketitle <- grep("\\\\maketitle", text) #nolint > text <- c( > text[1:(maketitle - 1)], > "\\begin{f...
2017 Sep 07
0
post_processor in rmarkdown not working
...or perhaps it is intermittent? Duncan Murdoch > Best regards, > > Thierry > > post_processor <- function( > metadata, input_file, output_file, clean, verbose > ) { > text <- readLines(output_file, warn = FALSE) > > # set correct text in fmtext environment > end_first_page <- grep("\\\\EndFirstPage", text) #nolint > if (length(end_first_page) == 1) { > maketitle <- grep("\\\\maketitle", text) #nolint > text <- c( > text[1:(maketitle - 1)], > "\\b...
2017 Sep 07
3
post_processor in rmarkdown not working
...an Murdoch > > Best regards, >> >> Thierry >> >> post_processor <- function( >> metadata, input_file, output_file, clean, verbose >> ) { >> text <- readLines(output_file, warn = FALSE) >> >> # set correct text in fmtext environment >> end_first_page <- grep("\\\\EndFirstPage", text) #nolint >> if (length(end_first_page) == 1) { >> maketitle <- grep("\\\\maketitle", text) #nolint >> text <- c( >> text[1:(maketitle - 1)], &gt...
2017 Sep 07
0
post_processor in rmarkdown not working
...Best regards, > > Thierry > > ? ?post_processor <- function( > ? ? ?metadata, input_file, output_file, clean, verbose > ? ?) { > ? ? ?text <- readLines(output_file, warn = FALSE) > > ? ? ?# set correct text in fmtext environment > ? ? ?end_first_page <- grep("\\\\EndFirstPage", text) #nolint > ? ? ?if (length(end_first_page) == 1) { > ? ? ? ?maketitle <- grep("\\\\maketitle", text) #nolint > ? ? ? ?text <- c( > ? ? ? ? ?tex...
2017 Sep 07
2
post_processor in rmarkdown not working
...Thierry >> >> ? ?post_processor <- function( >> ? ? ?metadata, input_file, output_file, clean, verbose >> ? ?) { >> ? ? ?text <- readLines(output_file, warn = FALSE) >> >> ? ? ?# set correct text in fmtext environment >> ? ? ?end_first_page <- grep("\\\\EndFirstPage", text) #nolint >> ? ? ?if (length(end_first_page) == 1) { >> ? ? ? ?maketitle <- grep("\\\\maketitle", text) #nolint >> ? ? ? ?text <- c( >&g...
2017 Sep 08
0
post_processor in rmarkdown not working
...>> post_processor <- function( >>> metadata, input_file, output_file, clean, verbose >>> ) { >>> text <- readLines(output_file, warn = FALSE) >>> >>> # set correct text in fmtext environment >>> end_first_page <- grep("\\\\EndFirstPage", text) #nolint >>> if (length(end_first_page) == 1) { >>> maketitle <- grep("\\\\maketitle", text) #nolint >>> text...