emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* add publish option :with-setupfile
@ 2015-11-23 11:47 Manuel Koell
  2015-11-24 22:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Koell @ 2015-11-23 11:47 UTC (permalink / raw)
  To: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

I would like to see such option so someone can create a setupfile with
macros/options per project or target (component). The setupfiles can be
located in the project directory then. I dont know how to set macros in
publishing components. Otherwise, you'd have to insert the #+SETUPFILE
option in each file manually.

[-- Attachment #2: Type: text/html, Size: 357 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: add publish option :with-setupfile
  2015-11-23 11:47 add publish option :with-setupfile Manuel Koell
@ 2015-11-24 22:09 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-11-24 22:09 UTC (permalink / raw)
  To: Manuel Koell; +Cc: org-mode mailing list

Hello,

Manuel Koell <man.koell@gmail.com> writes:

> I would like to see such option so someone can create a setupfile with
> macros/options per project or target (component). The setupfiles can be
> located in the project directory then. I dont know how to set macros in
> publishing components. Otherwise, you'd have to insert the #+SETUPFILE
> option in each file manually.

I don't think there is a need for that. 

You can write a function prepending the SETUPFILE line you want to any
given Org document and add it to :publishing-function property.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-24 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23 11:47 add publish option :with-setupfile Manuel Koell
2015-11-24 22:09 ` Nicolas Goaziou

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).