Re: [PATCH] fix several *GOTO* lfuns (bugs 1787, 616, 781 and 835).

2005-02-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
 It would be nice to have some testing before committing it.

I couldn't detect any problems that result from the patch. I wondered, though, 
why we don't introduce a general lfun inset-next type (at least for the 
ones with same_content = false). That would simplify the code and even let 
the user search for other insets via minibuffer.

While testing, I have detected an independent problem:
If you insert a label into an inset, it gets listed twice in the reference 
dialog browser (and one more time for each nesting level). Seems that it gets 
added to the inset list on each lyxtext level again.

Regards,
Jürgen


Re: Cursor inside insets patch

2005-02-21 Thread John Levon
On Sun, Feb 20, 2005 at 07:08:38PM +0100, Juergen Spitzmueller wrote:

 P.S.: Why don't you just adjust it yourself?

I was soliciting for opinions... I'll test this later

john


Re: tex2lyx on the wiki

2005-02-21 Thread G. Milde
On 16.02.05, Angus Leeming wrote:
 I've uploaded windows and fedora core 3 versions of tex2lyx to the wiki:
 http://wiki.lyx.org/LaTeX/LatexToLyx
 I've also uploaded a little script to automate the generation of these
 packages. I'd be interested if someone else, using another distribution,
 could use this script too. 

I'd try to get tex2lyx for Debian. Is there some quick guide how to get the
CVS sources (with cvs already installed).

Günter


-- 
G.Milde web.de


Re: tex2lyx on the wiki

2005-02-21 Thread Angus Leeming
G. Milde wrote:

 On 16.02.05, Angus Leeming wrote:
 I've uploaded windows and fedora core 3 versions of tex2lyx to the wiki:
 http://wiki.lyx.org/LaTeX/LatexToLyx
 I've also uploaded a little script to automate the generation of these
 packages. I'd be interested if someone else, using another distribution,
 could use this script too.
 
 I'd try to get tex2lyx for Debian. Is there some quick guide how to get
 the CVS sources (with cvs already installed).
 
 Günter

See http://www.devel.lyx.org/cvs.php3

It should be as easy as:

$ cvs -d:pserver:[EMAIL PROTECTED]:/cvs/lyx login
The password is lyx
$ cvs -d:pserver:[EMAIL PROTECTED]:/cvs/lyx checkout -d devel
lyx-devel

which will install the LyX cvs tree in a directory 'devel'. Thereafter,

$ cd devel
$ sh make_tex2lyx_dist.sh .

should build the package (where the script is to be found on the wiki
page.)

-- 
Angus



Re: Small GUI changes Update for de.po 1.3

2005-02-21 Thread Jean-Marc Lasgouttes
 Michael == Michael Schmitt [EMAIL PROTECTED] writes:

Michael Hmmm, nobody seems to object.

Michael So could you please commit the patch? I'll prepare a 1.4.0
Michael patch later today.

I applied it, along with the 1.4.0 version you sent privately to me.

JMarc


Re: [PATCH] fix several *GOTO* lfuns (bugs 1787, 616, 781 and 835).

2005-02-21 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen Jean-Marc Lasgouttes wrote:
 It would be nice to have some testing before committing it.

Juergen I couldn't detect any problems that result from the patch. 

Lars, can I commit it?

Juergen I wondered, though, why we don't introduce a general lfun
Juergen inset-next type (at least for the ones with same_content
Juergen = false). That would simplify the code and even let the user
Juergen search for other insets via minibuffer.

The problem is that we have no real place where a name can be found
for an inset. We have inset::getName, but it seems that few insets set
it.

Juergen While testing, I have detected an independent problem: If you
Juergen insert a label into an inset, it gets listed twice in the
Juergen reference dialog browser (and one more time for each nesting
Juergen level). Seems that it gets added to the inset list on each
Juergen lyxtext level again.

I'll have a look.

JMarc


Re: Turkish translation

2005-02-21 Thread Jean-Marc Lasgouttes
 Gürer == Gürer Özen [EMAIL PROTECTED] writes:

 Do you want me to take your translation in cvs for now? We do not
 have a turkish translation distributed now, because it was out of
 date. We normally have a policy of keeping only language with half
 messages translated, but we can make an exception if you are
 committed to update it.

Gürer I would be glad. This was a quick translation for our deadline.
Gürer I'm going to checkout the cvs code and update the po file next
Gürer week. I'll be able to keep it up to date for next versions too.

Hello,

Did you make progress in that update? I just wanted to point out that,
if you checkout cvs, the 1.3.x versions are in BRANCH_1_3_X.

JMarc


Re: [PATCH] fix captions labelstring

2005-02-21 Thread Jean-Marc Lasgouttes
 Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

Jean-Marc The following patch modifies updateCounters to recompute
Jean-Marc the counters recursively for the whooe document everytime.
Jean-Marc As expected, this is _very_ expensive on a file like
Jean-Marc UserGuide. The profiler says that DocIterator::forwardPos
Jean-Marc is to blame.

To be more precise, 96% of the time spent in updateCounters is due to
ParIterator::operator++(int). 


Jean-Marc To make this faster, I think DocIterator::forwardPar should
Jean-Marc take advantage of the inset list of paragraphs. This is the
Jean-Marc only way to avoid visiting all cursor positions... So each
Jean-Marc cursor slice should keep an up to date InsetList::iterator.

Andre', Alfredo, do you know how to do this?

JMarc


Re: [PATCH] fix several *GOTO* lfuns (bugs 1787, 616, 781 and 835).

2005-02-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
 Juergen I wondered, though, why we don't introduce a general lfun
 Juergen inset-next type (at least for the ones with same_content
 Juergen = false). That would simplify the code and even let the user
 Juergen search for other insets via minibuffer.

 The problem is that we have no real place where a name can be found
 for an inset. We have inset::getName, but it seems that few insets set
 it.

I see. Probably something for 1.5.

 Juergen While testing, I have detected an independent problem: If you
 Juergen insert a label into an inset, it gets listed twice in the
 Juergen reference dialog browser (and one more time for each nesting
 Juergen level). Seems that it gets added to the inset list on each
 Juergen lyxtext level again.

 I'll have a look.

Thanks,

Jürgen


Re: Another bug of tex2lyx

2005-02-21 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg Am Samstag, 19. Februar 2005 13:38 schrieb Paul Smith:
 Dear All
 
 I am sending you another example showing a bug of tex2lyx. Please,
 recall that I am not a subscriber of your list.

Georg This is in fact a bug of LyX: \| after \left or \right in
Georg mathed is parsed as |. The attached patch fixes that. OK to
Georg apply?

If Andre' OK's this, I'd like to see it in 1.3.x too (i it makes
sense).

The patch look fine to me. The code in math_deliminset.C is sadly not
able to handle both | and \|. Isn't this a case where we should be
able to add
  \def\|{\Vert}
in lib/symbols and let mathed do its magic?

JMarc


[patch] fix bug 1821

2005-02-21 Thread Georg Baum
See http://bugzilla.lyx.org/show_bug.cgi?id=1821


GeorgIndex: lib/doc/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/ChangeLog,v
retrieving revision 1.23
diff -u -p -r1.23 ChangeLog
--- lib/doc/ChangeLog	8 Feb 2005 15:26:43 -	1.23
+++ lib/doc/ChangeLog	21 Feb 2005 11:21:04 -
@@ -1,3 +1,7 @@
+2005-02-21  Georg Baum  [EMAIL PROTECTED]
+
+	* de_UserGuide.lyx: correct documentation of \vec (fixes bug 1821)
+
 2005-02-08  Jean-Marc Lasgouttes  [EMAIL PROTECTED]
 
 	* Extended.lyx: update aastex description (from Mike Ressler)
Index: lib/doc/de_UserGuide.lyx
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/de_UserGuide.lyx,v
retrieving revision 1.1
diff -u -p -r1.1 de_UserGuide.lyx
--- lib/doc/de_UserGuide.lyx	1 Jun 2004 19:50:11 -	1.1
+++ lib/doc/de_UserGuide.lyx	21 Feb 2005 11:21:07 -
@@ -18949,7 +18949,7 @@ bar
 
 \layout Standard
 
-vector
+vec
 \end_inset 
 /cell
 cell alignment=center valignment=top topline=true bottomline=true leftline=true rightline=true usebox=none


Re: Two tex2lyx counterexamples

2005-02-21 Thread Georg Baum
Angus Leeming wrote:

 Georg Baum wrote:
 The file subequations.tex shows that André forgot to increase the file
 format when he added support for eqref to insetref. The attached patch
 adds the missing conversion in lyx2lyx.
 OK to apply?
 
 Not only OK, but essential.

It is in now.


Georg



Re: Another bug of tex2lyx

2005-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

 If Andre' OK's this, I'd like to see it in 1.3.x too (i it makes
 sense).

IMHO it makes sense for 1.3 if it makes sense for 1.4.

 The patch look fine to me. The code in math_deliminset.C is sadly not
 able to handle both | and \|. Isn't this a case where we should be
 able to add
   \def\|{\Vert}
 in lib/symbols and let mathed do its magic?

