From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3953 Path: main.gmane.org!not-for-mail From: "Giuseppe Bilotta" Newsgroups: gmane.comp.tex.context Subject: Comments on \defineshortcut Date: Thu, 1 Feb 2001 13:16:07 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <000301c08c98$30ec8b20$a3ccfea9@nuovo> 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 1035394654 21564 80.91.224.250 (23 Oct 2002 17:37:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:37:34 +0000 (UTC) Original-To: "ConTeXt" Xref: main.gmane.org gmane.comp.tex.context:3953 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3953 Hello, I'm playing with shortcuts now, and I found some limitations on the current implementation. It's impossible to re-define shortcuts other than <>; the reason is that, once I issue \defineshortcut [()][a][style=\overstrike] I cannot issue \defineshortcut [()][b][style=\underline] later because an "undefined control sequence" error is issued. (the problem is not present for <> because for them you can use \defineshortcut [a][style=\overstrike] \defineshortcut [b][style=\underline] and <> do no appear again) Second problem: ligs fail in some cases (if I \defineshortcut [--][o][style\overstrike] then the following lines misses a few beats: it seems -o:to work- well--does it?---really? Third problem: math fails too: $(a+b)/(a-c-d)_{a+b}$ with -- and ++ defined as shortcuts fail (not on parenthesis, if I make those active too; depends on the fact that parenthesis are delimiters in math mode?) (possibily this depends on shortcuts not being nestable); the latter is maybe more important. Giuseppe Bilotta Using Microsoft products is like having sex without condoms---but much less pleasurable