Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Tue, Apr 30, 2002 at 11:56:07AM +0200, Juergen Vigna wrote:
>> 
>> On 29-Apr-2002 Dekel Tsur wrote:
>> > On Mon, Apr 29, 2002 at 06:01:27PM +0200, Lars Gullik Bjønnes wrote:
>> >> Why do you say that 1.2.0cvs is not able to read files with the latex
>> >> layout? Hmm it seems that we test for a valid layout a bit early in
>> >> buffer.C... so that the compability reading does not kick in before we
>> >> have already changed to using defaultLayoutName...
>> >> 
>> >> Do anyone have a test file for me? That is f.ex two plain paragraphs
>> >> and a latex paragraph in between?
>> > 
>> > Attached.
>> 
>> Well it seems to me this is perfectly read!
>
| When I read it, the text in the latex layout is not inserted into ERT inset.
| Looking at the code, I see that by the time we reach the line
|  if (compare_no_case(layoutname, "latex") == 0) 
| the layout was already changed to the default layout.
| The following patch seems like the fix for it.

Yes, something like this. It seems that this also containes the change
that Jürgen did?

-- 
        Lgb

Reply via email to