* timestamps with \date
@ 2011-08-01 15:15 Mojca Miklavec
2011-08-01 15:17 ` luigi scarso
2011-08-01 15:25 ` Wolfgang Schuster
0 siblings, 2 replies; 5+ messages in thread
From: Mojca Miklavec @ 2011-08-01 15:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
I would like to add timestamps to the document. The command \date
seems handy for that, but it doesn't offer any hour/minute/second
keyword, or at least I wasn't able to find it in documentation.
Is there some more convenient way to add current date and time to the document?
Thank you,
Mojac
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: timestamps with \date
2011-08-01 15:15 timestamps with \date Mojca Miklavec
@ 2011-08-01 15:17 ` luigi scarso
2011-08-01 15:25 ` Wolfgang Schuster
1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2011-08-01 15:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Aug 1, 2011 at 5:15 PM, Mojca Miklavec
<mojca.miklavec.lists@gmail.com> wrote:
> Hello,
>
> I would like to add timestamps to the document. The command \date
> seems handy for that, but it doesn't offer any hour/minute/second
> keyword, or at least I wasn't able to find it in documentation.
>
> Is there some more convenient way to add current date and time to the document?
with mkiv you have
os.time
os.date
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: timestamps with \date
2011-08-01 15:15 timestamps with \date Mojca Miklavec
2011-08-01 15:17 ` luigi scarso
@ 2011-08-01 15:25 ` Wolfgang Schuster
2011-08-03 0:03 ` Mojca Miklavec
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-08-01 15:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 01.08.2011 um 17:15 schrieb Mojca Miklavec:
> Hello,
>
> I would like to add timestamps to the document. The command \date
> seems handy for that, but it doesn't offer any hour/minute/second
> keyword, or at least I wasn't able to find it in documentation.
>
> Is there some more convenient way to add current date and time to the document?
\starttext
\startlines
\currenttime
\currenttime[h]
\currenttime[m]
\currenttime[h,{\,:\,},m]
\stoplines
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: timestamps with \date
2011-08-01 15:25 ` Wolfgang Schuster
@ 2011-08-03 0:03 ` Mojca Miklavec
2011-08-03 4:26 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-08-03 0:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Aug 1, 2011 at 17:25, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 01.08.2011 um 17:15 schrieb Mojca Miklavec:
>
>> Hello,
>>
>> I would like to add timestamps to the document. The command \date
>> seems handy for that, but it doesn't offer any hour/minute/second
>> keyword, or at least I wasn't able to find it in documentation.
>>
>> Is there some more convenient way to add current date and time to the document?
>
> \starttext
> \startlines
> \currenttime
> \currenttime[h]
> \currenttime[m]
> \currenttime[h,{\,:\,},m]
> \stoplines
> \stoptext
Thank you. This should go to command reference, I guess (but I'm not
sure what is the current upstream method to add new commands; wiki?).
Is there any specific reason why hour and minutes are not supported in \date?
Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: timestamps with \date
2011-08-03 0:03 ` Mojca Miklavec
@ 2011-08-03 4:26 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-08-03 4:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 03.08.2011 um 02:03 schrieb Mojca Miklavec:
>>> Is there some more convenient way to add current date and time to the document?
>>
>> \starttext
>> \startlines
>> \currenttime
>> \currenttime[h]
>> \currenttime[m]
>> \currenttime[h,{\,:\,},m]
>> \stoplines
>> \stoptext
>
> Thank you. This should go to command reference, I guess (but I'm not
> sure what is the current upstream method to add new commands; wiki?).
- https://bitbucket.org/wolfs/commands/src
- https://bitbucket.org/wolfs/commands/downloads
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-03 4:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-01 15:15 timestamps with \date Mojca Miklavec
2011-08-01 15:17 ` luigi scarso
2011-08-01 15:25 ` Wolfgang Schuster
2011-08-03 0:03 ` Mojca Miklavec
2011-08-03 4:26 ` Wolfgang Schuster
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 NNTP newsgroup(s).