From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Pro/Con Lists Date: Thu, 08 Apr 2010 14:58:56 +0200 Message-ID: <83d3yap0bz.fsf@yahoo.it> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzrK2-0008JL-Hd for emacs-orgmode@gnu.org; Thu, 08 Apr 2010 08:59:02 -0400 Received: from [140.186.70.92] (port=47661 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzrK0-0008JD-Bs for emacs-orgmode@gnu.org; Thu, 08 Apr 2010 08:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzrJz-00087t-6V for emacs-orgmode@gnu.org; Thu, 08 Apr 2010 08:59:00 -0400 Received: from slim-2a.inet.it ([213.92.5.122]:53141) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzrJy-00087k-RV for emacs-orgmode@gnu.org; Thu, 08 Apr 2010 08:58:59 -0400 In-Reply-To: (Gary .'s message of "Thu, 8 Apr 2010 09:46:23 +0200") 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: "Gary ." Cc: emacs-orgmode@gnu.org "Gary ." writes: Hi, Gary > Is there a decent way to create a PROs/Cons list > these using Org Mode? Depends on your level of decency ;-) * Suggestion 1 + PROS + fast + furious + CONS + rough + noisy * Suggestion 2 + PROS fast + PROS furious + CONS rough + CONS noisy You can write a function that writes the words "PROS" & "CONS" and bind it to a keystroke. You can also write a function that, in the HTML exported file, substitutes the words "PROS" & "CONS" with the appropriate class, e.g.: (defun gio-red-cons () ""(interactive) () (setq a (point-min)) (while (< a (point-max)) (re-search-forward " PROS" nil nil ) (replace-match "CONS<\/span>" ) (setq a (point))) ) and use it in the post-export-hook (see the manual) to have coloured PROS and CONS HTH Giovanni