From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45064 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: \doiffigureelse not working Date: Fri, 24 Oct 2008 10:59:52 +0200 Message-ID: <115224fb0810240159r2d7040bao6b2a4229ebb46d58@mail.gmail.com> 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 1224841211 32616 80.91.229.12 (24 Oct 2008 09:40:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 09:40:11 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 24 11:41:08 2008 connect(): Connection refused 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 1KtJA4-0006mN-8N for gctc-ntg-context-518@m.gmane.org; Fri, 24 Oct 2008 11:40:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 717271FC6B; Fri, 24 Oct 2008 11:39:44 +0200 (CEST) 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 00147-05-23; Fri, 24 Oct 2008 11:38:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B70461FD08; Fri, 24 Oct 2008 11:00:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 09FC31FD08 for ; Fri, 24 Oct 2008 11:00:28 +0200 (CEST) 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 28246-02-12 for ; Fri, 24 Oct 2008 10:59:52 +0200 (CEST) Original-Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.181]) by ronja.ntg.nl (Postfix) with ESMTP id 746861FCDF for ; Fri, 24 Oct 2008 10:59:52 +0200 (CEST) Original-Received: by ik-out-1112.google.com with SMTP id c21so577518ika.2 for ; Fri, 24 Oct 2008 01:59:52 -0700 (PDT) Original-Received: by 10.103.191.12 with SMTP id t12mr864228mup.118.1224838792162; Fri, 24 Oct 2008 01:59:52 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Fri, 24 Oct 2008 01:59:52 -0700 (PDT) Content-Disposition: inline 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:45064 Archived-At: Hi Hans, you write a while ago the macro \doifigureelse but to bad it's not working and it gives me always the true value. \setupexternalfigures[location=global] \starttext \doiffigureelse{cow}{\externalfigure[cow]}{Not found} \doiffigureelse{kuh}{\externalfigure[kuh]}{Not found} \stoptext Thanks and regards, Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________