* exporting clock-in and clock-out times
@ 2012-11-09 9:50 Peter Salazar
2012-11-09 10:31 ` Giovanni Ridolfi
0 siblings, 1 reply; 14+ messages in thread
From: Peter Salazar @ 2012-11-09 9:50 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
I'm exporting to HTML and trying to get my clock-in and clock-out times to
export as well, but it's not working.
My org file looks like this:
* foo
CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
foo.
#+OPTIONS: d:t timestamp:t
---
But the clock-in and clock-out times do not appear—nor does the calculated
time in between.
Any thoughts? Thanks!
[-- Attachment #2: Type: text/html, Size: 594 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 9:50 exporting clock-in and clock-out times Peter Salazar
@ 2012-11-09 10:31 ` Giovanni Ridolfi
2012-11-09 10:38 ` Nicolas Goaziou
2012-11-10 10:04 ` Peter Salazar
0 siblings, 2 replies; 14+ messages in thread
From: Giovanni Ridolfi @ 2012-11-09 10:31 UTC (permalink / raw)
To: Peter Salazar, org-mode
Da: Peter Salazar <cycleofsong@gmail.com>
Inviato: Venerdì 9 Novembre 2012 10:50
Hi, Peter,
> I'm exporting to HTML and trying to get my clock-in and clock-out
> times to export as well, but it's not working.
> My org file looks like this:
> #+OPTIONS: d:t timestamp:t
> * foo
> CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
> foo.
>
FIRST : always, please, always. Please, always,
did I already say always?
please always send:
Org-version,
Emacs version
Operatig System
and in this case, dealing with the exporter, if you used the new or the old exporter.
Here:
Org-mode version 7.9.2 (854ddf6 @ c:/Users/ridolfi/programs/emacs-o/org/lisp/)
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN
1. I can export the clock line *IF* I have a property drawer:
#+OPTIONS: d:t timestamp:t
* foo
CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
:PROPERTIES:
:END:
foo.
-+--------------------------------HTML------------
1 foo
CLOCK: 11/09/12 ven 03:58– 11/09/12 ven 03:59 => 0:01
PROPERTIES
foo.
2 bye ARCHIVE
-+----------------------------
so this is a quick and dirty solution.
2. Otherwise I cannot get the clock line in the HTML file:
- without (i.e. commenting out) the :PROPERTIES: drawer
- with the new exporter
(with or without propertiies)
cheers,
Giovanni
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 10:31 ` Giovanni Ridolfi
@ 2012-11-09 10:38 ` Nicolas Goaziou
2012-11-09 16:58 ` Peter Salazar
2012-11-10 10:04 ` Peter Salazar
1 sibling, 1 reply; 14+ messages in thread
From: Nicolas Goaziou @ 2012-11-09 10:38 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: org-mode, Peter Salazar
Hello,
Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
> 2. Otherwise I cannot get the clock line in the HTML file:
[...]
> - with the new exporter
>
> (with or without propertiies)
You may want to use `org-export-with-clocks', or the c:t OPTION item.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 10:38 ` Nicolas Goaziou
@ 2012-11-09 16:58 ` Peter Salazar
2012-11-09 17:04 ` Nicolas Goaziou
0 siblings, 1 reply; 14+ messages in thread
From: Peter Salazar @ 2012-11-09 16:58 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
Thanks! The c:t OPTION worked like a charm!
Is there a way to get clock items to display in 12-hour format? At least in
the HTML export?
On Fri, Nov 9, 2012 at 5:38 AM, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
>
> Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
>
> > 2. Otherwise I cannot get the clock line in the HTML file:
>
> [...]
>
> > - with the new exporter
> >
> > (with or without propertiies)
>
> You may want to use `org-export-with-clocks', or the c:t OPTION item.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
[-- Attachment #2: Type: text/html, Size: 1076 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 16:58 ` Peter Salazar
@ 2012-11-09 17:04 ` Nicolas Goaziou
2012-11-09 17:25 ` Peter Salazar
0 siblings, 1 reply; 14+ messages in thread
From: Nicolas Goaziou @ 2012-11-09 17:04 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode
Peter Salazar <cycleofsong@gmail.com> writes:
> Is there a way to get clock items to display in 12-hour format? At least in
> the HTML export?
You could use `org-display-custom-times' variable, with
`org-time-stamp-custom-formats' set accordingly.
Note that if you don't want to toggle the custom time display globally,
you still can trigger it during export with bind keyword:
#+BIND: org-display-custom-times t
Regards,
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 17:04 ` Nicolas Goaziou
@ 2012-11-09 17:25 ` Peter Salazar
2012-11-09 17:50 ` Nicolas Goaziou
0 siblings, 1 reply; 14+ messages in thread
From: Peter Salazar @ 2012-11-09 17:25 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
Great! And how should I specify org-time-stamp-custom-formats in order to
display 12-hour times?
Default is this, which displays 24-hour times:
("<%m/%d/%y %a>" . "<%m/%d/%y %a %H:%M>")
On Fri, Nov 9, 2012 at 12:04 PM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Is there a way to get clock items to display in 12-hour format? At least
> in
> > the HTML export?
>
> You could use `org-display-custom-times' variable, with
> `org-time-stamp-custom-formats' set accordingly.
>
> Note that if you don't want to toggle the custom time display globally,
> you still can trigger it during export with bind keyword:
>
> #+BIND: org-display-custom-times t
>
>
> Regards,
>
[-- Attachment #2: Type: text/html, Size: 1214 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 17:25 ` Peter Salazar
@ 2012-11-09 17:50 ` Nicolas Goaziou
2012-11-09 18:03 ` Peter Salazar
0 siblings, 1 reply; 14+ messages in thread
From: Nicolas Goaziou @ 2012-11-09 17:50 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode
Peter Salazar <cycleofsong@gmail.com> writes:
> Great! And how should I specify org-time-stamp-custom-formats in order to
> display 12-hour times?
>
> Default is this, which displays 24-hour times:
>
> ("<%m/%d/%y %a>" . "<%m/%d/%y %a %H:%M>")
According to `format-time-string' docstring, something like:
("<%m/%d/%y %a>" . "<%m/%d/%y %a %I:%M %p>")
Regards,
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 17:50 ` Nicolas Goaziou
@ 2012-11-09 18:03 ` Peter Salazar
0 siblings, 0 replies; 14+ messages in thread
From: Peter Salazar @ 2012-11-09 18:03 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
Perfect! Worked perfectly! Thank you!
On Fri, Nov 9, 2012 at 12:50 PM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Great! And how should I specify org-time-stamp-custom-formats in order to
> > display 12-hour times?
> >
> > Default is this, which displays 24-hour times:
> >
> > ("<%m/%d/%y %a>" . "<%m/%d/%y %a %H:%M>")
>
> According to `format-time-string' docstring, something like:
>
> ("<%m/%d/%y %a>" . "<%m/%d/%y %a %I:%M %p>")
>
> Regards,
>
[-- Attachment #2: Type: text/html, Size: 969 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-09 10:31 ` Giovanni Ridolfi
2012-11-09 10:38 ` Nicolas Goaziou
@ 2012-11-10 10:04 ` Peter Salazar
2012-11-10 10:33 ` Nicolas Goaziou
1 sibling, 1 reply; 14+ messages in thread
From: Peter Salazar @ 2012-11-10 10:04 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 2254 bytes --]
Wait, I was wrong—adding the c:t OPTION actually did not solve the problem.
I forgot I had converted my clock-in and clock-out to plain text in an
attempt to work around the problem, so it appeared to work only because it
was plain text. Apologies.
So. I still have the same problem, namely:
How to get my clock-in and clock-out times to appear in HTML export?
My specs:
GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of
2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4
Org-mode version 7.9.2 (7.9.2-dist @ /Users/peter/elisp/org-7.9.2/lisp/)
OS X 10.8.2
Thanks!
On Fri, Nov 9, 2012 at 5:31 AM, Giovanni Ridolfi
<giovanni.ridolfi@yahoo.it>wrote:
> Da: Peter Salazar <cycleofsong@gmail.com>
>
> Inviato: Venerdì 9 Novembre 2012 10:50
>
> Hi, Peter,
>
> > I'm exporting to HTML and trying to get my clock-in and clock-out
>
> > times to export as well, but it's not working.
> > My org file looks like this:
>
>
> > #+OPTIONS: d:t timestamp:t
> > * foo
> > CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
> > foo.
> >
>
>
> FIRST : always, please, always. Please, always,
> did I already say always?
>
> please always send:
>
> Org-version,
> Emacs version
> Operatig System
>
> and in this case, dealing with the exporter, if you used the new or the
> old exporter.
>
> Here:
> Org-mode version 7.9.2 (854ddf6 @
> c:/Users/ridolfi/programs/emacs-o/org/lisp/)
> GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN
>
>
> 1. I can export the clock line *IF* I have a property drawer:
>
> #+OPTIONS: d:t timestamp:t
> * foo
> CLOCK: [2012-11-09 Fri 03:58]--[2012-11-09 Fri 03:59] => 0:01
> :PROPERTIES:
> :END:
> foo.
> -+--------------------------------HTML------------
> 1 foo
> CLOCK: 11/09/12 ven 03:58– 11/09/12 ven 03:59 => 0:01
> PROPERTIES
> foo.
> 2 bye ARCHIVE
> -+----------------------------
>
>
> so this is a quick and dirty solution.
>
>
> 2. Otherwise I cannot get the clock line in the HTML file:
> - without (i.e. commenting out) the :PROPERTIES: drawer
>
> - with the new exporter
>
> (with or without propertiies)
>
>
>
> cheers,
> Giovanni
>
[-- Attachment #2: Type: text/html, Size: 3037 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-10 10:04 ` Peter Salazar
@ 2012-11-10 10:33 ` Nicolas Goaziou
2012-11-10 17:03 ` Peter Salazar
0 siblings, 1 reply; 14+ messages in thread
From: Nicolas Goaziou @ 2012-11-10 10:33 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode
Peter Salazar <cycleofsong@gmail.com> writes:
> Wait, I was wrong—adding the c:t OPTION actually did not solve the problem.
> I forgot I had converted my clock-in and clock-out to plain text in an
> attempt to work around the problem, so it appeared to work only because it
> was plain text. Apologies.
I was talking about the new exporter, where it should work.
Regards,
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-10 10:33 ` Nicolas Goaziou
@ 2012-11-10 17:03 ` Peter Salazar
2012-11-10 22:38 ` Nicolas Goaziou
0 siblings, 1 reply; 14+ messages in thread
From: Peter Salazar @ 2012-11-10 17:03 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Oh cool. How do I install the new exporter? I don't use git.
My specs:
GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of
2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4
Org-mode version 7.9.2 (7.9.2-dist @ /Users/peter/elisp/org-7.9.2/lisp/)
OS X 10.8.2
On Sat, Nov 10, 2012 at 5:33 AM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Wait, I was wrong—adding the c:t OPTION actually did not solve the
> problem.
> > I forgot I had converted my clock-in and clock-out to plain text in an
> > attempt to work around the problem, so it appeared to work only because
> it
> > was plain text. Apologies.
>
> I was talking about the new exporter, where it should work.
>
>
> Regards,
>
[-- Attachment #2: Type: text/html, Size: 1320 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-10 17:03 ` Peter Salazar
@ 2012-11-10 22:38 ` Nicolas Goaziou
2012-11-16 6:02 ` Peter Salazar
0 siblings, 1 reply; 14+ messages in thread
From: Nicolas Goaziou @ 2012-11-10 22:38 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode
Peter Salazar <cycleofsong@gmail.com> writes:
> Oh cool. How do I install the new exporter? I don't use git.
You can use package.el, for example and install org-plus-contrib package
(new exporter is in contrib/ directory). See:
http://orgmode.org/elpa.html
Regards,
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-10 22:38 ` Nicolas Goaziou
@ 2012-11-16 6:02 ` Peter Salazar
2012-11-16 6:34 ` Thomas S. Dye
0 siblings, 1 reply; 14+ messages in thread
From: Peter Salazar @ 2012-11-16 6:02 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
OK, I see a folder called contrib, but the documentation doesn't say
anything about a new exporter.
Inside contrib is a folder called elisp, which has org-export.el and
export-export-generic.el. Is that the new exporter? How do I install it?
On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Oh cool. How do I install the new exporter? I don't use git.
>
> You can use package.el, for example and install org-plus-contrib package
> (new exporter is in contrib/ directory). See:
>
> http://orgmode.org/elpa.html
>
> Regards,
>
[-- Attachment #2: Type: text/html, Size: 1074 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: exporting clock-in and clock-out times
2012-11-16 6:02 ` Peter Salazar
@ 2012-11-16 6:34 ` Thomas S. Dye
0 siblings, 0 replies; 14+ messages in thread
From: Thomas S. Dye @ 2012-11-16 6:34 UTC (permalink / raw)
To: Peter Salazar; +Cc: org-mode, Nicolas Goaziou
Aloha Peter,
In general, make sure contrib/lisp is on your load path, require the
back-end you want to use, and (optionally) define a key stroke sequence
to launch org-export-dispatch. You might have this in .emacs:
(setq load-path (cons "~/.emacs.d/src/org-mode/lisp" load-path))
(setq load-path (cons "~/.emacs.d/src/org-mode/contrib/lisp" load-path))
(require 'org-e-texinfo)
(define-key org-mode-map (kbd "C-c e") 'org-export-dispatch)
This is set up to use the texinfo back-end, but you might want
org-e-latex, org-e-html, or one of the others.
Then, when you want to export your Org document, use C-c e to see the
menu choices available from the back-ends you've required.
In my (limited) experience, and speaking generally, the back-ends are
already quite good.
All the best,
Tom
Peter Salazar <cycleofsong@gmail.com> writes:
> OK, I see a folder called contrib, but the documentation doesn't say
> anything about a new exporter.
>
> Inside contrib is a folder called elisp, which has org-export.el and
> export-export-generic.el. Is that the new exporter? How do I install it?
>
>
> On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:
>
>> Peter Salazar <cycleofsong@gmail.com> writes:
>>
>> > Oh cool. How do I install the new exporter? I don't use git.
>>
>> You can use package.el, for example and install org-plus-contrib package
>> (new exporter is in contrib/ directory). See:
>>
>> http://orgmode.org/elpa.html
>>
>> Regards,
>>
> OK, I see a folder called contrib, but the documentation doesn't say
> anything about a new exporter.
>
>
> Inside contrib is a folder called elisp, which has org-export.el and
> export-export-generic.el. Is that the new exporter? How do I install
> it?
>
>
> On Sat, Nov 10, 2012 at 5:38 PM, Nicolas Goaziou <n.goaziou@gmail.com>
> wrote:
>
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Oh cool. How do I install the new exporter? I don't use git.
>
>
> You can use package.el, for example and install org-plus-contrib
> package
> (new exporter is in contrib/ directory). See:
>
> http://orgmode.org/elpa.html
>
> Regards,
>
>
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-11-16 7:34 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-09 9:50 exporting clock-in and clock-out times Peter Salazar
2012-11-09 10:31 ` Giovanni Ridolfi
2012-11-09 10:38 ` Nicolas Goaziou
2012-11-09 16:58 ` Peter Salazar
2012-11-09 17:04 ` Nicolas Goaziou
2012-11-09 17:25 ` Peter Salazar
2012-11-09 17:50 ` Nicolas Goaziou
2012-11-09 18:03 ` Peter Salazar
2012-11-10 10:04 ` Peter Salazar
2012-11-10 10:33 ` Nicolas Goaziou
2012-11-10 17:03 ` Peter Salazar
2012-11-10 22:38 ` Nicolas Goaziou
2012-11-16 6:02 ` Peter Salazar
2012-11-16 6:34 ` Thomas S. Dye
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).