search for: endfirstpag

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

Did you mean: endfirstpage
2017 Sep 07
3
post_processor in rmarkdown not working
...l_github("inbo/INBOmd at post_processor") setwd(system.file("rmarkdown/templates/rsos_article/skeleton", package = "INBOmd")) debug(INBOmd::rsos_article) rmarkdown::render("skeleton.Rmd") The sign that post_processor() fails when the tex file still contains \EndFirstPage resulting in the compilation error "Undefined control sequence. l.128 \EndFirstPage" I still get the error with the current version of the code. Running the post_processor manually works. eval(parse( text = readLines( " https://raw.githubusercontent.com/inbo/INBOmd/post_proc...
2017 Sep 06
4
post_processor in rmarkdown not working
...le 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[(maketitle + 1):(end_first_page - 1)], "\\end{fmtext}&...
2017 Sep 07
0
post_processor in rmarkdown not working
...ess in that directory, so it may not be typical of what you'd see in a user directory. I certainly see something different when I copy the skeleton.Rmd file (and nothing else) to my own temp directory. > > The sign that post_processor() fails when the tex file still contains > \EndFirstPage resulting in the compilation error "Undefined control > sequence. l.128 \EndFirstPage" That certainly indicates it isn't doing what you want, but it might be running and doing something else. Duncan Murdoch > > I still get the error with the current version of the code...
2017 Sep 07
0
post_processor in rmarkdown not working
...s, > > 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[(maketitle + 1):(end_first_page...
2017 Sep 07
2
post_processor in rmarkdown not working
...t may not be typical of what you'd see in a user directory. I > certainly see something different when I copy the skeleton.Rmd file (and > nothing else) to my own temp directory. > > >> >> The sign that post_processor() fails when the tex file still contains >> \EndFirstPage resulting in the compilation error "Undefined control >> sequence. l.128 \EndFirstPage" > > That certainly indicates it isn't doing what you want, but it might be > running and doing something else. > > Duncan Murdoch > >> >> I still get the err...
2017 Sep 08
0
post_processor in rmarkdown not working
...f what you'd see in a user directory. I >> certainly see something different when I copy the skeleton.Rmd file (and >> nothing else) to my own temp directory. >> >> >> >>> The sign that post_processor() fails when the tex file still contains >>> \EndFirstPage resulting in the compilation error "Undefined control >>> sequence. l.128 \EndFirstPage" >>> >> >> That certainly indicates it isn't doing what you want, but it might be >> running and doing something else. >> >> Duncan Murdoch >>...
2017 Sep 07
0
post_processor in rmarkdown not working
...st 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[(maketitle + 1):(end_first_page - 1)]...