>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
>> So you are going to loose information. What about quote insets? >> What you are going to propose is to add so much meta-information to >> .tex that you will have invented a new hybrid fileformat---which we >> may call .tyx ;)---, which will be yet another format that lyx has >> to understand. Andre> Ah... ok. So that you mean by 'new file format'. But we have Andre> that already, it's called '.tex exported by LyX'. We put there Andre> a \def\LyX{...} in the preamble etc. No, all things that we add to the tex files are useful to LaTeX itself, and it parses them (just a few macros of our own). What you propose would add some meta-information ("this `` was really a quote inset") which extends LaTeX _format_. >> An idea I had in mind some time ago was, when a layout cannot be >> translated, to do as if it was 'standard', but remember the layout >> name so that it does not get lost. In your case, it would look like >> Standard, but be written as 'proof' in the lyx file. Andre> But this breaks as soon as different style define 'proof' Andre> differently. On contrary. If for some document class I have the latex environment "proof" and on the other one "prf", then what is important is that for the two classes the layout name is the same ("Proof", in this case). So going through latex, gives the false impression that the two styles are different and add some \begin{proof}...\end{proof} whereas \begin{prf}...\end{prf} is the one which would be recognized. Basically, what I propose is to rely on the fact that layouts with same name have same meaning. I think it is much less error prone than expecting that the latex names are the same. >> Certainly much easier than what you propose. Andre> I doubt that. All we need is a parser that can read the kind of Andre> .tex we produce. [And of course the panacea is "inset Andre> unification" followed by "re-use the math parser", but I think Andre> you got already tired of that song] I would actually like to see 'reuse math parser' instead of using reLyX. Andre> You could lock a \mathbf{x} and pass over it with a single Andre> <Right>. If the inset is not locked, it takes three(!) <Right> Andre> which is not really nice. And when does the locking take place? JMarc