From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Subject: Worg: common #+MACRO definitions Date: Mon, 05 Oct 2009 02:23:27 +0200 Message-ID: <1254702207.8436.42.camel@beteigeuze> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0171008176==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MubMW-000439-B6 for emacs-orgmode@gnu.org; Sun, 04 Oct 2009 20:23:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MubMR-00042w-QV for emacs-orgmode@gnu.org; Sun, 04 Oct 2009 20:23:35 -0400 Received: from [199.232.76.173] (port=37318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MubMR-00042t-Kq for emacs-orgmode@gnu.org; Sun, 04 Oct 2009 20:23:31 -0400 Received: from mail.gmx.net ([213.165.64.20]:44520) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MubMR-0001Du-1D for emacs-orgmode@gnu.org; Sun, 04 Oct 2009 20:23:31 -0400 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: Orgmode Mailing List --===============0171008176== Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-+klQnoO7aqbn2C+9tJCh" --=-+klQnoO7aqbn2C+9tJCh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 @
@=20 #+MACRO: WarningBox @
@ 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 ??? Best wishes Sebastian --=-+klQnoO7aqbn2C+9tJCh Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGKzCCAuQw ggJNoAMCAQICEEFoXLXNtaAH68hm8j/QT2EwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDEyNDE2MDgwN1oXDTA4MDEyNDE2MDgw N1owRzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEkMCIGCSqGSIb3DQEJARYVc2Vi YXN0aWFuX3Jvc2VAZ214LmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqQgSUPUj 9EElUJiwEeqNPZei6EUJxV6cu0j7FuwkbGxKpRLW1AsdacSU7Nq/X4rcAJRUvliXxFeqoIoeMQa7 fsYnPhDcPOIBF36yf6tAnTbdqKiOqMummrl54pkEwfs4a5yaUbvwXZVGz+3BZkL7doBHDvnR2fKj P0wgmNJ1BJwPYKT0jt859xTkTMK4Eg7b1HGiqIXy/19CKCyC6XdVfyxwDxlNwhOHGOdK0lqO/LCm 1/2qvpybH1xS0caIcmmurY7PpX2KlmHkIbr4bAULyT4ICJ0jjszqq765OgEqK2/nQbeJyOIIanrN 20G+vzvMFwZVya6Nut3ZJm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plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0171008176==--