Open
Description
Thanks for developing the plugin in the open. I am finding that indenting of Sweave chunks fails, if the text above was indented. This is illustrated below. Perhaps I'm doing something wrong?
\documentstyle{article}
\begin{document}
The following has the Sweave part at first of line
<<>>=
pi <- 10
@
The following has bad indenting. The opening of the block is
indented, so ``R CMD Sweave'' won't detect the block. Also, the line
after the block is improperly indented.
\begin{itemize}
\item this will be bad:
<<>>=
cat('pi=',pi,'\n')
@
after
\item after
\end{itemize}
\end{document}
Metadata
Metadata
Assignees
Labels
No labels