From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: limiting export by category, tag or property Date: Mon, 16 Jul 2007 08:50:20 +0200 Message-ID: References: <87ps2tnnma.fsf@pdrechsler.de> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAKPX-0007e3-Nz for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAKPW-0007bx-13 for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAKPV-0007bc-MP for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:21 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAKPV-0004Iu-8w for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:21 -0400 In-Reply-To: <87ps2tnnma.fsf@pdrechsler.de> 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: Patrick Drechsler Cc: emacs-orgmode@gnu.org On Jul 16, 2007, at 3:28, Patrick Drechsler wrote: > Hi, > > what is a good way of excluding certain sections of a file from being > exported (similar to `C-c C-e v'). > > Can this be done by setting "category", "tag" or "property"? The tag ARCHIVED will keep a subtree from exporting (depending on the variable `org-export-with-archived-trees'). But I guess this is not what you want. A section starting with the word `org-comment-string' will not be exported. Maybe, if you don't use this for comments, change it to "PRIVATE" or whatever. Then you can do * info for all Lets all hail the boss * info for group Make sure that you ask me before you ask the boss, because he is so busy with important stuff. * PRIVATE info Actually, the boss is a total crackpot. Properties are new. I guess if I had known about properties 2 years ago, #+CATEGORY would have become a property. There are a number of things that could potentially be set through properties. This needs more time, because I am wary about having too many different ways to set the same variable. But things that are candidates are: - Category - Archive location - File name for export of a subtree Carsten