secx: Create a book/slides from a sinx library

Description Usage Arguments Value Examples

View source: R/secx.R

Description

Create a book/slides from a sinx library

Usage

1
2
3
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'

bookdown_template

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

to

the book directory.

if_render

if render the book

Value

a book

Examples

1
2
3
4
5
6
## Not run: 
secx()

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

## End(Not run)

pzhaonet/sinx documentation built on June 12, 2020, 9:18 p.m.