From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Conditionally export certain sections based on predefined types Date: Thu, 4 Dec 2014 14:48:10 -0500 Message-ID: References: <87iohrb5r8.fsf@enterprise.sectorq.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwcOA-0006iz-Bl for emacs-orgmode@gnu.org; Thu, 04 Dec 2014 14:48:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwcO9-0005mB-4S for emacs-orgmode@gnu.org; Thu, 04 Dec 2014 14:48:34 -0500 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:61210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwcO8-0005ks-NS for emacs-orgmode@gnu.org; Thu, 04 Dec 2014 14:48:33 -0500 Received: by mail-oi0-f53.google.com with SMTP id x69so12916778oia.40 for ; Thu, 04 Dec 2014 11:48:30 -0800 (PST) In-Reply-To: <87iohrb5r8.fsf@enterprise.sectorq.net> 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: Pete Ley Cc: emacs-orgmode Mailinglist On Thu, Dec 4, 2014 at 1:59 PM, Pete Ley wrote: > Not a great title, but I'm not sure how to explain what I want > succinctly. > > I'm trying to write a resume, and I'd like to be able to export > different versions of it for different things. For instance, I don't > necessarily want to include my hourly job experience when applying for a > programming job, and I'd like to exclude my programming and other > technical experience for certain job applications. > > I'm thinking something like this > > * Work experience > ** Some hourly job > :PROPERTIES: > :export-exclude: programming > :END: > > * Programming languages > :PROPERTIES: > :export-exclude: hourly > :END: > > Obviously it doesn't have to be properties, but I thought that was the > most clear way to explain what I'm looking for. So I'd like to be able > to export a specific type of resume, like a "programming" resume which > excludes hourly jobs or an "hourly" resume which excludes programming > language proficiency. > > Is there a way to do this already? Is there a canonical way to create > this functionality? I'd rather not start hacking without a good idea of > how more knowledgeable users might tackle this. There might be better ways, but I do --8<---------------cut here---------------start------------->8- # uncomment one of these before export. # for hourly version: # #+EXCLUDE_TAGS: programming # for programming version # #+EXCLUDE_TAGS: hourly * Work experience :hourly: ** Some hourly job * Programming languages :programming: --8<---------------cut here---------------end------------->8- Best, Ista >