emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* option for specific setupfile file or export option in org-publish-project-alist?
@ 2016-09-10 15:47 Xebar Saram
  2016-09-10 21:25 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Xebar Saram @ 2016-09-10 15:47 UTC (permalink / raw)
  To: org mode

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

Hi all

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

best

Z

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

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-10 15:47 option for specific setupfile file or export option in org-publish-project-alist? Xebar Saram
@ 2016-09-10 21:25 ` Nicolas Goaziou
  2016-09-11  6:32   ` Xebar Saram
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-09-10 21:25 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Hello,

Xebar Saram <zeltakc@gmail.com> 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

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-10 21:25 ` Nicolas Goaziou
@ 2016-09-11  6:32   ` Xebar Saram
  2016-09-11  6:37     ` Xebar Saram
  2016-09-11  7:57     ` Nicolas Goaziou
  0 siblings, 2 replies; 8+ messages in thread
From: Xebar Saram @ 2016-09-11  6:32 UTC (permalink / raw)
  To: Xebar Saram, org mode

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

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 <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Xebar Saram <zeltakc@gmail.com> 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
>

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

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-11  6:32   ` Xebar Saram
@ 2016-09-11  6:37     ` Xebar Saram
  2016-09-11  7:59       ` Nicolas Goaziou
  2016-09-11  7:57     ` Nicolas Goaziou
  1 sibling, 1 reply; 8+ messages in thread
From: Xebar Saram @ 2016-09-11  6:37 UTC (permalink / raw)
  To: Xebar Saram, org mode

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

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 <zeltakc@gmail.com> 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 <mail@nicolasgoaziou.fr>
> wrote:
>
>> Hello,
>>
>> Xebar Saram <zeltakc@gmail.com> 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
>>
>
>

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

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-11  6:32   ` Xebar Saram
  2016-09-11  6:37     ` Xebar Saram
@ 2016-09-11  7:57     ` Nicolas Goaziou
  1 sibling, 0 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2016-09-11  7:57 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Xebar Saram <zeltakc@gmail.com> writes:

> 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

Shouldn't it be :exclude-tags '("note" "noexport") ?
>               :reveal-single-file t)
>
> is the line
>
> :reveal-single-file t
>
> correct syntax?

I think so.

Regards,

-- 
Nicolas Goaziou

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-11  6:37     ` Xebar Saram
@ 2016-09-11  7:59       ` Nicolas Goaziou
  2016-09-11  9:32         ` Xebar Saram
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-09-11  7:59 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Hello,

Xebar Saram <zeltakc@gmail.com> writes:

> 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"

You can remove them with a hook, or a parse tree filter.

Regards,

-- 
Nicolas Goaziou

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-11  7:59       ` Nicolas Goaziou
@ 2016-09-11  9:32         ` Xebar Saram
  2016-09-17  8:01           ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Xebar Saram @ 2016-09-11  9:32 UTC (permalink / raw)
  To: org mode, mail

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

thx!

the :exclude-tags '("note" "noexport")  fixed the export and it works great
now

"...You can remove them with a hook, or a parse tree filter."

can you perhaps show an example for that or point me to some documentation
on that? im VERY bad at coding :)

thx so much again, really appreciate your help

Z



On Sun, Sep 11, 2016 at 10:59 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Xebar Saram <zeltakc@gmail.com> writes:
>
> > 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"
>
> You can remove them with a hook, or a parse tree filter.
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

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

* Re: option for specific setupfile file or export option in org-publish-project-alist?
  2016-09-11  9:32         ` Xebar Saram
@ 2016-09-17  8:01           ` Nicolas Goaziou
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2016-09-17  8:01 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

Hello,

Xebar Saram <zeltakc@gmail.com> writes:

> "...You can remove them with a hook, or a parse tree filter."
>
> can you perhaps show an example for that or point me to some documentation
> on that? im VERY bad at coding :)

See (info "(org) Advanced configuration")

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2016-09-17  8:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-10 15:47 option for specific setupfile file or export option in org-publish-project-alist? Xebar Saram
2016-09-10 21:25 ` Nicolas Goaziou
2016-09-11  6:32   ` Xebar Saram
2016-09-11  6:37     ` Xebar Saram
2016-09-11  7:59       ` Nicolas Goaziou
2016-09-11  9:32         ` Xebar Saram
2016-09-17  8:01           ` Nicolas Goaziou
2016-09-11  7:57     ` 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).