* Nested list with percent-complete in multiple states?
@ 2013-04-11 14:00 Brett Viren
2013-04-11 15:13 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Brett Viren @ 2013-04-11 14:00 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]
Hi,
I'm helping to edit a large document with section contributions from
many people. Any given section may come in some bizarre format (ie,
.doc) which I convert to LaTeX, leave open a time for subsequent edits
and finally freeze the section.
I'd like to track this state using org-mode.
So far I've been using a nested checklist like:
* Document Sections [0/4]
- [-] Chapter 1 [0/3]
- [ ] section 1 (person A)
- [ ] section 2 (person B)
- [ ] section 2 (person C)
- [-] Chapter 2 [1/1]
- [X] section 1 (Person D)
This is okay for binary state, but is there any to have more states
represented and get a summary of the percent of each chapter/section in
that state?
For example, I'd like something like:
* Document Sections (received:[1/4] converted:[1/4] frozen:[1/4] missing [1/4])
- [-] Chapter 1 (received:[2/3] converted:[1/3] frozen:[0/3] missing [1/3])
- [ ] section 1 (person A)
- [R] section 2 (person B)
- [C] section 2 (person C)
- [-] Chapter 2 (received:[1/1] converted:[1/1] frozen:[1/1] missing [0/1])
- [F] section 1 (Person D)
Is there anything which gets me in this direction?
Thanks,
-Brett.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Nested list with percent-complete in multiple states?
2013-04-11 14:00 Nested list with percent-complete in multiple states? Brett Viren
@ 2013-04-11 15:13 ` Bastien
2013-04-11 17:36 ` Brett Viren
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-04-11 15:13 UTC (permalink / raw)
To: Brett Viren; +Cc: emacs-orgmode
Hi Brett,
Brett Viren <bv@bnl.gov> writes:
> * Document Sections (received:[1/4] converted:[1/4] frozen:[1/4] missing [1/4])
> - [-] Chapter 1 (received:[2/3] converted:[1/3] frozen:[0/3] missing [1/3])
> - [ ] section 1 (person A)
> - [R] section 2 (person B)
> - [C] section 2 (person C)
> - [-] Chapter 2 (received:[1/1] converted:[1/1] frozen:[1/1] missing [0/1])
> - [F] section 1 (Person D)
>
> Is there anything which gets me in this direction?
Check boxes have only three state: empty, checked, undecided.
If you need more states, I suggest using a property.
Then the column view can be used to display a summary
of the "sum" of all properties in the subtree.
HTH,
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Nested list with percent-complete in multiple states?
2013-04-11 15:13 ` Bastien
@ 2013-04-11 17:36 ` Brett Viren
2013-04-12 5:39 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Brett Viren @ 2013-04-11 17:36 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]
Bastien <bzg@gnu.org> writes:
> Check boxes have only three state: empty, checked, undecided.
>
> If you need more states, I suggest using a property.
> Then the column view can be used to display a summary
> of the "sum" of all properties in the subtree.
Thanks for the pointer, Bastien. This looks like a fine way to do
things.
I've been able to "capture" the columnview into another .org file and
then export that to an HTML file. Is there a way to automate these
three steps?
Notes on what I did so far follow.
In a "notes.org":
* Document status
:PROPERTIES:
:COLUMNS: %25ITEM(Section) %25Responsible %3Received{X} %3Converted{X} %3Editing{X} %3Frozen{X}
:Responsible_ALL: Person1 Person2 Person3
:Received_ALL: "[ ]" "[X]"
:Converted_ALL: "[ ]" "[X]"
:Editing_ALL: "[ ]" "[X]"
:Frozen_ALL: "[ ]" "[X]"
:ID: document-status
:END:
** Section 1
*** Subsection 1.1
:PROPERTIES:
:Responsible: Person1
:Received: [X]
:Converted: [ ]
:END:
Etc for other sections. Hints:
- only need to add properties in sub (or subsub, etc) sections where
they are strictly needed. Parents inherit from children
- don't actually edit :PROPERTIES: by hand instead do C-c C-x C-c to
turn on columns and "e" in a cell to edit it with values from the
list of possible ones in the *_ALL and/or do C-c C-c to toggle values
I shall look into adding numerical values to get %-done type columns.
Then for presentation. As per
http://orgmode.org/manual/Capturing-column-view.html
To make presentation with just this tree of info make another file
"status.org" with:
* Status
#+BEGIN: columnview :vlines t :hlines 1 :id "document-status"
#+END:
Go to "BEGIN" and hit C-c C-c and a table will be inserted. Then a
normal export to HTML can be done.
-Brett.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-15 18:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 14:00 Nested list with percent-complete in multiple states? Brett Viren
2013-04-11 15:13 ` Bastien
2013-04-11 17:36 ` Brett Viren
2013-04-12 5:39 ` Bastien
2013-04-15 18:26 ` Suvayu Ali
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).