[O] automatic scheduling of next task in project

2014-02-27 Thread Peter Rayner
I would like org-mode to remind me automatically of the next task in a
project. Perhaps an example will help. I'll use outline headings to
show the levels of tasks

* Write trends paper
** global section
*** analyze GCP results
*** Calculate confidence intervals on trends
** Inverse Model section
*** Code to read inverse model output
*** Calculate regional Uncertainties 
 Generate new region groupings
 Rerun calculation

etc etc 
I can flatten this list into a list of TODO and I can store it as a
separate project that will be incorporated into the agenda view. What
I would like is that when I change one of these items to "done" the
next one is automatically scheduled into the agenda. It means I can
plan the workflow for a project then not have to bother remembering
where I was up to ... guess who is doing too many things at once :-) 
Is this already possible? If not, is it worth creating some kind of
file option so that, when a file is scanned for incorporation into the
agenda view, the first TODO item that isn't listed as done will be
listed in the agenda?
Thanks in advance
Peter



*** 

-- 
Support us in the OXFAM trailwalker as we try to walk 100km in 24
hours. <https://trailwalker.oxfam.org.au/team/home/15596>

Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: pray...@unimelb.edu.au



Re: [O] superscripts, tables and latex

2012-09-07 Thread Peter Rayner
Hmm, at the moment this still isn't working. The following compile log
is possibly relevant:
Leaving directory `/home/prayner/'

Compiling file /home/prayner/packages/org-mode/contrib/lisp/org-e-latex.el at 
Fri Sep  7 22:28:37 2012
Entering directory `/home/prayner/packages/org-mode/contrib/lisp/'
org-e-latex.el:49:1:Error: Wrong type argument: listp, org-e-latex-center-block

the problem still occurs when I call org-e-latex-export-to-latex
this is from the latest pull from the repository. It must be something
wrong in my setup but I'm afraid I'm at my wit's end.
Any pointers for debugging much appreciated.
regards
Peter


-- 
Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: pray...@unimelb.edu.au

and
CLIMMOD ENGINEERING
http://www.climmod.com
mail-to: peter.ray...@climmod.com



Re: [O] superscripts, tables and latex

2012-09-06 Thread Peter Rayner
Nick Dokos writes:
... description of using new exporter 
This doesn't *appear* to help. I say "appear" because I can never be
absolutely sure I'm using the new exporter. I accessed it with
m-x org-export-dispatch
l
which generates 
--
% Created 2012-09-07 Fri 14:30
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}
\author{Peter Rayner}
\date{\today}
\title{test}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode N/A in Emacs 24.1.1.}}
\begin{document}

\maketitle


\section*{section heading}
\label{sec-1}

 ObjectiveTemporal scaleSpatial Scale (km) Requirement 
+-+--+-+--- 
 Vegetation   Weekly (target)   200–1000  0.3gC m$^{\mathrm{-2}}$ 
d$^{\mathrm{-1}}$
Land surface  Annual  2000  5/25 g C m$^{\mathrm{-2}}$ yr$^{\mathrm{-1}}$
Ocean fluxes  Annual  2500  3 g C m$^{\mathrm{-2}}$ yr$^{\mathrm{-1}}$
Anthropogenic  Annual  300  4 g C m$^{\mathrm{-2}}$ yr$^{\mathrm{-1}}$


\begin{center}
\begin{tabular}{llrl}
Objective & Temporal scale & Spatial Scale (km) & Requirement\\
\hline
Vegetation & Weekly (target) & 200–1000 & 0.3gC m\^\{-2\} d\^\{-1\}\\
Land surface & Annual & 2000 & 5/25 g C m\^\{-2\} yr\^\{-1\}\\
Ocean fluxes & Annual & 2500 & 3 g C m\^\{-2\} yr\^\{-1\}\\
Anthropogenic & Annual & 300 & 4 g C m\^\{-2\} yr\^\{-1\}\\
\end{tabular}
\end{center}
% Generated by Org mode N/A in Emacs 24.1.1.
\end{document}
--
It looks sufficiently different from the previous version to convince
me it is the new exporter being used here but with the same problem.
thanks again
Peter


>

-- 
Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: pray...@unimelb.edu.au

