emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Conditionally export certain sections based on predefined types
@ 2014-12-04 18:59 Pete Ley
  2014-12-04 19:48 ` Ista Zahn
  0 siblings, 1 reply; 2+ messages in thread
From: Pete Ley @ 2014-12-04 18:59 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Conditionally export certain sections based on predefined types
  2014-12-04 18:59 Conditionally export certain sections based on predefined types Pete Ley
@ 2014-12-04 19:48 ` Ista Zahn
  0 siblings, 0 replies; 2+ messages in thread
From: Ista Zahn @ 2014-12-04 19:48 UTC (permalink / raw)
  To: Pete Ley; +Cc: emacs-orgmode Mailinglist

On Thu, Dec 4, 2014 at 1:59 PM, Pete Ley <peteley11235@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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-04 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04 18:59 Conditionally export certain sections based on predefined types Pete Ley
2014-12-04 19:48 ` Ista Zahn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).