Good idea. I tried that, and unfortunately it does not work. I guess the
reason is that the \def machinery comes into play only after the stuff is
parsed already, and then it is too late.


Georg



Re: Two tex2lyx counterexamples

2005-02-21 Thread Georg Baum
Paul Smith wrote:

 Dear All
 
 I am sending you two examples showing some problems with tex2lyx.
 Please, be aware that I am not a subscriber of your list.

Paul,

many thanks for your bug reports. They all showed real problems, although not 
all in tex2lyx.
The pstricks example is not that easy. You did not use \begin{psmatrix}...
\end{psmatrix}, but the raw TeX form \psmatrix...\endpsmatrix. The latter 
form is more difficult to parse and will probably not be supported by tex2lyx 
for some time.


Georg


PS: Please use the news-mailinglist interface at http://gmane.org to look at 
the devel mailing list. The group name is gmane.editors.lyx.devel. Then you 
won't miss an answer if we don't CC: you all the time.


Re: Another bug of tex2lyx

2005-02-21 Thread Andre Poenitz
On Sun, Feb 20, 2005 at 01:14:09PM +0100, Georg Baum wrote:
 Am Samstag, 19. Februar 2005 13:38 schrieb Paul Smith:
  Dear All
  
  I am sending you another example showing a bug of tex2lyx. Please,
  recall that I am not a subscriber of your list.
 
 This is in fact a bug of LyX: \| after \left or \right in mathed is parsed 
 as |. The attached patch fixes that. OK to apply?

Ok if it works.

[Well, if this could also be solved by adding someting to deliminset
instead of the parser, I'd bprefer that]

Andre'


Re: [andre.poenitz-H0bhvm5RIPI+B2oLq8eQJv4efur1V5z/s0AfqQuZ5sE-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org: Re: [Bug 1798] New: cursor looks like it's outside of an inset]

2005-02-21 Thread Andre Poenitz
On Sun, Feb 20, 2005 at 02:21:33AM +, John Levon wrote:
 On Fri, Feb 18, 2005 at 09:23:43PM +0100, Andre Poenitz wrote:
 
Ok, then at least the --x; should have a comment on it.
   
   See attached. Committing now.
   
   André, I hope your cvs troubles are solved soon. I am not going to write 
   comments and changelogs for you forever ;-)
  
  No? 
  
  Why?
 
 I'd rather people consider my complaints about the commit...

Didn't you say 'better, but not perfect'? If so, committing the thing
seems to be an improvement.

Andre'


Re: [PATCH] fix captions labelstring

2005-02-21 Thread Andre Poenitz
On Mon, Feb 21, 2005 at 12:03:55AM +0100, Jean-Marc Lasgouttes wrote:
 Jean-Marc Lasgouttes wrote:
 The situation with counters is still very bad: captions in floats do not
 have a label when loading a file. Also, updateCounters renumbers the
 whole lyxtext without trying to go into nested insets. I suspect that
 all paragraphs will have to be visited at each updatecounters, but I am
 not sure how expensive this is going to be...
 
 The following patch modifies updateCounters to recompute the counters
 recursively for the whooe document everytime. As expected, this is
 _very_ expensive on a file like UserGuide. The profiler says that
 DocIterator::forwardPos is to blame.
 
 To make this faster, I think DocIterator::forwardPar should take 
 advantage of the inset list of paragraphs. This is the only way to avoid
 visiting all cursor positions... So each cursor slice should keep
 an up to date InsetList::iterator. This is too much work for me right 
 now, though...

I think replacing 

void DocIterator::forwardPar()
{
forwardPos();
while (!empty()  (!inTexted() || pos() != 0))
forwardPos();
}

with something more sensible would be better. Most likely a cutpaste
job from forwardPos, but not stepping over all characters, but only over
insets.

Andre'


Re: Another bug of tex2lyx

2005-02-21 Thread Georg Baum
Am Montag, 21. Februar 2005 09:11 schrieb Andre Poenitz:
 Ok if it works.

 [Well, if this could also be solved by adding someting to deliminset
 instead of the parser, I'd bprefer that]

I wanted to do that first, but it turned out that the change would be much 
bigger, and I want a minimal change. The problem is that deliminset does not 
store the backslash, only |, Vref etc. I don't know the reason for that. If 
it is ok for you to change deliminset to store the backslash I can as well do 
that.


Georg


Re: [PATCH] Change tracking hacking

2005-02-21 Thread Juergen Spitzmueller
Johnathan Burchill wrote:
 I've attached the bug fix. There's no point in providing the
 break-paragraph patch until it's fully functional. If you want to play with
 it, see my first attachment in this thread. Whether or not you want to
 implement the functionality in 1.4.0, I'll work on it in the meantime, and
 provide patches as she goes.

I can confirm that it fixes bug 1277, most importantly the crash. Good work.
It has, however, one remaining glitch:

1. new document
2. insert text: word1 word2 word3 footnote
3. Track changes
4. cut the footnote and paste it at the beginning of the par
5. Cut word3 and paste it at the beginning of the par
6. cut word 2 and paste it at the beginning of the par
7. cut word 1 and paste it at the beginning of the par

= The erased text is beginning to get marked inserted or unchanged.

Jürgen


Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
tex2lyx pulls in a few files in the src/ directory together with the 
src/support library. I reckon that changing the license of tex2lyx to the 
GPL will require the agreement of these people:

Alejandro Aguilar Sierra
Alfredo Braunstein
André Pönitz
Angus Leeming
Asger Alstrup
Baruch Even
Claus Hentschel
Dirk Niggemann
Georg Baum
Herbert Voß
Ivan Schreter
Jean-Marc Lasgouttes
John Levon
João Luis M. Assirati
Jürgen Vigna
Lars Gullik Bjønnes
Martin Vermeer
Matthias Ettrich
Ruurd A. Reitsma

That's based on the '\author' field in the header of each file.

As a first step, shall I drop off an email to all those people listed in 
the CREDITS file explaining that we'd like to use the GPL without this 
great big hole in it?

Is this a good idea, or shall I just drop the whole thing?

Perhaps we should have a page analogous to
http://www.boost.org/more/blanket-permission.txt
where we keep a record of those people that are happy with a change in 
licence. Something like:

The following people hereby grant permission to replace all existing
licenses on their contributions to LyX with the Gnu General Public License 
version 2 or later.

-- 
Angus





Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
tex2lyx pulls in a few files in the src/ directory together with the 
src/support library. I reckon that changing the license of tex2lyx to the 
GPL will require the agreement of these people:

Alejandro Aguilar Sierra
Alfredo Braunstein
André Pönitz
Angus Leeming
Asger Alstrup
Baruch Even
Claus Hentschel
Dirk Niggemann
Georg Baum
Herbert Voß
Ivan Schreter
Jean-Marc Lasgouttes
John Levon
João Luis M. Assirati
Jürgen Vigna
Lars Gullik Bjønnes
Martin Vermeer
Matthias Ettrich
Ruurd A. Reitsma

That's based on the '\author' field in the header of each file.

As a first step, shall I drop off an email to all those people listed in 
the CREDITS file explaining that we'd like to use the GPL without this 
great big hole in it?

Is this a good idea, or shall I just drop the whole thing?

Perhaps we should have a page analogous to
http://www.boost.org/more/blanket-permission.txt
where we keep a record of those people that are happy with a change in 
licence. Something like:

The following people hereby grant permission to replace all existing
licenses on their contributions to LyX with the Gnu General Public License 
version 2 or later.

-- 
Angus





Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread John Levon
On Mon, Feb 21, 2005 at 02:05:02PM +, Angus Leeming wrote:

 tex2lyx pulls in a few files in the src/ directory together with the 
 src/support library. I reckon that changing the license of tex2lyx to the 
 GPL will require the agreement of these people:

 Perhaps we should have a page analogous to
 http://www.boost.org/more/blanket-permission.txt
 where we keep a record of those people that are happy with a change in 
 licence. Something like:
 
 The following people hereby grant permission to replace all existing
 licenses on their contributions to LyX with the Gnu General Public License 
 version 2 or later.

I grant permission to license any and all contributions I've made to
LyX under the Gnu GPL version 2 or later.

regards
john


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Asger Alstrup
I grant permission to license any and all contributions I've made to LyX 
under any open source license.

Regards,
Asger


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
John Levon wrote:

 On Mon, Feb 21, 2005 at 02:05:02PM +, Angus Leeming wrote:
 
 tex2lyx pulls in a few files in the src/ directory together with the
 src/support library. I reckon that changing the license of tex2lyx to
 the GPL will require the agreement of these people:
 
 Perhaps we should have a page analogous to
 http://www.boost.org/more/blanket-permission.txt
 where we keep a record of those people that are happy with a change in
 licence. Something like:
 
 The following people hereby grant permission to replace all existing
 licenses on their contributions to LyX with the Gnu General Public
 License version 2 or later.
 
 I grant permission to license any and all contributions I've made to
 LyX under the Gnu GPL version 2 or later.

Well, if you can do that, then so can I ;-)

I grant permission to license any and all contributions I've made to LyX 
under the Gnu GPL version 2 or later.

If people post such statements to the list then I'll keep a record of them 
in a file blanket-permissions.txt in the www-users tree.

Angus




Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread John Levon
On Mon, Feb 21, 2005 at 03:33:23PM +0100, Asger Alstrup wrote:

 I grant permission to license any and all contributions I've made to LyX 
 under any open source license.

I think you shouuld be a bit more specific (at least, any current and
future licenses accepted as open source by the OSI)

john


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Asger Alstrup
John Levon wrote:
On Mon, Feb 21, 2005 at 03:33:23PM +0100, Asger Alstrup wrote:
I grant permission to license any and all contributions I've made to LyX 
under any open source license.
I think you shouuld be a bit more specific (at least, any current and
future licenses accepted as open source by the OSI)
In Denmark, the legal system works in a way where the intent of the 
statement and the context is taken into account when judging a statement in 
a court, so it is strictly not necessary to be more specific.

But I understand that the American and English legal system is different, 
so explicitly, I grant permission to license any and all contributions I've 
made to LyX under the GPL, version 2, or any other current or future 
license accepted as open source by the OSI.

Regards,
Asger


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
Asger Alstrup wrote:

 John Levon wrote:
 On Mon, Feb 21, 2005 at 03:33:23PM +0100, Asger Alstrup wrote:
I grant permission to license any and all contributions I've made to LyX
under any open source license.
 
 I think you shouuld be a bit more specific (at least, any current and
 future licenses accepted as open source by the OSI)
 
 In Denmark, the legal system works in a way where the intent of the
 statement and the context is taken into account when judging a statement
 in a court, so it is strictly not necessary to be more specific.
 
 But I understand that the American and English legal system is different,
 so explicitly, I grant permission to license any and all contributions
 I've made to LyX under the GPL, version 2, or any other current or future
 license accepted as open source by the OSI.

Thanks, Asger. I've added a file
http://www.lyx.org/blanket-permission.txt
to record those who are willing to license their contributions to LyX 
under the Gnu GPL, version 2 or later. So far there are four of us ;-)

