Re: [Orgmode] Tag table entries?

2010-05-03 Thread Johan Ekh
Thanks Dan!
My idea was to go through a long imported table and quickly categorize the
different rows
into a number of predefined categories, without having to actually type the
category for
each row. Can I do that?

If babel is a way, I think I would prefer to use python as I am familiar
with it. But I have not used
it with babel, is that possible?

Best regards,
Johan


On Mon, May 3, 2010 at 10:52 PM, Dan Davison  wrote:

> Johan Ekh  writes:
>
> > Hi all,
> > I wonder if it is possible to tag rows in a table?
> >
> > For example, if  I have a table of expenses, i.e. columns with "date",
> "note" and "sum",
> > and then want to group the entries into different categories such as
> "groceries", "car" etc.
> >
> > Can I do this someway?
>
> Hi Johan,
>
> You can't attach metadata such as tags to table rows. Two things come to
> mind.
>
> 1. If you just want the table for visual purposes (as opposed for doing
>   calculations with it), then you could use column-view. I.e. you would
>   have a subtree for groceries and a subtree for car; categories such
>   as date, note and sum would be stored in properties.
>
> http://orgmode.org/manual/Column-view.html#Column-view
>
> Visibility cycling works in column view so you can group and ungroup the
> rows.
>
> [is there anyway of creating a normal Org table from a column view
> "table"?]
>
> 2. org-babel: If you're happy with a suitable supported language, then
>   store the category label in a column and you can transform the master
>   table however you want. R would be a convenient language for working
>   with a table like this.
>
> Dan
>
>
>
> >
> > Best regards,
> > Johan
> >
> > ___
> > 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] Re: shell: link output

2010-05-03 Thread Uday S Reddy

On 5/3/2010 11:15 PM, Dan Davison wrote:



Hmm, no, I think what I wrote was correct :)


Indeed, you are!  I did something wrong in my test :-(

Cheers,
Uday



___
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] Re: shell: link output

2010-05-03 Thread Dan Davison
Uday S Reddy  writes:

> On 5/3/2010 12:14 AM, Dan Davison wrote:
>
>>
>> It displays the output in the minibuffer, right? I'm not sure there's a
>> very easy solution. Documented behaviour of `shell-command' is that
>>
>> ,
>> | The output appears in the buffer `*Shell Command Output*'.  If the
>> | output is short enough to display in the echo area (which is determined
>> | by the variables `resize-mini-windows' and `max-mini-window-height'), it
>> | is shown there, but it is nonetheless available in buffer `*Shell
>> | Command Output*' even though that buffer is not automatically displayed.
>> `
>>
>> so it seems rather hard-wired to me (i.e. you'd have to write your own
>> function or use defadvice).
>
> I think `shell-command' displays the *Shell Command Output* buffer only when 
> it is called interactively.  When it is called programatically, I think they 
> expect the calling program to display the *Shell Command Output* buffer 
> separately.  Org mode is not doing so.

Hi Uday,

Hmm, no, I think what I wrote was correct :) If the output is too long
to fit in the minibuffer, then shell-command does display the output
buffer, whether in interactive or non-interactive context (at least in
emacs 24 on linux).

Dan

>
> Cheers,
> Uday
>
>
>
> ___
> 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] Re: shell: link output

2010-05-03 Thread Uday S Reddy

On 5/3/2010 12:14 AM, Dan Davison wrote:



It displays the output in the minibuffer, right? I'm not sure there's a
very easy solution. Documented behaviour of `shell-command' is that

,
| The output appears in the buffer `*Shell Command Output*'.  If the
| output is short enough to display in the echo area (which is determined
| by the variables `resize-mini-windows' and `max-mini-window-height'), it
| is shown there, but it is nonetheless available in buffer `*Shell
| Command Output*' even though that buffer is not automatically displayed.
`

so it seems rather hard-wired to me (i.e. you'd have to write your own
function or use defadvice).


