From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44872 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax) Date: Mon, 20 Oct 2008 10:05:55 +0200 Message-ID: <48FC3BE3.5000607@elvenkind.com> References: <48F8D799.5050104@nibua-r.org> 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 1224515530 29725 80.91.229.12 (20 Oct 2008 15:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 15:12:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 20 17:12:46 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 1KrpoX-0002ku-Gy for gctc-ntg-context-518@m.gmane.org; Mon, 20 Oct 2008 10:08:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3513B1FBB5; Mon, 20 Oct 2008 10:07:26 +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 22663-03-5; Mon, 20 Oct 2008 10:06:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67E561FBEF; Mon, 20 Oct 2008 10:06:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 382FF1FBEF for ; Mon, 20 Oct 2008 10:06:30 +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 22663-03-4 for ; Mon, 20 Oct 2008 10:05:55 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 9A1541FBC1 for ; Mon, 20 Oct 2008 10:05:55 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 88B6E8026A36 for ; Mon, 20 Oct 2008 10:05:55 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: <48F8D799.5050104@nibua-r.org> 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:44872 Archived-At: Hi Renaud, Renaud Aubin wrote: > Hi Folks ! > > I'm currently writting a technical report in which I need to type some > XML an non-XML text. > > Sample file (xml_test.tex): > I have some custom XML text (trivial) + a not-so-complicated xsl > transformation (a part is included within the test file). I know there > is verb-xml but... I need to improve it to support xpath expr. More > over, I want to preserve the initial indentation. The point is now, how > to improve verb-xml to support xpath expressions ? I'm working with Mark > II... Should I switch to Mark IV if I want to write a new XML verbatim > support (with lua)? > > + the bonus question: I want to add some support for the RelaxNG Compact > syntax, should I follow the procedure described on the wiki or switch to > Mark IV ? > > The deadline for this technical report: end of october... Mark IV's framework for syntax highlighting is definately easier to use if you are somewhat familiar with 'normal' scripting languages (as opposed to TeX). But 'end of october' is pretty close, so I would suggest using t-vim, maybe with some postprocessing. http://modules.contextgarden.net/vim Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________