ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* date problem
@ 2013-03-20 13:26 H. van der Meer
  2013-03-20 13:39 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: H. van der Meer @ 2013-03-20 13:26 UTC (permalink / raw)
  To: ConTeXt NTG

There is a nasty problem when defining the \date.

First approach:
***             > macro:->\date 
		\def\thedate{\date}\writestatus{***}{\meaning\thedate}
Alas, I get lateron a luatex error on \date:
! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\d'.

Second approach, use \edef to get an expanded value.
\edef\thedate{\date}\writestatus{***}{\meaning\thedate}
***             > macro:->\date 
Alas, the date is still the unexpanded macro and not something like 20 march 2013.

How to?

Hans van der Meer



___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2013-03-20 14:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20 13:26 date problem H. van der Meer
2013-03-20 13:39 ` Wolfgang Schuster
2013-03-20 13:52   ` Meer H. van der
2013-03-20 14:11     ` Wolfgang Schuster
2013-03-20 14:29       ` Meer H. van der
2013-03-20 14:50         ` 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).