From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Martino Subject: One org file, multiple exports, is it possible? Date: Sat, 22 May 2010 19:46:26 -0400 Message-ID: Reply-To: kmartino@pobox.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47394 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFyOj-0006S4-IE for emacs-orgmode@gnu.org; Sat, 22 May 2010 19:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFyOh-0001TT-SP for emacs-orgmode@gnu.org; Sat, 22 May 2010 19:46:29 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:33223) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFyOh-0001TE-OE for emacs-orgmode@gnu.org; Sat, 22 May 2010 19:46:27 -0400 Received: by wyf22 with SMTP id 22so638388wyf.0 for ; Sat, 22 May 2010 16:46:26 -0700 (PDT) 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: emacs-orgmode@gnu.org Hello, I am a long time org-mode user, this my first time posting to the email lis= t, and before I ask my question I first want to say thanks to all those who ar= e 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, filt= ered 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 filte= red version of this file to ~/notes/export/index.html ~/notes/export/index_[tagname].html and to change each filtered export's ti= tle. 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 an= d puts the result in different publishing directories. But I still can't fig= ure out how to change the title on those exported pages. Can anyone provide me= with any pointers? (setq org-publish-project-alist =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '( =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("highlights" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:base-directory "~/notes/org/" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:base-extension "org" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:publishing-directory "~/notes/= export" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:publishing-function org-publis= h-org-to-html =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:select-tags =C2=A0=C2=A0=C2=A0= ("highlight") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:include ("index.org") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0) =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("work" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:base-directory "~/notes/org/" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:base-extension "org" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:publishing-directory "~/notes/= export/work/" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:publishing-function org-publis= h-org-to-html =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:select-tags =C2=A0=C2=A0=C2=A0= ("@WORK") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:include ("index.org") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:exclude "\\.org$" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0) =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ("home" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:base-directory "~/notes/org/" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:base-extension "org" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:publishing-directory "~/notes/= export/home/" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:publishing-function org-publis= h-org-to-html =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:select-tags =C2=A0=C2=A0=C2=A0= ("@HOME") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:include ("index.org") =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:exclude "\\.org$" =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0:link-up =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0) =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 )) 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=E2=80=9D - Steven Covey paradox1x.org, phillyfuture.org, @kmartino