From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: sequence of tangles Date: Sun, 14 Apr 2013 12:02:02 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URJio-0006xG-27 for emacs-orgmode@gnu.org; Sun, 14 Apr 2013 05:59:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URJin-00070y-2x for emacs-orgmode@gnu.org; Sun, 14 Apr 2013 05:59:41 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:23382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URJim-00070n-TY for emacs-orgmode@gnu.org; Sun, 14 Apr 2013 05:59:41 -0400 In-reply-to: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Johan Sandblom Cc: Emacs orgmode Johan Sandblom writes: > However, tangling this apparently first sorts the chunks according to > mode, so the resulting file first contains all the html, then the css, > javascript and php in order Hi, Try naming the chunks (any name will do), and add a block pulling them all together with noweb syntax. #+NAME: header #+BEGIN_SRC nxml ! #+END_SRC #+NAME: styles #+BEGIN_SRC css /* inline CSS */ #+END_SRC #+NAME: scripts #+BEGIN_SRC javascript // javascript #+END_SRC #+NAME: body1 #+BEGIN_SRC nxml #+END_SRC #+NAME: body2 #+BEGIN_SRC nxml #+END_SRC #+NAME: fulldoc #+BEGIN_SRC nxml :tangle test-tangle.php :noweb yes <
> <> <> <> <> #+end_src Yours, Christian