Debian Codegraph @

man/pat_fun.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/pattern.R
3 \name{pat_rnw}
4 \alias{pat_rnw}
5 \alias{pat_brew}
6 \alias{pat_tex}
7 \alias{pat_html}
8 \alias{pat_md}
9 \alias{pat_rst}
10 \alias{pat_asciidoc}
11 \alias{pat_textile}
12 \title{Set regular expressions to read input documents}
13 \usage{
14 pat_rnw()
15
16 pat_brew()
17
18 pat_tex()
19
20 pat_html()
21
22 pat_md()
23
24 pat_rst()
25
26 pat_asciidoc()
27
28 pat_textile()
29 }
30 \value{
31 The patterns object \code{\link{knit_patterns}} is modified as a side
32 effect.
33 }
34 \description{
35 These are convenience functions to set pre-defined pattern lists (the syntax
36 to read input documents). The function names are built from corresponding
37 file extensions, e.g. \code{pat_rnw()} can set the Sweave syntax to read Rnw
38 documents.
39 }
40 \examples{
41 # see how knit_patterns is modified
42 knit_patterns$get()
43 pat_rnw()
44 knit_patterns$get()
45
46 knit_patterns$restore() # empty the list
47 }