Create a book/slides from a sinx library

secx(lib = "tangshi", file = NULL, title = "A Sinx Book", author = "dapeng",
    section = "author", subsection = "context", style = c("pagedown", "bookdown",
        "xaringan"), bookdown_template = "demo_zh", to = "sinx_book", if_render = TRUE)

Arguments

lib

library name of the sayings. See `?read.sinxs`.

file

file name of source spread sheet. See '?read.sinxs()'.

title

title of the book

author

author's name

section

name of a sinx libary column, in which the characters are the sections in the book

subsection

name of a sinx libary column, in which the characters are the subsections in the book

style

'pagedown' or 'bookdown' or 'xaringan'

to

the book directory.

if_render

if render the book

template

template name. only valid when the style is 'bookdown'. See '?bookdownplus'.

Value

a book

Examples

# NOT RUN {
secx()

secx(lib = "sinxs", title = "cosx", subsection = "date")
# }