From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31649 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: texmfstart not recognizing $page Date: Tue, 31 Oct 2006 00:11:37 +0100 Message-ID: <454686A9.8060401@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162249934 11817 80.91.229.2 (30 Oct 2006 23:12:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2006 23:12:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 31 00:12:09 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GegIP-0002Q9-DT for gctc-ntg-context-518@m.gmane.org; Tue, 31 Oct 2006 00:11:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 82F031FE0B; Tue, 31 Oct 2006 00:11: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 23113-01; Tue, 31 Oct 2006 00:11:44 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D3B21FD6D; Tue, 31 Oct 2006 00:11:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 79FB51FDC8 for ; Tue, 31 Oct 2006 00:11:42 +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 22693-05-3 for ; Tue, 31 Oct 2006 00:11:38 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id B9F431FCC7 for ; Tue, 31 Oct 2006 00:11:38 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 15913 for ; Tue, 31 Oct 2006 00:11:38 +0100 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31649 Archived-At: Aditya Mahajan wrote: > Hi Hans, > > In the latest beta > > texmfstart --page=1 --file=metafun-p.pdf > > does not work. This is the verbose output > weird > texmfstart version 2.0.0 > locating 'metafun-p.pdf' in current path '.' > locating 'metafun-p.pdf' in caller path 'f:/Research/Feedback/AC' > kpse : direct (forced) > using 'kpsewhich' to locate 'metafun-p' in suffix space 'pdf' (2) > checking E:\isoimage\usr\local\context\tex\texmf-mswin\BIN for > metafun-p > checking E:\isoimage\usr\local\context\bin for metafun-p > checking E:\Ruby\bin for metafun-p > checking E:\Python24\ for metafun-p > checking E:\Perl\bin for metafun-p > checking E:\Program Files\R\R-2.3.1\bin for metafun-p > checking E:\bin for metafun-p > checking for metafun-p > checking E:\Vim\vim70 for metafun-p > aggressively locating 'metafun-p' in document trees > locating 'metafun-p' in document tree > 'e:/isoimage/usr/local/context/doc*' > registering 'metafun-p' as > 'e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf' > registering 'THREAD' as > 'e:/isoimage/usr/local/context/docroot/documents/general/manuals' > starting metafun-p.pdf > using 'system' call: > e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf > using 'system' call: pdfopen --page --file > e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf > using 'system' call: acroread eird > e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf > > > Even the simple > > texmfstart metafun-p.pdf > > fails with > > texmfstart version 2.0.0 > locating 'metafun-p.pdf' in current path '.' > locating 'metafun-p.pdf' in caller path 'f:/Research/Feedback/AC' > kpse : direct (forced) > using 'kpsewhich' to locate 'metafun-p' in suffix space 'pdf' (2) > checking E:\isoimage\usr\local\context\tex\texmf-mswin\BIN for > metafun-p > checking E:\isoimage\usr\local\context\bin for metafun-p > checking E:\Ruby\bin for metafun-p > checking E:\Python24\ for metafun-p > checking E:\Perl\bin for metafun-p > checking E:\Program Files\R\R-2.3.1\bin for metafun-p > checking E:\bin for metafun-p > checking for metafun-p > checking E:\Vim\vim70 for metafun-p > aggressively locating 'metafun-p' in document trees > locating 'metafun-p' in document tree > 'e:/isoimage/usr/local/context/doc*' > registering 'metafun-p' as > 'e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf' > registering 'THREAD' as > 'e:/isoimage/usr/local/context/docroot/documents/general/manuals' > starting metafun-p.pdf > using 'system' call: > e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf > using 'system' call: pdfopen --page --file > e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf > using 'system' call: acroread > e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf > > The first system call fails since ruby uses "/" rather than "\" as the > directory separator and windows does not like that. > > The second system call fails since $page is '' (I don't know why). A > pdfopen --page --file filename > always fails. > > The third system call fails since acroread is not present. > > I fail to understand why $page is expanding to '' rather than 2 (or 0 > in the second case). > > > because page in not known when the str is set; i'll change that -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------