From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: noweb strip-export Date: Wed, 26 Jun 2019 09:06:01 -1000 Message-ID: <87d0j0dv52.fsf@tsdye.online> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52066) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgDFP-0003ZN-DF for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 15:06:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgDFN-0004Lb-RI for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 15:06:23 -0400 Received: from gateway22.websitewelcome.com ([192.185.47.79]:12932) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hgDFN-0003ze-C4 for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 15:06:21 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway22.websitewelcome.com (Postfix) with ESMTP id D343D12083 for ; Wed, 26 Jun 2019 14:06:04 -0500 (CDT) Received: from cpe-98-155-168-227.hawaii.res.rr.com ([98.155.168.227]:53634 helo=poto.tsdye.online) by box2035.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hgDF6-0001YM-60 for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 14:06:04 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list Aloha all, The noweb strip-export setting leaves empty lines in the export. I have this ecm: #+name: foo #+begin_src elisp (+ 1 1) #+end_src #+name: bar #+header: :noweb strip-export #+begin_src elisp <> (+ 2 2) #+end_src LaTeX export renders this: \begin{minted}[fontsize=\footnotesize]{elisp} (+ 1 1) \end{minted} \begin{minted}[fontsize=\footnotesize]{elisp} (+ 2 2) \end{minted} Note the blank line before (+ 2 2). I'd like this LaTeX output: \begin{minted}[fontsize=\footnotesize]{elisp} (+ 1 1) \end{minted} \begin{minted}[fontsize=\footnotesize]{elisp} (+ 2 2) \end{minted} Is it possible? All the best, Tom -- Thomas S. Dye http://tsdye.online/tsdye