From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Drechsler Subject: customize exporting "visible" contents Date: Sat, 14 Jul 2007 03:20:45 +0200 Message-ID: <87y7hj93wy.fsf@pdrechsler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9WIQ-0000oi-Ge for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 21:19:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9WIP-0000oW-Oo for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 21:19:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9WIP-0000oT-HO for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 21:19:41 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I9WIP-0005ku-1z for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 21:19:41 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I9WIJ-0003il-5a for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 03:19:35 +0200 Received: from dslb-084-057-076-079.pools.arcor-ip.net ([84.57.76.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Jul 2007 03:19:35 +0200 Received: from patrick by dslb-084-057-076-079.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Jul 2007 03:19:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I currently have a large knowledge-base in a single org file (>5k lines of code). When exporting certain sections I would like to exclude the rest completely. Furthermore I would like to have the current section displayed as title with all child section being adapted accordingly. Say I have a file ~/tmp/a.org: --8<---------------cut here---------------start------------->8--- * Windows ** Software for working * Cygwin * more * Linux ** Software to install via package manager ** Software to install from source Use xstove * Emacs * Org Mode Compile, but keep locale. #+OPTIONS: toc:nil --8<---------------cut here---------------end--------------->8--- I can then invoke `C-c C-e v a' with the cursor being somewhere within the "* Linux" section. I will still end up with an ASCII file including the other sections: ,---- | a | = | | Author: foo | Date: 2007/07/14 03:08:10 | | | 1 Windows | ~~~~~~~~~ | | 1.1 Software for working | ======================== | * Cygwin | * more | | 2 Linux | ~~~~~~~ | | 2.1 Software to install via package manager | =========================================== | | 2.2 Software to install from source | =================================== | Use xstove | * Emacs | * Org Mode | Compile, but keep locale. `---- I would like to export something like this: ,---- | Linux | ===== | | Author: foo | Date: 2007/07/14 03:08:10 | | | 1 Software to install via package manager | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | 2 Software to install from source | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Use xstove | * Emacs | * Org Mode | Compile, but keep locale. `---- Would others find this useful? Is this difficult to imply? Cheers, Patrick -- "I'm all in favor of keeping dangerous weapons out of the hands of fools. Let's start with typewriters." -- Frank Lloyd Wright (1868-1959)