From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99969 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setvariables and database module Date: Tue, 30 Jan 2018 19:05:57 +0100 Message-ID: <5A70B405.5070400@gmail.com> References: <5B4C64AF-6E7E-4178-840E-C3BCDF0D1529@gmail.com> <5A708713.4010503@gmail.com> <4010CA62-43ED-4745-A0A5-0A7441D66F0A@gmail.com> <5A709F5D.9000108@gmail.com> <6D845BC3-FD8A-4877-B6CD-00D715241AB0@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2779836493782862900==" X-Trace: blaine.gmane.org 1517335602 4906 195.159.176.226 (30 Jan 2018 18:06:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2018 18:06:42 +0000 (UTC) User-Agent: Postbox 5.0.22 (Macintosh/20171208) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 30 19:06:38 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 1egaIK-0007i3-D4 for gctc-ntg-context-518@m.gmane.org; Tue, 30 Jan 2018 19:06:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AAFD6425497; Tue, 30 Jan 2018 19:07:54 +0100 (CET) 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 L6NO2jcSNZVK; Tue, 30 Jan 2018 19:07:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C8784254B8; Tue, 30 Jan 2018 19:07:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 196064254BC for ; Tue, 30 Jan 2018 19:07:09 +0100 (CET) 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 ZyteC-dnYXzq for ; Tue, 30 Jan 2018 19:06:54 +0100 (CET) Original-Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) (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 1595042548B for ; Tue, 30 Jan 2018 19:06:00 +0100 (CET) Original-Received: by mail-wr0-f173.google.com with SMTP id g21so12160170wrb.13 for ; Tue, 30 Jan 2018 10:06:00 -0800 (PST) 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=xAGVRFsppLjdCyPcO7jV2b9VS3r00PjA482XcsFFyu0=; b=qJ4jk2LMkXW9qYdZ4CI7tOfAK8uzTBRPuipq7xpZmXPFVFlBr/gOyqsocWyPZg7ICz KfWuTCaW4eClqinniIQ1V/LLmd9uOPDymBoqF+JVyRnWmg9D7Xy2k0JF0pf0dWviS9P9 x8mQNtXOlv/HOlOmAmivvskLNMeF47A4PBANXW3p52Y3YYG9nRNuclB7n5u/JbGSViPB tmGsG0oDw1VMjzj9GfJhWmD6gWTmABQAiZMFtiJygX8YAZDSTcyxCGz875P/MD5ji7NO G0azVARDjyI+/P8gzIC3ZGgEmTSOAf098AD38Vzc4Pj1wHoq8KCnPV4GSSOk9UDEyWuf zamQ== 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=xAGVRFsppLjdCyPcO7jV2b9VS3r00PjA482XcsFFyu0=; b=VF2S/SGVu6oRKeKHlCyeZdSoG8ldvN8Pmrqr0dLkpt03RqxC02llLmEYfkRx/5r2YL VO5B+sq/vlYdt0ZYFsGYrgq/yxKBtRETqMNpjHrew7vJ4QVss4i7w2A0D5D9uDnsaP5x nuasMcDrU86AOzLmEM61VP1suoiPrXsmhPVH3HTm4t9aAcyo924cl3clmTYksPbwFdlt JAKk260FrqVQkEsNSqI52SUfGK3y/QPWsMYzMvl5iy57HDaOLDWl5IbgD3mdfn5J4vbd SN9aubPeEaZSJwWbe/I9q8qftpksRxYbyqqnCzoDtbFU/T2Rd0/4uU0KZE14F+rqfpsy 7XMA== X-Gm-Message-State: AKwxytfCHGZi85eUxr3UoxR1/Q26ZVzQ5HmotQm1uIqTIiI+akuq/YM7 eSBvRvgV+SL47RY21aSSLWPm5Fhz X-Google-Smtp-Source: AH8x226tKeymiWK1AI1vpVTQo84h8UOhKCs+Z8C6mYErMXiDQtSi7gryzxu6tCjB5biV6WXJZauXlw== X-Received: by 10.223.163.207 with SMTP id m15mr2405654wrb.174.1517335559461; Tue, 30 Jan 2018 10:05:59 -0800 (PST) Original-Received: from [192.168.1.11] (x590f4818.dyn.telefonica.de. [89.15.72.24]) by smtp.gmail.com with ESMTPSA id 188sm14256518wmg.29.2018.01.30.10.05.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 10:05:59 -0800 (PST) In-Reply-To: <6D845BC3-FD8A-4877-B6CD-00D715241AB0@gmail.com> 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:99969 Archived-At: This is a multi-part message in MIME format. --===============2779836493782862900== Content-Type: multipart/alternative; boundary="------------090304080509000504020905" This is a multi-part message in MIME format. --------------090304080509000504020905 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Otared Kavian > 30. Januar 2018 um 18:56 > > Thanks again! That does it. > > However, it seems strange that the \externalfigure command does not > accept a space in front of the file name nor after the file extension, > while \input is very tolerant in that respect. Compare > > \input knuth.tex > \input knuth.tex > \input{knuth.tex} > Spaces after a control sequence are gobbled and multiple spaces are skipped. Braces around the filename are allowed because this function was added with the extensions to the TeX binary (which means it doesn’t work with Knuths original TeX), try this \input{ knuth.tex} to load a file with a space in the name. Wolfgang --------------090304080509000504020905 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
30. Januar 2018 um 18:56

Thanks again! That does it.

However, it seems strange that the \externalfigure command does not accept a space in front of the file name nor after the file extension, while \input is very tolerant in that respect. Compare

\input   knuth.tex   
\input knuth.tex
\input{knuth.tex}

Spaces after a control sequence are gobbled and multiple spaces are skipped.

Braces around the filename are allowed because this function was added with the extensions to the TeX binary (which means it doesn’t work with Knuths original TeX), try this \input{ knuth.tex} to load a file with a space in the name.

Wolfgang
--------------090304080509000504020905-- --===============2779836493782862900== 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 --===============2779836493782862900==--