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 @<div ....>@<img src="../images/icons/info.png".. #+MACRO: EndInfoBox @</div> #+MACRO: WarningBox @<div ....>@<img src="..../warning.png".. #+MACRO: EndWarningBox @</div> 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
_______________________________________________ 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