diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-01 21:14:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-01 21:14:31 +0000 |
commit | aa172df5653b7af18c551c16c7f5fc7c9ea0e466 (patch) | |
tree | 4c79046a864d48268569f8b8301fe678c463b522 /Master/texmf-dist/doc/latex/includernw | |
parent | 971b15e96a186265837d6d4c51d9c1a94eaa7930 (diff) |
includernw (1may18)
git-svn-id: svn://tug.org/texlive/trunk@47557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/includernw')
-rw-r--r-- | Master/texmf-dist/doc/latex/includernw/README.txt | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/includernw/includeRnw-doc.pdf | bin | 150418 -> 156228 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/includernw/includeRnw-doc.tex | 42 |
3 files changed, 39 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/includernw/README.txt b/Master/texmf-dist/doc/latex/includernw/README.txt index 109fe8687b9..2499aad73ea 100644 --- a/Master/texmf-dist/doc/latex/includernw/README.txt +++ b/Master/texmf-dist/doc/latex/includernw/README.txt @@ -24,7 +24,7 @@ https://github.com/Strauman/includeRnw/ Licence: -The LaTeX package includeRnw - version v0.0.2 (2018/04/29) - build 10 +The LaTeX package includeRnw - version v0.1.0 (2018/05/01) - build 11 includeRnw.sty ------------------------------------------------------------------------------------------- Copyright (c) 2018 by Andreas Storvik Strauman diff --git a/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.pdf b/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.pdf Binary files differindex 835e43b3a3e..a63b89d97b2 100644 --- a/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.pdf +++ b/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.pdf diff --git a/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.tex b/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.tex index 1c70a5acd92..78051eda664 100644 --- a/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.tex +++ b/Master/texmf-dist/doc/latex/includernw/includeRnw-doc.tex @@ -1,5 +1,5 @@ -%% includeRnw v0.0.2b10 - 2018/04/29 -%% The LaTeX package includeRnw - version v0.0.2 (2018/04/29) build 10 +%% includeRnw v0.1.0b11 - 2018/05/01 +%% The LaTeX package includeRnw - version v0.1.0 (2018/05/01) build 11 %% Manual/Documentation for includeRnw.sty %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2018 by Andreas Storvik Strauman @@ -99,7 +99,7 @@ \setlength{\parindent}{0pt} -\title{{includeRnw - manual\\ v0.0.2{\\[-0.5em]\footnotesize(build 10)}}} +\title{{includeRnw - manual\\ v0.1.0{\\[-0.5em]\footnotesize(build 11)}}} \author{Andreas Strauman} \begin{document} \maketitle @@ -119,13 +119,19 @@ If you found any bugs or want new functionality, to contribute, view the comment \end{document} \end{dispListing} +The Rnw-file: +\begin{dispListing} + <<pChunk, echo=F, cache=F >>= + read_chunk('r/.r') + @ +\end{dispListing} \begin{marker} Path to \texttt{r}-files are relative to the path of the \texttt{.Rnw}-file \end{marker} \section{Reference} \filbreak\subsection{Reference} \begin{docCommand}{includeRnw}{\oarg{irw-options}\marg{path/to/file.Rnw}} -Compiles .Rnw-files using R. Assumes that \texttt{R} can be called +\updated{v0.1.0\\2018/05/01 }Compiles .Rnw-files using R. Assumes that \texttt{R} can be called from the command line. It is optional to add the extension \texttt{.Rnw} \end{docCommand} \filbreak\subsection{Command Options} @@ -147,6 +153,30 @@ run knitr on the file if the knitted file does not exist. \optDef{noknithead}{ This option will prevent \dac{includeRnw} from building and including the knitr-preamble. } +\optDef{texenv}{ +Using the \texttt{texenv} option disables the default Rnw syntax and allows for a new one. See example below +} + The two following examples do the exact same thing:\\ + This example use standard Rnw: +\begin{dispListing} +\documentclass[a4paper]{article} +\usepackage{includeRnw} +\begin{document} + <<pChunk, echo=F, cache=F >>= + read_chunk('r/myRScript.r') + @ +\end{document} +\end{dispListing} +The following chunk uses the \refKey{texenv} option: +\begin{dispListing} +\documentclass[a4paper]{article} +\usepackage[texenv]{includeRnw} +\begin{document} + \begin{Rnw}{myChunk, echo=F, cache=F} + read_chunk('r/myRScript.r') + \end{Rnw} +\end{document} +\end{dispListing} \filbreak\subsection{User macros} The default user macro settables are \begin{dispListing} @@ -189,5 +219,9 @@ Where \dac{rnw@dir@output} is the value of the set \dac{rnwOutputDirectory} \change{Fixed wrong error message on no shell-escape} \change{Added macros for setting custom values} \change{Added \refKey{noknithead}} +\newversion{v0.1.0 2018/05/01} +\change{Added \refKey{texenv}} +\change{Fixed bug where \refKey{new} and \refKey{halt} package options didn't work} +\change{Fixed bug where \refKey{n}, \refKey{h} and \refKey{f} command options didn't work} \chlogtable \end{document} |