From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40206 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: \hyphenatedfile redefined!! Date: Mon, 14 Apr 2008 12:42:26 -0400 (EDT) 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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208192859 17117 80.91.229.12 (14 Apr 2008 17:07:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 17:07:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 14 19:07:27 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1JlRmy-0006YY-67 for gctc-ntg-context-518@m.gmane.org; Mon, 14 Apr 2008 18:44:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C6E51FC0D; Mon, 14 Apr 2008 18:43:36 +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 04649-03-9; Mon, 14 Apr 2008 18:42:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BDAF81FCD0; Mon, 14 Apr 2008 18:42:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC9CD1FCD0 for ; Mon, 14 Apr 2008 18:42:56 +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 04649-03-8 for ; Mon, 14 Apr 2008 18:42:24 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id BB69E1FC78 for ; Mon, 14 Apr 2008 18:42:23 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY tombraider.mr.itd.umich.edu ID 4803896C.100C8.21232 ; 14 Apr 2008 12:42:20 -0400 User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:40206 Archived-At: Hi, Typeset this file :) \starttext The file \filename{knuth} contains a quotation from Don Knuth, the creator of \TEX. \stoptext core-ver.tex defines \filename to be \unexpanded\def\filename#1{{\tttf\hyphenatedfile{#1}}} and supp-lan.tex defines \hypenatedfile to be \let\hyphenatedfile\hyphenatedurl However this is redefined in supp-box.tex, due to which \filename gets redefined. %D \macros %D {hyphenatedword, %D hyphenatedpar, %D hyphenatedfile, %D dohyphenateword} %D %D The next one is a tricky one. \PLAIN\ \TEX\ provides %D \type{\showhyphens} for showing macros on the terminal. When %D preparing a long list of words we decided to show the %D hyphens, but had to find out that the \PLAIN\ alternative %D can hardly be used and|/|or adapted to typesetting. The next %D two macros do the job and a little more. Although, I cannot gather this from the definition, it seems that \hypenatedfile is showing all the hyphens in a file. One of the macros need to get a different name :) Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________