I think `shell-command' displays the *Shell Command Output* buffer only when it 
is called interactively.  When it is called programatically, I think they 
expect the calling program to display the *Shell Command Output* buffer 
separately.  Org mode is not doing so.

Cheers,
Uday



___
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] Tag table entries?

2010-05-03 Thread Dan Davison
Johan Ekh  writes:

> Hi all,
> I wonder if it is possible to tag rows in a table?
>
> For example, if  I have a table of expenses, i.e. columns with "date", "note" 
> and "sum",
> and then want to group the entries into different categories such as 
> "groceries", "car" etc.
>
> Can I do this someway?

Hi Johan,

You can't attach metadata such as tags to table rows. Two things come to
mind.

1. If you just want the table for visual purposes (as opposed for doing
   calculations with it), then you could use column-view. I.e. you would
   have a subtree for groceries and a subtree for car; categories such
   as date, note and sum would be stored in properties.

http://orgmode.org/manual/Column-view.html#Column-view

Visibility cycling works in column view so you can group and ungroup the rows.

[is there anyway of creating a normal Org table from a column view
"table"?]

2. org-babel: If you're happy with a suitable supported language, then
   store the category label in a column and you can transform the master
   table however you want. R would be a convenient language for working
   with a table like this.

Dan



>
> Best regards,
> Johan
>
> ___
> 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] Tag table entries?

2010-05-03 Thread Johan Ekh
Hi all,
I wonder if it is possible to tag rows in a table?

For example, if  I have a table of expenses, i.e. columns with "date",
"note" and "sum",
and then want to group the entries into different categories such as
"groceries", "car" etc.

Can I do this someway?

Best regards,
Johan
___
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] Iterate many tables

2010-05-03 Thread Johan Ekh
Thanks,
I will try it and report back.
//Johan

On Fri, Apr 30, 2010 at 5:03 PM, Carsten Dominik
wrote:

>
> On Apr 30, 2010, at 4:07 PM, Johan Ekh wrote:
>
>  Hi all,
>> I have a series of tables in a single file. Each table have some fields
>> that depends on fields
>> in the previous table. Thus, if I change something in the first table, I
>> must go down manually
>> and recalculate (or iterate) each table. Is there a way to recalculate all
>> tables in a file simultaneously?
>>
>
>
> Hi Johan,
>
> This should work if the dependence is only backwards.
>
> (defun org-recalculate-all-tables ()
>   (interactive)
>   (org-table-map-tables (lambda () (org-table-recalculate t)) t))
>
> If you have dependencies in both directions, this might work (untested):
>
> (defun org-iterate-all-tables ()
>  (interactive)
>  (let* ((imax 10)
> (checksum (md5 (buffer-string)))
> c1
> (i imax))
>(catch 'exit
>  (while (> i 0)
>(setq i (1- i))
>(org-table-map-tables (lambda () (org-table-recalculate t)) t)
>(if (equal checksum (setq c1 (md5 (buffer-string
>(progn
>  (message "Convergence after %d iterations" (- imax i))
>  (throw 'exit t))
>  (setq checksum c1)))
>  (error "No convergence after %d iterations" imax
>
> If it does, this could be added to org-hacks on Worg.
>
> HTH
>
> - 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


[Orgmode] Re: Time Stamps?

2010-05-03 Thread Bernt Hansen
David Frascone  writes:

> On Mon, May 3, 2010 at 3:00 PM, Bernt Hansen  wrote:
>
> David Frascone  writes:
>
> >  1. Can I make all timestamps put the time?  In other words, can I
> >  make C-c ! always do the same thing as C-u C-c !
> >
>
> I use a key binding for this:  f9-t which creates a timestamp like this
> at point.  [2010-05-03 Mon 14:52]  The binding for that is documented at
> http://doc.norang.ca/org-mode.html#sec-15_21
>
> Duh.  Sorry.  I thought there would be a way to do it with just a
> command, and, at first glance, didn't grok what you were doing with
> the func.  Consider it stolen.  I'm going to re-map something to it. 
> I don't like using Function keys, because when I am using my macbook
> w/o a keyboard, I have to hit a Fn button to get those.  But, I'll map
> it to something.  I do like your f9 map, so, maybe I'll use M-9 or
> something like that.

Steal away :)  I'm sure you can change the function to always put in the
time if that's what you really want to do but there's no configuration
to implement that currently AFAICT.

> >  2. Where should I put the timestamp?  Where do you guys think it
> >  looks best?  Before the text?  After?  Still getting a feel for
> >  things.
>
> Anywhere in the body of the text works fine for me.  My remember
> templates put the timestamp after the clock drawer
>
>  * TODO blah
>  :CLOCK:...
>  [2010-05-03 Mon 14:59]
>  [[link to stuff]]
>
> but anywhere will work - it's just text.
>
> Right.  I understand where it gets put.  But, now I want to add some
> notes.  Where would you put it?  (And, I know I'm just asking your
> opinion, because it is all just text -- I just really like your setup,
> so I'm using it as my starting point.

I just put them at the top and leave them there.  Any further detail is
either inline in the body following it or as notes in a LOGBOOK drawer.
>
> So, for example, here's an entry I took today with a call, refiled it,
> then re-edited it.  Names have been changed to protect the guilty
>
> some_company.org:
> -
> * Title for issue customer is having
> ** WAITING Phone %:name - %:Some Company -   
> :PHONE:WAITING:
>    - State "WAITING"    from ""   [2010-05-03 Mon 11:19] \\
>  Waiting on data from Customer
>    :CLOCK:
>    :END:
>    Got a call from Customer this am.  He is having problems blah blah.
>    Will call him back in 10-15
>    Contact Info: 800-555-
>    [2010-05-03 Mon]
> ** Talked to Customer again.
> [2010-05-03 Mon 11:19]
> Conclusion:  Probable Diagnosis here.  Customer is going to reboot and send
> me more data.
> *** System Information
>  Some System
>  1 Gb Data File
>  60 Threads
>  Other System Data
>  Performance
>  9-20 Mb/Sec
>  Configuration
>  Raid 0 over 4 drives
>  16 Gb RAM
>  Blah Blah
>  Symptoms
>  computer hangs.  windows Explorer hangs trying to look at filesystem.
> -
>
> So, this was the result of two calls, captured with remember-phone,
> then re-filed into the some_company.org file.  I put the datestamps up
> top, but I'm not sure if I like them there.  What do you think of that
> setup?   

I use the datestamp to record when the remember task was created (ie
when did I first hear about it).  You can probably put it inside a
drawer if you want to hide it -- I've never tried that.  For me it's
just an indication of how old the task is (ie. when the task was
created)

>
> >
> >  3. Clocking.  That site does a lot of it, and I mostly like it.  But,
> >     I'm not sure how I should clock in in the AM.  Almost always, I
> >     try to enter something quickly with remember, and I haven't
> >     started a clock yet.  I'm considering taking out the timing stuff
> >     now . . . any pointers?
>
> The first thing I do when I clock-in in the morning is hit either f9-o
> or f9-m to clock in my organization or read mail task (depending on
> which one I start first).  From there remember tasks interrupt the clock
> temporarily and clocking continues on whatever I work on until I
> manually clock out.
>
> I will re-read the clocking portion . . I really like stamping
> EVERYTHING, so that I can generate weekly reports easily (This is
> where I wasted my time)
>
> I've also got to integrate, somehow, references to my livescribe pen
> (annotated conference call notes).  And, it'll be nice to backdate
> conference calls so that even if I dont' log them, I can log them
> later.  I know I can . . it's just coming up with an easy way to do
> it.

I use clocking data to report or track 'what I worked on and when'.
My clock data is also my timestamp for what I did and I view the results
in log mode in the agenda (C-c a l) and in clock reports for reporting
to the boss.

I clock stuff in all the time and for short periods... things that take
less than a minute to do end up crea

Re: [Orgmode] Re: Custom docbook stylesheets.

2010-05-03 Thread Dale P. Smith
Baoqiu Cui  writes:

> Hi Dale,
>
> Dale Smith  writes:
>
>> Dale Smith  writes:
>>
>> The current org-export-docbook-xslt-proc-command is a format string,
>> with a fixed order of arguments (the fo filename and then the input
>> docbook filname).  Thats probably good enough for most (all?) xslt
>> processors, but things may be more limited when it comes to also
>> specifying the stylesheet.  Do we need to have some kind of special
>> markers in the format string for where the different options go?
>> Something like $i $o and $s (for in, out, and stysheet)?

 I thought about doing something similar to make the commands easier to
 set, but stopped pursuing that after seeing the format string style
 worked fine.  I am not sure if any other Emacs modes/packages have done
 something like this, i.e. using (semi)named arguments.
>>>
>>> Well, it took me a while, but it found it.  It's the format-spec
>>> function. (Actually, http://edward.oconnor.cx/2009/06/format-spec
>>> clued me in.)
>>>
>>> I'll have a go at it today and see if I can send in a patch.
>>
>> Ok.  This works for me.  Docs are not updated.  That would push me
>> over the 10 line limit. ;^)
>
> Thanks for working on this patch, which looks very good to me!  Yes, I
> think format-spec is the right way to go, and it does make the command
> format more flexible.

This didn't seem to make it into org-mode.  Any chance it could be
added?

Thanks,
  -Dale

-- 
Dale P. Smith
da...@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX


___
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] Re: Time Stamps?

2010-05-03 Thread David Frascone
On Mon, May 3, 2010 at 3:00 PM, Bernt Hansen  wrote:

> Hi David,
>
> Answers are inline.
>
> David Frascone  writes:
>
> > I've been using a lot of the great info at this site
> > (http://doc.norang.ca/org-mode.html) , and I have some questions:
> >
> > When using timestamps, I like the time in there too.  And, I like to
> > stamp every entry, so my status looks nice.  But, I'm having a couple
> > of problems:
> >
> >  1. Can I make all timestamps put the time?  In other words, can I
> >  make C-c ! always do the same thing as C-u C-c !
> >
>
> I use a key binding for this:  f9-t which creates a timestamp like this
> at point.  [2010-05-03 Mon 14:52]  The binding for that is documented at
> http://doc.norang.ca/org-mode.html#sec-15_21
>

Duh.  Sorry.  I thought there would be a way to do it with just a command,
and, at first glance, didn't grok what you were doing with the func.
Consider it stolen.  I'm going to re-map something to it.  I don't like
using Function keys, because when I am using my macbook w/o a keyboard, I
have to hit a Fn button to get those.  But, I'll map it to something.  I do
like your f9 map, so, maybe I'll use M-9 or something like that.



>
> >  2. Where should I put the timestamp?  Where do you guys think it
> >  looks best?  Before the text?  After?  Still getting a feel for
> >  things.
>
> Anywhere in the body of the text works fine for me.  My remember
> templates put the timestamp after the clock drawer
>
>  * TODO blah
>  :CLOCK:...
>  [2010-05-03 Mon 14:59]
>  [[link to stuff]]
>
> but anywhere will work - it's just text.
>

Right.  I understand where it gets put.  But, now I want to add some notes.
Where would you put it?  (And, I know I'm just asking your opinion, because
it is all just text -- I just really like your setup, so I'm using it as my
starting point.

So, for example, here's an entry I took today with a call, refiled it, then
re-edited it.  Names have been changed to protect the guilty

some_company.org:
-
* Title for issue customer is having
** WAITING Phone %:name - %:Some Company -
:PHONE:WAITING:
   - State "WAITING"from ""   [2010-05-03 Mon 11:19] \\
 Waiting on data from Customer
   :CLOCK:
   :END:
   Got a call from Customer this am.  He is having problems blah blah.
   Will call him back in 10-15
   Contact Info: 800-555-
   [2010-05-03 Mon]
** Talked to Customer again.
[2010-05-03 Mon 11:19]
Conclusion:  Probable Diagnosis here.  Customer is going to reboot and send
me more data.
*** System Information
 Some System
 1 Gb Data File
 60 Threads
 Other System Data
 Performance
 9-20 Mb/Sec
 Configuration
 Raid 0 over 4 drives
 16 Gb RAM
 Blah Blah
 Symptoms
 computer hangs.  windows Explorer hangs trying to look at filesystem.
-

So, this was the result of two calls, captured with remember-phone, then
re-filed into the some_company.org file.  I put the datestamps up top, but
I'm not sure if I like them there.
What do you think of that setup?


>
> >
> >  3. Clocking.  That site does a lot of it, and I mostly like it.  But,
> > I'm not sure how I should clock in in the AM.  Almost always, I
> > try to enter something quickly with remember, and I haven't
> > started a clock yet.  I'm considering taking out the timing stuff
> > now . . . any pointers?
>
> The first thing I do when I clock-in in the morning is hit either f9-o
> or f9-m to clock in my organization or read mail task (depending on
> which one I start first).  From there remember tasks interrupt the clock
> temporarily and clocking continues on whatever I work on until I
> manually clock out.
>
>
I will re-read the clocking portion . . I really like stamping EVERYTHING,
so that I can generate weekly reports easily (This is where I wasted my
time)

I've also got to integrate, somehow, references to my livescribe pen
(annotated conference call notes).  And, it'll be nice to backdate
conference calls so that even if I dont' log them, I can log them later.  I
know I can . . it's just coming up with an easy way to do it.
___
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] Re: Time Stamps?

2010-05-03 Thread Bernt Hansen
Hi David,

Answers are inline.

David Frascone  writes:

> I've been using a lot of the great info at this site
> (http://doc.norang.ca/org-mode.html) , and I have some questions:
>
> When using timestamps, I like the time in there too.  And, I like to
> stamp every entry, so my status looks nice.  But, I'm having a couple
> of problems:
>
>  1. Can I make all timestamps put the time?  In other words, can I
>  make C-c ! always do the same thing as C-u C-c !
>

I use a key binding for this:  f9-t which creates a timestamp like this
at point.  [2010-05-03 Mon 14:52]  The binding for that is documented at
http://doc.norang.ca/org-mode.html#sec-15_21

>  2. Where should I put the timestamp?  Where do you guys think it
>  looks best?  Before the text?  After?  Still getting a feel for
>  things.

Anywhere in the body of the text works fine for me.  My remember
templates put the timestamp after the clock drawer

  * TODO blah
  :CLOCK:...
  [2010-05-03 Mon 14:59]
  [[link to stuff]]

but anywhere will work - it's just text.

>
>  3. Clocking.  That site does a lot of it, and I mostly like it.  But,
> I'm not sure how I should clock in in the AM.  Almost always, I
> try to enter something quickly with remember, and I haven't
> started a clock yet.  I'm considering taking out the timing stuff
> now . . . any pointers?

The first thing I do when I clock-in in the morning is hit either f9-o
or f9-m to clock in my organization or read mail task (depending on
which one I start first).  From there remember tasks interrupt the clock
temporarily and clocking continues on whatever I work on until I
manually clock out.

HTH,
Bernt




___
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] Re: nicely managing multiple calendars in the agenda

2010-05-03 Thread Sébastien Vauban
Hi Nick,

Nick Dokos wrote:
> Sébastien Vauban  wrote:
>
>> (setq org-tag-faces
>>   '(("home" . (:background "#D4EAFF" :italic t))
>> ("work" . (:italic t :background "#F9E816"
>> 
>> Though, only the color spec above is taken into account. Tags are not in
>> italics like for all the others:
>> 
>>  (org-tag ((t (:foreground "rgb:81/6A/7D" :background "rgb:F7/B8/DE" :i=
>> talic t
>> 
>> Maybe a bug?
>
> Or maybe the font does not come in italic? AFAIK, if that's the case, then
> the italic attribute is just ignored.

Nice try -- and you're definitely right asking (as this could easily be
overlooked), but here that's not the case: my font is Consolas (under Ubuntu),
which comes in italics.

And I get _all the tags in italics_, thanks to the above specification of
`org-tag' -- _all but 2_ tags: `home' and `work', which come in their upright
version, independently of the argument passed in `org-tag-faces'.

