From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2507 Path: main.gmane.org!not-for-mail From: "Frans Goddijn" Newsgroups: gmane.comp.tex.context Subject: how old are we toay Date: Sun, 20 Aug 2000 18:27:25 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <000701c00ac3$bd55ef40$3701703e@saskiaschoofs> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393296 9415 80.91.224.250 (23 Oct 2002 17:14:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:14:56 +0000 (UTC) Original-To: Xref: main.gmane.org gmane.comp.tex.context:2507 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2507 Hello, This is not really urgent: I was trying to see if I could get the current date (in dutch \huidigedatum) with oldstyle numbers. In my setup, \os{123} yields oldstyle numbers 123 As I expected, this didn't work: \huidigedatum[\os{dag},maand,\os{jaar}] I then tried if the code I used to have for LaTeX happened to be plain TeX but apparantly it isn't. any pointers? Below is the code I used to use in LaTeX: %--------------Old style today----------------------------------% \def\oldtoday{{\osfamily\number\day} \ifcase\month\or januari\or februari\or maart\or april\or mei\or juni\or juli\or augustus\or september\or oktober\or november\or december\fi \space {\osfamily\number\year}} %---------------------------------------------------------------% % -------------Old style \now-----------------------------------% % \now macro levert met \now de tijd in hh:mm % \oldnow in oldstyle numbers \newcount\hh \newcount\mm \hh=\time \divide\hh by 60 \mm=\hh \multiply\mm by 60 \mm=-\mm \advance\mm by \time \def\now{\number\hh:\ifnum\mm<10{}0\fi\number\mm} %\def\oldnow{{\onumscfont\number\hh:\ifnum\mm<10{}0\fi \number\mm}} \def\oldnow{{\osfamily\number\hh:\ifnum\mm<10{}0\fi \number\mm}} %******************************************************************** Groet! Frans frans@goddijn.com www.goddijn.com tel NL 0621-815 881 fax: 026-3211759 Postbus 30196 6803 AD Arnhem NL