From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: special treatment of one org-file in org-publish Date: Tue, 28 Jan 2020 20:11:32 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002c87df059d3d0693" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34744) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwbtV-0005b6-Pb for emacs-orgmode@gnu.org; Tue, 28 Jan 2020 20:11:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwbtU-0006BW-ME for emacs-orgmode@gnu.org; Tue, 28 Jan 2020 20:11:49 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:43064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwbtU-00069W-7v for emacs-orgmode@gnu.org; Tue, 28 Jan 2020 20:11:48 -0500 Received: by mail-wr1-x429.google.com with SMTP id d16so18260616wre.10 for ; Tue, 28 Jan 2020 17:11:47 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: org-mode-email --0000000000002c87df059d3d0693 Content-Type: text/plain; charset="UTF-8" Hi everyone, I have one org file I have to publish in a special way in an org-publish project. I have this sub-component setup as: ("references" :base-directory "/Users/jkitchin/2020/01/26/org-files/" :exclude "org" :include ("c.org") :publishing-directory "docs" :publishing-function ox-manuscript-publish-references) This seems to ignore all org files, except the one I included, and on that one it runs the special publishing-function. Is the version above preferable to: ("references" :base-directory "/Users/jkitchin/2020/01/26/org-files/" :base-extension "[^.*]" :include ("c.org") :publishing-directory "docs" :publishing-function ox-manuscript-publish-references) They both seem to work. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --0000000000002c87df059d3d0693 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

I have one = org file I have to publish in a special way in an org-publish project. I ha= ve this sub-component setup as:

=C2=A0 ("refe= rences"
=C2=A0:base-directory "/Users/jkitchin/2020/01/26/or= g-files/"
=C2=A0:exclude "org"
=C2=A0:include (&qu= ot;c.org")
=C2=A0:publishing-directo= ry "docs"
=C2=A0:publishing-function ox-manuscript-publish-r= eferences)

This seems to ignore all org files,= except the one I included, and on that one it runs the special publishing-= function.

Is the version above preferable=C2=A0to:=

=C2=A0 ("references"
=C2=A0:base-d= irectory "/Users/jkitchin/2020/01/26/org-files/"
=C2=A0:base= -extension "[^.*]"
=C2=A0:include ("c.org")
=C2=A0:publishing-directory "docs" =C2=A0:publishing-function ox-manuscript-publish-references)

They both seem to work.

John

--------------------------------= ---
Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of = Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213<= br>412-268-7803
--0000000000002c87df059d3d0693--