Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread abelahcene


 Hi,
  Here is an example written in lyx 1.4
 best regards
 bela




 
 
  Hi,
  I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
  previous
  doc written with lyx 1.3.
  There is a possibility to save in 1.3 format but not to load from.
  thanks for help
  best regards
  bela
 



LaTeXConfig.lyx.gz
Description: GNU Zip compressed data


Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread José Matos
On Tuesday 17 July 2007 16:51:56 [EMAIL PROTECTED] wrote:
  Hi,
   Here is an example written in lyx 1.4
  best regards
  bela

OK, the problem was easy to spot. :-)

Just for reference here it is the patch that fixes the problem:

Index: lyx_1_5.py
===
--- lyx_1_5.py  (revision 19100)
+++ lyx_1_5.py  (working copy)
@@ -444,6 +444,13 @@
 i = i + 1
 continue

+j = find_token(document.body, \\end_inset, i)
+if j == -1:
+document.warning(Malformed document)
+else:
+command += .join(document.body[i+1:j])
+document.body[i+1:j] = []
+
 # The following parser is taken from the original 
InsetCommandParams::scanCommand
 name = 
 option1 = 


-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread abelahcene


 Hi,
  Here is an example written in lyx 1.4
 best regards
 bela




 
 
  Hi,
  I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
  previous
  doc written with lyx 1.3.
  There is a possibility to save in 1.3 format but not to load from.
  thanks for help
  best regards
  bela
 



LaTeXConfig.lyx.gz
Description: GNU Zip compressed data


Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread José Matos
On Tuesday 17 July 2007 16:51:56 [EMAIL PROTECTED] wrote:
  Hi,
   Here is an example written in lyx 1.4
  best regards
  bela

OK, the problem was easy to spot. :-)

Just for reference here it is the patch that fixes the problem:

Index: lyx_1_5.py
===
--- lyx_1_5.py  (revision 19100)
+++ lyx_1_5.py  (working copy)
@@ -444,6 +444,13 @@
 i = i + 1
 continue

+j = find_token(document.body, \\end_inset, i)
+if j == -1:
+document.warning(Malformed document)
+else:
+command += .join(document.body[i+1:j])
+document.body[i+1:j] = []
+
 # The following parser is taken from the original 
InsetCommandParams::scanCommand
 name = 
 option1 = 


-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread abelahcene

>
> Hi,
>  Here is an example written in lyx 1.4
> best regards
> bela
>
>
>
>
> >
> >
> > Hi,
> > I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
> > previous
> > doc written with lyx 1.3.
> > There is a possibility to save in 1.3 format but not to load from.
> > thanks for help
> > best regards
> > bela
> >
>


LaTeXConfig.lyx.gz
Description: GNU Zip compressed data


Re: how to convert lyx1.3 to 1.5

2007-07-17 Thread José Matos
On Tuesday 17 July 2007 16:51:56 [EMAIL PROTECTED] wrote:
> > Hi,
> >  Here is an example written in lyx 1.4
> > best regards
> > bela

OK, the problem was easy to spot. :-)

Just for reference here it is the patch that fixes the problem:

Index: lyx_1_5.py
===
--- lyx_1_5.py  (revision 19100)
+++ lyx_1_5.py  (working copy)
@@ -444,6 +444,13 @@
 i = i + 1
 continue

+j = find_token(document.body, "\\end_inset", i)
+if j == -1:
+document.warning("Malformed document")
+else:
+command += "".join(document.body[i+1:j])
+document.body[i+1:j] = []
+
 # The following parser is taken from the original 
InsetCommandParams::scanCommand
 name = ""
 option1 = ""


-- 
José Abílio


how to convert lyx1.3 to 1.5

2007-07-16 Thread abelahcene


Hi,
I ve just installed the rc2 of lyx 1.5, and was suprised to not read my previous
doc written with lyx 1.3.
There is a possibility to save in 1.3 format but not to load from.
thanks for help
best regards
bela


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
 Hi,
 I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
 previous doc written with lyx 1.3.
 There is a possibility to save in 1.3 format but not to load from.

  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.

 thanks for help
 best regards
 bela

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
 I also have problem openning old files (from Lyx 1.5Beta3).

  ?

  What kind of problems?

  We will release 1.5.0 really soon and I would like to hear about those 
problems.

 Best regards

 Valter

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Valter Filipe Silva

I also have problem openning old files (from Lyx 1.5Beta3).
Best regards


Valter





José Matos wrote:

On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
  

Hi,
I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
previous doc written with lyx 1.3.
There is a possibility to save in 1.3 format but not to load from.



  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.


  

thanks for help
best regards
bela



  



--
-
PLEASE UPDATE YOUR ADDRESS BOOK WITH MY NEW E-MAIL: [EMAIL PROTECTED]


Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica, Telecomunicações e Informática
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Valter Filipe Silva

José Matos wrote:

On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
  

I also have problem openning old files (from Lyx 1.5Beta3).



  ?

  What kind of problems?
  


Lyx crash while try to open my document.
After that i downgrade again to 1.5Beta3.
Best regards

Valter



  We will release 1.5.0 really soon and I would like to hear about those 
problems.


  

Best regards

Valter



  



