From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: orgmode read/source all options from a template file? Date: Thu, 21 Jul 2016 14:08:03 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c156aef74df505382354e9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQBpo-0006ZY-6D for emacs-orgmode@gnu.org; Thu, 21 Jul 2016 07:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQBpl-000279-Qp for emacs-orgmode@gnu.org; Thu, 21 Jul 2016 07:08:06 -0400 Received: from mail-yw0-x236.google.com ([2607:f8b0:4002:c05::236]:33957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQBpl-000275-KZ for emacs-orgmode@gnu.org; Thu, 21 Jul 2016 07:08:05 -0400 Received: by mail-yw0-x236.google.com with SMTP id z8so49175560ywa.1 for ; Thu, 21 Jul 2016 04:08:05 -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: org mode --001a11c156aef74df505382354e9 Content-Type: text/plain; charset=UTF-8 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 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 > --001a11c156aef74df505382354e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok got it, you can "source" a template file by u= sing 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 <= span dir=3D"ltr"><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 examp= le instead of adding all this to every presentation file i create:

=C2=A0 =C2=A0 =C2=A0#+OPTIONS: reveal_center:t reveal_prog= ress:t reveal_history:nil =C2=A0 =C2=A0reveal_control:t
=C2=A0 = =C2=A0 =C2=A0#+OPTIONS: reveal_center:t=C2=A0
=C2=A0 =C2=A0 =C2= =A0#+OPTIONS: reveal_rolling_links:t reveal_keyboard:t reveal_overview:t nu= m:nil
=C2=A0 =C2=A0 =C2=A0#+OPTIONS: reveal_width:1200 reveal_hei= ght:800
=C2=A0 =C2=A0 =C2=A0 #+OPTIONS: toc:nil
=C2=A0 = =C2=A0 =C2=A0 # #+REVEAL: split
=C2=A0 =C2=A0 =C2=A0 #+REVEAL_MAR= GIN: 0.1
=C2=A0 =C2=A0 =C2=A0 #+REVEAL_MIN_SCALE: 0.5
<= br>
i would just source a file (txt or orgmode?) with all the pre= definitions

any clue?

<= div>thx

Z

--001a11c156aef74df505382354e9--