emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: HTML export of inline tasks
Date: Wed, 9 May 2012 17:11:37 +0930	[thread overview]
Message-ID: <87lil1g5se.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAHuUovXS+bNKjDYLww2gnRjf+as9n_ExSDqz4g+6FWnPOggoPA@mail.gmail.com> (Manish's message of "Wed, 9 May 2012 11:22:17 +0530")

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

Manish <mailtomanish.sharma@gmail.com> writes:

> Dear List,
>
> How can I export SCHEDULED, DEADLINE and tags for inlinetasks?  I have
> org-inlinetask.el loaded and am using older HTML exporter (the one not
> based on org-elements.el).  I looked at variable
> org-inlinetasl-export-template but still unsure how should I set it to
> exposed scheduling information in HTML.  I am using the default css.
>
> GNU Emacs 24.1.50.1 on Windows 7
> Org-mode from Git as of May 7 2012 with head on commit
> b797c88d700a5e636c0f9fdb108d1846ce6e1f08
>
> Thanks!
> --
> Manish

Sorry, I missed that you had already looked at that variable.  I set it
as follows, which might help you figure this out:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/emacs-lisp, Size: 240 bytes --]

(setq org-inlinetask-export-templates
      '((html "<ul><li>%s%s<p>%s</p></li></ul>"
         '((unless
      	    (eq todo "")
       		  (format "<span class=\"%s %s\">%s%s </span>" class todo todo priority))
        heading content))))

[-- Attachment #3: Type: text/plain, Size: 348 bytes --]


This assumes the default CSS so that the appropriate TODO styles have
been defined.

I must admit that I seldom export to HTML (esp. now with the ODT
exporter) so I cannot remember if this was a good template or not.

Hope this helps.
      
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org release_7.8.09-544-g505cc7

  parent reply	other threads:[~2012-05-09  7:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09  5:52 HTML export of inline tasks Manish
2012-05-09  7:37 ` Eric S Fraga
2012-05-09  7:41 ` Eric S Fraga [this message]
2012-05-09 16:45   ` Manish
2012-05-10  1:04     ` Eric S Fraga
2012-05-23 11:51     ` Jambunathan K
  -- strict thread matches above, loose matches on Subject: below --
2009-11-23 12:27 html " Karl Maihofer
2010-01-01  9:59 ` Carsten Dominik

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=87lil1g5se.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@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).