2009/12/9 Nicolas Girard <nicolas.gir...@nerim.net>: > 2009/12/9 Carsten Dominik <carsten.domi...@gmail.com>: > >>> diff --git a/lisp/org-exp.el b/lisp/org-exp.el >>> index 4c4d540..75ee548 100644 >>> --- a/lisp/org-exp.el >>> +++ b/lisp/org-exp.el >>> @@ -2423,7 +2423,7 @@ INDENT was the original indentation of the block." >>> (concat (car org-export-latex-verbatim-wrap) >>> rtn (cdr >>> org-export-latex-verbatim-wrap))) >>> '(org-protected t)) >>> - "#+END_LaTeX\n")) >>> + "#+END_LaTeX")) >>> ((eq backend 'ascii) >>> ;; This is not HTML or LaTeX, so just make it an example. >>> (setq rtn (org-export-number-lines rtn 'ascii 0 0 num cont >>> rpllbl fmt)) >> >> >> I have fixed this part, in a different way though. >> > > I'm afraid there are still extra paragraphs resulting from an extra > newline after code blocs. > > Consider the following test chunk: > > #===== > This is a new paragraph > #+begin_src emacs-lisp > (setq ispell-program-name "aspell") > #+end_src > continuing after the code bloc. > #===== > > Using the freshest code, is is translated to > > %===== > This is a new paragraph > \lstset{language=Lisp} > \begin{lstlisting} > (setq ispell-program-name "aspell") > \end{lstlisting} > > continuing after the code bloc. > %===== > >
Unfortunately this problem remains: processing #===== This is a new paragraph #+begin_src emacs-lisp (setq ispell-program-name "aspell") #+end_src continuing after the code bloc. #===== still inserts an extra newline just before "continuing (...)". Cheers, -- Nicolas _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode