From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1903 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Johannes_H=FCsing?= Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt + TEI (an SGML derivate) Date: Tue, 25 Apr 2000 16:09:18 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20000425160918.05300@uni-essen.de> References: <3904538F.F9515876@gmx.de> Reply-To: johannes.huesing@uni-essen.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035392704 4149 80.91.224.250 (23 Oct 2002 17:05:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:05:04 +0000 (UTC) Original-To: NTG-ConTeXt In-Reply-To: <3904538F.F9515876@gmx.de>; from Tobias Burnus on Mon, Apr 24, 2000 at 04:00:47PM +0200 Xref: main.gmane.org gmane.comp.tex.context:1903 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1903 On Mon 2000-04-24 (16:00), Tobias Burnus wrote: > Hi, Hi, > > I would like to typeset some TEI documents (see > http://etext.lib.virginia.edu/TEI.html and > http://www.uic.edu:80/orgs/tei/ and http://www.tei-c.org/). What's the > best way to proceed? (Ok I could try to write a PERL phraser which > translates everything into ConTeXt constructs, but this doesn't seem to > be the best way.) I currently see two options, both of which take quite some work: - Convert the TEI source with some style sheet into visual markup which is parsed by ConTeXt. - Re-write the original file, retaining the original structure, but in a ConTeXt syntax. That means: Replace "foo bar" by "\startmytag foo bar\stopmytag". Next, write a module which does the TeX formatting. I would opt for the second version if a stylesheet does not exist. If a stylesheet exists, I would rather go for plain TeX than ConTeXt as the output of the style sheet is rather visual than content related. Greetings Johannes > > Tobias