On Thu, Aug 06, 2015 at 01:00:31PM -0400, Kaushal wrote:
> > Why don't you just use a timestamp?
>
> But that would need me to insert the timestamp manually each time before
> exports
>
> > You can update whenever you want or using
> >(org-insert-time-stamp (current-time))
> > at the right sp
Kaushal writes:
>> Why don't you just use a timestamp?
>
> But that would need me to insert the timestamp manually each time before
> exports
If you *always* want the current date you don't need to set date.
>> You can update whenever you want or using
>>(org-insert-time-stamp (current-time
Yeah, the documentation definitely needs refining.
{{{date}}} / {{{date(FORMAT)}}} [FORMAT is optional] - Inserts the
#+DATE keyword value;
optionally formats as per FORMAT (Refer `format-time-string` function for
syntax.){{{time(FORMAT)}}} - Inserts the current time stamp as per the
FORMAT {{{mod
Kaushal writes:
> Actually the documentation does say what {{{time}}} does; I just didn't
> read it all this time.
>
> {{{date}}}{{{date(FORMAT)}}}{{{time(FORMAT)}}}{{{modification-time(FORMAT
> )}}}
> "These macros refer to the #+DATE keyword, *the current date*, and the
> modification time of
Actually the documentation does say what {{{time}}} does; I just didn't
read it all this time.
{{{date}}}{{{date(FORMAT)}}}{{{time(FORMAT)}}}{{{modification-time(FORMAT
)}}}
"These macros refer to the #+DATE keyword, *the current date*, and the
modification time of the file being exported, respect
@Nick That works! Thank you!
I used the below instead (learned that I needed to escape that comma).
#+DATE: {{{time(%b %d %Y\, %a)}}}
I had read about {{{date}}} but assumed that {{{time}}} does the same thing
as {{{date}}} because they are put together with the same description. The
documentati
I use a function like that here:
https://github.com/jkitchin/jmax/blob/master/techela/techela-grade.el#L182
and to set the filetag as you suggest you would call it like this:
#+BEGIN_SRC emacs-lisp
(gb-set-filetag "DATE" (format-time-string "%b %d %Y, %a" (current-time)))
#+END_SRC
You could put
Kaushal writes:
> Hi all,
>
> There are quite few documents in which I want to update the date stamp to the
> last update time.
>
> I like that #+DATE keyword value is used aptly in latex/pdf and html exports.
>
> But I couldn't find an elegant way for that date to be updated to today's
> (last
> Why don't you just use a timestamp?
But that would need me to insert the timestamp manually each time before
exports
> You can update whenever you want or using
>(org-insert-time-stamp (current-time))
> at the right spot.
Wouldn't that too need manual navigation to #+date: and then eval th
Kaushal writes:
> Hi all,
>
> There are quite few documents in which I want to update the date stamp to
> the last update time.
>
> I like that #+DATE keyword value is used aptly in latex/pdf and html
> exports.
>
> But I couldn't find an elegant way for that date to be updated to today's
> (last
Hi all,
There are quite few documents in which I want to update the date stamp to
the last update time.
I like that #+DATE keyword value is used aptly in latex/pdf and html
exports.
But I couldn't find an elegant way for that date to be updated to today's
(last updated) date.
I came up with the
11 matches
Mail list logo