From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: ATTR_HTML for a clickable image, howto? Date: Fri, 11 May 2012 17:43:07 -0700 Message-ID: References: <86pqbrywgr.fsf@iro.umontreal.ca> <87r4w63602.fsf@gnu.org> <86vclekyqo.fsf@iro.umontreal.ca> <4F7EAED9.2040804@christianmoe.com> <4F803DDC.20808@christianmoe.com> <4F853CCD.4020601@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST0QT-0002eE-Em for emacs-orgmode@gnu.org; Fri, 11 May 2012 20:43:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ST0QR-0003oX-Az for emacs-orgmode@gnu.org; Fri, 11 May 2012 20:43:13 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:58293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST0QR-0003oC-2e for emacs-orgmode@gnu.org; Fri, 11 May 2012 20:43:11 -0400 Received: by obbwd18 with SMTP id wd18so4928743obb.0 for ; Fri, 11 May 2012 17:43:08 -0700 (PDT) In-Reply-To: <4F853CCD.4020601@christianmoe.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: mail@christianmoe.com Cc: Org Mode Hi Christian, Thanks for your thoughtful comments. I have a better understanding of it now. Here is more as a sort of summary for searchers. On 2012-04-11, Christian Moe wrote: > Are those two separate questions, perhaps? I tried with > org-export-as-region, and I still got the full HEAD section. So the I mean this: "If prefix arg body-only is set, omit file header, footer, and table of contents, and only produce the region of converted text, useful for cut-and-paste operations." (from the docstring). Blogger (and many other places online) already has a HEAD section, and my understanding is that you can't have 2 HEAD sections. (I presume there does not exist a "HEAD-APPEND" section in the HTML standard.) So letting Org produce the HEAD section seems to be not possible here. > No doubt there's some way you could wrap everything inside the > section in a
, but any CSS in its STYLE attribute would apply to > that div element as a whole, i.e. to all the contents, not selectively > to bits and parts inside it. That's probably not what you want. To summarize, it appears as if you can't use full CSS (like "whatever { whatever: whatever; }") as a wrapper at all in the body section, so you need a HEAD section or a separate CSS file to be able to style specific types of elements the way it is normally done. The rough Lisp analogy seems to be that you cannot use let to bind a variable that is used in various places, but you can use setq (in a section that can only be used once) or load. That's the answer I was looking for. I looked it up more and it seems to be the case. Thanks. > 4. org-exp-blocks.el; I don't understand this enough yet to know how much effort would be required. Good to know you think it might work. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com