Re: [Patch] Release notes

2007-07-12 Thread christian . ridderstrom

On Wed, 11 Jul 2007, José Matos wrote:


On Wednesday 11 July 2007 17:16:47 [EMAIL PROTECTED] wrote:

The text refers to LyX 1.4.4 in the beginning, should that be 1.4.5
instead?

/C


 Yes. Feel free to fix issues like this. :-)


Done. I hope you didn't mean that I should have sent a patch to this 
lis first (I just did it). Here's the difference:


ssh-01:lyx-develsvn diff -r 19050 RELEASE-NOTES
Index: RELEASE-NOTES
===
--- RELEASE-NOTES   (revision 19050)
+++ RELEASE-NOTES   (arbetskopia)
@@ -1,6 +1,6 @@
 This file lists interface changes that might affect users in 1.5.0 and
 also some known problems in LyX 1.5.0 that did not occur in
-1.4.4. Note that fixes are available for many of these, but they have
+1.4.5. Note that fixes are available for many of these, but they have
 not yet been applied because of incomplete testing.



/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [Patch] Release notes

2007-07-12 Thread José Matos
On Thursday 12 July 2007 09:16:18 [EMAIL PROTECTED] wrote:
 Done. I hope you didn't mean that I should have sent a patch to this
 lis first (I just did it). Here's the difference:

Small changes to documentation are OK. It does not hurt to give an warning in 
advance but there is no need to wait for an explicit approval, unless the 
number of changes is huge and/or potentially controversial. :-)

-- 
José Abílio


Re: [Patch] Release notes

2007-07-12 Thread christian . ridderstrom

On Wed, 11 Jul 2007, José Matos wrote:


On Wednesday 11 July 2007 17:16:47 [EMAIL PROTECTED] wrote:

The text refers to LyX 1.4.4 in the beginning, should that be 1.4.5
instead?

/C


 Yes. Feel free to fix issues like this. :-)


Done. I hope you didn't mean that I should have sent a patch to this 
lis first (I just did it). Here's the difference:


ssh-01:lyx-devel>svn diff -r 19050 RELEASE-NOTES
Index: RELEASE-NOTES
===
--- RELEASE-NOTES   (revision 19050)
+++ RELEASE-NOTES   (arbetskopia)
@@ -1,6 +1,6 @@
 This file lists interface changes that might affect users in 1.5.0 and
 also some known problems in LyX 1.5.0 that did not occur in
-1.4.4. Note that fixes are available for many of these, but they have
+1.4.5. Note that fixes are available for many of these, but they have
 not yet been applied because of incomplete testing.



/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [Patch] Release notes

2007-07-12 Thread José Matos
On Thursday 12 July 2007 09:16:18 [EMAIL PROTECTED] wrote:
> Done. I hope you didn't mean that I should have sent a patch to this
> lis first (I just did it). Here's the difference:

Small changes to documentation are OK. It does not hurt to give an warning in 
advance but there is no need to wait for an explicit approval, unless the 
number of changes is huge and/or potentially controversial. :-)

-- 
José Abílio


[Patch] Release notes

2007-07-11 Thread Abdelrazak Younes

OK?
Index: RELEASE-NOTES
===
--- RELEASE-NOTES   (revision 19042)
+++ RELEASE-NOTES   (working copy)
@@ -1,5 +1,5 @@
 This file lists interface changes that might affect users in 1.5.0 and
-also some known problems in LyX 1.5.0rc2 that did not occur in
+also some known problems in LyX 1.5.0 that did not occur in
 1.4.4. Note that fixes are available for many of these, but they have
 not yet been applied because of incomplete testing.
 
@@ -10,9 +10,33 @@
 Some of the LyX functions have changed names :
 
 
-Known issues with version 1.5.0rc2
+Known issues with version 1.5.0
 
 
+- User layout files must be converted to UTF-8
+
+In previous version, layout styles were allowed to use non-ASCII names
+using the local encodings. LyX-1.5 now assumes that all layout files are
+UTF-8 encoded. This means that non-ASCII style names are still allowed
+but they nust be valid UTF-8 strings. One way of doing the conversion
+is to use iconv. Using bash, the script below should work:
+
+cd /path/to/layouts
+for l in *
+do
+  cp $l tmp.txt
+  iconv -f latin1 -t utf8 tmp.txt -o $l
+done
+iconv -f latin1 -t utf8 tmp.txt -o $l
+
+
+- Cursor restoration problems with Multiple-View
+
+When using multiple Windows to edit different parts of the
+same document, the cursor position is sometimes not correctly restored
+when you switch from one view to the other.
+
+
 Note: There may later be an updated list of known issues online at
http://wiki.lyx.org/LyX/ReleaseNotes
 


Re: [Patch] Release notes

2007-07-11 Thread Jean-Marc Lasgouttes
 Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes:

Abdelrazak OK? 

OK

JMarc


Re: [Patch] Release notes

2007-07-11 Thread Jean-Pierre Chrétien
Abdelrazak Younes [EMAIL PROTECTED] writes:


 +
 +cd /path/to/layouts
 +for l in *
 +do
 +  cp $l tmp.txt
 +  iconv -f latin1 -t utf8 tmp.txt -o $l
 +done
 +iconv -f latin1 -t utf8 tmp.txt -o $l

Seems that this last line should be deleted, or maybe
replaced by
rm tmp.txt

In fact, with a set of local layouts existing in 1.4.4 and needing
utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
lyx-1.5.0/layouts and do the conversion at the same time (including format
upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?

-- 
Jean-Pierre





Re: [Patch] Release notes

2007-07-11 Thread Abdelrazak Younes

Jean-Pierre Chrétien wrote:

Abdelrazak Younes [EMAIL PROTECTED] writes:


+
+cd /path/to/layouts
+for l in *
+do
+  cp $l tmp.txt
+  iconv -f latin1 -t utf8 tmp.txt -o $l
+done
+iconv -f latin1 -t utf8 tmp.txt -o $l


Seems that this last line should be deleted, or maybe
replaced by
rm tmp.txt


I've corrected that, thanks.



In fact, with a set of local layouts existing in 1.4.4 and needing
utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
lyx-1.5.0/layouts and do the conversion at the same time (including format
upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?


We could probably make this automatically yes. In Windows, that would be 
the job of the installer. On Linux there's the possibility to launch a 
post-install script IIRC. Dunno about Macs.
But note that this won't take care of layouts that are along the LyX 
files (distributed layout). Or is this not possible?


Abdel.



Re: [Patch] Release notes

2007-07-11 Thread Jean-Pierre Chrétien
Abdelrazak Younes [EMAIL PROTECTED] writes:


  In fact, with a set of local layouts existing in 1.4.4 and needing
  utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
  lyx-1.5.0/layouts and do the conversion at the same time (including format
  upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?
 
 We could probably make this automatically yes. In Windows, that would be 
 the job of the installer. On Linux there's the possibility to launch a 
 post-install script IIRC. Dunno about Macs.
 But note that this won't take care of layouts that are along the LyX 
 files (distributed layout). Or is this not possible?

We can assume that the distributed layouts will be in utf8 and
in the required format. Only user layouts have to be filtered.
Ans it that prospect it would be nice to have subdirs in the layouts dir
as we have for templates and examples (for site user layouts, I mean).

I think that automation cannot be complete, unless
layout2layout.py knows about it.

-- 
Jean-Pierre






Re: [Patch] Release notes

2007-07-11 Thread Bennett Helm

On Jul 11, 2007, at 11:00 AM, Abdelrazak Younes wrote:


In fact, with a set of local layouts existing in 1.4.4 and needing
utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
lyx-1.5.0/layouts and do the conversion at the same time  
(including format

upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?


We could probably make this automatically yes. In Windows, that  
would be the job of the installer. On Linux there's the possibility  
to launch a post-install script IIRC. Dunno about Macs.


I haven't been following this thread, but I could easily call another  
script from the LyX/Mac installer. Just tell me what I should do.


Bennett


Re: [Patch] Release notes

2007-07-11 Thread christian . ridderstrom

On Wed, 11 Jul 2007, Abdelrazak Younes wrote:


OK?


The text refers to LyX 1.4.4 in the beginning, should that be 1.4.5 
instead?


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [Patch] Release notes

2007-07-11 Thread José Matos
On Wednesday 11 July 2007 17:16:47 [EMAIL PROTECTED] wrote:
 The text refers to LyX 1.4.4 in the beginning, should that be 1.4.5
 instead?

 /C

  Yes. Feel free to fix issues like this. :-)

 --
 Christian Ridderström, +46-8-768 39 44              
 http://www.md.kth.se/~chr

-- 
José Abílio


[Patch] Release notes

2007-07-11 Thread Abdelrazak Younes

OK?
Index: RELEASE-NOTES
===
--- RELEASE-NOTES   (revision 19042)
+++ RELEASE-NOTES   (working copy)
@@ -1,5 +1,5 @@
 This file lists interface changes that might affect users in 1.5.0 and
-also some known problems in LyX 1.5.0rc2 that did not occur in
+also some known problems in LyX 1.5.0 that did not occur in
 1.4.4. Note that fixes are available for many of these, but they have
 not yet been applied because of incomplete testing.
 
@@ -10,9 +10,33 @@
 Some of the LyX functions have changed names :
 
 
-Known issues with version 1.5.0rc2
+Known issues with version 1.5.0
 
 
+- User layout files must be converted to UTF-8
+
+In previous version, layout styles were allowed to use non-ASCII names
+using the local encodings. LyX-1.5 now assumes that all layout files are
+UTF-8 encoded. This means that non-ASCII style names are still allowed
+but they nust be valid UTF-8 strings. One way of doing the conversion
+is to use iconv. Using bash, the script below should work:
+
+cd /path/to/layouts
+for l in *
+do
+  cp $l tmp.txt
+  iconv -f latin1 -t utf8 tmp.txt -o $l
+done
+iconv -f latin1 -t utf8 tmp.txt -o $l
+
+
+- Cursor restoration problems with Multiple-View
+
+When using multiple Windows to edit different parts of the
+same document, the cursor position is sometimes not correctly restored
+when you switch from one view to the other.
+
+
 Note: There may later be an updated list of known issues online at
http://wiki.lyx.org/LyX/ReleaseNotes
 


Re: [Patch] Release notes

2007-07-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> OK? 

OK

JMarc


Re: [Patch] Release notes

2007-07-11 Thread Jean-Pierre Chrétien
Abdelrazak Younes <[EMAIL PROTECTED]> writes:

>
> +
> +cd /path/to/layouts
> +for l in *
> +do
> +  cp $l tmp.txt
> +  iconv -f latin1 -t utf8 tmp.txt -o $l
> +done
> +iconv -f latin1 -t utf8 tmp.txt -o $l

Seems that this last line should be deleted, or maybe
replaced by
rm tmp.txt

In fact, with a set of local layouts existing in 1.4.4 and needing
utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
lyx-1.5.0/layouts and do the conversion at the same time (including format
upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?

-- 
Jean-Pierre





Re: [Patch] Release notes

2007-07-11 Thread Abdelrazak Younes

Jean-Pierre Chrétien wrote:

Abdelrazak Younes <[EMAIL PROTECTED]> writes:


+
+cd /path/to/layouts
+for l in *
+do
+  cp $l tmp.txt
+  iconv -f latin1 -t utf8 tmp.txt -o $l
+done
+iconv -f latin1 -t utf8 tmp.txt -o $l


Seems that this last line should be deleted, or maybe
replaced by
rm tmp.txt


I've corrected that, thanks.



In fact, with a set of local layouts existing in 1.4.4 and needing
utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
lyx-1.5.0/layouts and do the conversion at the same time (including format
upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?


We could probably make this automatically yes. In Windows, that would be 
the job of the installer. On Linux there's the possibility to launch a 
post-install script IIRC. Dunno about Macs.
But note that this won't take care of layouts that are along the LyX 
files (distributed layout). Or is this not possible?


Abdel.



Re: [Patch] Release notes

2007-07-11 Thread Jean-Pierre Chrétien
Abdelrazak Younes <[EMAIL PROTECTED]> writes:


> > In fact, with a set of local layouts existing in 1.4.4 and needing
> > utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
> > lyx-1.5.0/layouts and do the conversion at the same time (including format
> > upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?
> 
> We could probably make this automatically yes. In Windows, that would be 
> the job of the installer. On Linux there's the possibility to launch a 
> post-install script IIRC. Dunno about Macs.
> But note that this won't take care of layouts that are along the LyX 
> files (distributed layout). Or is this not possible?

We can assume that the distributed layouts will be in utf8 and
in the required format. Only user layouts have to be filtered.
Ans it that prospect it would be nice to have subdirs in the layouts dir
as we have for templates and examples (for site user layouts, I mean).

I think that automation cannot be complete, unless
layout2layout.py knows about it.

-- 
Jean-Pierre






Re: [Patch] Release notes

2007-07-11 Thread Bennett Helm

On Jul 11, 2007, at 11:00 AM, Abdelrazak Younes wrote:


In fact, with a set of local layouts existing in 1.4.4 and needing
utf8 conversion, it's possible to copy from lyx-1.4.4/layouts to
lyx-1.5.0/layouts and do the conversion at the same time  
(including format

upgrade). A bit complicated (assumes lyx-1.4.4 and lyx-1.5.0 dirs) ?


We could probably make this automatically yes. In Windows, that  
would be the job of the installer. On Linux there's the possibility  
to launch a post-install script IIRC. Dunno about Macs.


I haven't been following this thread, but I could easily call another  
script from the LyX/Mac installer. Just tell me what I should do.


Bennett


Re: [Patch] Release notes

2007-07-11 Thread christian . ridderstrom

On Wed, 11 Jul 2007, Abdelrazak Younes wrote:


OK?


The text refers to LyX 1.4.4 in the beginning, should that be 1.4.5 
instead?


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: [Patch] Release notes

2007-07-11 Thread José Matos
On Wednesday 11 July 2007 17:16:47 [EMAIL PROTECTED] wrote:
> The text refers to LyX 1.4.4 in the beginning, should that be 1.4.5
> instead?
>
> /C

  Yes. Feel free to fix issues like this. :-)

> --
> Christian Ridderström, +46-8-768 39 44              
> http://www.md.kth.se/~chr

-- 
José Abílio