On Mon, 04 Mar 2019 18:31:21 +0000, Peter Wilson wrote:
> On 04/03/19 16:55, Hendrik Boom wrote:
>> Is there a grammar, or a precise specification, for (at least the
>> mathematical notation part of) TeX or LaTeX?
>>
>> -- hendrik
>>
>>
> No. TeX is a macro language which means that you can change the meaning
> of any construct at any time.
>
Yes, I get that. But
(a) most people dont redefine the language, except for using standard
packages such as those fron AMS.
(b) There's a difference between changing the syntax and changing the
semantics.
(c) There's a wide-spread use of laTeX notation outside of TeX, such as
in markdown extensions and other ad-hoc markup notations. Though I admit
there's precious little even among markdown implementations..
In (c) at least there's not much opportuity to change either the syntax
or the semantics.
I'm hoping for a precise definition of at least such common usage. If
it were easily available it might stem the unnecessary divergence of
such expatriate LaTeX variants.
Such expatriate LaTeX *is* very useful in html or html-generating
programs. I'd like to avoid creating yet another variant in any html-
generating code I might need to write.
> The famous example of this is xii.tex:
> pdftex xii.tex
Noted. That's fun, and not what most users need.
-- hendrik