Hweave
and Htangle
are similar to Sweave
and Stangle
, but they take advantage of the
custom driver shipped with this package
Hweave(
file,
driver = HighlightWeaveLatex(),
syntax = HweaveSyntaxNoweb,
encoding = "",
...
)Htangle(
file,
driver = HighlightTangle(),
syntax = HweaveSyntaxNoweb,
encoding = "",
...
)
Path to Sweave source file
The actual workhorse, see the Details section in Sweave
NULL
or an object of class SweaveSyntax
or a character string with its name. See the section Syntax Definition
in Sweave
The default encoding to assume for file
Further arguments passed to the driver's setup function.
These functions exist for the purpose of the
\VignetteEngine
option in vignette introduced in R 3.0.0
highlight
loads the highlight
vignette engine
at load time. Client packages must declare to use it
with the VignetteBuilder
field in their DESCRIPTION
file
The vignette engine looks for files matching the
pattern "[.][hHrRsS]nw$"
although in order to distinguish
vignettes using this engine and the default
Sweave engine, the recommandation is to use vignette with the ".Hnw"
extension.