[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange things happening with .rnw files in AucTeX mode
From: |
Thorsten Jolitz |
Subject: |
Re: Strange things happening with .rnw files in AucTeX mode |
Date: |
Thu, 13 Jun 2013 08:54:25 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
Thorsten Jolitz <tjolitz@gmail.com> writes:
> I witness strange things happen in .rnw files in LaTeX buffers with
> sections like this:
[...]
> Now, when I put the buffer in view-mode and pass
>
> ,------
> | <<>>=
> `------
>
> with point, view-mode is immediately turned off and the buffer becomes
> editable again. When I try to mark a region (with transient mark mode
> on), the region is deactivated the moment point reaches this marker.
>
> Whats happening there?
ok, RTFM ...
I cite from
,------------------------------------------------------------------
| @inproceedings{hornik2003sweave,
| title={Sweave and Beyond: Computations on Text Documents},
| author={Hornik, Kurt and Leisch, Friedrich and Zeileis, Achim},
| booktitle={Proceedings of DSC},
| pages={2},
| year={2003}
| }
`------------------------------------------------------------------
direct pdf download:
,---------------------------
| http://tinyurl.com/od8jj67
`---------------------------
description of mode change inside buffer:
,------------------------------------------------------------------------
| "The Emacs text editor offers a perfect authoring environment for
| Sweave, especially for people who already use Emacs for writing LATEX
| documents and interacting with R. ESS allows to connect an Sweave file
| to a running R process while writing the document. Code chunks can be
| sent to R and evaluated using simple keyboard shortcuts or popup menus.
| Syntax highlighting, automatic indentation and key- board shortcuts
| depend on the location of the pointer: in documentation chunks Emacs
| behaves as if editing a standard LATEX file, when the pointer moves to
| a code chunk the mode switches automatically to S programming."
`------------------------------------------------------------------------
--
cheers,
Thorsten