From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Name of code pieces when exported to PDF Date: Mon, 26 Sep 2016 17:34:53 +0200 Message-ID: <8737km3c9u.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boXvp-0004EK-4Q for emacs-orgmode@gnu.org; Mon, 26 Sep 2016 11:35:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boXvl-0006gN-6O for emacs-orgmode@gnu.org; Mon, 26 Sep 2016 11:35:01 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boXvk-0006eG-VK for emacs-orgmode@gnu.org; Mon, 26 Sep 2016 11:34:57 -0400 In-Reply-To: (claude fuhrer's message of "Mon, 26 Sep 2016 16:28:57 +0200") 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: claude fuhrer Cc: emacs-orgmode@gnu.org Hello, claude fuhrer writes: > To explain a small program, I've broken it down into small pieces. My > org file looks something like > > # ========================================================================= > #+NAME MainClass > > #+BEGIN_SRC java :noweb tangle :tangle Test.java > public class Test > { > <> > <> > } > #+END_SRC It should be #+name: MainClass #+begin_src ... i.e, with dots and no blank line in-between. Regards, -- Nicolas Goaziou