emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: inlinetask html export template
Date: Mon, 8 Aug 2011 13:48:29 +0200	[thread overview]
Message-ID: <CAMXnza0tOyF8X+d=YYz3OZEOPrG5jeMkBeTXn56GLKq+7oyWBw@mail.gmail.com> (raw)
In-Reply-To: <81oc00xkb3.fsf@gmail.com>

Hi Jambunathan,

On Mon, Aug 8, 2011 at 12:35 PM, Jambunathan K <kjambunathan@gmail.com> wrote:
>
> May be there is no entry for inlinetask in the default css. For example,
> if I add the following to css, I see the entry correctly formatted.
>

[...]

>
> Btw, you can get the div without any of the xhtml syntactic mess with
> the HTML_CONTAINER_CLASS property and a regular outline (instead of a
> deeply indented outline)
>
> --8<---------------cut here---------------start------------->8---
> ** Detector effects                                      :Qn:
>   :PROPERTIES:
>   :HTML_CONTAINER_CLASS: inlinetask
>   :END:
> 1. How is the Gaussian used for smearing of proper time resolution
>   derived? [[http://www.google.com][Google]] this.
> --8<---------------cut here---------------end--------------->8---
>

I made a class like this in my custom.css:

div.inlinetask
{
    padding:10px;
    border:2px solid gray;
    margin:10px;
    background: WhiteSmoke;
}

Works well. Since I am also using the Worg css, the styling clashes a
little with everything else. Thanks to your pointers, I also found the
styling for "pre" there. I think I can work up a look I am happy with
based on this.

> Also note that with org-inlinetask NOT loaded, the headline is formatted
> as a list because it is very deep (> H:? entry in #+OPTIONS line)
>

Yes, I am aware of that. That is why I load org-inlinetask in my init
file. :) Having org export headlines as deep as an inlinetask (>=15) can
produce really weird section headings. I think it starts becoming weird
at H:4 or 5.

> Jambunathan K.
>

Thank you soo much for the help. :)

-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2011-08-08 11:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08  7:35 inlinetask html export template suvayu ali
2011-08-08  8:39 ` Jambunathan K
2011-08-08  8:51   ` suvayu ali
2011-08-08 10:35     ` Jambunathan K
2011-08-08 11:48       ` suvayu ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMXnza0tOyF8X+d=YYz3OZEOPrG5jeMkBeTXn56GLKq+7oyWBw@mail.gmail.com' \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).