From mboxrd@z Thu Jan  1 00:00:00 1970
From: Sebastian Rose <sebastian_rose@gmx.de>
Subject: Re: How to define TODOs within continuous text the best way?
Date: Sun, 29 Mar 2009 03:06:16 +0200
Message-ID: <87eiwh6stz.fsf@kassiopeya.MSHEIMNETZ>
References: <49CE32EC.5060508@gmx.de> <873acx8t5a.fsf@kassiopeya.MSHEIMNETZ>
	<49CE6BD9.1050100@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LnjQa-0000zj-KF
	for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:03:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LnjQW-0000x4-Si
	for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:03:08 -0400
Received: from [199.232.76.173] (port=47917 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LnjQW-0000wx-PK
	for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:03:04 -0400
Received: from mail.gmx.net ([213.165.64.20]:41969)
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <sebastian_rose@gmx.de>) id 1LnjQV-00028i-VV
	for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:03:04 -0400
In-Reply-To: <49CE6BD9.1050100@gmx.de> (Karl Maihofer's message of "Sat, 28
	Mar 2009 19:26:33 +0100")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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 <ignoramus@gmx.de>
Cc: emacs-orgmode@gnu.org

Karl Maihofer <ignoramus@gmx.de> writes:
> Hi,
>
> thanks for your answer!
>
> Sebastian Rose schrieb:
>> Yes, this is possible. By default only the first three levels are
>> exported as headlines. Any headline that is deeper nested, is exported
>> as a list item.
>> 
>> The variable in question is
>> 
>>    `org-export-headline-levels'
>
> OK, I see. But now the text below the TODO-item is still part of the
> list. So it is indented - in html.


Hmmm - true - how are those todo items related to the rest of the text?

Todos in Org-mode are geared for TODO lists, not as annotations or
sidenotes.



> Another idea: Why not simply use comments?
>
> #+HTML: <!--
> #+LaTeX: \begin{comment}
> * TODO Test
> #+LaTeX: \end{comment}
> #+HTML: -->
>
> I think, this should work for me.
>
> The only problem now is to exclude the TODO from the HTML-generated
> Table of Contents. Using "#+EXPORT_EXCLUDE_TAGS: exclude" does not work.
> Perhaps a bug in the html-export?


http://orgmode.org/Changes.html#sec-19.3.4

 --->8----------------------------->8----------------------------->8---

* TODO not exported but in agena                     :noexport:

 ---8<-----------------------------8<-----------------------------8<---


works here.



> That looks nice. But I think this is not the right solution for me?! For
> me it is important that the TODOs are recognized by Org-Mode so that I
> can jump to the position within my document using the agenda. In the
> exported version of the file it is no problem when the TODOs are missing.




What about using links to those TODO items?

 --->8----------------------------->8----------------------------->8---

* headline

  This is the text with a [[todo-1][TODO-link]] inline...


 .... more content here, sections, lists, whatever...



# <<todo-1>>
* TODO This is the TODO

  This TODO will show up in the agenda.

 ---8<-----------------------------8<-----------------------------8<---


or


 --->8----------------------------->8----------------------------->8---

* headline

  This is the text with a [[Clean the garage]] inline...


.... more content here, sections, lists, whatever...


* TODO <<Clean the garage>>

  This TODO will show up in the agenda.

 ---8<-----------------------------8<-----------------------------8<---




???


This is all I can think of so far. Not exactly what you're looking for,
but maybe some of this or combinations from it might help.



  - Sebastian