From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38054 Path: news.gmane.org!not-for-mail From: Roger Mason Newsgroups: gmane.comp.tex.context Subject: defining a command Date: Mon, 17 Dec 2007 11:14:46 -0330 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197902952 2849 80.91.229.12 (17 Dec 2007 14:49:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 14:49:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 17 15:49:24 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4HHW-0000BG-P3 for gctc-ntg-context-518@m.gmane.org; Mon, 17 Dec 2007 15:49:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF8601FC18; Mon, 17 Dec 2007 15:49:03 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13052-02-3; Mon, 17 Dec 2007 15:48:28 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E68CF1FC3E; Mon, 17 Dec 2007 15:48:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 664651FC3E for ; Mon, 17 Dec 2007 15:47:56 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13005-01-9 for ; Mon, 17 Dec 2007 15:47:10 +0100 (CET) Original-Received: from fitzgerald.ucs.mun.ca (mx5.mun.ca [134.153.232.57]) by ronja.ntg.nl (Postfix) with ESMTP id CEDF91FC12 for ; Mon, 17 Dec 2007 15:46:43 +0100 (CET) Original-Received: from minnie.esd.mun.ca (minnie.esd.mun.ca [134.153.36.8]) by fitzgerald.ucs.mun.ca (8.13.1/8.13.1) with ESMTP id lBHEjDmq013638 for ; Mon, 17 Dec 2007 11:15:13 -0330 Original-Received: from minnie.esd.mun.ca (minnie.esd.mun.ca [134.153.36.8]) by minnie.esd.mun.ca (8.14.0/8.13.3) with ESMTP id lBHEik81012750 for ; Mon, 17 Dec 2007 11:14:46 -0330 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.57 on 134.153.232.57 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38054 Archived-At: Hello, I have this definition: \def\oneplot#1#2#3% {\placefigure [here][#3] {\bfc #2} {\hfil \scale[width=10.5cm]{#1} \hfil} } (It is modified from an example on the wiki that takes only the first two arguments). I use it like this: \oneplot % image % caption % reference {\externalfigure[Fluorita_green]} {Fluorite cleavage} {cleavage} but the reference is ignored and I get ?? in the compiled document. Could someone point out my error please? Cheers, Roger ___________________________________________________________________________________ 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 ___________________________________________________________________________________