--
-
PLEASE UPDATE YOUR ADDRESS BOOK WITH MY NEW E-MAIL: [EMAIL PROTECTED]


Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica, Telecomunicações e Informática
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Bo Peng

Lyx crash while try to open my document.
After that i downgrade again to 1.5Beta3.
Best regards


Could you please send us a minimal lyx file that demonstrate the
problem? That is to say, remove paragraphs in 1.3.x, save and open the
file with 1.5.0rc2, and send us a small lyx file that crashes
1.5.0rc2.

Thanks.
Bo


how to convert lyx1.3 to 1.5

2007-07-16 Thread abelahcene


Hi,
I ve just installed the rc2 of lyx 1.5, and was suprised to not read my previous
doc written with lyx 1.3.
There is a possibility to save in 1.3 format but not to load from.
thanks for help
best regards
bela


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
 Hi,
 I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
 previous doc written with lyx 1.3.
 There is a possibility to save in 1.3 format but not to load from.

  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.

 thanks for help
 best regards
 bela

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
 I also have problem openning old files (from Lyx 1.5Beta3).

  ?

  What kind of problems?

  We will release 1.5.0 really soon and I would like to hear about those 
problems.

 Best regards

 Valter

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Valter Filipe Silva

I also have problem openning old files (from Lyx 1.5Beta3).
Best regards


Valter





José Matos wrote:

On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
  

Hi,
I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
previous doc written with lyx 1.3.
There is a possibility to save in 1.3 format but not to load from.



  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.


  

thanks for help
best regards
bela



  



--
-
PLEASE UPDATE YOUR ADDRESS BOOK WITH MY NEW E-MAIL: [EMAIL PROTECTED]


Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica, Telecomunicações e Informática
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Valter Filipe Silva

José Matos wrote:

On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
  

I also have problem openning old files (from Lyx 1.5Beta3).



  ?

  What kind of problems?
  


Lyx crash while try to open my document.
After that i downgrade again to 1.5Beta3.
Best regards

Valter



  We will release 1.5.0 really soon and I would like to hear about those 
problems.


  

Best regards

Valter



  



--
-
PLEASE UPDATE YOUR ADDRESS BOOK WITH MY NEW E-MAIL: [EMAIL PROTECTED]


Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica, Telecomunicações e Informática
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Bo Peng

Lyx crash while try to open my document.
After that i downgrade again to 1.5Beta3.
Best regards


Could you please send us a minimal lyx file that demonstrate the
problem? That is to say, remove paragraphs in 1.3.x, save and open the
file with 1.5.0rc2, and send us a small lyx file that crashes
1.5.0rc2.

Thanks.
Bo


how to convert lyx1.3 to 1.5

2007-07-16 Thread abelahcene


Hi,
I ve just installed the rc2 of lyx 1.5, and was suprised to not read my previous
doc written with lyx 1.3.
There is a possibility to save in 1.3 format but not to load from.
thanks for help
best regards
bela


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
> Hi,
> I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
> previous doc written with lyx 1.3.
> There is a possibility to save in 1.3 format but not to load from.

  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.

> thanks for help
> best regards
> bela

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread José Matos
On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
> I also have problem openning old files (from Lyx 1.5Beta3).

  ?

  What kind of problems?

  We will release 1.5.0 really soon and I would like to hear about those 
problems.

> Best regards
>
> Valter

-- 
José Abílio


Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Valter Filipe Silva

I also have problem openning old files (from Lyx 1.5Beta3).
Best regards


Valter





José Matos wrote:

On Monday 16 July 2007 11:33:05 [EMAIL PROTECTED] wrote:
  

Hi,
I ve just installed the rc2 of lyx 1.5, and was suprised to not read my
previous doc written with lyx 1.3.
There is a possibility to save in 1.3 format but not to load from.



  Is there any problem opening old files? It should just work, lyx will decide 
what is the version used and it will do the appropriate convertions.


  

thanks for help
best regards
bela



  



--
-
PLEASE UPDATE YOUR ADDRESS BOOK WITH MY NEW E-MAIL: [EMAIL PROTECTED]


Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica, Telecomunicações e Informática
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Valter Filipe Silva

José Matos wrote:

On Monday 16 July 2007 14:52:42 Valter Filipe Silva wrote:
  

I also have problem openning old files (from Lyx 1.5Beta3).



  ?

  What kind of problems?
  


Lyx crash while try to open my document.
After that i downgrade again to 1.5Beta3.
Best regards

Valter



  We will release 1.5.0 really soon and I would like to hear about those 
problems.


  

Best regards

Valter



  



--
-
PLEASE UPDATE YOUR ADDRESS BOOK WITH MY NEW E-MAIL: [EMAIL PROTECTED]


Valter Filipe Silva
[EMAIL PROTECTED]

Departamento de Electrónica, Telecomunicações e Informática
Escola Superior de Tecnologia e Gestão de Águeda
Universidade de Aveiro
3810-193 Aveiro



Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Bo Peng

Lyx crash while try to open my document.
After that i downgrade again to 1.5Beta3.
Best regards


Could you please send us a minimal lyx file that demonstrate the
problem? That is to say, remove paragraphs in 1.3.x, save and open the
file with 1.5.0rc2, and send us a small lyx file that crashes
1.5.0rc2.

Thanks.
Bo