From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57416 Path: news.gmane.org!not-for-mail From: Michail Vidiassov Newsgroups: gmane.comp.tex.context Subject: status of node.write Date: Wed, 24 Mar 2010 12:23:32 +0300 (MSK) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269423084 11830 80.91.229.12 (24 Mar 2010 09:31:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2010 09:31:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 24 10:31:19 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NuMvn-000286-BZ for gctc-ntg-context-518@m.gmane.org; Wed, 24 Mar 2010 10:31:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 99AC4C9BDC; Wed, 24 Mar 2010 10:31:18 +0100 (CET) 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 Yg1LTi0IxJlg; Wed, 24 Mar 2010 10:31:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2AB5CC9C22; Wed, 24 Mar 2010 10:31:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE983C9C22 for ; Wed, 24 Mar 2010 10:31:14 +0100 (CET) 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 dL4Jz01ltq3q for ; Wed, 24 Mar 2010 10:31:11 +0100 (CET) Original-Received: from serv.iaas.msu.ru (serv.iaas.msu.ru [212.192.224.252]) by balder.ntg.nl (Postfix) with ESMTP id C94C8C9BDC for ; Wed, 24 Mar 2010 10:31:11 +0100 (CET) Original-Received: from serv.iaas.msu.ru (serv.iaas.msu.ru [212.192.224.252]) (authenticated bits=0) by serv.iaas.msu.ru (8.14.3/8.14.3) with ESMTP id o2O9NWdo065529 for ; Wed, 24 Mar 2010 12:23:36 +0300 (MSK) (envelope-from master@iaas.msu.ru) User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:57416 Archived-At: Dear All, I notice that broken code for inserting movies uses node.write in codeinjections.insertmovie (in back-pdf.lua), while figures.checkers.mov (in grph-inc.lua) expects text return from codeinjections.insertmovie to feed to "texsprint(ctxcatcodes". The 3D annotation code (it also seems not to work) has node.write variant commented out and replaced with "texsprint(ctxcatcodes" with "brrrr" comment! local annot, preview, ref = backends.pdf.helpers.insert3d { ...... } -- node.write(pdfannotation(width,-height,0,annot())) texsprint(ctxcatcodes,format("\\pdfannot width %ssp height %ssp {%s}",width,height,annot())) -- brrrr --~ if ref then -- wrong ! a direct ref should work --~ texsprint(ctxcatcodes,format("\\smash{\\pdfrefximage%s\\relax}",ref)) -- brrrr --~ end texsprint(ctxcatcodes,"\\stopfoundexternalfigure") And the question is: does it make sense to try to make the current 3D annotation handling code work by complaining to the maintainers and/or fixing it myself or nothing is supposed to work till migration to from "texsprint(ctxcatcodes" API to "node.write" API is complete? Sincerely, Michail ___________________________________________________________________________________ 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 ___________________________________________________________________________________