From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: ATTR_HTML for a clickable image, howto? Date: Fri, 6 Apr 2012 11:41:28 -0700 Message-ID: References: <86pqbrywgr.fsf@iro.umontreal.ca> <87r4w63602.fsf@gnu.org> <86vclekyqo.fsf@iro.umontreal.ca> <4F7EAED9.2040804@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGE6G-0003zl-Ln for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 14:41:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGE6E-0001qw-Sm for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 14:41:32 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:45373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGE6E-0001qo-Lx for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 14:41:30 -0400 Received: by iajr24 with SMTP id r24so4303648iaj.0 for ; Fri, 06 Apr 2012 11:41:29 -0700 (PDT) In-Reply-To: <4F7EAED9.2040804@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: =?UTF-8?Q?Fran=C3=A7ois_Pinard?= , emacs-orgmode@gnu.org Christian and others, Will CSS solutions described in this thread work if you always export subtrees (not entire .org files) and never include style files? If so, how do you go about using them in Org? Is there a less awkward way than using an HTML block with a div with style=? This is awkward as you have to do it for every such block: #+HTML:
It would be great to have a generic style of some sort, specify the scoped Org elements with neat syntax (maybe like #+myblock_begin:) instead of HTML blocks, and to be able to export it for subtrees (not entire .org files!) in a completely self-contained way with no need to include any file. An example use case is Blogger, where you /could/ try to change the CSS for your template, but it is far better to have your post be entirely self-contained with all the style information you need. Maybe this question deserves its own thread? Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com