ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \doifolderversionelse
@ 2012-05-10 10:00 Peter Rolf
  2012-05-10 10:55 ` \doifolderversionelse Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Rolf @ 2012-05-10 10:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I tried to handle some version changes with \doifolderversionelse.
Sadly it does not work here.

Example:

\starttext
\doifolderversionelse\contextversion{1010.10.10} {OLDER} {OKAY}% => OLDER
\doifolderversionelse\contextversion{2020.20.20} {OLDER} {OKAY}% => OKAY
\doifolderversionelse\contextversion{2020}       {OLDER} {OKAY}% => OKAY
\stoptext


Tested with ConTeXt version

2011.11.08 and 2012.05.08

Result is always "older".


Regards,  Peter
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2012-05-10 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10 10:00 \doifolderversionelse Peter Rolf
2012-05-10 10:55 ` \doifolderversionelse Hans Hagen

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).