From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zihan, Sheldon Liu" Subject: Re: Ask for feature: include other .org files from a (main) .org file Date: Mon, 11 Jun 2012 08:33:54 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba5bbad744a20a04c2278139 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sdsa0-0002qs-UU for emacs-orgmode@gnu.org; Sun, 10 Jun 2012 20:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdsZx-0004cs-W3 for emacs-orgmode@gnu.org; Sun, 10 Jun 2012 20:34:00 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:58572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdsZx-0004c5-KV for emacs-orgmode@gnu.org; Sun, 10 Jun 2012 20:33:57 -0400 Received: by eekb47 with SMTP id b47so1885927eek.0 for ; Sun, 10 Jun 2012 17:33:55 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --90e6ba5bbad744a20a04c2278139 Content-Type: text/plain; charset=ISO-8859-1 Never mind. I just noticed that #+setupfile is what I want. Thx. On Sun, Jun 10, 2012 at 8:23 PM, Zihan, Sheldon Liu wrote: > I want to place some customization codes in a separate file, and include > it from other files later. For example, file config.org has a single line #+MATHJAX: > align:"left" mathml:t. How do I include it in another .org file abc.org so > that the net-effect is exactly same as I write that #+MATHJAX line > directly in abc.org (#+INCLUDE doesn't meet this requirement)? Thanks. > > -- > Regards, > Zihan, Sheldon Liu > ------------------------ > The Media Computing Group (MCG) > where Media Spectrum unleashes Digital Potential for Fun in Life. > > School of Creative Media (SCM) > City University of Hong Kong > -- Regards, Zihan, Sheldon Liu ------------------------ The Media Computing Group (MCG) where Media Spectrum unleashes Digital Potential for Fun in Life. School of Creative Media (SCM) City University of Hong Kong --90e6ba5bbad744a20a04c2278139 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0 =A0 Never mind. I just noticed that=A0#+setupfile is what I want. Thx.<= br>
On Sun, Jun 10, 2012 at 8:23 PM, Zihan, S= heldon Liu <updogliu@gmail.com> wrote:
I want to place some customization codes in a separat= e file, and include it from other files later. For example, file=A0<= code style=3D"margin:0px;padding:1px 5px;border:0px;font-size:17px;vertical= -align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Menl= o,Monaco,'Lucida Console','Liberation Mono','DejaVu San= s Mono','Bitstream Vera Sans Mono','Courier New',monosp= ace,serif;line-height:22px;text-align:left">config.org=A0has a single line=A0#+MATHJAX: align:"left" mathml:t. How = do I include it in another .org file=A0abc.org=A0so= that the net-effect is exactly same as I write that=A0#+MATHJAX=A0line directly in abc.org (#+INCLUDE doesn't meet this requirement)? Thanks.

--
Regards,
Zihan, Sheldon Liu
-------------------= -----
The Media Computing Group (MCG)
where Media Spectrum unleashes = Digital Potential for Fun in Life.

School of Creative Media (SCM) City University of Hong Kong



-- Regards,
Zihan, Sheldon Liu
------------------------
The Media C= omputing Group (MCG)
where Media Spectrum unleashes Digital Potential fo= r Fun in Life.

School of Creative Media (SCM)
City University of Hong Kong
--90e6ba5bbad744a20a04c2278139--