-- 
Angus



Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Juergen Vigna
The same for me!
Regards,
  Jürgen
Asger Alstrup wrote:
I grant permission to license any and all contributions I've made to LyX 
under any open source license.

Regards,
Asger

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._


bugzilla problem

2005-02-21 Thread Ralf Goertz
Hi,

I don't know who I could ask about this, so I try it here. I wanted to change 
the email address I gave for my account on LyX-bugzilla. I did this using the 
prefs dialog. Then I got the message that to both my new and my old address 
an email was sent for confirmation. However, I never got the email on my new 
address probably because my old address does not exist anymore. So the 
pending change request expired. I tried it once more with the same result. 
Who can I ask to do the change manually?

Thanks,

Ralf


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
Juergen Vigna wrote:

 The same for me!
 Regards,
Jürgen

Wooo! Jürgen! It's good to see a message from you! How's life in Italy?

Angus

 Asger Alstrup wrote:
 I grant permission to license any and all contributions I've made to LyX
 under any open source license.
 
 Regards,
 Asger




Re: Another bug of tex2lyx

2005-02-21 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg Jean-Marc Lasgouttes wrote:
 If Andre' OK's this, I'd like to see it in 1.3.x too (i it makes
 sense).

Georg IMHO it makes sense for 1.3 if it makes sense for 1.4.

Could you make a patch?

JMarc



Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Georg Baum
Angus Leeming wrote:

 Thanks, Asger. I've added a file
 http://www.lyx.org/blanket-permission.txt
 to record those who are willing to license their contributions to LyX
 under the Gnu GPL, version 2 or later. So far there are four of us ;-)

Now five:

I grant permission to license any and all contributions I've made to LyX
under the Gnu GPL version 2 or later.


Georg



Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Perhaps we should have a page analogous to
Angus http://www.boost.org/more/blanket-permission.txt where we keep
Angus a record of those people that are happy with a change in
Angus licence. Something like:

I grant permission to license any and all contributions I've made to
LyX under the Gnu GPL version 2 or later.

JMarc


Re: bugzilla problem

2005-02-21 Thread Jean-Marc Lasgouttes
 Ralf == Ralf Goertz [EMAIL PROTECTED] writes:

Ralf Hi, I don't know who I could ask about this, so I try it here. I
Ralf wanted to change the email address I gave for my account on
Ralf LyX-bugzilla. I did this using the prefs dialog. Then I got the
Ralf message that to both my new and my old address an email was sent
Ralf for confirmation. However, I never got the email on my new
Ralf address probably because my old address does not exist anymore.
Ralf So the pending change request expired. I tried it once more with
Ralf the same result. Who can I ask to do the change manually?

Is [EMAIL PROTECTED] your new address? I think I can change it.

JMarc


Re: Another bug of tex2lyx

2005-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

 Could you make a patch?

I'll make one when André has answered my question concerning changing
math_deliminset instead of math_parser.


Georg



Re: [PATCH] fix captions labelstring

2005-02-21 Thread Jean-Marc Lasgouttes
 Andre == Andre Poenitz [EMAIL PROTECTED] writes:

Andre I think replacing DocIterator::forwardPar() [...]
Andre with something more sensible would be better. Most likely a
Andre cutpaste job from forwardPos, but not stepping over all
Andre characters, but only over insets.

Yes, but forwardPos scares me...

JMarc


Re: [PATCH] Change tracking hacking

2005-02-21 Thread Johnathan Burchill
On Monday 21 February 2005 07:08, you wrote:
 Johnathan Burchill wrote:
  I've attached the bug fix. There's no point in providing the
  break-paragraph patch until it's fully functional. If you want to play
  with it, see my first attachment in this thread. Whether or not you want
  to implement the functionality in 1.4.0, I'll work on it in the meantime,
  and provide patches as she goes.

 I can confirm that it fixes bug 1277, most importantly the crash. Good
 work. It has, however, one remaining glitch:

 1. new document
 2. insert text: word1 word2 word3 footnote
 3. Track changes
 4. cut the footnote and paste it at the beginning of the par
 5. Cut word3 and paste it at the beginning of the par
 6. cut word 2 and paste it at the beginning of the par
 7. cut word 1 and paste it at the beginning of the par

 = The erased text is beginning to get marked inserted or unchanged.

 Jürgen

The simplest way to reproduce it is:
2. insert a.
3. track changes.
4. cut a and paste it at the beginning of the par
5. paste a at beginning again.
6. paste a at beginning again --- problem appears (4 a's all marked 
inserted).

It seems to be a problem with the change-tracking range code. Here is the 
changelist in the final state (from lyx -dbg changes):

Range of type 1 is 0,4 author 0 time 0
Range of type 2 is 4,5 author 0 time 0

It should be type 1 over 0,3 and type 2 over 3,4. So the deleted a is 
marked, but it's at position 4 in the change table_, while the actual a is 
at position 3.

JB

-- 
Johnathan K. Burchill, Ph.D.
[EMAIL PROTECTED]


pgpNVFTpXua4N.pgp
Description: PGP signature


Found another bug of tex2lyx

2005-02-21 Thread Paul Smith
Dear All

I am sending you another example showing a bug of tex2lyx. Please,
recall that I am not a subscriber of your list.

Regards,

Paul


boxed_equation.tex
Description: TeX document


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Juergen Vigna
Angus Leeming wrote:
Juergen Vigna wrote:

The same for me!
Regards,
  Jürgen

Wooo! Jürgen! It's good to see a message from you! How's life in Italy?
Very busy! #:O)
Anyway I follow the mailinglist by reading Subjects, but I don't find
more time than this for the moment.
Have fun,
Jürgen
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._


[PATCH] CREDITS?

2005-02-21 Thread Angus Leeming
CREDITS is missing the email addresses of only a few people. I've grabbed 
the missing addresses for
Graham Biswell
Christian Buescher
Robert van der Kamp
Geoffrey Piroux
Alkis Polyzotis
Hubert Schreier
Eulogio Serradilla Rodríguez
either by trawling the lyx lists or, as a last resort, by googling for 
'em. That leaves only Bernhard Psaier (Designer of the LyX-Banner) without 
an email address.

Of course, the ones we have aren't necessarily valid anymore, but they're 
a start.

Is there any reason why I shouldn't add these addresses (patch attached) 
to the CREDITS file?

-- 
Angus

CREDITS.diff.gz
Description: GNU Zip compressed data


Re: [PATCH] CREDITS?

2005-02-21 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Is there any reason why I shouldn't add these addresses (patch
Angus attached) to the CREDITS file?

No, why not.

JMarc


Re: [PATCH] CREDITS?

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 17:21, Angus Leeming wrote:
  That leaves only Bernhard Psaier (Designer of the LyX-Banner) without
 an email address.

  Ask Jrgen (Vigna) I thinks that we knows him. :-)

