ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Edd Barrett" <vext01@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>, adityam@umich.edu
Subject: Re: Various ConTeXt Questions
Date: Thu, 3 Apr 2008 17:44:44 +0100	[thread overview]
Message-ID: <a6e8c1d0804030944r6d22ce05o1848bc1a244455e4@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0804030756270.11343@nqv-yncgbc>

On Thu, Apr 3, 2008 at 12:59 PM, Aditya Mahajan <adityam@umich.edu> wrote:
>  Parsing tags is simple, for example,
>  http://archive.contextgarden.net/message/20070920.231549.347dc370.en.html
>  and
>  http://archive.contextgarden.net/message/20080123.123404.d1e0dbab.en.html
>
>  If you can specify exactly what you want, I can create a module for this.

Just a way of isolating each of the marco's values that cvs defines. How about:

---8<---
\definecvskeyword[cvsdate][D/M/Y]{$Date$}% will be expanded upon
commit to something like $Date: 1999/12/23 01:59:22 $
\starttext
Last Updated: \cvskeyword[cvsdate]
\stoptext
---8<---

would produce:
Last Updated: 1999/12/23 01:59:22

List of standard keywords here, but bear in mind that users can ake
their own per repository:
http://badgertronics.com/writings/cvs/keywords.html


Thoughts?

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-03 16:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 14:46 Edd Barrett
2008-04-03  8:11 ` Wolfgang Schuster
2008-04-03  8:46   ` Edd Barrett
2008-04-03  8:31 ` Hans Hagen
2008-04-03 10:49 ` Mojca Miklavec
2008-04-03 11:59   ` Aditya Mahajan
2008-04-03 16:44     ` Edd Barrett [this message]
2008-04-03 19:44       ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a6e8c1d0804030944r6d22ce05o1848bc1a244455e4@mail.gmail.com \
    --to=vext01@gmail.com \
    --cc=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).