all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: Re: orgmode read/source all options from a template file?
Date: Thu, 21 Jul 2016 14:08:03 +0300	[thread overview]
Message-ID: <CAOQHXPoKxYCqWLD5if=BmpbFuJF51OBubscHW197EBf3oAVA3g@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPpP+Qm=WR+eDnrfnOzVVL1mCpyL0aySFiVYAFNfqhSgPw@mail.gmail.com>

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

Ok got it, you can "source" a template file by using the SETUPFILE option ,
ie;

#+SETUPFILE: /home/zeltak/org/files/Uni/Courses/templates/
org.options.reveal.org


best

z

On Thu, Jul 21, 2016 at 1:15 PM, Xebar Saram <zeltakc@gmail.com> wrote:

> Hi all
>
> i was wondering if orgmode had a simple way to read/source all options
> from a template file. for example instead of adding all this to every
> presentation file i create:
>
>      #+OPTIONS: reveal_center:t reveal_progress:t reveal_history:nil
>  reveal_control:t
>      #+OPTIONS: reveal_center:t
>      #+OPTIONS: reveal_rolling_links:t reveal_keyboard:t reveal_overview:t
> num:nil
>      #+OPTIONS: reveal_width:1200 reveal_height:800
>       #+OPTIONS: toc:nil
>       # #+REVEAL: split
>       #+REVEAL_MARGIN: 0.1
>       #+REVEAL_MIN_SCALE: 0.5
>
> i would just source a file (txt or orgmode?) with all the pre definitions
>
> any clue?
>
> thx
>
> Z
>

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

  reply	other threads:[~2016-07-21 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 10:15 orgmode read/source all options from a template file? Xebar Saram
2016-07-21 11:08 ` Xebar Saram [this message]
     [not found] <c8421cb361a34795ba4519c181b42ac5@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-07-21 13:56 ` Eric S Fraga
2016-07-21 15:34   ` Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOQHXPoKxYCqWLD5if=BmpbFuJF51OBubscHW197EBf3oAVA3g@mail.gmail.com' \
    --to=zeltakc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.