>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> On Thu, Aug 01, 2002 at 04:46:22PM +0200, Jean-Marc Lasgouttes
Andre> wrote: I would not be too sure about that. We could "write
Andre> everything to .tex" if a certain flag is set and honour this on
Andre> read-back.
>>  Why do you need .tex?? Just output .lyx to the clipboard and parse
>> it back? I just do not understand the need for an extra format.

Andre> Because .tex contains the \begin{proof}...\end{proof} whereas
Andre> .lyx only has \layout proof which is changed to \layout
Andre> standard if read tith the wrong class and not to a sequence
Andre> ert-standard-ert.

Andre> Apart from that, .tex is not exactly an 'extra format', is it?

I really think that lyx<->tex conversion cannot be one-to-one exactly.
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. And I do not see why the 'proof' environment should
survive translation, since the article document would then not be
typesetable.

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. Certainly much
easier than what you propose.

Andre> One can 'lock' insets to make them into a unit concerning
Andre> 'ordinary cursor movement'. Unfortuantely, that state is not
Andre> saved (but I intend to change that).

Can you give examples? Were you jealous not to have 'locking insets'
in mathed?

JMarc

Reply via email to