Create Book.txt file from files existing in quiz directory

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

Arguments

path

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

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.