bookdown_to_book_txt {ottrpal}R Documentation

Create Book.txt file from files existing in quiz directory

Description

Create Book.txt file from files existing in quiz directory

Usage

bookdown_to_book_txt(
  path = ".",
  md_files = NULL,
  output_dir = "manuscript",
  quiz_dir = "quizzes",
  verbose = TRUE
)

Arguments

path

path to the bookdown book, must have a '_bookdown.yml' file

md_files

vector of file path of the md's to be included

output_dir

output directory to put files. It should likely be relative to path

quiz_dir

Where are the quizzes stored? Default looks for folder called "quizzes".

verbose

print diagnostic messages

Value

A list of quiz and chapter files in order in a file called Book.txt – How Leanpub wants it.


[Package ottrpal version 1.2.1 Index]