From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39363 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: multiple pattern with xmltools.rb Date: Sun, 02 Mar 2008 20:24:46 +0100 Message-ID: <47CAFEFE.80606@gmx.net> 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 1204543419 29814 80.91.229.12 (3 Mar 2008 11:23:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2008 11:23:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 03 12:24:01 2008 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 1JW8lv-0006SJ-Pf for gctc-ntg-context-518@m.gmane.org; Mon, 03 Mar 2008 12:23:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 096CB1FBBD; Mon, 3 Mar 2008 12:23:23 +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 27117-02-13; Mon, 3 Mar 2008 12:22:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 991ED1FC16; Mon, 3 Mar 2008 12:20:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A83E11FC16 for ; Mon, 3 Mar 2008 12:20:24 +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 27510-06-3 for ; Mon, 3 Mar 2008 12:19:45 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 7D6171FBC6 for ; Sun, 2 Mar 2008 20:24:47 +0100 (CET) Original-Received: (qmail invoked by alias); 02 Mar 2008 19:24:46 -0000 Original-Received: from i5387C647.versanet.de (EHLO [192.168.1.3]) [83.135.198.71] by mail.gmx.net (mp011) with SMTP; 02 Mar 2008 20:24:46 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1/S/kAZdfnS/jF379ugnxjlJxTjdqGjSO1Jy7fYIS FQDPZOM9uAWDe7 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) X-Enigmail-Version: 0.95.6 X-Y-GMX-Trusted: 0 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:39363 Archived-At: Hi, I tried several variants to use multiple pattern with xmltool. None of them worked and looking in the script didn't help either (me_no_ruby). A (not working) example: xmltools.rb --dir --pattern={*.png,*.jpg} --output=filelist.xml I need the filelist as base for the creation of a resource library (xml part), so multiple pattern support is a prerequisite here. Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________