-- 
Jos Ablio


Re: tex2lyx for windows update

2005-02-21 Thread Jean-Marc Lasgouttes
 Georg == Georg Baum [EMAIL PROTECTED] writes:

Georg An alternative that is also sensible IMHO is to create the
Georg normal output and let latex export fail if the file is missing.
Georg Normally this means that something is wrong, and if somebody
Georg includes a graphic without actually having the file on purpose
Georg he could as well put this inside a comment box. I did run into
Georg this situation several times already when I copied the document
Georg and forgot to copy the figures. If the latex export would fail
Georg one could detect such situations more easily.

Indeed. Moreover, it is possible to insert errors in the error
browser, so that people can have a look at them.

JMarc


Re: Where is the LaTeX errors dialog?

2005-02-21 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Jean-Marc Lasgouttes wrote:
  When I have errors in latex, the nice errors dialog pops up. If I
 close it, how can I get it back? I cannot find it in the menus.
 
 Where should it be added? Tools? Documents? View?

Angus It looks like the same dialog is used for multiple different
Angus cases:

Yes, but would it make sense to be able to show it independently, in
your opinion?

Angus Related question. Is errorlist_ *really* a member of the
Angus BufferView and not LyXText or Buffer? Seems to me that this is
Angus a throw-back to the days of InsetError.

errorlist_ is the GUI part, and we have nice signals to build it from
buffer. 

LyXText would definitely be a bad idea, since the error list is
buffer(view) centric.

JMarc


Re: Some bugs

2005-02-21 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John 3. Button insets are still not centred. I think someone closed
John this bug. It needs re-opening.

What do you mean by not centered? I can see that the include inset can
behave in a very weird way if one use enter just after it, though.

John 8. (usability issue) - minipage is just way too hard to find. We
John might consider a submenu for 'Box' that has Minipage,
John Parbox, Framed Box etc.

We used to have that, and I removed it... Is minipage such a useful
beast to warrant menu bloat, apart from the fact that we are used to
see it?

John 11. Creating a new figure float, the 'Figure #:' of the caption
John is only seen on pressing return

I am not sure where this one comes from.

John 12. Lars's on-screen translated things like 'Part' etc. are
John broken. I get 'Teil' in the DVI and not on screen.

As I commented in bugzilla, there are several solutions, but the core
functionality works.

John 14. The footnote in the User Guide (first one) is inheriting the
John font from its containing paragraph. Not good ...

Not good indeed.

John 15. Right Address is (predictably enough) broken

I think the current behaviour is what we decided to be 'good enough'.
What I would suggest is some nice drawing (but what?) in the margin
suggesting that the text is as much on the right as possible. This
dubious feature did not deserve the complicated code to support it.

JMarc


ACM SIG Proceedings Format Layout

2005-02-21 Thread Luke Simon
People have asked for it before as it is commonly used, but for some
reason doesn't have a .layout included in LyX.  I simply modified
IEEETran.layout according to the ACM SIG Proceedings Format author
guidelines.  Mainly I changed it to two column format, changed some of
the environments to be declared as \newdef as opposed to \newtheorem as
mandated by the guidelines, and I changed the label strings for
environments from ending with #: to #., which more closely matches
the ACM format.

I might have left some things out, but initial testing seems to show
that it works good enough for a paper that includes a varied mix of
environments.

One aspect that is lacking in both IEEETran.layout and therefore the
layout that I made is multiple author affiliations.  I am not sure how
to do this correctly in the layout or if it is even supported by LyX.
Currently I just use a free TeX LyX environment to embed the correct
code to make things work in the case of multiple affiliations.  Any
ideas on a better solution are welcome.

Almost forgot to attach the layout.  Feel free to modify/whatever this
layout as it is just a modification of the LyX team's file, and please
if you have any suggestions for improvement, let me know.

As far as the LyX devs are concerned, please considering including this
or some other implemenation of an ACM layout in the default LyX distro.
Also, why aren't IEEETran.cls, elsart.cls, and other class files
included with the default distro?  If their layouts are included by
default, then their class files should also be included, in my opinion.

Thanks again for the great application.  I find it to be useful and fun
to use (yes this is nerdy).

-luke
#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass[acm_proc_article-sp]{ACM SIG Proceedings}
# Based on IEEEtran.layout
#
# Author : Luke Simon [EMAIL PROTECTED]
#
# acm_proc_article-sp is the class used for the ACM SIG Proceedings format.
# The on-screen display in LyX is set to reflect the appearance of two column
# text.  The section counters appear correctly in the output but are
# in arabic numerals in LyX -- this requires some additional code in LyX
# to get right (maybe LyX-2.0 ;-).
#
# acm_proc_article-sp.cls can be obtained from
# http://www.acm.org/sigs/pubs/proceed/template.html
#
# Input general definitions

Columns 2
Sides   1
MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3

ClassOptions
  FontSize  9|10|11|12
End  

DefaultFont
  FamilyRoman
  SeriesMedium
  Shape Up
  Size  Normal
  Color None
EndFont

# Standard style definition
Style Standard
  MarginStatic
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Block
  AlignPossible Block, Left, Right, Center
  LabelType No_Label
End

##
## stdlists
##
Input stdlists.inc

# 
# First cut at theorem environment support.
# What other theorem-like environments are needed?
# How many of these should be discarded?
# I got this list from amsmaths*.inc but I haven't
# found an official list of theorem environments for
# IEEE Transactions.
# OH!  and all theorems are numbered.  Is that a problem?
# Tell me:  [EMAIL PROTECTED]
#
# Theorem-numbered style *Template* declaration
Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Shape   Italic
  EndFont
End

# Proof style declaration
Style Proof
  CopyStyle TheoremTemplate
  LatexName proof
  LabelString   PROOF.
  EndLabelType  Filled_Box
End

# Theorem-numbered style declaration
Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   Theorem #.

  Preamble
\newtheorem{theorem}{Theorem}
  EndPreamble
End  

# Lemma-numbered style declaration
Style Lemma
  CopyStyle TheoremTemplate
  LatexName lemma
  LabelString   Lemma #.

  Preamble
\newtheorem{lemma}{Lemma}
  EndPreamble
End  

# Corollary-numbered style declaration
Style Corollary
  CopyStyle TheoremTemplate
  LatexName corollary
  LabelString   Corollary #.

  Preamble
\newtheorem{corollary}{Corollary}
  EndPreamble
End

# Proposition-numbered style declaration
Style Proposition
  CopyStyle TheoremTemplate
  LatexName proposition
  LabelString   Proposition #.

  Preamble
\newtheorem{proposition}{Proposition}
  EndPreamble
End  

# Conjecture-numbered style declaration
Style Conjecture
  CopyStyle  

Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Juergen Spitzmueller
Juergen Vigna wrote:
 #:O)

Now this is what I have really missed ;-)

Regards,
Jürgen


Re: Some bugs

2005-02-21 Thread John Levon
On Mon, Feb 21, 2005 at 06:47:15PM +0100, Jean-Marc Lasgouttes wrote:

 John 3. Button insets are still not centred. I think someone closed
 John this bug. It needs re-opening.
 
 What do you mean by not centered? I can see that the include inset can
 behave in a very weird way if one use enter just after it, though.

Physically on the screen: e.g. TOC button is not in the middle of the
workarea.

 John 8. (usability issue) - minipage is just way too hard to find. We
 John might consider a submenu for 'Box' that has Minipage,
 John Parbox, Framed Box etc.
 
 We used to have that, and I removed it... Is minipage such a useful
 beast to warrant menu bloat, apart from the fact that we are used to
 see it?

Well, personally I used minipage quite often, and from reports of users
etc. it seems quite a lot of them do too. Maybe, it's not.

 John 15. Right Address is (predictably enough) broken
 
 I think the current behaviour is what we decided to be 'good enough'.
 What I would suggest is some nice drawing (but what?) in the margin
 suggesting that the text is as much on the right as possible. This
 dubious feature did not deserve the complicated code to support it.

I don't know, but I agree that the old right address code was a
nightmare

john


The added space patch

2005-02-21 Thread John Levon

There's still one regression from 1.3.x I found: clicking on the space
to the right of a full line will place the cursor on the next line, not
the end of the current line.

john


ACM Layout Problems

2005-02-21 Thread Luke Simon
I am trying to create an ACM proceedings layout by modifying the
IEEETran.layout, and I am having a problem with citations.  For some
reason, \usepackage{babel} causes the following error when trying to
view a DVI preview:

--
Use of [EMAIL PROTECTED] doesn't match its definition.
...
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.
--

I am having trouble figuring out why this is happening and would prefer
to have the layout tell LyX not to include \usepackage{babel}.  Is it
possible to do so?  I can't figure out how to control what is included
and what is not.

Furthermore, even though in the layout, I have specified that ACM
documents are 2 column, this settings and others are not used by default
and instead must be loaded by clicking the Use Class Defaults button.
Is there a way to force the settings to be used without having to click
this button?

