[O] Conditionally export certain sections based on predefined types

2014-12-04 Thread Pete Ley
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.



Re: [O] Conditionally export certain sections based on predefined types

2014-12-04 Thread Ista Zahn
On Thu, Dec 4, 2014 at 1:59 PM, Pete Ley peteley11...@gmail.com 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