Thanks for helping...

Seb

-- 
Sébastien Vauban



___
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] Time Stamps?

2010-05-03 Thread David Frascone
I've been using a lot of the great info at this site (
http://doc.norang.ca/org-mode.html) , and I have some questions:


When using timestamps, I like the time in there too.  And, I like to stamp
every entry, so my status looks nice.  But, I'm having a couple of problems:

   1. Can I make all timestamps put the time?  In other words, can I make
   C-c ! always do the same thing as C-u C-c !
   2. Where should I put the timestamp?  Where do you guys think it looks
   best?  Before the text?  After?  Still getting a feel for things.
   3. Clocking.  That site does a lot of it, and I mostly like it.  But, I'm
   not sure how I should clock in in the AM.  Almost always, I try to enter
   something quickly with remember, and I haven't started a clock yet.  I'm
   considering taking out the timing stuff now . . . any pointers?


Thanks in advance,

-Dave
___
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] [PATCH] only display a scheduled item if it is due today or in the past

2010-05-03 Thread Nathan Neff
On Sun, May 2, 2010 at 12:37 PM, Nathaniel Flath  wrote:
> Hello,
> One thing I've wanted from org-mode is the ability to have certain items
> 'hidden' from the agenda until the day they are scheduled - this patch
> implements this for all properties who have a STYLE property of 'hidden'.
> I ended up implementing this(the patch is attached), and thought I'd
> contribute it to org-mode. If you have any comments, please let me know.
>
> Thanks,
> Nathaniel Flath
>

