* special treatment of one org-file in org-publish
@ 2020-01-29 1:11 John Kitchin
2020-02-12 8:28 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: John Kitchin @ 2020-01-29 1:11 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1627 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: special treatment of one org-file in org-publish
2020-01-29 1:11 special treatment of one org-file in org-publish John Kitchin
@ 2020-02-12 8:28 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-02-12 8:28 UTC (permalink / raw)
To: John Kitchin; +Cc: org-mode-email
Hi John,
John Kitchin <jkitchin@andrew.cmu.edu> writes:
> ("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.
I'd say the first one is more readable.
If you find a place in the documentation where we could explicit the
interactions between :exclude, :include and :base-extension please go
ahead!
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-12 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 1:11 special treatment of one org-file in org-publish John Kitchin
2020-02-12 8:28 ` Bastien
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).