X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2469" "Sat" "12" "December" "1998" "19:00:48" "-0500" "William F. Hammond" "hammond@CSC.ALBANY.EDU" nil "63" "Re: portable LaTeX" "^Date:" nil nil "12" nil "portable LaTeX" nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.8/8.8.8) with ESMTP id BAA12939; Sun, 13 Dec 1998 01:01:08 +0100 (MET) Received: from lsv1.listserv.gmd.de (192.88.97.2) by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <11.8749875A@listserv.gmd.de>; Sun, 13 Dec 1998 1:01:07 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 412353 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Sun, 13 Dec 1998 01:01:03 +0100 Received: from sarah.albany.edu (sarah.albany.edu [169.226.1.103]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id BAA03941 for ; Sun, 13 Dec 1998 01:00:59 +0100 (MET) Received: from hilbert.math.albany.edu (hilbert.math.albany.edu [169.226.23.52]) by sarah.albany.edu (8.8.8/8.8.8) with ESMTP id TAA12970; Sat, 12 Dec 1998 19:00:50 -0500 (EST) Received: (from hammond@localhost) by hilbert.math.albany.edu (8.8.4/8.8.3) id TAA29345; Sat, 12 Dec 1998 19:00:48 -0500 (EST) Message-ID: <199812130000.TAA29345@hilbert.math.albany.edu> Reply-To: Mailing list for the LaTeX3 project Date: Sat, 12 Dec 1998 19:00:48 -0500 From: "William F. Hammond" Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: portable LaTeX Status: R X-Status: X-Keywords: X-UID: 3082 Timothy Murphy writes: : On Sat, Dec 12, 1998 at 06:05:25PM +0100, Chris Rowley wrote: : : There is a fundamental question about MathML/XML/OpenMath vs TeX/LaTeX : which does not seem to me to have been answered here. : : As I understand it, *ML _parses_ (or tries to parse) maths, No. : while Knuth in his wisdom decided this was impractical. : For example, if I write $AB = CD$ : this might refer to variables AB,CD (perhaps line segments) : or it might refer to products of 4 variables A,B,C,D; I would suggest that in a latex-like document preamble one declare, with something like "\mathsym" the symbols A, B, C, D either as having a type such as "vertex" or else having a type such as "element of an additive group". In either case to obtain recognition of the typed symbols, one should in the body use $A B = C D$ if either "AB" or "CD" is a symbol as declared by another \mathsym. Absent a mathsym declaration the string "AB" in a math zone would be equivalent, by tradition, to "A B". Although I argue that "A B" by default should stand for function composition of A and B when it makes sense, it does not make sense, absent symbol declarations, to assume that A and B are functions that can be composed. The next choice, absent other guidance, is to assume an arithmetic context with juxtaposition standing for multiplication. (But note that I need none of this, other than symbol separation if I don't process math zones specially, to get the representations that I put up in my last posting to latex-l under the subject "notational examples".) : Would I perhaps have to put in an \invisibletimes between A and B? I hope not. : The question is, then: : is it possible to parse mathematics, : and if so, is it wise to try? Don't readers do it? You think that it's based on "visual intelligence"? : [It may be impossible, : because it may be that mathematicians : would refuse to be bound by any particular formal system put forward.] Ay, there's the rub -- certainly for many. Note in particular that mathematical authors have incentive to provide MathML only if they perceive that the *most helpless* of their readers who have browsers also have MathML rendering. It would be helpful if some of the W3C MathML working group (whose emissary usually listens here) would ponder a format for a flexible author-specified type system and provide us with testbed code for generating MathML based on it. -- Bill