From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Tangling text files Date: Fri, 27 Jan 2012 18:43:47 -0700 Message-ID: <871uqka9f0.fsf@gmx.com> References: <46C672C4-4401-4ADD-8E30-68CAC7B1522F@coateconnection.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqxKx-0003P2-OI for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 20:44:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqxKv-0005Y1-8f for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 20:44:14 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:47699) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RqxKu-0005Xx-On for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 20:44:13 -0500 In-Reply-To: <46C672C4-4401-4ADD-8E30-68CAC7B1522F@coateconnection.com> (dlc@coateconnection.com's message of "Fri, 27 Jan 2012 12:07:28 -0600") 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: dlc Cc: Org Mode dlc writes: > How do I tangle txt to a txt file? > > #+TITLE: Centos 5 Apache Configuration > #+AUTHOR: David Coate > > * Basic Conguration > * Php Settings > * Virtual Host > e.g. for apache configuration > ** example.com > Use this as main website, use drupal, various other notes > > #+BEGIN_SRC: txt :tangle vhost.conf > ServerName Example.com > DocumentRoot "/var/www/example.com" > #+END_SRC: > It is actually just a syntax problem, you should delete the ":"s after your begin and end src lines so the above becomes #+BEGIN_SRC txt :tangle vhost.conf ServerName Example.com DocumentRoot "/var/www/example.com" #+END_SRC Then tangling should work as expected. You'd be surprised how long it took me to notice the colons :). One good way to solve these sorts of issues is using the built in templates, e.g., type "