emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ATTR_HTML for a clickable image, howto?


From: Samuel Wales
Subject: Re: [O] ATTR_HTML for a clickable image, howto?
Date: Fri, 11 May 2012 17:43:07 -0700

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 <address@hidden> 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 <BODY>
> section in a <DIV>, 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]