From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13445 Path: main.gmane.org!not-for-mail From: "^Nitram^" Newsgroups: gmane.comp.tex.context Subject: Typing in new command problems Date: Tue, 23 Sep 2003 16:00:39 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <95a64885.488595a6@poczta.teleton.pl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064326046 22994 80.91.224.253 (23 Sep 2003 14:07:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2003 14:07:26 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 23 16:07:24 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1np6-00083o-00 for ; Tue, 23 Sep 2003 16:07:24 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0BF8810B2B; Tue, 23 Sep 2003 16:07:20 +0200 (MEST) Original-Received: from poczta.teleton.pl (phys-gwc02.teleton.pl [213.136.225.226]) by ref.ntg.nl (Postfix) with ESMTP id EDDBB10B25 for ; Tue, 23 Sep 2003 16:00:48 +0200 (MEST) Original-Received: from poczta.teleton.pl (localhost [127.0.0.1]) by poczta.teleton.pl (Netscape Messaging Server 4.15) with ESMTP id HLO6X300.0I7 for ; Tue, 23 Sep 2003 16:00:39 +0200 Original-To: ntg-context@ntg.nl X-Mailer: Netscape Webmail Content-Language: pl X-Accept-Language: pl Content-Disposition: inline Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13445 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13445 Hi, I try to define new command with typing in this way: \def\Command#1% { \framed[options] { \starttyping #1 \stoptyping } } and use it in this way: \Command{\getbuffer[name]} but I have an error: ! Argument of \copyverbatimline has an extra }. If I change to \def\Command#1#2% I have: ! Paragraph ended before \Command was complete. How I can do it - put ConTeXt code to own frame ?... -- Best regards Martin