From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to export strings froom options to JS variables? Date: Sat, 06 Dec 2014 10:50:54 +0100 Message-ID: <87a9319ke9.fsf@wmi.amu.edu.pl> References: <87bnnha5qp.fsf@wmi.amu.edu.pl> <86388tw696.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxC13-0007LA-39 for emacs-orgmode@gnu.org; Sat, 06 Dec 2014 04:51:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxC0x-0004dk-DG for emacs-orgmode@gnu.org; Sat, 06 Dec 2014 04:51:05 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:57705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxC0x-0004dV-6h for emacs-orgmode@gnu.org; Sat, 06 Dec 2014 04:50:59 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 4505152D92 for ; Sat, 6 Dec 2014 10:50:57 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wiXfPj9SPKZp for ; Sat, 6 Dec 2014 10:50:57 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id F311D5209E for ; Sat, 6 Dec 2014 10:50:56 +0100 (CET) In-reply-to: <86388tw696.fsf@example.com> 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 On 2014-12-06, at 09:07, Sebastien Vauban wrote: > Marcin Borkowski wrote: >> I have this near the beginning my Org file: >> >> #+ATTR_COOL: How cool is that! >> >> I want it to be exported to something like >> >> >> >> and hilarity ensues. >> >> So, my question is: how to solve this problem? > > Though I did not try, I think that a macro should make it. Well, org-mode's HTML export already does something very similar. I just don't know what function does that. > Best regards, > Seb Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University