getStyleSheetParams | R Documentation |
This function fetches the default set of parameters that are passed to
XSL for the given target format, i.e. HTML, FO, LaTeX.
This is called by dynDoc
and similar functions to
retrieve the default parameters in an easy fashion.
Eventually, these will mirror those parameters in the make files.
getStyleSheetParams(target, ...)
target |
a character string specifying the target format, e.g. "fo", "html", "latex", ... |
... |
additional parameters that are to be merged with, or override, the defaults |
A named list which can be passed to xslApplyStyleSheet
.
We should make this a generic function and pass it an object of the format target, e.g. HTMLTarget, FOTarget. Then we could override this function by defining methods for these target types.
Duncan Temple Lang
dynDoc
xml2HTML
xml2PDF
getStyleSheetParams("fo")
getStyleSheetParams("HTML")
getStyleSheetParams("latex")
getStyleSheetParams("HTML", html.stylesheet = "foo.css")
getStyleSheetParams("fo", start.indent = "'10'")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.