From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Martino Subject: Re: One org file, multiple exports, is it possible? Date: Sun, 23 May 2010 08:22:45 -0400 Message-ID: References: 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=59305 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGACd-0007Vi-Uc for emacs-orgmode@gnu.org; Sun, 23 May 2010 08:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGACc-0003xx-CM for emacs-orgmode@gnu.org; Sun, 23 May 2010 08:22:47 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:48364) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGACc-0003xo-6U for emacs-orgmode@gnu.org; Sun, 23 May 2010 08:22:46 -0400 Received: by wyf22 with SMTP id 22so841802wyf.0 for ; Sun, 23 May 2010 05:22:45 -0700 (PDT) In-Reply-To: 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 Hi Carsten, Thanks for help, unfortunately I tried ":title" and it is ignored. The issue with #+TITLE in the buffer is that it is the same file I am exporting various times, just with different tag filters, and the title then remains the same for each export, where I want it to reflect the subset of the file, ie Karl's Work Journal, or Karl's Home Journal. A workaround that just occurred to me: I could write a method that would change the #+TITLE value in the buffer, then org-reload, before exporting the component in the list. That should work. But am I missing something? Thanks again, org-mode is fantastic and has helped me wrangle a lot of complexity into something portable and easy to use. It's been a lifesaver for me :) Thanks, Karl >> (setq org-publish-project-alist >> =C2=A0 =C2=A0 =C2=A0'( >> =C2=A0 =C2=A0 =C2=A0 =C2=A0("highlights" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-directory "~/notes/org/" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-extension "org" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-directory "~/notes/export" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-function org-publish-org-to-html >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :select-tags =C2=A0 =C2=A0 ("highlight") >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :include ("index.org") > > I have not tried it, but if you do not have #+TITLE in the buffer, > then > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :title "This is my title" > > in the publishing plist might work. =C2=A0Give it a try. > > - Carsten > >> =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 :base-directory "~/notes/org/" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-extension "org" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-directory "~/notes/export/work/" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-function org-publish-org-to-html >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :select-tags =C2=A0 =C2=A0 ("@WORK") >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :include ("index.org") >> =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("home" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-directory "~/notes/org/" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-extension "org" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-directory "~/notes/export/home/" >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-function org-publish-org-to-html >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :select-tags =C2=A0 =C2=A0 ("@HOME") >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :include ("index.org") >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 :exclude "\\.org$" >> =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)) >>