From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: How to define TODOs within continuous text the best way? Date: Sat, 28 Mar 2009 18:42:52 +0100 Message-ID: <87y6up7dcz.fsf@kassiopeya.MSHEIMNETZ> References: <49CE32EC.5060508@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LncVV-0006WG-5O for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 13:39:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LncVQ-0006UU-9b for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 13:39:44 -0400 Received: from [199.232.76.173] (port=48483 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LncVQ-0006UN-30 for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 13:39:40 -0400 Received: from mail.gmx.net ([213.165.64.20]:46868) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LncVP-0007qh-ET for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 13:39:39 -0400 In-Reply-To: <49CE32EC.5060508@gmx.de> (Karl Maihofer's message of "Sat, 28 Mar 2009 15:23:40 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karl Maihofer Cc: emacs-orgmode@gnu.org I can't think of a good way to make the TODO items inline for HTML export, as the result is a list. Note, that the

element has to be closed to have valid XHTML (wich means we can't use a CSS selector `p ul' here to make it inline): => --->8----------------------------->8----------------------------->8---

Some Text...

  • TODO Get the container

Some Text... <= ---8<-----------------------------8<-----------------------------8<--- Sebastian Karl Maihofer writes: > Hi, > > I write some articles in Org-Mode and use the html and latex export > function. I'm wondering about how to define TODOs within the text the > best way. I hope my bad english lasts to explain what I mean exactly: > > I'd like to define a TODO like in the example below. When there is a > task somewhere in my text (I want to look something up etc.) I want to > define this task at the relevant position in my text. So I can lookup > all TODOs using the agenda-view and jump directly to the position in my > text. > > The problem is that a TODO is always a new heading and so it is exported > in my html(latex)-version as a heading. I would prefer to format a TODO > as a text box or at least to exclude it from the html(latex)-export so > that it is only visible in org-mode - not in the exported version. But > when I exclude the TODO so that it isn't exported anymore, not only the > TODO itself but also the text below the TODO isn't exported until there > is a new heading - because the TODO itself is a heading, too. > > I know that this is because Org-Mode is an outliner-mode, TODOs always > have to be defined with a beginning "*". But is there any possibility to > solve the problem? How do you define TODOs within the text when you use > Org-Mode as an authoring tool? > > Perhaps it is possible to define TODOs as a very deep-level heading, > that isn't needed, like "********** TODO text" and change the export > function that this level isn't exported as a heading but as a > "div"-Container? Or every heading that contains "TODO" is not exported > as a heading but as a div-container? > > What is the best way to handle TODOs within continuous text? > > Kind regards, > Karl > > ----------------------------------------------------------------------- > * Heading 1 > > Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy > eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam > voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet > clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit > amet. > > * TODO Check again (or ********** TODO text?) > > This paragraph still belongs to heading 1. Lorem ipsum dolor sit amet, > consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut > labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et > accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no > sea takimata sanctus est Lorem ipsum dolor sit amet. > > * Heading 2 > > Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy > eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam > voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet > clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit > amet. > > ----------------------------------------------------------------------- > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >