From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: option for specific setupfile file or export option in org-publish-project-alist? Date: Sun, 11 Sep 2016 09:37:55 +0300 Message-ID: References: <877fajzbud.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c06958ca02f3c053c359e68 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biyPu-0002iQ-Dd for emacs-orgmode@gnu.org; Sun, 11 Sep 2016 02:39:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biyPo-0002rp-GE for emacs-orgmode@gnu.org; Sun, 11 Sep 2016 02:39:01 -0400 Received: from mail-yb0-f174.google.com ([209.85.213.174]:34146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biyPo-0002rk-Au for emacs-orgmode@gnu.org; Sun, 11 Sep 2016 02:38:56 -0400 Received: by mail-yb0-f174.google.com with SMTP id x93so40963054ybh.1 for ; Sat, 10 Sep 2016 23:38:56 -0700 (PDT) In-Reply-To: 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.org@gnu.org Sender: "Emacs-orgmode" To: Xebar Saram , org mode --94eb2c06958ca02f3c053c359e68 Content-Type: text/plain; charset=UTF-8 also related can one define specific header names to exclude in export (not using tags but just a header name) so ie, i would instead of tagging all headers named "Homework" one by one, i would just add a line in the export options saying exclude any header named "Homework" thx! Z On Sun, Sep 11, 2016 at 9:32 AM, Xebar Saram wrote: > thx Nicolas, appriciate the answer. > > i dont think its working for me but i may be missing the correct syntax > > this is how it currently looks > > ("r.base.full" > :base-directory "/home/zeltak/org/files/Uni/Courses/R/" > :base-extension "org" > :publishing-directory "/home/zeltak/org/attach/bgu/ > courses/R/full.html/" > :publishing-function z/org-reveal-publish-to-html > :recursive t > :exclude-tags note noexport > :reveal-single-file t) > > is the line > > :reveal-single-file t > > correct syntax? > > thx alot! > > Z > > > On Sun, Sep 11, 2016 at 12:25 AM, Nicolas Goaziou > wrote: > >> Hello, >> >> Xebar Saram writes: >> >> > im wondering if anyone knows if its possible (and if so whats the >> syntax) >> > to point to a specific setupfile or add specific or export options in >> > the org-publish-project-alist >> > >> > for example i want to publish to 2 different folders once time with the >> > option #+OPTIONS: reveal_single_file:t and one time without. i cant >> seem to >> > find how to do that >> >> Try :reveal-single-file publishing option. It is the property associated >> to the OPTIONS item, according to "ox-reveal.el". >> >> Regards, >> >> -- >> Nicolas Goaziou >> > > --94eb2c06958ca02f3c053c359e68 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
also related can one define specific header names to exclu= de in export (not using tags but just a header name)
so ie, i would ins= tead of tagging all headers named "Homework" one by one, i would = just add a line in the export options saying exclude any header named "= ;Homework"

thx!

Z

On Sun, = Sep 11, 2016 at 9:32 AM, Xebar Saram <zeltakc@gmail.com> wro= te:
thx Nicolas, apprici= ate the answer.

i dont think its working for me but i ma= y be missing the correct syntax

this is how it cur= rently looks

=C2=A0 =C2=A0 =C2=A0("r.base.full"
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :base-directory "/home/zelt= ak/org/files/Uni/Courses/R/"
=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 "/home= /zeltak/org/attach/bgu/courses/R/full.html/"
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :publishing-function z/org-reveal-pu= blish-to-html
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :r= ecursive t
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :excl= ude-tags note noexport
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 :reveal-single-file t)

is the line

:reveal-single-file t=C2=A0

correct syntax?

thx alot!

Z


On Sun, Sep 11, 2016 a= t 12:25 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wr= ote:
Hello,

Xebar Saram <zelt= akc@gmail.com> writes:

> im wondering if anyone knows if its possible (and if so whats the synt= ax)
> to point to a specific setupfile or add specific or export options in<= br> > the org-publish-project-alist
>
> for example i want to publish to 2 different folders once time with th= e
> option #+OPTIONS: reveal_single_file:t and one time without. i cant se= em to
> find how to do that

Try :reveal-single-file publishing option. It is the property associ= ated
to the OPTIONS item, according to "ox-reveal.el".

Regards,

--
Nicolas Goaziou


--94eb2c06958ca02f3c053c359e68--