From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Sandblom Subject: sequence of tangles Date: Sun, 14 Apr 2013 10:39:21 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URIVo-0002fS-Ln for emacs-orgmode@gnu.org; Sun, 14 Apr 2013 04:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URIVn-0006z4-Ok for emacs-orgmode@gnu.org; Sun, 14 Apr 2013 04:42:12 -0400 Received: from vsp-authed02.binero.net ([195.74.38.226]:32777 helo=vsp-authed-02-02.binero.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1URITB-0005rW-CQ for emacs-orgmode@gnu.org; Sun, 14 Apr 2013 04:39:29 -0400 Received: from smtp01.binero.se (unknown [195.74.38.28]) by vsp-authed-02-02.binero.net (Halon Mail Gateway) with ESMTP for ; Sun, 14 Apr 2013 10:39:21 +0200 (CEST) Received: from webmail.binero.se (unknown [195.74.38.9]) (Authenticated sender: js@ndblom.se) by smtp-08-01.atm.binero.net (Postfix) with ESMTPA id 0D8513A1F9 for ; Sun, 14 Apr 2013 10:39:21 +0200 (CEST) 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: Emacs orgmode Hi, all. I have a problem, most likely due to ignorance. For a project I am construction a web page as a single page. This page contains html, php, css and javascript. I have collected the project in an org file, with source code chunks in the various languages. So I have #+BEGIN_SRC nxml :tangle file.php ! #+END_SRC #+BEGIN_SRC css :tangle file.php /* inline CSS */ #+END_SRC #+BEGIN_SRC javascript :tangle file.php // javascript #+END_SRC #+BEGIN_SRC nxml :tangle file.php #+END_SRC #+BEGIN_SRC php :tangle file.php #+END_SRC #+BEGIN_SRC nxml :tangle file.php #+END_SRC 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 html more html even more html css js php resulting in an unusable file. I am sure I am overlooking something simple but I am unable to find it. Johan -- Johan Sandblom, MD PhD m +46735521477 What is wanted is not the will to believe, but the will to find out, which is the exact opposite --Bertrand Russell