From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81211 Path: news.gmane.org!not-for-mail From: hwitloc@gmail.com Newsgroups: gmane.comp.tex.context Subject: Re: etexshow and generation of cont-en.xlm (cont-XX.xml)? Date: Tue, 19 Mar 2013 14:06:50 +1000 Message-ID: <20130319140650.2596@binki> References: 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 1363669608 28283 80.91.229.3 (19 Mar 2013 05:06:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Mar 2013 05:06:48 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 19 06:07:14 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHolW-0000XA-2o for gctc-ntg-context-518@m.gmane.org; Tue, 19 Mar 2013 06:07:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B51D101F1; Tue, 19 Mar 2013 06:06:50 +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 UKytaf2lIKCY; Tue, 19 Mar 2013 06:06:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E3991101EB; Tue, 19 Mar 2013 06:06:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C755101EB for ; Tue, 19 Mar 2013 06:06:47 +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 IVF-PIBCCoU3 for ; Tue, 19 Mar 2013 06:06:46 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 81CC5101E3 for ; Tue, 19 Mar 2013 06:06:46 +0100 (CET) Original-Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2J56iTg031479 for ; Tue, 19 Mar 2013 06:06:45 +0100 Original-Received: from binki (z167251.dynamic.ppp.asahi-net.or.jp [110.4.167.251]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 75704242A3 for ; Tue, 19 Mar 2013 14:06:41 +0900 (JST) In-reply-to: Your message of Mon, 18 Mar 2013 18:35:21 -0400 X-Mailer: MH-E 8.3.1; GNU Mailutils 2.1; GNU Emacs 24.3.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=202.224.39.198; country=JP; latitude=36.0000; longitude=138.0000; http://maps.google.com/maps?q=36.0000,138.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Jdh6J43 - b5715850d97c - 20130319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:81211 Archived-At: That is a wonderful idea and one that would be very, very helpful, and much appreciated. Best Jonathan Barchi wrote: > Hi all, > > I'm using the emacs package etexshow to provide a quick ConTeXt > command reference in EMACS. This utility parses the interface file > cont-en.xml (for english, in my case) and uses the contents to provide > a basic dictionary of available commands. > > In the documentation for etexshow, there is a reference to being able > to generate a complete interface description (the aforementioned xml > file) like so: > > ";; There is still an xml-file shipped with this code. Usually you would > ;; generate the xml-file with 'texexec'ing the file setupe.tex. Then you > ;; will get the cont-en.xml file that can (could) be used as an input for > ;; this etexshow. But for now, this won't work. It will work rsn." > > It is not clear whether that file (setupe.tex or setup.tex) is/was > supposed to be shipped with etexshow or was supposed to be a part of > context. I've searched and found a few references to this problem, but > never a definitive answer, so if anyone knows the answer to these > questions I would love to know!! > > 1. Is the referenced setup(e).tex a file that was previously shipped > with ConTeXt - presumably mkii since the author refers to texexec - or > would this be something the author would have included with etexshow > itself? > > 2. Is the interface file, e.g. cont-en.xml, auto-generated from all of > the defined macros in ConTeXt, or is that file hand-written as > metadata to accompany the source-code definitions? > > 3. Since self-documentation is a goal of the project, is it possible > to generate something akin to the interface file that presents a > snapshot of all commands known to context at a given time, for use in > things like etexshow or other tools? If so, is it possible to do this > with modules loaded to see what they additionally define? > > Thanks in advance for any help! I'm hoping to use any information I > get to update etexshow, if possible, and maybe update the ConTeXt > support in AUCTEX as well. I think it would be really cool if AUCTEX > could reach out at compile or run time and pull in macro definitions > from the installed environment, for example. > > Best, > Jon > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________