From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/404 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: templates Date: Mon, 26 Apr 1999 09:58:55 +0000 (/etc/localtime) Sender: owner-ntg-context@let.uu.nl Message-ID: <14116.14559.514634.395614@PC709> References: <37236780.E03F58BC@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391265 23781 80.91.224.250 (23 Oct 2002 16:41:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:41:05 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: pragma@wxs.nl Xref: main.gmane.org gmane.comp.tex.context:404 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:404 >>>>> "Hans" == Hans Hagen writes: Hans> Hi All, Sometimes keying in macros can be annoying. For this Hans> reason, sometimes macro packages use | to shorten things, Hans> like |word| for verbatim in macros related to programming Hans> source code or manuals. In itself such macros are not that Hans> expressive, but they at least save typing keys. While the idea of shortcuts is nice, I'm not too happy about this implementation. These things are really key-shortcuts, not templates. So the name really should be \defineshortcut, IMO. Otherwise, you might run into conflicts later when and if Context starts using real templates (a 'real' template is like for instance the message libraries' -- notation for the extra information). For syntax, I am a little unsure about the |. Why not use a syntax like ? I wouldn't be worried about hacing \catcode`<=13; because that char almost never used outside of math. Taco