Below is my layout file so far:
--

#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass[acm_proc_article-sp]{ACM SIG Proceedings}
# Based on IEEEtran.layout
#
# Author : Luke Simon [EMAIL PROTECTED]
#
# acm_proc_article-sp is the class used for the ACM SIG Proceedings
format.
# The on-screen display in LyX is set to reflect the appearance of two
column
# text.  The section counters appear correctly in the output but are
# in arabic numerals in LyX -- this requires some additional code in LyX
# to get right (maybe LyX-2.0 ;-).
#
# acm_proc_article-sp.cls can be obtained from
# http://www.acm.org/sigs/pubs/proceed/template.html
#
# Input general definitions

Columns 2
Sides   1
MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3

ClassOptions
  FontSize  9|10|11|12
End  

DefaultFont
  FamilyRoman
  SeriesMedium
  Shape Up
  Size  Normal
  Color None
EndFont

# Standard style definition
Style Standard
  MarginStatic
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Block
  AlignPossible Block, Left, Right, Center
  LabelType No_Label
End

##
## stdlists
##
Input stdlists.inc

# 
# First cut at theorem environment support.
# What other theorem-like environments are needed?
# How many of these should be discarded?
# I got this list from amsmaths*.inc but I haven't
# found an official list of theorem environments for
# IEEE Transactions.
# OH!  and all theorems are numbered.  Is that a problem?
# Tell me:  [EMAIL PROTECTED]
#
# Theorem-numbered style *Template* declaration
Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Shape   Italic
  EndFont
End

# Proof style declaration
Style Proof
  CopyStyle TheoremTemplate
  LatexName proof
  LabelString   PROOF.
  EndLabelType  Filled_Box
End

# Theorem-numbered style declaration
Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   Theorem #.

  Preamble
\newtheorem{theorem}{Theorem}
  EndPreamble
End  

# Lemma-numbered style declaration
Style Lemma
  CopyStyle TheoremTemplate
  LatexName lemma
  LabelString   Lemma #.

  Preamble
\newtheorem{lemma}{Lemma}
  EndPreamble
End  

# Corollary-numbered style declaration
Style Corollary
  CopyStyle TheoremTemplate
  LatexName corollary
  LabelString   Corollary #.

  Preamble
\newtheorem{corollary}{Corollary}
  EndPreamble
End

# Proposition-numbered style declaration
Style Proposition
  CopyStyle TheoremTemplate
  LatexName proposition
  LabelString   Proposition #.

  Preamble
\newtheorem{proposition}{Proposition}
  EndPreamble
End  

# Conjecture-numbered style declaration
Style Conjecture
  CopyStyle TheoremTemplate
  LatexName conjecture
  LabelString   Conjecture #.

  Preamble
\newtheorem{conjecture}{Conjecture}
  EndPreamble
End  

# Criterion-numbered style declaration
Style Criterion
  CopyStyle TheoremTemplate
  LatexName criterion
  LabelString   Criterion #.

  Preamble
\newtheorem{criterion}{Criterion}
  EndPreamble
End  

# Fact-numbered style declaration
Style Fact
  CopyStyle TheoremTemplate
  LatexName fact
  LabelString   Fact #.

  Preamble
\newdef{fact}{Fact}
  

[Patch] Bug 1119: Disable recursive Dialog::show()

2005-02-21 Thread Andreas Vox
Hi Angus!
Is this patch now in an acceptable state for committing? :-)
I made 'in_show' a private member of Dialogs and cleaned up a little.
Ciao
/Andreas
Changlog:
2005-02-21  Andreas Vox  [EMAIL PROTECTED]
* Dialogs.[hC] (show,show): prevent that show() gets called 
recursively





dialogs-show.diff
Description: Binary data


Re: [Patch] Bug 1119: Disable recursive Dialog::show()

2005-02-21 Thread Angus Leeming
Andreas Vox wrote:
Hi Angus!
Is this patch now in an acceptable state for committing? :-)
I made 'in_show' a private member of Dialogs and cleaned up a little.
It looks good to me. Do you have karma or would you like me to commit it on 
your behalf?
Angus


Re: Comments on LyX 1.3 on Windows

2005-02-21 Thread Michael Schmitt
 2. In math mode, it is not possible to use keys _ and ^ for
 subscript/superscript. I understand that ^ may be a special case but
 why does _ not work???
