From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81207 Path: news.gmane.org!not-for-mail From: Jonathan Barchi Newsgroups: gmane.comp.tex.context Subject: etexshow and generation of cont-en.xlm (cont-XX.xml)? Date: Mon, 18 Mar 2013 18:35:21 -0400 Message-ID: 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 1363646149 28532 80.91.229.3 (18 Mar 2013 22:35:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 22:35:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 18 23:36:15 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 1UHif6-0007AF-3W for gctc-ntg-context-518@m.gmane.org; Mon, 18 Mar 2013 23:36:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A47A101E3; Mon, 18 Mar 2013 23:35:48 +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 STf7IZkqJeNK; Mon, 18 Mar 2013 23:35:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6968F101EB; Mon, 18 Mar 2013 23:35:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00269101EB for ; Mon, 18 Mar 2013 23:35:45 +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 f7sg9E803QLS for ; Mon, 18 Mar 2013 23:35:44 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 40B9B101E3 for ; Mon, 18 Mar 2013 23:35:44 +0100 (CET) Original-Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2IMZg8J005896 for ; Mon, 18 Mar 2013 23:35:43 +0100 Original-Received: by mail-ob0-f176.google.com with SMTP id v19so5881972obq.35 for ; Mon, 18 Mar 2013 15:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=+O2c89uN1WHU2SmHBqtVRWCUSUcl86mUWmAsli+EGQ0=; b=t4tjHK9JkEp3Cc/KkW0FfunZN7OF1INaXwpJhrmZLMVyKK7b0Av5xbn961keuYqRle Ehy2FrRh3G4JdOXd149NhM6GTY9hMZgXIqj1LJPJtvbhLyuK9gFszEnU7lgc+/FgHCwW KK64KqoQD6wHQ+wOJO2oNrNQ7RURESXhLLEyPYEjd76GDDyFIelcoe9A+hSXfWI5sGZe xe1xvNQtis3DXq3BR/IPo+XZckSN9ZWDUgN5Q6yvctzkt2taA3TK4Zherxaumi5wcLoT U+2JNf+OTTCwpdt8GUf1p5qfbkRaw507v5oWC3WUbDGJ73uJCL9Aw7uxZXFcH8tV8xcq 2o8A== X-Received: by 10.60.5.165 with SMTP id t5mr7712096oet.117.1363646142021; Mon, 18 Mar 2013 15:35:42 -0700 (PDT) Original-Received: by 10.60.144.226 with HTTP; Mon, 18 Mar 2013 15:35:21 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c01::230; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JdazGxn - 2d55a6496dd7 - 20130318 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:81207 Archived-At: 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 ___________________________________________________________________________________