+1 for this functionailty

This is great for "repeating" things that I don't want to have
littering up my agenda, such as "Check Org-Mode Mailing List".

Org-habit uses similar functionality, except that I don't want to see
the habit-grid.

--Nate
> ___
> 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] Howto generate LaTeX footnotes using \footnote{}

2010-05-03 Thread Robert Hennig
Dear Eric,

thank you for your sample!
Indeed the way you use the footnotes works fine.
I recognized that the problem Is bound to footnotes insiside an
LaTeX Environment, like this:

---
#+OPTIONS: f:t
* footnote test
This Footnote [fn:1: the first  one] works fine.
\begin{quote}
But the second on [fn:2: inside a Latex Environment] does not
produce the desired behaviour.
\end{quote}
--
which results in:
...
This Footnote \footnote{the first  one } works fine.
\begin{quote}
But the second on [2] does not
produce the desired behaviour.
\end{quote}

$^{2}$ inside a Latex Environment
...
-

which is not the intended behaviour.

Best Regards,
Robert

Eric S Fraga wrote:
> On Fri, 30 Apr 2010 14:34:46 +0200, Robert Hennig  
> wrote:
>> Dear orgmode list!
>>
>> I'm would like to generate LaTeX footnotes
>> using the LaTeX macro \footnote{} if I export
>> the org-mode document to LaTeX. What do I have
>> to do - now I only get a plain '[..]' and the
>> footnote comes at the end of the document.
>> (I like to have the footnote on the page where
>>  it is referenced, he LaTeX \footnote{} should do this.)
>> Digging into the code I found the \footnote, but I'm
>> not this familiar to figure out howto actually
>> I could reproduce the desired behaviour.
>>
>> Thank you a lot for the wonderful world of org-mode!
>>
>> Yours,
>>
>> Robert Hennig
> 
> how are you inserting the footnotes?  this works /out of the box/ for
> me.  E.g. the following
> 
> --8<---cut here---start->8---
> * footnotes
>   The important citation[fn:1: this is an interesting source] is
>   necessary to convince others of their[fn:2: whoever they may be] interest.
> --8<---cut here---end--->8---
> 
> together with a preamble template as inserted at the beginning of the
> file using "C-c C-e t", generates the following latex:
> 
> --8<---cut here---start->8---
> 
> \title{footnotes}
> 
> \begin{document}
> 
> \maketitle
> 
> \setcounter{tocdepth}{3}
> \tableofcontents
> \vspace*{1cm}
>   The important citation\footnote{this is an interesting source } is
>   necessary to convince others of their\footnote{whoever they may be } 
> interest.
> 
> --8<---cut here---end--->8---
> 
> I inserted my footnotes using "C-c C-x f".
> 
> HTH,
> eric
> 