and
CLIMMOD ENGINEERING
http://www.climmod.com
mail-to: peter.ray...@climmod.com



[O] superscripts, tables and latex

2012-09-06 Thread Peter Rayner
I'm trying to export a simple table to latex with the only catch being
it has some units I need to superscript.
Here is the org code
--
#+Options: num:nil toc:nil


* section heading

  ObjectiveTemporal scaleSpatial Scale (km) Requirement 
 +-+--+-+--- 
  Vegetation   Weekly (target)   200–1000  0.3gC m^{-2} d^{-1}
 Land surface  Annual  2000  5/25 g C m^{-2} yr^{-1}
 Ocean fluxes  Annual  2500  3 g C m^{-2} yr^{-1}
 Anthropogenic  Annual  300  4 g C m^{-2} yr^{-1}


| Objective  | Temporal scale  | Spatial Scale (km)   | Requirement |   
|+-+--+-+---|
| Vegetation | Weekly (target) | 200–1000 |0.3gC m^{-2} d^{-1}
|Land surface |Annual |2000 |5/25 g C m^{-2} yr^{-1}
|Ocean fluxes |Annual |2500 |3 g C m^{-2} yr^{-1}
|Anthropogenic |Annual |300 |4 g C m^{-2} yr^{-1}
--
It has the text of the table with the pipe characters removed then the
table itself.
Here is the latex it generates
--
% Created 2012-09-06 Thu 22:27
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}

\title{test}
\author{Peter Rayner}
\date{\today}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs Org-mode version N/A}}

\begin{document}

\maketitle



\section*{section heading}
\label{sec-1}

CO$_2$ CO$^{\mathrm{-2}}$ 0.3gC m$^{\mathrm{-2}}$ y$^{\mathrm{-1}}$

  ObjectiveTemporal scaleSpatial Scale (km) Requirement 
 +-+--+-+--- 
  Vegetation   Weekly (target)   200–1000  0.3gC m$^{\mathrm{-2}}$ 
d$^{\mathrm{-1}}$
 Land surface  Annual  2000  5/25 g C m$^{\mathrm{-2}}$ yr$^{\mathrm{-1}}$
 Ocean fluxes  Annual  2500  3 g C m$^{\mathrm{-2}}$ yr$^{\mathrm{-1}}$
 Anthropogenic  Annual  300  4 g C m$^{\mathrm{-2}}$ yr$^{\mathrm{-1}}$



\begin{center}
\begin{tabular}{llrl}
 Objective  &  Temporal scale   &  Spatial Scale (km)  &  Requirement   
   \\
\hline
 Vegetation &  Weekly (target)  &200–1000  &  0.3gC m^\{-2\} 
d^\{-1\}  \\
 Land surface   &  Annual   &2000  &  5/25 g C m^\{-2\} 
yr^\{-1\}  \\
 Ocean fluxes   &  Annual   &2500  &  3 g C m^\{-2\} 
yr^\{-1\} \\
 Anthropogenic  &  Annual   & 300  &  4 g C m^\{-2\} 
yr^\{-1\} \\
\end{tabular}
\end{center}

\end{document}
 --
In the untabulated text the ^{-2} is being replaced with math
delimiters while in the tabulated version the braces are being quoted. 
This doesn't seem to happen when I export to html where both versions
get superscripted. This could be a bug but it's more likely something
I'm misunderstanding, can someone enlighten me?
please reply directly as well as to the list, I'm behind on my mailing
list browsing.
thanks in advance
Peter
 

 


-- 
Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: pray...@unimelb.edu.au

and
CLIMMOD ENGINEERING
http://www.climmod.com
mail-to: peter.ray...@climmod.com



Re: [O] overruling subscripts in latex export

2012-01-24 Thread Peter Rayner
Yes, the problem was, indeed, that I had forgotten I needed to
activate the option with "C-c C-c".
Many thanks
Peter


-- 
Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: pray...@unimelb.edu.au

and
CLIMMOD ENGINEERING
http://www.climmod.com
mail-to: peter.ray...@climmod.com



[O] overruling subscripts in latex export

2012-01-24 Thread Peter Rayner
I'm documenting some code including lists of parameters.  These have
underscores in them which I don't want to interpret as subscripts.
According to the manual I can overrule this behaviour with an option
but it looks like I'm doing something wrong.

