## LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

 Options: Use Classic View Use Monospaced Font Show Text Part by Default Condense Mail Headers Topic: [<< First] [< Prev] [Next >] [Last >>]

 Sender: Mailing list for the LaTeX3 project <[log in to unmask]> Date: Fri, 18 Jul 2003 16:28:44 +0200 Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]> Subject: Re: XML, UTF-8 and TeX engines From: Torsten Bronger <[log in to unmask]> Content-Type: text/plain; charset=us-ascii In-Reply-To: <[log in to unmask]> (William F. Hammond's message of "Fri, 18 Jul 2003 09:47:35 -0400") Organization: Aachen University of Technology (RWTH) MIME-Version: 1.0 Parts/Attachments: text/plain (45 lines) Halloechen! William F Hammond <[log in to unmask]> writes: > Barbara Beeton <[log in to unmask]> writes: > >> timothy murphy asked, >> >> > And isn't it quite sensible to distinguish between text and maths? >> >> and torsten bronger responded, >> >> XML doesn't do it and I find this very convenient. In (La)TeX, for > > This statement about XML is not helpful without reference to a > particular document type. > > For example, gellmu article does provide elements called "math" and > "displaymath", which when formatted to LaTeX switch on the > corresponding math mode. Well, you cut off the citation too soon. I am talking about character treatment only, and in I write "the program -- or XML file format -- must provide a way to mark math areas, and it must apply rules or whatever to typeset accordingly." > As LaTeX is evolving it will be possible for gellmu's "alpha" (an > empty element marked up in Gellmu source as \alpha) to be formatted in > LaTeX as (math) \alpha when recursively inside a math element and not > inside either of gellmu's "mbox" or "text", while outside of math > "alpha" could easily be morphed to a suitable unicode point. So you distuguish between both cases within your Gellmu tools? Okay, we have to, I do so, too; but actually I think that this is something that the typesetter should provide. So, an \alpha in math mode should be cmmi, and in text mode is must be part of a Greek word. Tschoe, Torsten. -- Torsten Bronger, aquisgrana, europa vetus