On 23-Oct-98 Allan Rae wrote:
[...]
>> We still miss the information about the struture, here you must agree
>> with me.
>
> Can we pinch anything from Mozilla? or that against their Licence?
>
I don't know. Others?
>> Regarding how difficult it would be to construct the dtd parser, I have
>> asked that to Cees de Groot, SGML maintainer, his answer follows:
>>
>> ----------------------------------- begin answer
>> -----------------------------
> [...]
>> The long answer: use lex and yacc (or something else) to build a DTD
>> parser.
>> The parsed form would probably naturally fit in the format of a tree, and
>> then it's a matter of bookkeeping (keep note about where you are in the
>> tree,
>> and make sure the user only selects tags from children of the current
>> node).
>>
>> --------------------------------- end answer
>> --------------------------------
>
> We could perhaps build a library of preparsed dtd's then we wouldn't
> actually need a dtd parser in LyX we instead link to an appropriate
> library. The dtd's don't change often (not any more than article.cls
> would -- almost never) so this scheme should be okay for long term use.
>
> We'd have reasonable speed then also.
You have read my mind. :)
Is this doable? (Jean-Marc objections are valid)
Is this acceptable Jean_marc?
> That just leaves the .layout files.
>
> Allan (ARRae)
--
Jos� Ab�lio de Oliveira Matos
Date: 23-Oct-98 : Time: 10:00:00 GMT
A journey of a thousand miles begins with a cash advance.