From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43665 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: images as background Date: Tue, 2 Sep 2008 21:43:58 +0200 Message-ID: <9EAB3C39-78E0-454D-AAB2-58BF5FB10AF2@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220384825 31684 80.91.229.12 (2 Sep 2008 19:47:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 19:47:05 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 02 21:48:00 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 1Kabr6-0006eX-FJ for gctc-ntg-context-518@m.gmane.org; Tue, 02 Sep 2008 21:48:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0E961FC00; Tue, 2 Sep 2008 21:46:57 +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 29819-02-4; Tue, 2 Sep 2008 21:46:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 42E881FDE5; Tue, 2 Sep 2008 21:45:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CFC491FDD5 for ; Tue, 2 Sep 2008 21:44:59 +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 28610-07-4 for ; Tue, 2 Sep 2008 21:44:08 +0200 (CEST) Original-Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by ronja.ntg.nl (Postfix) with ESMTP id 04C1F1FDF4 for ; Tue, 2 Sep 2008 21:44:06 +0200 (CEST) Original-Received: from fwd24.aul.t-online.de by mailout05.sul.t-online.de with smtp id 1KabnK-0005vl-02; Tue, 02 Sep 2008 21:44:06 +0200 Original-Received: from [192.168.0.2] (EeunSgZbghqKfMAg3zqBjKPvJkbML2znInc54aYQeyfwxQ+M7w+lP9ivWtyFpfNgPW@[87.178.105.44]) by fwd24.aul.t-online.de with esmtp id 1KabnC-0IIIk40; Tue, 2 Sep 2008 21:43:58 +0200 X-Mailer: Apple Mail (2.926) X-ID: EeunSgZbghqKfMAg3zqBjKPvJkbML2znInc54aYQeyfwxQ+M7w+lP9ivWtyFpfNgPW@t-dialin.net X-TOI-MSGID: e4e678c2-c42d-442a-9162-7c94a25b52f0 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:43665 Archived-At: Hi all, for a presentation, I would like to have a series of images as backgrounds for my slides, and I want to use them in a randomized order. The images are named "1.jpg" through "20.jpg." So I was thinking of using this code: \externalfigure[\directlua0{print(math.random(20))}][width=\paperwidth] epecting that this should But that doesn't work, ConTeXt doesn't find my pictures (I get "name: dummy" texts). Any idea what is going wrong? Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________