Re: [Orgmode] Selective export of table columns

2010-11-24 Thread Suvayu Ali

Hi Carsten,

On Tuesday 23 November 2010 11:47 PM, Carsten Dominik wrote:

But I have a related but probably slightly off-topic question. I tried
setting the label of a radio table in a tex source file. This breaks
the conversion. Is this supported?



You mean the receiver location is in a TeX file?

In this case you should also put the sender table into the TeX file,
between \begin{comment}...\end{comment}, and turn on the minor
orgtbl-mode in that TEX file to edit the table.



Yes I did exactly that. And the regular table conversion works just 
fine. I was asking whether it is possible to specify the label for the 
table using this method, as the #+LABEL: tbl:somename directive does 
for regular latex export of org files.


My issue is if I set the label by putting a \label{tbl:somename} by 
hand after the conversion, it goes away the next time I refresh the orgtbl.


I have attached an example showing the two occasions.


- Carsten


--
Suvayu

Open source is the future. It sets us free.


radio_tables.tex
Description: TeX document
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Selective export of table columns

2010-11-23 Thread Suvayu Ali

Hi,

I recently was in a situation where I had tables like these,


|| smear param | \chi^2/DoF  | \chi^2/DoF |
| Sl |  caloE perp | perp before | perp after |
|+-+-+|
|  3 |   3.008 | 8/13| 8.3/13 |
|  2 |   3.508 | 8/13| 8.2/13 |
|  0 |   4.008 | 8/13| 8.3/13 |
|  4 |   4.508 | 8.1/13  | 8.4/13 |


Now the 1st and 2nd column are something for my reference and I don't
want to export them to my presentation slides. So is there an option for
selective export of table columns? If not can someone give any hints how
I might try to achieve that? I am just learning some lisp, so maybe this
could be a good practice. :)

Thanks for any insights.

--
Suvayu

Open source is the future. It sets us free.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective export of table columns

2010-11-23 Thread Nick Dokos
Suvayu Ali fatkasuvayu+li...@gmail.com wrote:

 Hi,
 
 I recently was in a situation where I had tables like these,
 
 
 || smear param | \chi^2/DoF  | \chi^2/DoF |
 | Sl |  caloE perp | perp before | perp after |
 |+-+-+|
 |  3 |   3.008 | 8/13| 8.3/13 |
 |  2 |   3.508 | 8/13| 8.2/13 |
 |  0 |   4.008 | 8/13| 8.3/13 |
 |  4 |   4.508 | 8.1/13  | 8.4/13 |
 
 
 Now the 1st and 2nd column are something for my reference and I don't
 want to export them to my presentation slides. So is there an option for
 selective export of table columns? If not can someone give any hints how
 I might try to achieve that? I am just learning some lisp, so maybe this
 could be a good practice. :)
 
 Thanks for any insights.
 

Perhaps radio tables with :skipcols can help? See section A.5.1 of the
Org manual.

Nick

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective export of table columns

2010-11-23 Thread Darlan Cavalcante Moreira

You could also use org-babel to get a new table with only the desired
columns.

--
Darlan

At Tue, 23 Nov 2010 08:18:40 -0500,
Nick Dokos nicholas.do...@hp.com wrote:
 
 Suvayu Ali fatkasuvayu+li...@gmail.com wrote:
 
  Hi,
  
  I recently was in a situation where I had tables like these,
  
  
  || smear param | \chi^2/DoF  | \chi^2/DoF |
  | Sl |  caloE perp | perp before | perp after |
  |+-+-+|
  |  3 |   3.008 | 8/13| 8.3/13 |
  |  2 |   3.508 | 8/13| 8.2/13 |
  |  0 |   4.008 | 8/13| 8.3/13 |
  |  4 |   4.508 | 8.1/13  | 8.4/13 |
  
  
  Now the 1st and 2nd column are something for my reference and I don't
  want to export them to my presentation slides. So is there an option for
  selective export of table columns? If not can someone give any hints how
  I might try to achieve that? I am just learning some lisp, so maybe this
  could be a good practice. :)
  
  Thanks for any insights.
  
 
 Perhaps radio tables with :skipcols can help? See section A.5.1 of the
 Org manual.
 
 Nick
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective export of table columns

