From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100719 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: doiffile Date: Wed, 25 Apr 2018 20:28:17 +0200 Message-ID: <5AE0C8C1.3020608@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8962136474724475275==" X-Trace: blaine.gmane.org 1524680794 4251 195.159.176.226 (25 Apr 2018 18:26:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2018 18:26:34 +0000 (UTC) User-Agent: Postbox 5.0.25 (Macintosh/20180328) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 25 20:26:30 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBP7Z-0000vt-U6 for gctc-ntg-context-518@m.gmane.org; Wed, 25 Apr 2018 20:26:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AEB7C6262E5; Wed, 25 Apr 2018 20:28:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mfj55xou7j2l; Wed, 25 Apr 2018 20:28:32 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 15C746262CF; Wed, 25 Apr 2018 20:28:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 737066262C5 for ; Wed, 25 Apr 2018 20:28:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ipMNxPMm0YLE for ; Wed, 25 Apr 2018 20:28:30 +0200 (CEST) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2F7576262C3 for ; Wed, 25 Apr 2018 20:28:20 +0200 (CEST) Original-Received: by mail-wm0-f51.google.com with SMTP id n10so8454356wmc.1 for ; Wed, 25 Apr 2018 11:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=QS7HcQfSEbE7uTv9vOlv3/ZJ3T659kV/WNaM7Vwd16Q=; b=lKID4mYZXcBYv6jp7OZvE3ubvjKiiWsC2Dn/ZLjZUJKRq4B0fW+5v1dNqulHoDe51R 4DW0NM55eZNh+GOP3F6BrYjWLYwtxKW20GNIOOqPm/HEfxP3DafXCNdNL82/bvBNEgev PRx/gLUpJBIMusA4GjKL2yzjMkPqQSW5dIIrgAe8oMNwqOuWya1pe/mG2DIwk+DZ3+5T MYXKC+/wJJolwyC5ZNSew0SDTmbbKbQ7HBvo4lSBhCHia+xzXesJ5KBYWYqT/GaEBkfo 32WnVlNHbS2el1DtsilQPoVwrdXc6o4R4Eki+pICKznNjA383JUEXyTFX60khjpeadmQ pJLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=QS7HcQfSEbE7uTv9vOlv3/ZJ3T659kV/WNaM7Vwd16Q=; b=cgmp0azeL+BVWSaNa0VtqOTX6jP9rbAQ8OtNRRBWUEhw9xvSUZYlc753NxdxYXfFkH 6+xEpmKs27BYg1jUx17mMYxPhAUG4njK/7J3AgHgEOZ6HuOj1PUVvNwhYFS5J21dSV7G H8Zu0paOb0yynuz7rany4AzXs8wZTnGlnERfI5ZXxQhf1c8NRPCs49cJ2SF4NP3G03Ci Yd5qoOQbxWQ0B/3qcEDE320vRzanjxEWERyGg0yOIc7WX5+vl2CJqx4oHfsEdOwep5OB ihkQvTUpZwHpNz2JQMVyFPSaH8WIyANb81FuA6m1vSW5Da4eFNv9VtnH7HmCgMQ+AqKJ hXrw== X-Gm-Message-State: ALQs6tC5QcWij7XOLC2O9FE2ReDjKOpj4aIdCIgfsJItexVXQeg2e9Or /z4d0jTTzM5M/JqS0H6irzdr6Qhp X-Google-Smtp-Source: AIpwx4+sL1X+9IUEGoswK/oYY7BR03cS0QQIMNFUuxzcJBu8QAELI+T7dBWlPHfUbRUx46G45ur5SA== X-Received: by 10.28.6.8 with SMTP id 8mr17047139wmg.39.1524680899507; Wed, 25 Apr 2018 11:28:19 -0700 (PDT) Original-Received: from [192.168.1.11] (x4dbd04ca.dyn.telefonica.de. [77.189.4.202]) by smtp.gmail.com with ESMTPSA id i30-v6sm33484898wra.38.2018.04.25.11.28.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 11:28:19 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100719 Archived-At: This is a multi-part message in MIME format. --===============8962136474724475275== Content-Type: multipart/alternative; boundary="------------070304040708070707050907" This is a multi-part message in MIME format. --------------070304040708070707050907 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit \doifelsepath{…}{…}{…} Wolfgang > Hans van der Meer > 25. April 2018 um 20:24 > The \doiffile macros recognize the existence of a file but, unless I > am mistaken, not the existence of a directory. > Is there another macro, whose existence I have nof found yet, that > offers this capability? > Or should this be a slight encouragement to expand the implementation > in that direction? > > dr. Hans van der Meer > > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------070304040708070707050907 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit \doifelsepath{…}{…}{…}

Wolfgang
25. April 2018 um 20:24
The \doiffile macros recognize the existence of a file but, unless I am mistaken, not the existence of a directory. 
Is there another macro, whose existence I have nof found yet, that offers this capability?
Or should this be a slight encouragement to expand the implementation in that direction?

dr. Hans van der Meer


___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________

--------------070304040708070707050907-- --===============8962136474724475275== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8962136474724475275==--