From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: [babel] noweb expansion in latex source blocks Date: Sat, 31 Oct 2009 18:09:07 -1000 Message-ID: <3BDDF8C0-6091-4911-A3E5-B924FE9062B0@TSDYE.Com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4Rkj-0006P3-GO for emacs-orgmode@gnu.org; Sun, 01 Nov 2009 00:09:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4Rkf-0006Mh-Ok for emacs-orgmode@gnu.org; Sun, 01 Nov 2009 00:09:17 -0400 Received: from [199.232.76.173] (port=60835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4Rkf-0006MZ-Gj for emacs-orgmode@gnu.org; Sun, 01 Nov 2009 00:09:13 -0400 Received: from outbound-mail-113.bluehost.com ([69.89.24.3]:46108) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N4Rke-0000Gm-MO for emacs-orgmode@gnu.org; Sun, 01 Nov 2009 00:09:13 -0400 Received: from cpe-24-161-159-72.hawaii.res.rr.com ([24.161.159.72] helo=[192.168.1.2]) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1N4Rka-0004dA-C8 for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 22:09:08 -0600 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Aloha all, Noweb expansion in latex source blocks inserts spaces that can introduce unwanted paragraph breaks in LaTeX. The outer-block in this org file looks like something that should be set as one paragraph in LaTeX. * noweb expansion #+srcname: outer-block #+begin_src latex :tangle noweb_exp.tex This is an observation. <> This is a conclusion. #+end_src #+srcname: inner-block #+begin_src latex This is an analysis. #+end_src But it tangles a LaTeX snippet with three paragraphs. % generated by org-babel-tangle % [[file:~/Public/projects/903_adzes/org-babel/noweb- expansion.org::*noweb%20expansion][outer-block]] This is an observation. This is an analysis. This is a conclusion. % outer-block ends here All the best, Tom