[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: One org file, multiple exports, is it possible?
From: |
Karl Martino |
Subject: |
[Orgmode] Re: One org file, multiple exports, is it possible? |
Date: |
Sat, 22 May 2010 20:47:23 -0400 |
Hello,
I should have added, I realize that there are options to export
separate subtrees using EXPORT_FILE_NAME and EXPORT_TITLE properties.
I hope I described how this is similar to that but different. I a
have content spread across subtrees I want to gather by tag and export
using similar variables to these.
I *could* reorganize my file to use seperate subtrees, but it seems a
shame to do so since having an internal blog-like structure for my
journal that I can filter by tag just maps real well to how I work and
think.
Thanks,
Karl
On Sat, May 22, 2010 at 7:46 PM, Karl Martino <address@hidden> wrote:
> Hello,
>
> I am a long time org-mode user, this my first time posting to the email list,
> and before I ask my question I first want to say thanks to all those who are
> helping maintain and grow this terrific software.
>
> I maintain a single org-mode file with half my life in it. It
> contains my journal, my task list, contacts, and notes on various projects. I
> use tags to indicate what content is associated to what content.
>
> What I would like to do is publish multiple html exports of this file,
> filtered
> by tag. A file that comprises of journal entries that are tagged for
> work. Another with journal entries that are tagged as personal highlights I
> want
> to take special note of.
>
> This file's path is at ~/notes/org/index.org. I'd like to export the filtered
> version of this file to ~/notes/export/index.html
> ~/notes/export/index_[tagname].html and to change each filtered export's
> title.
>
> So far in my reading of the docs, this does not seem possible. It seems you
> cannot indicate the export result file name. But I can indicate path. So
> following is a sample org-publish-project-alist that that filters by tag and
> puts the result in different publishing directories. But I still can't figure
> out how to change the title on those exported pages. Can anyone provide me
> with
> any pointers?
>
> (setq org-publish-project-alist
> '(
> ("highlights"
> :base-directory "~/notes/org/"
> :base-extension "org"
> :publishing-directory "~/notes/export"
> :publishing-function org-publish-org-to-html
> :select-tags ("highlight")
> :include ("index.org")
> )
> ("work"
> :base-directory "~/notes/org/"
> :base-extension "org"
> :publishing-directory "~/notes/export/work/"
> :publishing-function org-publish-org-to-html
> :select-tags ("@WORK")
> :include ("index.org")
> :exclude "\\.org$"
> )
> ("home"
> :base-directory "~/notes/org/"
> :base-extension "org"
> :publishing-directory "~/notes/export/home/"
> :publishing-function org-publish-org-to-html
> :select-tags ("@HOME")
> :include ("index.org")
> :exclude "\\.org$"
> :link-up
> )
> ))
>
> I am using org-version 6.33f and Emacs 23.1.9 on OS-X.
>
> Thank you in advance,
>
> Karl
>
> --
> "Seek First to Understand, Then to be Understood” - Steven Covey
>
> paradox1x.org, phillyfuture.org, @kmartino
>
--
"Seek First to Understand, Then to be Understood” - Steven Covey
www.paradox1x.org, www.phillyfuture.org, @kmartino
- [Orgmode] One org file, multiple exports, is it possible?, Karl Martino, 2010/05/22
- [Orgmode] Re: One org file, multiple exports, is it possible?,
Karl Martino <=
- Re: [Orgmode] One org file, multiple exports, is it possible?, Carsten Dominik, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Karl Martino, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Eric Schulte, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Carsten Dominik, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Karl Martino, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Thomas S. Dye, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Carsten Dominik, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Thomas S. Dye, 2010/05/23
- Re: [Orgmode] One org file, multiple exports, is it possible?, Carsten Dominik, 2010/05/24
- Re: [Orgmode] One org file, multiple exports, is it possible?, Thomas S. Dye, 2010/05/24