[Orgmode] Re: org-export-sweave

2008-09-23 Thread Carsten Dominik
Hi Austin, try starting the second regular expression (the one denoting the end line) with \n. In this way, the \n remains outside the narrowed region. See for example how the +#begin_html line does it, just above you own code. Maybe you only looked at the #+begin_example, where I made

[Orgmode] Re: org-export-sweave

2008-09-22 Thread Austin Frank
On Thu, Sep 18 2008, Carsten Dominik wrote: These regular expressions are incorrect. \\s- is the way to denote whitespace. However, since that also includes newlines, I prefer to write [ \t] in such cases. Carsten-- Thanks for the tip. I now to get dumped into r-mode correctly when I hit

[Orgmode] Re: org-export-sweave

2008-09-17 Thread Austin Frank
Carsten-- Thanks for the response! On Tue, Sep 16 2008, Carsten Dominik wrote: since you want to include tis code literally into LaTeX, the best is probably to encapsulate it into #+BEGIN_LATEX #+END_LATEX and to try to solve only the local editing issue. Yes, this makes sense.