From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88705 Path: news.gmane.org!not-for-mail From: Michail Vidiassov Newsgroups: gmane.comp.tex.context Subject: Re: lpdf.checkedkey has problem with false values Date: Tue, 16 Sep 2014 07:33:00 +0400 Message-ID: References: <5416FEEC.7080704@gmx.net> <54171DE2.3070008@wxs.nl> <54173B60.4050606@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1410838417 5664 80.91.229.3 (16 Sep 2014 03:33:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2014 03:33:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 16 05:33:30 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTjWE-0003DS-FZ for gctc-ntg-context-518@m.gmane.org; Tue, 16 Sep 2014 05:33:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9C7D1028F for ; Tue, 16 Sep 2014 05:33:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qNtVFk9nY6DI for ; Tue, 16 Sep 2014 05:33:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B3BAC10222 for ; Tue, 16 Sep 2014 05:33:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68165101E6 for ; Tue, 16 Sep 2014 05:33:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id abL+L6FvT4uF for ; Tue, 16 Sep 2014 05:33:13 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2BFA5101E1 for ; Tue, 16 Sep 2014 05:33:12 +0200 (CEST) Original-Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8G3X03F004274 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 16 Sep 2014 05:33:01 +0200 Original-Received: by mail-la0-f46.google.com with SMTP id el20so5837384lab.5 for ; Mon, 15 Sep 2014 20:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iaas.msu.ru; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9IBgnu67V5DGy5oQ5hktoD5VDT4yBeURh/UfAWygICA=; b=it0a26CTK4DaR9RiVMlREryV89cOuWzPq+0tC39bOd3f2nluDyhou9YqiLPhcXiyMD hrBei1egZEtLfzE/YLx7fq5/xPnJiiHzKAu9myvUK5fB3oEek3MhDWp0uv8+tQxR+3N+ Jdnjp9QR49a7M54lgFQgWiPFP4tWi34AYm5uU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9IBgnu67V5DGy5oQ5hktoD5VDT4yBeURh/UfAWygICA=; b=izwJY3sT3g5RtkFFInBuQNyp0Dqe49e/9N5ltLupzQNFh9p2o+YTPCNfDvlwu0UH6U tYtAhq2O2e9T/yZTGYWxZiuRyIbfPWQhwRjxl5AZdRaaG9aDgG9KbYbOocKHLLHD1/Ra /oU7OooRg72lPKDUJxA7s0ClsQP+zKCpdsvvj7BBKRN9LFlyFR6vJc5GX2kXtU+IN0lk UdeJ6TgJAp/uSzw+SRBGQ9pZZoKeaPta72Ks1AMDrPD+nj6m3s3CjVaF2rsUhGrC8dT8 BmQk2ZuDMaON2rXL0dLhH+kWijD8Z7QraOfhI7B2iGaxsOaEFAl5Kc1X23Pzea7OqdCZ oNXA== X-Gm-Message-State: ALoCoQnR61QXANp1RJ1JHp7xQdAeZ1O5Q3+ThNaGJX/RYqvt10yXZ/IOfH3rW7rtljQY/MdMPuB7 X-Received: by 10.112.14.199 with SMTP id r7mr31349967lbc.58.1410838380536; Mon, 15 Sep 2014 20:33:00 -0700 (PDT) Original-Received: by 10.112.137.38 with HTTP; Mon, 15 Sep 2014 20:33:00 -0700 (PDT) In-Reply-To: <54173B60.4050606@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01MPDx1KH - c1e4eeb949d2 - 20140916 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88705 Archived-At: Dear Hans, > more like > > function lpdf.checkedkey(t,key,variant) thank you. That works. Please, commit. Michail PS. lpdf.checkedkey issue was raised while I reviewed 3D PDF support. But there are greater problems: It seems that u3d inclusion stopped to work in the current (2014.09.06 20:59) ConTeXt. Texlive 2014 works. As far as I can track, the problem is caused by the change in function register(askedname,specification) from grph-inc.lua: if "format %a supported by output file format" (and u3d falls under this category) specification.found is set to false in the current ConTeXt. If I set it to true in this case (as in TeXLive 2014 version of ConTeXt) things start to work again. May be by doing so I am reversing some unfinished change, but "it works for me". The relevant patch: @@ -725,7 +725,7 @@ report_inclusion("format %a natively supported by backend",format) end else - specification.found = false + specification.found = true -- was false if trace_figures then report_inclusion("format %a supported by output file format",format) end ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________