___
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] Re: nicely managing multiple calendars in the agenda

2010-05-03 Thread Nick Dokos
Sébastien Vauban  wrote:

> (setq org-tag-faces
>   '(("home" . (:background "#D4EAFF" :italic t))
> ("work" . (:italic t :background "#F9E816"
> 
> Though, only the color spec above is taken into account. Tags are not in
> italics like for all the others:
> 
>  (org-tag ((t (:foreground "rgb:81/6A/7D" :background "rgb:F7/B8/DE" :i=
> talic t
> 
> Maybe a bug?
> 

Or maybe the font does not come in italic? AFAIK, if that's the case, then
the italic attribute is just ignored.

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


[Orgmode] Re: Orgmode 6.35 with emacs on Windows xp

2010-05-03 Thread Leo
On 2010-05-03 03:33 +0100, Michal Kaniuczok wrote:
> I started using orgmode just few days as organizer /planer/ note taker
> etc and soon realized it is everything i wanted organizer to be. I
> work as a structural engineer for meadium size consulting Company and
> need to keep track of many small projects at the same time. The only
> problem is that i'm not a programer. For the past few days i have been
> trying to install latest version of orgmode on emacs ,so i can connect
> with my iPhone, with no luck :(. Is there possibility to download
> emacs for Windows with new version of orgmode ?

Welcome to the OrgMode community.

Which version of emacs are you using?

I would suggest go to http://alpha.gnu.org/gnu/emacs/pretest/windows/
and download the latest package which includes org 6.33x (also the
version I am currently using). That should be sufficient to get you
started. (23.1.96 is very close to the soon-to-be-released Emacs 23.2)

After using org and Emacs for a while you will realise compiling org (in
fact almost every elisp package) is very easy on any platform. Don't
worry about this for now ;)

Best wishes,
Leo



___
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] [FEATURE REQUEST] Comment Speedkeys or - A solution to the Remember mode three finger salute

2010-05-03 Thread Tim O'Callaghan
Hi,

My general org keyboard policy has been to avoid the use of any Ctrl
related keys, and remap them to Alt, or FN keys where possible. For
example I've mapped M-R to org-remember and M-O to org-ctrlc-ctrlc
etc.

Today I've been looking to try and set up my alt 'speed keys' for the
prefix arg style 'three fingered salute' you need to use to refile
remember mode notes, and it seems i cannot. At least not without using
keyboard macros. I wanted to re-map M-R to refile and M-T
re-template

... which leads me to my feature request.

Is it possible to extend the speed key functionality to org comment
lines? If so, could you assign speed keys to the comment lines in the
remember buffer? Hitting PgUp or M-< is natural, and then pressing a
single key to do my filing operation, would be great. I should then
also be able to assign speed keys for different re-file locations.

This could possibly change the wording of the template at the top, and
presumably need some kind of functional re-factoring of the remember
code so that each operation has its own function..

Comment speed keys could then be used for #+SRC code blocks, setting
#+STARTUP features or whatever.

Tim.


___
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] Re: Faces for deadlines?

2010-05-03 Thread Mikael Fornius

I have not tried it but I found this variable:

org-agenda-deadline-faces

"Faces for showing deadlines in the agenda."

maybe it solves your problem?

-- 
Mikael Fornius


___
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] Re: Faces for deadlines?

2010-05-03 Thread Sébastien Vauban
Hi,

Can I bump up this thread?

Best regards,
  Seb

Sébastien Vauban wrote:
> Hello,
>
> I'm trying to customize the display of deadlines.
>
> I currently have:
>
> (org-upcoming-deadline ((t (:foreground "white" :background "rgb:E9/A3/6A" 
> :weight bold
> (org-warning ((t (:foreground "white" :background "rgb:D8/00/00" :weight 
> bold
>
> in my color-theme, but I would like to have (for example):
>
> - red for actions due in the past ("In -2 d.")
>
> - orange for actions due today ("Deadline")
>
> - green for actions due in the next coming days ("In 3 d.")
>   (DEADLINE <= `org-agenda-skip-deadline-prewarning-if-scheduled')
>
> - blue for longer-term deadlines ("In 13 d.")
>   (DEADLINE > `org-agenda-skip-deadline-prewarning-if-scheduled' and
>DEADLINE <= `org-deadline-warning-days')
>
> Is this possible?

-- 
Sébastien Vauban



___
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] Re: nicely managing multiple calendars in the agenda

2010-05-03 Thread Sébastien Vauban
Hi Eraldo,

Eraldo Helal wrote:
> I have switched to using org files as 'calendars'. (events.org,
> university.org, etc) I am using the agenda to view them.
>
> However I am still having some troubles with 2 things:
> 1. different colors for different calendars (e.g. entries from events.org in 
> orange)

> Would it be possible to use different faces for different files?
> Or maybe even different faces for different categories?
> , What I have:
> |[blue ] Saturday1 May 2010
> |[black]   events:  Adam's party
> |[black]   events:  Magic show
> |[black]   university:  10:15-12:00 Management test
> `
> , What I want:
> |[blue  ] Saturday1 May 2010
> |[orange]   events:  Adam's party
> |[orange]   events:  Adam's party
> |[purple]   university:  10:15-12:00 Management test
> `

What I do is having tags with different colors:

--8<---cut here---start->8---
(setq org-tag-faces
  '(("home" . (:background "#D4EAFF" :italic t))
("work" . (:italic t :background "#F9E816"
--8<---cut here---end--->8---

Though, only the color spec above is taken into account. Tags are not in
italics like for all the others:

--8<---cut here---start->8---
 (org-tag ((t (:foreground "rgb:81/6A/7D" :background "rgb:F7/B8/DE" 
:italic t
--8<---cut here---end--->8---

Maybe a bug?

Best regards,
  Seb

-- 
Sébastien Vauban



___
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