Displaying 7 results from an estimated 7 matches for "end_first_page".
2017 Sep 06
4
post_processor in rmarkdown not working
...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[(maketitle + 1):(end_first_page -...
2017 Sep 07
0
post_processor in rmarkdown not working
...ssor() 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[(mak...
2017 Sep 07
0
post_processor in rmarkdown not working
...t?
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)],
> "\\begin{fmtext}",
> tex...
2017 Sep 07
3
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(
>> text[1:(maketitle - 1)],
>> "\\begin{fmtext}"...
2017 Sep 07
0
post_processor in rmarkdown not working
...rry
>
> ? ?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)],
> ? ? ? ? ?&...
2017 Sep 07
2
post_processor in rmarkdown not working
...ost_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)],
>...
2017 Sep 08
0
post_processor in rmarkdown not working
...tion(
>>> 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:(maket...