From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22132 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Unable to make cont-en.fmt Date: Thu, 25 Aug 2005 12:43:50 +0200 Message-ID: <430DA0E6.4050601@elvenkind.com> References: <430D8402.7090803@logosrl.it> <430D8A69.6010700@elvenkind.com> <430D913F.8070106@logosrl.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124967017 29898 80.91.229.2 (25 Aug 2005 10:50:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2005 10:50:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 25 12:50:16 2005 Return-path: 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 1E8FHd-0001Yr-DH for gctc-ntg-context-518@m.gmane.org; Thu, 25 Aug 2005 12:48:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0619F127EF; Thu, 25 Aug 2005 12:48:33 +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 04008-02; Thu, 25 Aug 2005 12:48:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB4C9127ED; Thu, 25 Aug 2005 12:44:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01271127ED for ; Thu, 25 Aug 2005 12:44: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 03722-05 for ; Thu, 25 Aug 2005 12:44:56 +0200 (CEST) Original-Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by ronja.ntg.nl (Postfix) with ESMTP id 27658127CE for ; Thu, 25 Aug 2005 12:44:55 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:55470 helo=[192.168.1.3]) by post-22.mail.nl.demon.net with esmtp (Exim 4.51) id 1E8FE7-000Glb-MR for ntg-context@ntg.nl; Thu, 25 Aug 2005 10:44:55 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <430D913F.8070106@logosrl.it> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22132 Archived-At: luigi.scarso wrote: > > symlink it's the magic word... Like I said: From personal experience :) > PS: > What do you think about to write a dense guide to programmer on how to add > a pdftex primitive (something like \pdfhelloworld) and how to interface > to an external libray (like zlib) ? It goes roughly like this: * create pdfetex-main.web from all of the web and change files so you have a least a sane source while coding, and make a copy for future comparison * find an existing command who's syntax/semantics are close to the one you intend to implement ("extension" is fairly useless for anything that actually does have an impact on typesetting, you probably want 'convert' or 'last_item'). * hook a new subcode into the processing of that existing command, * add a call to primitive() * create a code line to print_cmd_chr() * when it builds ok, create a change file by running diff on the original pdfetex-main.web, and add this change file at the end of the change file list in pdfetex.mk I'll see if it is possible to create a document with a bit more specific info Taco