X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1171" "Thu" "29" "June" "1995" "10:45:32" "+0100" "Sebastian Rahtz" "Sebastian.Rahtz@CL.CAM.AC.UK" nil "24" "Re: (La)TeX is SGML?" "^Date:" nil nil "6" nil nil nil nil] nil) Received: from MZDMZA.ZDV.UNI-MAINZ.DE (vzdmzj.zdv.Uni-Mainz.DE [134.93.8.16]) by trudi.zdv.Uni-Mainz.DE (8.6.12/8.6.12) with ESMTP id LAA11670 for ; Thu, 29 Jun 1995 11:47:08 +0200 Received: from DIRECTORY-DAEMON by MZDMZA.ZDV.UNI-MAINZ.DE (PMDF V4.3-12 #4432) id <01HS9ZLRF2V48ZE9UU@MZDMZA.ZDV.UNI-MAINZ.DE>; Thu, 29 Jun 1995 11:46:59 +0100 Received: from mxrelay.gmd.de by MZDMZA.ZDV.UNI-MAINZ.DE (PMDF V4.3-12 #4432) id <01HS9ZLQ9KY89AMJ86@MZDMZA.ZDV.UNI-MAINZ.DE>; Thu, 29 Jun 1995 11:46:58 +0100 Received: from vm.gmd.de by mxrelay.gmd.de (LSMTP for OpenVMS v0.1a) with SMTP id 7A9564E8 ; Thu, 29 Jun 1995 11:46:47 +0200 Received: from VM.GMD.DE (NJE origin LISTSERV@DEARN) by VM.GMD.DE (LMail V1.2b/1.8b) with BSMTP id 7459; Thu, 29 Jun 1995 11:46:23 +0200 Received: from VM.URZ.UNI-HEIDELBERG.DE by VM.URZ.UNI-HEIDELBERG.DE (LISTSERV release 1.8b) with NJE id 2406 for LATEX-L@VM.URZ.UNI-HEIDELBERG.DE; Thu, 29 Jun 1995 11:44:07 +0000 Received: from DHDURZ1 (NJE origin SMTP@DHDURZ1) by VM.URZ.UNI-HEIDELBERG.DE (LMail V1.2a/1.8a) with BSMTP id 3564; Thu, 29 Jun 1995 11:43:35 +0000 Received: from swan.cl.cam.ac.uk by vm.urz.Uni-Heidelberg.de (IBM VM SMTP V2R2) with TCP; Thu, 29 Jun 95 11:43:30 CET Received: from ouse.cl.cam.ac.uk (user spqr100 (rfc931)) by swan.cl.cam.ac.uk with SMTP (PP-6.5) to cl; Thu, 29 Jun 1995 10:45:36 +0100 In-reply-to: Your message of "Wed, 28 Jun 1995 14:41:43 MDT." <"swan.cl.cam.:069450:950628213530"@cl.cam.ac.uk> Reply-to: Mailing list for the LaTeX3 project Message-id: <"swan.cl.cam.:055760:950629094539"@cl.cam.ac.uk> X-Envelope-to: schoepf@goofy.zdv.uni-mainz.de MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Date: Thu, 29 Jun 1995 10:45:32 +0100 From: Sebastian Rahtz Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: (La)TeX is SGML? Status: R X-Status: X-Keywords: X-UID: 1666 > C++ are MUCH better suited to writing compilers or parsers > than TeX is; a full-blown SGML parser in TeX is very likely > infeasible, and certainly foolish. [For more information on i'd agree wholeheartedly with Nelson here;use the existing tools! > The already-existing translators from SGML to (La)TeX are not complete > solutions, because (a) they are based on particular document type > definitions (notably, HTML), NOT the general SGML grammar, and (b) > they are not founded on a rigorous grammatical analysis, but rather on > simple ad hoc pattern matching. Thus, they can do a good bit of the > job, but will never be completely reliable. a) its hard to see how a ->laTeX tyranbslation can be anything other than job-specific, as the DTD to LaTeX markup cant be generalized (unless you adopt the Flynn approach of just mapping to \tag) b) i think Nelson is hard on the existing tools. the one Elsevier use (internal) doesnt fit his description I've been very happily playing with David Meggison's SGMLSpl Perl library. it gives you a programming environment for dealing with the ESIS output of an SGMLS parse. sebastian