2010-11-23 Thread Suvayu Ali

On Tuesday 23 November 2010 05:18 AM, Nick Dokos wrote:

Perhaps radio tables with :skipcols can help? See section A.5.1 of the
Org manual.



I need to hit tab once to get the alignment right, but other than that 
this works very well. Thank you. :)


But I have a related but probably slightly off-topic question. I tried 
setting the label of a radio table in a tex source file. This breaks the 
conversion. Is this supported?



Nick



--
Suvayu

Open source is the future. It sets us free.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective export of table columns

2010-11-23 Thread Carsten Dominik


On Nov 24, 2010, at 8:02 AM, Suvayu Ali wrote:


On Tuesday 23 November 2010 05:18 AM, Nick Dokos wrote:
Perhaps radio tables with :skipcols can help? See section A.5.1 of  
the

Org manual.



I need to hit tab once to get the alignment right, but other than  
that this works very well. Thank you. :)


But I have a related but probably slightly off-topic question. I  
tried setting the label of a radio table in a tex source file. This  
breaks the conversion. Is this supported?



You mean the receiver location is in a TeX file?

In this case you should also put the sender table into the TeX file,  
between \begin{comment}...\end{comment}, and turn on the minor orgtbl- 
mode in that TEX file to edit the table.


- Carsten




Nick



--
Suvayu

Open source is the future. It sets us free.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] selective export

2010-03-07 Thread Graham Smith
Using babel I have the data used for the analysis (in R) under a top
level heading just called data. I want to keep this in the org file
but not in the compiled pdf.

I have had a look at the selective export in the manual, but could do
with a bit more step by step instructions on how to exclude this bit
of the outline.

Could someone give me a bit of hand holding on how to do this.

Many thanks,

Graha,


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] selective export

2010-03-07 Thread Mark Elston

Graha,

This is pretty straightforward really.  If all you want to do is exclude
a single top-level heading then I would just assign a tag to that
heading that you won't be assigning to any other heading.  In this
case you can probably get away with something simple, like 'data'.

If you're not sure how to do this put your cursor on the heading you
don't want exported and press C-cC-q and type the name of the tag
you chose.

Then, at the top of the file (or anywhere, really), put a line like
this:

#+EXPORT_EXCLUDE_TAGS: data

This will prevent the section you tagged with this tag from being
exported.

Mark

On 3/7/2010 2:10 PM, Graham Smith wrote:

Using babel I have the data used for the analysis (in R) under a top
level heading just called data. I want to keep this in the org file
but not in the compiled pdf.

I have had a look at the selective export in the manual, but could do
with a bit more step by step instructions on how to exclude this bit
of the outline.

Could someone give me a bit of hand holding on how to do this.

Many thanks,

Graha,




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] selective export

2010-03-07 Thread Graham Smith
Thanks to you both, so easy when you know how. The manual makes sense
as well now.

Graham


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective Export Question

2010-01-03 Thread Carsten Dominik


On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:


I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along with
it.

Here is a sample of what I would like.  In this example I have  
sections

with common text (should be in both teaching notes and handouts) and
sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the  
headlines.


Hi Mark,

I think the right path for this is a function that you write and install
in org-export-preprocess-hook.  Then you can set your own conditions and
remove those headlines before Org even tries to look at them.

HTH

- Carsten





--
#+TITLE: Test
#+LaTeX_CLASS: ClassNotes

#+OPTIONS: toc:nil H:8 tags:nil

#+EXPORT_EXCLUDE_TAGS: handouts

* Headline 1
 some text

** Headline 1-1
  even more text

* Headline 2
 some more text

** Headline 2-1
  Common text 1.  Should be followed by handout or notes text.

* should be handouts only:handouts:
 handout text

* should be notes only   :notes:
 notes text

** Headline 2-2
  Common text 2.  Should be followed by handout or notes text.

*:handouts:
 handout text again

*:notes:
 notes text again
--


The relevant material from my org-export-latex-classes is:

(ClassNotes \\documentclass[letter,twoside,openright]{memoir}
...
(\\chapter{%s} . \\chapter*{%s})
(\\section{%s} . \\section*{%s})
(\\subsection{%s} . \\subsection*{%s})
(\\subsubsection{%s} . \\subsubsection*{%s})
(%% Level 5 . %% Level 5)
(%% Level 6 . %% Level 6)
(%% Level 7 . %% Level 7)
(%% Level 8 . %% Level 8))
...


I was hoping to allow all levels of heading to be exported but only
write comments for the levels below level 4.  It didn't work out that
way.

With the above I don't get *any* of the :notes: or :handouts:
sections written out.  However, if I include empty level three and  
four

headlines (the stars followed by a mandatory space) I get the :notes:
and :handouts: sections just fine.  Except now I also get empty
\subsection{} and \subsubsection{} blocks in my latex output.  I have
attached the resulting .tex file with comments pointing out the
extra heading lines I would like to *not* see...

The net result is a lot of blank space in the resulting .pdf file
between the 'common' text and the note- or handout-specific text.   
This

is *definitely* not what I had in mind.

Is there any way of working around this or correcting this behavior?

Mark
test.tex___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective Export Question

2010-01-03 Thread Mark Elston

Carsten Dominik wrote:


On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:


I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along with
it.

Here is a sample of what I would like.  In this example I have sections
with common text (should be in both teaching notes and handouts) and
sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the headlines.


Hi Mark,

I think the right path for this is a function that you write and install
in org-export-preprocess-hook.  Then you can set your own conditions and
remove those headlines before Org even tries to look at them.

HTH

- Carsten





Thanks, Carsten.

It is amazing how much infrastructure there is to support so many
features.  I wasn't aware of all the hooks available and this one
escaped my attention.  I will look into it.  My elisp isn't as good
as my C++ (or Python, or Perl...) but it is probably good enough to
make use of this.

Mark


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective Export Question

2010-01-03 Thread Carsten Dominik

Hi Mark,

there are about 100 hooks, see

http://orgmode.org/worg/org-configs/org-hooks.php

And I am very happy to add more, wherever these is a use for it.

- Carsten

On Jan 3, 2010, at 5:15 PM, Mark Elston wrote:


Carsten Dominik wrote:

On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:

I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along  
with

it.

Here is a sample of what I would like.  In this example I have  
sections
with common text (should be in both teaching notes and handouts)  
and

sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the  
headlines.

Hi Mark,
I think the right path for this is a function that you write and  
install
in org-export-preprocess-hook.  Then you can set your own  
conditions and

remove those headlines before Org even tries to look at them.
HTH
- Carsten


Thanks, Carsten.

It is amazing how much infrastructure there is to support so many
features.  I wasn't aware of all the hooks available and this one
escaped my attention.  I will look into it.  My elisp isn't as good
as my C++ (or Python, or Perl...) but it is probably good enough to
make use of this.

Mark


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective Export Question

2009-12-24 Thread Mark Elston

So, no Christmas present for me? :)

Merry Christmas everyone.  Thanks for all the hard work and
the help over the last year.  Congratulations for working
together to produce such a fantastic tool.

Mark

Mark Elston wrote:

I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along with
it.

Here is a sample of what I would like.  In this example I have sections
with common text (should be in both teaching notes and handouts) and
sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the headlines.

--
#+TITLE: Test
#+LaTeX_CLASS: ClassNotes

#+OPTIONS: toc:nil H:8 tags:nil

#+EXPORT_EXCLUDE_TAGS: handouts

* Headline 1
  some text

** Headline 1-1
   even more text

* Headline 2
  some more text

** Headline 2-1
   Common text 1.  Should be followed by handout or notes text.

* should be handouts only:handouts:
  handout text

* should be notes only   :notes:
  notes text

** Headline 2-2
   Common text 2.  Should be followed by handout or notes text.

*:handouts:
  handout text again

*:notes:
  notes text again
--


The relevant material from my org-export-latex-classes is:

(ClassNotes \\documentclass[letter,twoside,openright]{memoir}
 ...
 (\\chapter{%s} . \\chapter*{%s})
 (\\section{%s} . \\section*{%s})
 (\\subsection{%s} . \\subsection*{%s})
 (\\subsubsection{%s} . \\subsubsection*{%s})
 (%% Level 5 . %% Level 5)
 (%% Level 6 . %% Level 6)
 (%% Level 7 . %% Level 7)
 (%% Level 8 . %% Level 8))
 ...


I was hoping to allow all levels of heading to be exported but only
write comments for the levels below level 4.  It didn't work out that
way.

With the above I don't get *any* of the :notes: or :handouts:
sections written out.  However, if I include empty level three and four
headlines (the stars followed by a mandatory space) I get the :notes:
and :handouts: sections just fine.  Except now I also get empty
\subsection{} and \subsubsection{} blocks in my latex output.  I have
attached the resulting .tex file with comments pointing out the
extra heading lines I would like to *not* see...

The net result is a lot of blank space in the resulting .pdf file
between the 'common' text and the note- or handout-specific text.  This
is *definitely* not what I had in mind.

Is there any way of working around this or correcting this behavior?

Mark




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Selective Export Question

2009-12-24 Thread Thomas S. Dye

Merry Christmas Mark,

One way to create two LaTeX documents in the same org file using  
common elements and keeping fine control over the LaTeX output is to  
use Org-babel.


Here's an example from the Uses section of the Org-babel documentation  
on Worg:




** Example

*** TODO Your name
- Enter your full name on the open line below.
#+srcname: your-name
#+begin_src latex
Tom Dye
#+end_src

*** TODO Your email address
- Enter your email address on the open line below.
#+srcname: your-email
#+begin_src latex
tsd at tsdye dot com
#+end_src

*** No data entry below this line
- The two source blocks here each produce a LaTeX document after
  they are tangled with a call to =org-babel-tangle=.

#+begin_src latex :noweb :tangle dist-form.tex
  \documentclass[12pt]{article}
  \begin{document}
  \section{Distribution Form}
  \begin{description}
  \item[Name] your-name
  \item[Email] your-email
  \end{description}
  \end{document}
#+end_src

#+begin_src latex :noweb :tangle file-form.tex
  \documentclass[10pt]{article}
  \begin{document}
  \section{File Form}
  your-name can be reached at your-email.
  \end{document}
#+end_src


To my mind, using Org-babel this way is kind of like using the Org- 
mode Agenda.  It frees the organization of your org file from the  
organization of some external model, leaving you to organize it in the  
way that makes the most sense to you.


That said, I'm relatively confident that there is some way to do what  
you want in Org-mode using the built-in LaTeX exporter, but I don't  
know what it might be.


All the best,
Tom

On Dec 24, 2009, at 8:43 AM, Mark Elston wrote:


So, no Christmas present for me? :)

Merry Christmas everyone.  Thanks for all the hard work and
the help over the last year.  Congratulations for working
together to produce such a fantastic tool.

Mark

Mark Elston wrote:

I have been making progress on my use of org-mode to manage both
my teaching notes and handouts in a single document.  However, there
is something I still have not been able to make happen.  That is
selective exporting of text *without* exporting a headline along with
it.
Here is a sample of what I would like.  In this example I have  
sections
with common text (should be in both teaching notes and handouts)  
and

sections that are specific to each individual output format.  What I
have below is set up to export the notes.  What I would like is to
have the text (only) of the non-excluded sections and not the  
headlines.

--
#+TITLE: Test
#+LaTeX_CLASS: ClassNotes
#+OPTIONS: toc:nil H:8 tags:nil
#+EXPORT_EXCLUDE_TAGS: handouts
* Headline 1
 some text
** Headline 1-1
  even more text
* Headline 2
 some more text
** Headline 2-1
  Common text 1.  Should be followed by handout or notes text.
* should be handouts only:handouts:
 handout text
* should be notes only   :notes:
 notes text
** Headline 2-2
  Common text 2.  Should be followed by handout or notes text.
*:handouts:
 handout text again
*:notes:
 notes text again
--
The relevant material from my org-export-latex-classes is:
(ClassNotes \\documentclass[letter,twoside,openright]{memoir}
...
(\\chapter{%s} . \\chapter*{%s})
(\\section{%s} . \\section*{%s})
(\\subsection{%s} . \\subsection*{%s})
(\\subsubsection{%s} . \\subsubsection*{%s})
(%% Level 5 . %% Level 5)
(%% Level 6 . %% Level 6)
(%% Level 7 . %% Level 7)
(%% Level 8 . %% Level 8))
...
I was hoping to allow all levels of heading to be exported but only
write comments for the levels below level 4.  It didn't work out that
way.
With the above I don't get *any* of the :notes: or :handouts:
sections written out.  However, if I include empty level three and  
four

headlines (the stars followed by a mandatory space) I get the :notes:
and :handouts: sections just fine.  Except now I also get empty
\subsection{} and \subsubsection{} blocks in my latex output.  I have
attached the resulting .tex file with comments pointing out the
extra heading lines I would like to *not* see...
The net result is a lot of blank space in the resulting .pdf file
between the 'common' text and the note- or handout-specific text.   
This

is *definitely* not what I had in mind.
Is there any way of working around this or correcting this behavior?
Mark

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



Re: [Orgmode] Selective Export of subheadings and plain text

2009-04-05 Thread Martin Stemplinger
Hi Carsten,

thanks for the info which does most of what I want but only if every
next action item receives a tag like noexport. This is quite
cumbersome to do in large org-file. Is there a way to restrict
inheritance of the tags?

Martin
 Hi Martin,

 you can use tags to de-select entries for export.

 http://orgmode.org/manual/Selective-export.html#Selective-export

 - Carsten

 On Apr 3, 2009, at 9:38 PM, Martin Stemplinger wrote:

 I use org-mode as a GTD implementation with level-1 headings as area
 of focus, level-3 headings for projects and level-5 headings as next
 actions. For each project I also note a successful outcome in plain
 text.

 So it looks like this

 * Self development  
 :TOPIC:
 *** Learn org-mode  :PROJECT:
I improve my GTD implementation.
 * ONLINE post question to org-mode mailing list
 *** Learn Esperanto :PROJECT:
I speak Esperanto fluently.

 What I would like to do is to export a project list together with the
 successful outcome but without the next actions below it looking like
 this

 1 Self development
 ==

 1.1 Learn org-mode
 ---
I improve my GTD implementation.

 1.2 Learn Esperanto
 ---
I speak Esperanto fluently.

 Currently I use a script to produce this kind of output. Is there a
 way to achieve this in org-mode alone?

 Thanks in advance
 Martin


 ___
 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


-- 
Gruß
Martin


___
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


Re: [Orgmode] Selective Export of subheadings and plain text

2009-04-05 Thread Carsten Dominik


On Apr 5, 2009, at 6:19 PM, Martin Stemplinger wrote:


Hi Carsten,

thanks for the info which does most of what I want but only if every
next action item receives a tag like noexport. This is quite
cumbersome to do in large org-file. Is there a way to restrict
inheritance of the tags?


I do not understand your question in this context.  What do you mean?

- Carsten



Martin

Hi Martin,

you can use tags to de-select entries for export.

http://orgmode.org/manual/Selective-export.html#Selective-export

- Carsten

On Apr 3, 2009, at 9:38 PM, Martin Stemplinger wrote:


I use org-mode as a GTD implementation with level-1 headings as area
of focus, level-3 headings for projects and level-5 headings as next
actions. For each project I also note a successful outcome in plain
text.

So it looks like this

* Self  
development 
  :TOPIC:

*** Learn org-mode :PROJECT:
  I improve my GTD implementation.
* ONLINE post question to org-mode mailing list
*** Learn Esperanto:PROJECT:
  I speak Esperanto fluently.

What I would like to do is to export a project list together with  
the
successful outcome but without the next actions below it looking  
like

this

1 Self development
==

1.1 Learn org-mode
---
  I improve my GTD implementation.

1.2 Learn Esperanto
---
  I speak Esperanto fluently.

Currently I use a script to produce this kind of output. Is there a
way to achieve this in org-mode alone?

Thanks in advance
Martin


___
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




--
Gruß
Martin




___
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


Re: [Orgmode] Selective Export of subheadings and plain text

2009-04-05 Thread Matthew Lundin
Martin Stemplinger mstemplin...@gmx.de writes:

 On Apr 3, 2009, at 9:38 PM, Martin Stemplinger wrote:

 I use org-mode as a GTD implementation with level-1 headings as area
 of focus, level-3 headings for projects and level-5 headings as next
 actions. For each project I also note a successful outcome in plain
 text.

 So it looks like this

 * Self development  
 :TOPIC:
 *** Learn org-mode :PROJECT:
I improve my GTD implementation.
 * ONLINE post question to org-mode mailing list
 *** Learn Esperanto:PROJECT:
I speak Esperanto fluently.

 What I would like to do is to export a project list together with the
 successful outcome but without the next actions below it looking like
 this

 1 Self development
 ==

 1.1 Learn org-mode
 ---
I improve my GTD implementation.

 1.2 Learn Esperanto
 ---
I speak Esperanto fluently.


If you are consistent about tagging all your projects you could, you
could create a custom agenda command for sparse trees in which
org-use-tag-inheritance is turned off.

--8---cut here---start-8---
(setq org-agenda-custom-commands
  '((p Projects tags-tree PROJECT
 ((org-show-entry-below t)
  (org-use-tag-inheritance nil)))
;; other commands here
))
--8---cut here---end---8---

This will create a sparse tree that hides the ONLINE line. E.g., the
following file:

--8---cut here---start-8---
#+STARTUP: odd
#+OPTIONS: tags:nil

* Self development:TOPIC:
*** Learn org-mode  :PROJECT:
I improve my GTD implementation.
* ONLINE post question to org-mode mailing list
*** Learn Esperanto :PROJECT:
  I speak Esperanto fluently.
--8---cut here---end---8---

Will be shown as:

--8---cut here---start-8---
#+STARTUP: odd
#+OPTIONS: tags:nil

* Self development:TOPIC:
*** Learn org-mode  :PROJECT:
I improve my GTD implementation.

*** Learn Esperanto :PROJECT:
  I speak Esperanto fluently.
--8---cut here---end---8---

Then you can export only the visible portions of the org file to ascii
(or any other format):

C-c C-e v a

Here is the resulting ascii export:

,
| Table of Contents
| =
| 1 Self development
| 1.1 Learn org-mode
| 1.2 Learn Esperanto
| 
| 
| 1 Self development
| ~~
| 
| 1.1 Learn org-mode
| ==
| I improve my GTD implementation.
| 
| 1.2 Learn Esperanto
| ===
|   I speak Esperanto fluently.
`

You could accomplish the same thing with a slightly different custom
agenda command:

--8---cut here---start-8---
(setq org-agenda-custom-commands
  '((p Projects tags-tree LEVEL=2
 ((org-show-entry-below t)
  (org-use-tag-inheritance nil)))
;; other commands here
))
--8---cut here---end---8---

Hope this helps,
Matt


___
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


[Orgmode] Selective Export of subheadings and plain text

2009-04-03 Thread Martin Stemplinger
I use org-mode as a GTD implementation with level-1 headings as area
of focus, level-3 headings for projects and level-5 headings as next
actions. For each project I also note a successful outcome in plain
text. 

So it looks like this

* Self development :TOPIC:
*** Learn org-mode :PROJECT:
I improve my GTD implementation.
* ONLINE post question to org-mode mailing list
*** Learn Esperanto:PROJECT:
I speak Esperanto fluently.

What I would like to do is to export a project list together with the
successful outcome but without the next actions below it looking like
this

1 Self development
==

1.1 Learn org-mode
---
I improve my GTD implementation.

1.2 Learn Esperanto
---
I speak Esperanto fluently.

Currently I use a script to produce this kind of output. Is there a
way to achieve this in org-mode alone?

Thanks in advance
Martin


___
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