Here is the test file
#+OPTIONS: ^:{}
#+TITLE: test file

- p_c_in :: this is the first parameter 
- g_c_in :: and this is the second



And here is the exported latex
% Created 2012-01-25 Wed 12:04
\documentclass[11pt]{article}
% package includes deleted 

\title{test file}
\author{Peter Rayner}
\date{25 January 2012}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}


\begin{description}
\item[p$_c$$_{\mathrm{in}}$] this is the first parameter
\item[g$_c$$_{\mathrm{in}}$] and this is the second
\end{description}

\end{document}

Note those $ signs in the \item brackets.  I would rather see
p\_c\_in  or \verb|p_c_in|

I am probably misunderstanding how to set the option, could someone
please explain?

This is with
Org-mode version 7.5 (release_7.8.03.74.gd6e40f)
Thanks in advance
Peter



-- 
Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: pray...@unimelb.edu.au

and
CLIMMOD ENGINEERING
http://www.climmod.com
mail-to: peter.ray...@climmod.com



[Orgmode] automatically scheduling sequences of events

2008-08-11 Thread Peter Rayner
I have lots of projects which have work flows but no real schedule.
So a task like 
* todo write satellite paper
might have subtasks like
** todo prepare orbit simulation for Katja 
** todo get results from Claire
** todo compare with David and Frederic
** todo schedule teleconference to share writing tasks 
etc etc
I would probably schedule the first of these for some free time.
What I would like is that when subtask 1 (simulation for Katja) is
done that the second (wait for results) is automatically scheduled and
so appears in my agenda.  Of course the first thing I might do is
reschedule it but at least it hasn't fallen out of sight.  I suspect
the "stuck project" agenda view accomplishes  this manually but I
would be interested in automating this if it were possible.  It could
be, too, that I need to learn to spend more time outside the "agenda
view".
Any pointers welcome
regards
Peter
 


-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 
69 08 77 16
mail-to: [EMAIL PROTECTED]
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html


___
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] adding notes from agenda buffer

2008-06-11 Thread Peter Rayner
I am still learning org-mode so apologies in advance:

I spend most of my org-mode time in the agenda buffer, usually
visiting the underlying files as I tidy up or review.  I would like to
quickly add notes to a task as I am working on it, even if the state
isn't changing and have them appear in the right place. This seems
like something people would do often so I suspect I'm missing an
obvious mechanism.  
Thanks for any pointers.
regards
Peter



-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 
69 08 77 16
mail-to: [EMAIL PROTECTED]
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html


___
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] bug in todo state change tracking?

2008-06-09 Thread Peter Rayner
I *think* I'm seeing the same thing:  My org-todo-keywords is set as:
(setq org-todo-keywords '((sequence "TODO(t!@)" "STARTED(s!@)"
"WAITING(w!@)" "DELEGATED(l!@)" "APPT(a!@)" "|" "DONE(d!@)"
"DEFERRED(e!@)" "CANCELLED(x!@)")))

and I have 
org-use-fast-todo-selection set to t
In the agenda view when I type tw the state is changed to waiting
without prompting for a note.  Probably I am overriding this behaviour
erroneously with  some other setting but I'm not sure where.
This is with org-mode version 5.23
thanks for any help
Peter
Previous message:
--

Hi Brian,
I cannot reproduce this, works fine for me.
- Carsten
-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 6/2/2008 6:15 AM
To: [EMAIL PROTECTED]
Subject: [Orgmode] bug in todo state change tracking?
Hi Carsten and all,
I think I've found a small bug (6.04b on 22.1.1).
I've got
(setq org-todo-keywords '((sequence "TODO(t@)" "STARTED(s@)"
"WAITING(w@)" "|" "DONE(d@)" "CANCELLED(c@)") (sequence
"SOMEDAY(m@)" "|" "NEVER(n@)")))
in my .emacs. However, I get only a time-stamp and not also the note
entry buffer when turning a headline into a TODO (regardless of
whether the headline already had a todo state).
Best,
Brian



-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 
69 08 77 16
mail-to: [EMAIL PROTECTED]
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html


___
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