lyx -dbg key
...
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
Press key 189 text _, ascii 95
Setting key to 189, _
KeySym is onehalf
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 95
action first set to [-1]
action now set to [-1]
Key [action=-1][S-onehalf]
Trying without shift
Action now 88
SelfInsert arg[`']
...
Michael, what is your locale? German? I mean the keyboard locale as set
by setkbmap.
The debug output was produced on a German Windows XP with an English LyX 
application. If I set LANG=de_DE, I get German LyX menus but the problem 
remains.

Any idea what's going wrong?
Michael 



Re: [Patch] Bug 1119: Disable recursive Dialog::show()

2005-02-21 Thread Andreas Vox
Angus Leeming [EMAIL PROTECTED] writes:

 It looks good to me. Do you have karma

Karma ??? Like in CVS-write-karma?
Nah, I'm a rational scientific atheist! ;-)

  or would you like me to commit it on your behalf?

Yes please. 

/Andreas



Re: Comments on LyX 1.3 on Windows

2005-02-21 Thread Andreas Vox
Michael Schmitt:
  2. In math mode, it is not possible to use keys _ and ^ for
  subscript/superscript. I understand that ^ may be a special 
case but
  why does _ not work???

 lyx -dbg key

...
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
Press key 189 text _, ascii 95
   ^^^
This should also be a 95, see qnamespace.h:
Key_Underscore = 0x5f,
aka 95.
Looks as if your Qt gives you the red dripping Windows keycode instead.
Setting key to 189, _
KeySym is onehalf
Key_onehalf = 0x0bd,
aka 189.
So you get inconsistent QKeyEvents.  From a glance the LyX code looks 
correct,
so we should find a way to fix Qt first.
Do you have the source, eg. qapplication_win.cpp ?

Ciao
/Andreas


lyx-1.3.6cvs configure.in patch

2005-02-21 Thread Allan Rae

the recent mkdir test didn't make it into configure.in.  This patch is
sufficient to allow compilation to complete here with configure-2.13.

BTW you can add my name to the blanket_permissions.txt file as well.

Allan. (ARRae)Index: config/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/ChangeLog,v
retrieving revision 1.86.2.40
diff -u -p -r1.86.2.40 ChangeLog
--- config/ChangeLog18 Feb 2005 17:25:09 -  1.86.2.40
+++ config/ChangeLog22 Feb 2005 05:47:52 -
@@ -1,3 +1,7 @@
+2005-02-22  Allan Rae  [EMAIL PROTECTED]
+
+   * configure.in: Add missing MKDIR call
+
 2005-02-17  Michael Schmitt  [EMAIL PROTECTED]
 
* qt.m4: detect Qt Win/Free library
Index: config/configure.in
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/Attic/configure.in,v
retrieving revision 1.17.2.28
diff -u -p -r1.17.2.28 configure.in
--- config/configure.in 2 Feb 2005 13:19:39 -   1.17.2.28
+++ config/configure.in 22 Feb 2005 05:47:52 -
@@ -264,6 +264,9 @@ LYX_CHECK_DECL(snprintf, stdio.h)
 LYX_CHECK_DECL(vsnprintf, stdio.h)
 LYX_CHECK_DECL(istreambuf_iterator, iterator)
 
+# Check the form of mkdir()
+AC_FUNC_MKDIR
+
 dnl This is a slight hack: the tests generated by autoconf 2.52 do not
 dnl work correctly because of some conflict with stdlib.h with g++ 2.96
 dnl We aim to remove this eventually, since we should test as much as


Re: The added space patch

2005-02-21 Thread Juergen Spitzmueller
John Levon wrote:
 There's still one regression from 1.3.x I found: clicking on the space
 to the right of a full line will place the cursor on the next line, not
 the end of the current line.

I could probably fix it (in insettext::getCursorPos), if I knew how to check 
for this very position. Any ideas?

Meanwhile I will commit the adjustments to the insetcollapsable and 
insetcharstyle metrics if I don't hear any objections.

Jürgen


Re: [Patch] Bug 1119: Disable recursive Dialog::show()

2005-02-21 Thread Juergen Spitzmueller
Andreas Vox wrote:
   or would you like me to commit it on your behalf?

 Yes please.

JMarc, I think this is also interesting for 1.3

Jürgen


Re: [PATCH] fix several *GOTO* lfuns (bugs 1787, 616, 781 and 835).

2005-02-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
> It would be nice to have some testing before committing it.

I couldn't detect any problems that result from the patch. I wondered, though, 
why we don't introduce a general lfun "inset-next " (at least for the 
ones with same_content = false). That would simplify the code and even let 
the user search for other insets via minibuffer.

While testing, I have detected an independent problem:
If you insert a label into an inset, it gets listed twice in the reference 
dialog browser (and one more time for each nesting level). Seems that it gets 
added to the inset list on each lyxtext level again.

Regards,
Jürgen


Re: Cursor inside insets patch

2005-02-21 Thread John Levon
On Sun, Feb 20, 2005 at 07:08:38PM +0100, Juergen Spitzmueller wrote:

> P.S.: Why don't you just adjust it yourself?

I was soliciting for opinions... I'll test this later

john


Re: tex2lyx on the wiki

2005-02-21 Thread G. Milde
On 16.02.05, Angus Leeming wrote:
> I've uploaded windows and fedora core 3 versions of tex2lyx to the wiki:
> http://wiki.lyx.org/LaTeX/LatexToLyx
> I've also uploaded a little script to automate the generation of these
> packages. I'd be interested if someone else, using another distribution,
> could use this script too. 

I'd try to get tex2lyx for Debian. Is there some quick guide how to get the
CVS sources (with cvs already installed).

Günter


-- 
G.Milde web.de


Re: tex2lyx on the wiki

2005-02-21 Thread Angus Leeming
G. Milde wrote:

> On 16.02.05, Angus Leeming wrote:
>> I've uploaded windows and fedora core 3 versions of tex2lyx to the wiki:
>> http://wiki.lyx.org/LaTeX/LatexToLyx
>> I've also uploaded a little script to automate the generation of these
>> packages. I'd be interested if someone else, using another distribution,
>> could use this script too.
> 
> I'd try to get tex2lyx for Debian. Is there some quick guide how to get
> the CVS sources (with cvs already installed).
> 
> Günter

See http://www.devel.lyx.org/cvs.php3

It should be as easy as:

$ cvs -d:pserver:[EMAIL PROTECTED]:/cvs/lyx login
The password is lyx
$ cvs -d:pserver:[EMAIL PROTECTED]:/cvs/lyx checkout -d devel
lyx-devel

which will install the LyX cvs tree in a directory 'devel'. Thereafter,

$ cd devel
$ sh make_tex2lyx_dist.sh .

should build the package (where the script is to be found on the wiki
page.)

-- 
Angus



Re: Small GUI changes & Update for de.po 1.3

2005-02-21 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes:

Michael> Hmmm, nobody seems to object.

Michael> So could you please commit the patch? I'll prepare a 1.4.0
Michael> patch later today.

I applied it, along with the 1.4.0 version you sent privately to me.

JMarc


Re: [PATCH] fix several *GOTO* lfuns (bugs 1787, 616, 781 and 835).

2005-02-21 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Jean-Marc Lasgouttes wrote:
>> It would be nice to have some testing before committing it.

Juergen> I couldn't detect any problems that result from the patch. 

Lars, can I commit it?

Juergen> I wondered, though, why we don't introduce a general lfun
Juergen> "inset-next " (at least for the ones with same_content
Juergen> = false). That would simplify the code and even let the user
Juergen> search for other insets via minibuffer.

The problem is that we have no real place where a name can be found
for an inset. We have inset::getName, but it seems that few insets set
it.

Juergen> While testing, I have detected an independent problem: If you
Juergen> insert a label into an inset, it gets listed twice in the
Juergen> reference dialog browser (and one more time for each nesting
Juergen> level). Seems that it gets added to the inset list on each
Juergen> lyxtext level again.

I'll have a look.

JMarc


Re: Turkish translation

2005-02-21 Thread Jean-Marc Lasgouttes
> "Gürer" == Gürer Özen <[EMAIL PROTECTED]> writes:

>> Do you want me to take your translation in cvs for now? We do not
>> have a turkish translation distributed now, because it was out of
>> date. We normally have a policy of keeping only language with half
>> messages translated, but we can make an exception if you are
>> committed to update it.

Gürer> I would be glad. This was a quick translation for our deadline.
Gürer> I'm going to checkout the cvs code and update the po file next
Gürer> week. I'll be able to keep it up to date for next versions too.

Hello,

Did you make progress in that update? I just wanted to point out that,
if you checkout cvs, the 1.3.x versions are in BRANCH_1_3_X.

JMarc


Re: [PATCH] fix captions labelstring

2005-02-21 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

Jean-Marc> The following patch modifies updateCounters to recompute
Jean-Marc> the counters recursively for the whooe document everytime.
Jean-Marc> As expected, this is _very_ expensive on a file like
Jean-Marc> UserGuide. The profiler says that DocIterator::forwardPos
Jean-Marc> is to blame.

To be more precise, 96% of the time spent in updateCounters is due to
ParIterator::operator++(int). 


Jean-Marc> To make this faster, I think DocIterator::forwardPar should
Jean-Marc> take advantage of the inset list of paragraphs. This is the
Jean-Marc> only way to avoid visiting all cursor positions... So each
Jean-Marc> cursor slice should keep an up to date InsetList::iterator.

Andre', Alfredo, do you know how to do this?

JMarc


Re: [PATCH] fix several *GOTO* lfuns (bugs 1787, 616, 781 and 835).

2005-02-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:
> Juergen> I wondered, though, why we don't introduce a general lfun
> Juergen> "inset-next " (at least for the ones with same_content
> Juergen> = false). That would simplify the code and even let the user
> Juergen> search for other insets via minibuffer.
>
> The problem is that we have no real place where a name can be found
> for an inset. We have inset::getName, but it seems that few insets set
> it.

I see. Probably something for 1.5.

> Juergen> While testing, I have detected an independent problem: If you
> Juergen> insert a label into an inset, it gets listed twice in the
> Juergen> reference dialog browser (and one more time for each nesting
> Juergen> level). Seems that it gets added to the inset list on each
> Juergen> lyxtext level again.
>
> I'll have a look.

Thanks,

Jürgen


Re: Another bug of tex2lyx

2005-02-21 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Am Samstag, 19. Februar 2005 13:38 schrieb Paul Smith:
>> Dear All
>> 
>> I am sending you another example showing a bug of tex2lyx. Please,
>> recall that I am not a subscriber of your list.

Georg> This is in fact a bug of LyX: \| after \left or \right in
Georg> mathed is parsed as |. The attached patch fixes that. OK to
Georg> apply?

If Andre' OK's this, I'd like to see it in 1.3.x too (i it makes
sense).

The patch look fine to me. The code in math_deliminset.C is sadly not
able to handle both | and \|. Isn't this a case where we should be
able to add
  \def\|{\Vert}
in lib/symbols and let mathed do its magic?

JMarc


[patch] fix bug 1821

2005-02-21 Thread Georg Baum
See http://bugzilla.lyx.org/show_bug.cgi?id=1821


GeorgIndex: lib/doc/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/ChangeLog,v
retrieving revision 1.23
diff -u -p -r1.23 ChangeLog
--- lib/doc/ChangeLog	8 Feb 2005 15:26:43 -	1.23
+++ lib/doc/ChangeLog	21 Feb 2005 11:21:04 -
@@ -1,3 +1,7 @@
+2005-02-21  Georg Baum  <[EMAIL PROTECTED]>
+
+	* de_UserGuide.lyx: correct documentation of \vec (fixes bug 1821)
+
 2005-02-08  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* Extended.lyx: update aastex description (from Mike Ressler)
Index: lib/doc/de_UserGuide.lyx
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/doc/de_UserGuide.lyx,v
retrieving revision 1.1
diff -u -p -r1.1 de_UserGuide.lyx
--- lib/doc/de_UserGuide.lyx	1 Jun 2004 19:50:11 -	1.1
+++ lib/doc/de_UserGuide.lyx	21 Feb 2005 11:21:07 -
@@ -18949,7 +18949,7 @@ bar
 
 \layout Standard
 
-vector
+vec
 \end_inset 
 
 


Re: Two tex2lyx counterexamples

2005-02-21 Thread Georg Baum
Angus Leeming wrote:

> Georg Baum wrote:
>> The file subequations.tex shows that André forgot to increase the file
>> format when he added support for eqref to insetref. The attached patch
>> adds the missing conversion in lyx2lyx.
>> OK to apply?
> 
> Not only OK, but essential.

It is in now.


Georg



Re: Another bug of tex2lyx

2005-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

> If Andre' OK's this, I'd like to see it in 1.3.x too (i it makes
> sense).

IMHO it makes sense for 1.3 if it makes sense for 1.4.

> The patch look fine to me. The code in math_deliminset.C is sadly not
> able to handle both | and \|. Isn't this a case where we should be
> able to add
>   \def\|{\Vert}
> in lib/symbols and let mathed do its magic?

Good idea. I tried that, and unfortunately it does not work. I guess the
reason is that the \def machinery comes into play only after the stuff is
parsed already, and then it is too late.


Georg



Re: Two tex2lyx counterexamples

2005-02-21 Thread Georg Baum
Paul Smith wrote:

> Dear All
> 
> I am sending you two examples showing some problems with tex2lyx.
> Please, be aware that I am not a subscriber of your list.

Paul,

many thanks for your bug reports. They all showed real problems, although not 
all in tex2lyx.
The pstricks example is not that easy. You did not use \begin{psmatrix}...
\end{psmatrix}, but the raw TeX form \psmatrix...\endpsmatrix. The latter 
form is more difficult to parse and will probably not be supported by tex2lyx 
for some time.


Georg


PS: Please use the news<->mailinglist interface at http://gmane.org to look at 
the devel mailing list. The group name is gmane.editors.lyx.devel. Then you 
won't miss an answer if we don't CC: you all the time.


Re: Another bug of tex2lyx

2005-02-21 Thread Andre Poenitz
On Sun, Feb 20, 2005 at 01:14:09PM +0100, Georg Baum wrote:
> Am Samstag, 19. Februar 2005 13:38 schrieb Paul Smith:
> > Dear All
> > 
> > I am sending you another example showing a bug of tex2lyx. Please,
> > recall that I am not a subscriber of your list.
> 
> This is in fact a bug of LyX: \| after \left or \right in mathed is parsed 
> as |. The attached patch fixes that. OK to apply?

Ok if it works.

[Well, if this could also be solved by adding someting to deliminset
instead of the parser, I'd bprefer that]

Andre'


Re: [andre.poenitz-H0bhvm5RIPI+B2oLq8eQJv4efur1V5z/s0AfqQuZ5sE-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org: Re: [Bug 1798] New: cursor looks like it's outside of an inset]

2005-02-21 Thread Andre Poenitz
On Sun, Feb 20, 2005 at 02:21:33AM +, John Levon wrote:
> On Fri, Feb 18, 2005 at 09:23:43PM +0100, Andre Poenitz wrote:
> 
> > > > Ok, then at least the --x; should have a comment on it.
> > > 
> > > See attached. Committing now.
> > > 
> > > André, I hope your cvs troubles are solved soon. I am not going to write 
> > > comments and changelogs for you forever ;-)
> > 
> > No? 
> > 
> > Why?
> 
> I'd rather people consider my complaints about the commit...

Didn't you say 'better, but not perfect'? If so, committing the thing
seems to be an improvement.

Andre'


Re: [PATCH] fix captions labelstring

2005-02-21 Thread Andre Poenitz
On Mon, Feb 21, 2005 at 12:03:55AM +0100, Jean-Marc Lasgouttes wrote:
> Jean-Marc Lasgouttes wrote:
> >The situation with counters is still very bad: captions in floats do not
> >have a label when loading a file. Also, updateCounters renumbers the
> >whole lyxtext without trying to go into nested insets. I suspect that
> >all paragraphs will have to be visited at each updatecounters, but I am
> >not sure how expensive this is going to be...
> 
> The following patch modifies updateCounters to recompute the counters
> recursively for the whooe document everytime. As expected, this is
> _very_ expensive on a file like UserGuide. The profiler says that
> DocIterator::forwardPos is to blame.
> 
> To make this faster, I think DocIterator::forwardPar should take 
> advantage of the inset list of paragraphs. This is the only way to avoid
> visiting all cursor positions... So each cursor slice should keep
> an up to date InsetList::iterator. This is too much work for me right 
> now, though...

I think replacing 

void DocIterator::forwardPar()
{
forwardPos();
while (!empty() && (!inTexted() || pos() != 0))
forwardPos();
}

with something more sensible would be better. Most likely a cut
job from forwardPos, but not stepping over all characters, but only over
insets.

Andre'


Re: Another bug of tex2lyx

2005-02-21 Thread Georg Baum
Am Montag, 21. Februar 2005 09:11 schrieb Andre Poenitz:
> Ok if it works.
>
> [Well, if this could also be solved by adding someting to deliminset
> instead of the parser, I'd bprefer that]

I wanted to do that first, but it turned out that the change would be much 
bigger, and I want a minimal change. The problem is that deliminset does not 
store the backslash, only |, Vref etc. I don't know the reason for that. If 
it is ok for you to change deliminset to store the backslash I can as well do 
that.


Georg


Re: [PATCH] Change tracking hacking

2005-02-21 Thread Juergen Spitzmueller
Johnathan Burchill wrote:
> I've attached the bug fix. There's no point in providing the
> break-paragraph patch until it's fully functional. If you want to play with
> it, see my first attachment in this thread. Whether or not you want to
> implement the functionality in 1.4.0, I'll work on it in the meantime, and
> provide patches as she goes.

I can confirm that it fixes bug 1277, most importantly the crash. Good work.
It has, however, one remaining glitch:

1. new document
2. insert text: word1 word2 word3 
3. Track changes
4. cut the footnote and paste it at the beginning of the par
5. Cut word3 and paste it at the beginning of the par
6. cut word 2 and paste it at the beginning of the par
7. cut word 1 and paste it at the beginning of the par

=> The erased text is beginning to get marked inserted or unchanged.

Jürgen


Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
tex2lyx pulls in a few files in the src/ directory together with the 
src/support library. I reckon that changing the license of tex2lyx to the 
GPL will require the agreement of these people:

Alejandro Aguilar Sierra
Alfredo Braunstein
André Pönitz
Angus Leeming
Asger Alstrup
Baruch Even
Claus Hentschel
Dirk Niggemann
Georg Baum
Herbert Voß
Ivan Schreter
Jean-Marc Lasgouttes
John Levon
João Luis M. Assirati
Jürgen Vigna
Lars Gullik Bjønnes
Martin Vermeer
Matthias Ettrich
Ruurd A. Reitsma

That's based on the '\author' field in the header of each file.

As a first step, shall I drop off an email to all those people listed in 
the CREDITS file explaining that we'd like to use the GPL without this 
great big hole in it?

Is this a good idea, or shall I just drop the whole thing?

Perhaps we should have a page analogous to
http://www.boost.org/more/blanket-permission.txt
where we keep a record of those people that are happy with a change in 
licence. Something like:

The following people hereby grant permission to replace all existing
licenses on their contributions to LyX with the Gnu General Public License 
version 2 or later.

-- 
Angus





Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
tex2lyx pulls in a few files in the src/ directory together with the 
src/support library. I reckon that changing the license of tex2lyx to the 
GPL will require the agreement of these people:

Alejandro Aguilar Sierra
Alfredo Braunstein
André Pönitz
Angus Leeming
Asger Alstrup
Baruch Even
Claus Hentschel
Dirk Niggemann
Georg Baum
Herbert Voß
Ivan Schreter
Jean-Marc Lasgouttes
John Levon
João Luis M. Assirati
Jürgen Vigna
Lars Gullik Bjønnes
Martin Vermeer
Matthias Ettrich
Ruurd A. Reitsma

That's based on the '\author' field in the header of each file.

As a first step, shall I drop off an email to all those people listed in 
the CREDITS file explaining that we'd like to use the GPL without this 
great big hole in it?

Is this a good idea, or shall I just drop the whole thing?

Perhaps we should have a page analogous to
http://www.boost.org/more/blanket-permission.txt
where we keep a record of those people that are happy with a change in 
licence. Something like:

The following people hereby grant permission to replace all existing
licenses on their contributions to LyX with the Gnu General Public License 
version 2 or later.

-- 
Angus





Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread John Levon
On Mon, Feb 21, 2005 at 02:05:02PM +, Angus Leeming wrote:

> tex2lyx pulls in a few files in the src/ directory together with the 
> src/support library. I reckon that changing the license of tex2lyx to the 
> GPL will require the agreement of these people:

> Perhaps we should have a page analogous to
> http://www.boost.org/more/blanket-permission.txt
> where we keep a record of those people that are happy with a change in 
> licence. Something like:
> 
> The following people hereby grant permission to replace all existing
> licenses on their contributions to LyX with the Gnu General Public License 
> version 2 or later.

I grant permission to license any and all contributions I've made to
LyX under the Gnu GPL version 2 or later.

regards
john


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Asger Alstrup
I grant permission to license any and all contributions I've made to LyX 
under any open source license.

Regards,
Asger


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
John Levon wrote:

> On Mon, Feb 21, 2005 at 02:05:02PM +, Angus Leeming wrote:
> 
>> tex2lyx pulls in a few files in the src/ directory together with the
>> src/support library. I reckon that changing the license of tex2lyx to
>> the GPL will require the agreement of these people:
> 
>> Perhaps we should have a page analogous to
>> http://www.boost.org/more/blanket-permission.txt
>> where we keep a record of those people that are happy with a change in
>> licence. Something like:
>> 
>> The following people hereby grant permission to replace all existing
>> licenses on their contributions to LyX with the Gnu General Public
>> License version 2 or later.
> 
> I grant permission to license any and all contributions I've made to
> LyX under the Gnu GPL version 2 or later.

Well, if you can do that, then so can I ;-)

I grant permission to license any and all contributions I've made to LyX 
under the Gnu GPL version 2 or later.

If people post such statements to the list then I'll keep a record of them 
in a file blanket-permissions.txt in the www-users tree.

Angus




Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread John Levon
On Mon, Feb 21, 2005 at 03:33:23PM +0100, Asger Alstrup wrote:

> I grant permission to license any and all contributions I've made to LyX 
> under any open source license.

I think you shouuld be a bit more specific (at least, "any current and
future licenses accepted as open source by the OSI")

john


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Asger Alstrup
John Levon wrote:
On Mon, Feb 21, 2005 at 03:33:23PM +0100, Asger Alstrup wrote:
I grant permission to license any and all contributions I've made to LyX 
under any open source license.
I think you shouuld be a bit more specific (at least, "any current and
future licenses accepted as open source by the OSI")
In Denmark, the legal system works in a way where the intent of the 
statement and the context is taken into account when judging a statement in 
a court, so it is strictly not necessary to be more specific.

But I understand that the American and English legal system is different, 
so explicitly, I grant permission to license any and all contributions I've 
made to LyX under the GPL, version 2, or any other current or future 
license accepted as open source by the OSI.

Regards,
Asger


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
Asger Alstrup wrote:

> John Levon wrote:
>> On Mon, Feb 21, 2005 at 03:33:23PM +0100, Asger Alstrup wrote:
>>>I grant permission to license any and all contributions I've made to LyX
>>>under any open source license.
>> 
>> I think you shouuld be a bit more specific (at least, "any current and
>> future licenses accepted as open source by the OSI")
> 
> In Denmark, the legal system works in a way where the intent of the
> statement and the context is taken into account when judging a statement
> in a court, so it is strictly not necessary to be more specific.
> 
> But I understand that the American and English legal system is different,
> so explicitly, I grant permission to license any and all contributions
> I've made to LyX under the GPL, version 2, or any other current or future
> license accepted as open source by the OSI.

Thanks, Asger. I've added a file
http://www.lyx.org/blanket-permission.txt
to record those who are willing to license their contributions to LyX 
under the Gnu GPL, version 2 or later. So far there are four of us ;-)

-- 
Angus



Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Juergen Vigna
The same for me!
Regards,
  Jürgen
Asger Alstrup wrote:
I grant permission to license any and all contributions I've made to LyX 
under any open source license.

Regards,
Asger

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._


bugzilla problem

2005-02-21 Thread Ralf Goertz
Hi,

I don't know who I could ask about this, so I try it here. I wanted to change 
the email address I gave for my account on LyX-bugzilla. I did this using the 
prefs dialog. Then I got the message that to both my new and my old address 
an email was sent for confirmation. However, I never got the email on my new 
address probably because my old address does not exist anymore. So the 
pending change request expired. I tried it once more with the same result. 
Who can I ask to do the change manually?

Thanks,

Ralf


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Angus Leeming
Juergen Vigna wrote:

> The same for me!
> Regards,
>Jürgen

Wooo! Jürgen! It's good to see a message from you! How's life in Italy?

Angus

> Asger Alstrup wrote:
>> I grant permission to license any and all contributions I've made to LyX
>> under any open source license.
>> 
>> Regards,
>> Asger




Re: Another bug of tex2lyx

2005-02-21 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Jean-Marc Lasgouttes wrote:
>> If Andre' OK's this, I'd like to see it in 1.3.x too (i it makes
>> sense).

Georg> IMHO it makes sense for 1.3 if it makes sense for 1.4.

Could you make a patch?

JMarc



Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Georg Baum
Angus Leeming wrote:

> Thanks, Asger. I've added a file
> http://www.lyx.org/blanket-permission.txt
> to record those who are willing to license their contributions to LyX
> under the Gnu GPL, version 2 or later. So far there are four of us ;-)

Now five:

I grant permission to license any and all contributions I've made to LyX
under the Gnu GPL version 2 or later.


Georg



Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Perhaps we should have a page analogous to
Angus> http://www.boost.org/more/blanket-permission.txt where we keep
Angus> a record of those people that are happy with a change in
Angus> licence. Something like:

I grant permission to license any and all contributions I've made to
LyX under the Gnu GPL version 2 or later.

JMarc


Re: bugzilla problem

2005-02-21 Thread Jean-Marc Lasgouttes
> "Ralf" == Ralf Goertz <[EMAIL PROTECTED]> writes:

Ralf> Hi, I don't know who I could ask about this, so I try it here. I
Ralf> wanted to change the email address I gave for my account on
Ralf> LyX-bugzilla. I did this using the prefs dialog. Then I got the
Ralf> message that to both my new and my old address an email was sent
Ralf> for confirmation. However, I never got the email on my new
Ralf> address probably because my old address does not exist anymore.
Ralf> So the pending change request expired. I tried it once more with
Ralf> the same result. Who can I ask to do the change manually?

Is [EMAIL PROTECTED] your new address? I think I can change it.

JMarc


Re: Another bug of tex2lyx

2005-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

> Could you make a patch?

I'll make one when André has answered my question concerning changing
math_deliminset instead of math_parser.


Georg



Re: [PATCH] fix captions labelstring

2005-02-21 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> I think replacing DocIterator::forwardPar() [...]
Andre> with something more sensible would be better. Most likely a
Andre> cut job from forwardPos, but not stepping over all
Andre> characters, but only over insets.

Yes, but forwardPos scares me...

JMarc


Re: [PATCH] Change tracking hacking

2005-02-21 Thread Johnathan Burchill
On Monday 21 February 2005 07:08, you wrote:
> Johnathan Burchill wrote:
> > I've attached the bug fix. There's no point in providing the
> > break-paragraph patch until it's fully functional. If you want to play
> > with it, see my first attachment in this thread. Whether or not you want
> > to implement the functionality in 1.4.0, I'll work on it in the meantime,
> > and provide patches as she goes.
>
> I can confirm that it fixes bug 1277, most importantly the crash. Good
> work. It has, however, one remaining glitch:
>
> 1. new document
> 2. insert text: word1 word2 word3 
> 3. Track changes
> 4. cut the footnote and paste it at the beginning of the par
> 5. Cut word3 and paste it at the beginning of the par
> 6. cut word 2 and paste it at the beginning of the par
> 7. cut word 1 and paste it at the beginning of the par
>
> => The erased text is beginning to get marked inserted or unchanged.
>
> Jürgen

The simplest way to reproduce it is:
2. insert "a".
3. track changes.
4. cut "a" and paste it at the beginning of the par
5. paste "a" at beginning again.
6. paste "a" at beginning again ---> problem appears (4 "a"'s all marked 
inserted).

It seems to be a problem with the change-tracking range code. Here is the 
changelist in the final state (from "lyx -dbg changes"):

Range of type 1 is 0,4 author 0 time 0
Range of type 2 is 4,5 author 0 time 0

It should be type 1 over 0,3 and type 2 over 3,4. So the deleted "a" is 
marked, but it's at position 4 in the change table_, while the actual "a" is 
at position 3.

JB

-- 
Johnathan K. Burchill, Ph.D.
[EMAIL PROTECTED]


pgpNVFTpXua4N.pgp
Description: PGP signature


Found another bug of tex2lyx

2005-02-21 Thread Paul Smith
Dear All

I am sending you another example showing a bug of tex2lyx. Please,
recall that I am not a subscriber of your list.

Regards,

Paul


boxed_equation.tex
Description: TeX document


Re: Licensing of tex2lyx (and perhaps LyX itself?)

2005-02-21 Thread Juergen Vigna
Angus Leeming wrote:
Juergen Vigna wrote:

The same for me!
Regards,
  Jürgen

Wooo! Jürgen! It's good to see a message from you! How's life in Italy?
Very busy! #:O)
Anyway I follow the mailinglist by reading "Subjects", but I don't find
more time than this for the moment.
Have fun,
Jürgen
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 SteineggWeb: http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._


[PATCH] CREDITS?

2005-02-21 Thread Angus Leeming
CREDITS is missing the email addresses of only a few people. I've grabbed 
the missing addresses for
Graham Biswell
Christian Buescher
Robert van der Kamp
Geoffrey Piroux
Alkis Polyzotis
Hubert Schreier
Eulogio Serradilla Rodríguez
either by trawling the lyx lists or, as a last resort, by googling for 
'em. That leaves only Bernhard Psaier (Designer of the LyX-Banner) without 
an email address.

Of course, the ones we have aren't necessarily valid anymore, but they're 
a start.

Is there any reason why I shouldn't add these addresses (patch attached) 
to the CREDITS file?

-- 
Angus

CREDITS.diff.gz
Description: GNU Zip compressed data


Re: [PATCH] CREDITS?

2005-02-21 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Is there any reason why I shouldn't add these addresses (patch
Angus> attached) to the CREDITS file?

No, why not.

JMarc


Re: [PATCH] CREDITS?

2005-02-21 Thread Jose' Matos
On Monday 21 February 2005 17:21, Angus Leeming wrote:
>  That leaves only Bernhard Psaier (Designer of the LyX-Banner) without
> an email address.

  Ask JÃrgen (Vigna) I thinks that we knows him. :-)

-- 
Josà AbÃlio


  1   2   >