From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Worg: common #+MACRO definitions Date: Mon, 5 Oct 2009 08:01:00 +0200 Message-ID: <477C7CE1-81FA-4754-AF26-01A6A3D1D151@gmail.com> References: <1254702207.8436.42.camel@beteigeuze> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuhLF-0007l0-9g for emacs-orgmode@gnu.org; Mon, 05 Oct 2009 02:46:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuhL9-0007h1-Th for emacs-orgmode@gnu.org; Mon, 05 Oct 2009 02:46:40 -0400 Received: from [199.232.76.173] (port=40385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuhL9-0007gq-O7 for emacs-orgmode@gnu.org; Mon, 05 Oct 2009 02:46:35 -0400 Received: from ey-out-1920.google.com ([74.125.78.149]:20252) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MuhL9-0000sS-AR for emacs-orgmode@gnu.org; Mon, 05 Oct 2009 02:46:35 -0400 Received: by ey-out-1920.google.com with SMTP id 3so1943658eyh.34 for ; Sun, 04 Oct 2009 23:46:34 -0700 (PDT) In-Reply-To: <1254702207.8436.42.camel@beteigeuze> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: Orgmode Mailing List On Oct 5, 2009, at 2:23 AM, Sebastian wrote: > Hello Worg, > > > I'm currently (still) sitting in front of a little tutorial (images in > XHTML export). > > Every now and then, I'd like to display a (info/warning) box. Locally, > what I do is this: > > > In the head section of the Org-file, I define four macros: > > #+MACRO: InfoBox @
@ #+MACRO: EndInfoBox @
> #+MACRO: WarningBox @
@ #+MACRO: EndWarningBox @
> > > A box looks like this (currently without borders, but they're just > commented in worg.css): > > > +----------------------------------------------------+ > | +-----+ | > | | ICO | Note, that this is the message in the | > | +-----+ box. The text flows aroung the image on | > | The left. There are different icons for info and | > | Warning. | > +----------------------------------------------------+ > > I would like to keep them in. > > > To do so: > > 1.) I've added a directory worg/images/icons/ and > put those little icons there. > > 2.) This is the crucial point: can we have (have we?) > a common #+SETUPFILE:, where we could define those > macros? That way we could use those boxes in all > our files, and they all would look the same, even > if changed. worg/macros.org ??? I would say no problem! Just create it. Bastien, any objections? - Carsten > > > > Best wishes > > Sebastian > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode