From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14762 Path: main.gmane.org!not-for-mail From: Thomas A.Schmitz Newsgroups: gmane.comp.tex.context Subject: newbie question about xml Date: Tue, 17 Feb 2004 22:35:44 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <3DD57A09-6191-11D8-A4E7-000A95B9ADE2@uni-bonn.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1077188043 14308 80.91.224.253 (19 Feb 2004 10:54:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2004 10:54:03 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Feb 19 11:53:44 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtloN-0006cM-00 for ; Thu, 19 Feb 2004 11:53:43 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7A4F110B24; Thu, 19 Feb 2004 11:51:52 +0100 (MET) Original-Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by ref.ntg.nl (Postfix) with ESMTP id CA39210B24 for ; Tue, 17 Feb 2004 22:34:34 +0100 (MET) Original-Received: from fwd08.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1AtCt7-0002U2-01; Tue, 17 Feb 2004 22:36:17 +0100 Original-Received: from [192.168.0.2] (Zwfo+UZa8esmb6N-x09H1348VpqPZ3+iL86dvWq3xuVBqmBOqkhds+@[80.128.243.88]) by fmrl08.sul.t-online.com with esmtp id 1AtCso-1QLNBY0; Tue, 17 Feb 2004 22:35:58 +0100 Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.612) X-Seen: false X-ID: Zwfo+UZa8esmb6N-x09H1348VpqPZ3+iL86dvWq3xuVBqmBOqkhds+@t-dialin.net Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14762 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14762 It would be wonderful if I could find an easy way to translate my ConTeXt source-files to html. So I was wondering if going via xml would be a viable method. Unofrtunately, I know next to nothing about xml. I played a bit with Emacs nxml mode and tried to understand "xml in context," but a couple of stupid questions remain: 1) even with specialized tools like onyx or Emacs xml mode, will writing these source files ever be as easy as writing TeX-source? Is it worth the extra effort? 2) Can anybody point me to an example document written in xml that can be processed by ConTeXt? 3) If I understand "xml in context" correctly, one has to specify quite a few of the xml commands in a dtd so ConTeXt understands them. I had a look at x-contml.tex to see what such definitions should look like. So I wonder: if I have to tell ConTeXt about these commands anyway, wouldn't it be easier to simply write a perl script that does these conversions and translates TeX into xml? Sorry if these are dumb questions, but these are my very first attempt at xml. All best Thomas