Re: [patch] quote-insert

2004-02-18 Thread Juergen Spitzmueller
Ronald Florence wrote: > aqua.bind is used only in addition to one of the traditional bind files > like cua.bind or emacs.bind (to provide keyboard shortcuts for LyX/Aqua > users), so it probably doesn't need this new change for single or double > quotes. OK, thanks. Please make sure that single q

Re: [patch] tmp file stuff

2004-02-18 Thread Georg Baum
Am Mittwoch, 18. Februar 2004 19:15 schrieb Helge Hafting: > Seems that the xfig external inset is fixed in 1.4 already. Here's > a set of files that fail with the listings package. They work for me with LyX 1.3.4cvs. What version did you use? BTW, I have tetex 2.0.2 with listings package 1.0 fro

Re: [patch] quote-insert

2004-02-18 Thread Ronald Florence
Juergen Spitzmueller wrote: > [1] I do not understand aqua.bind. I have added a FIXME there. For the other ones, I have bound single quotes to S-" and raw quote to M-" where possible, because I think single quote is used more frequently. aqua.bind is used only in addition to one of the traditio

Re: [patch] quote-insert

2004-02-18 Thread Juergen Spitzmueller
Juergen Spitzmueller: > I'll prepare a patch with all this changes. OK, here's a patch with the proposed changes and the changes to the ui (qt/xforms document dialogs, bindings [1], menus). Please tell me if this can go in. BTW, Jean-Marc, is there a special reason why we don't use opening quote

Re: [patch] tmp file stuff

2004-02-18 Thread Helge Hafting
Georg Baum wrote: Helge Hafting wrote: Do you need a test document with these problems? Yes, please. Seems that the xfig external inset is fixed in 1.4 already. Here's a set of files that fail with the listings package. This (and probably other latex constructs dealing with files) fails because

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I had a spare 10 mins or so, so tried out the ftp links. I can Angus> confirm that all are alive and well. Yes, I took the time to do that before releasing 1.3.3, and even asked to get a few broken mirrors back online. Angus> How

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Could you turn that into a short understandable sentence? Angus> Sure. Thanks. JMarc

Re: [patch] quote-insert

2004-02-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> I can also call the arguments "single|double" (is this Juergen> better?). This changes are of course only a first step and do Juergen> not support quote nesting. I just makes the handling of Juergen> single and double quo

Re: [patch] quote-insert

2004-02-18 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Note however that inner/outer is not the same as single/double. There > probably needs to be big changes in insetquote data structures to > support this inner/outer stuff properly. I can also call the arguments "single|double" (is this better?). This changes are of c

Re: [patch] quote-insert

2004-02-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> I fixed this on the way to a first step towards better Juergen> quotation mark handling: the attached patch introduces lfun Juergen> arguments "quote-insert [inner| outer]" where single and Juergen> double quotation marks

Re: [patch] quote-insert

2004-02-18 Thread John Levon
On Wed, Feb 18, 2004 at 05:57:30PM +0100, Juergen Spitzmueller wrote: > [1] I think we could get rid of the toggle and bind "quote-insert inner" to > M-" or whatever. Yay to this part anyway. (Needs menu UI though I think) john -- "Spammers get STABBED by GOD." - Ron Echeverri

[patch] quote-insert

2004-02-18 Thread Juergen Spitzmueller
As you may have noticed, quote-insert is broken in current cvs (always inserts raw quotes). IMHO this is due to this change: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/text3.C.diff?r1=1.214&r2=1.215 BufferParams const & bufparams = bv->buffer()->params();

Re: Table format conversion

2004-02-18 Thread Jose' Matos
On Wednesday 18 February 2004 15:48, Joachim Zach wrote: > > > >Could you please create a minimal example of the 'old' format and send > >it to [EMAIL PROTECTED] (or file it as bug on bugzilla.lyx.org?) > > > >Andre' > > See the attached file test.lyx, which is a table as created with klyx. > Apply

Table format conversion

2004-02-18 Thread Joachim Zach
On Wed, Feb 18, 2004 at 01:23:27PM +0100, Joachim Zach wrote: Hello, I have noticed that tables in older Lyx-files (in my case lyxformat 215 created by KLyX) are not imported correctly into Lyx 1.3.1 I found that this is due to an additional blank after a \newline command within the tables

Re: .kmap file for Spanish

2004-02-18 Thread Jean-Marc Lasgouttes
> "David" == David Raymond <[EMAIL PROTECTED]> writes: David> Seems odd that no .kmap file exists for Spanish. Here is one David> that works for me. Aside from the umlaut, for which " doesn't David> seem to work as a dead key (even escaped), it follows the David> latin1-pre convection of emacs

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Jean-Marc Lasgouttes wrote: >>> This is the second and hopefully last status update for LyX 1.3.4. >>> I would really like to release it this week. We lost a lot of time >>> last week chasing the german locale bug (which turned out to be a >>> bug on some xform

Re: [patch] tmp file stuff

2004-02-18 Thread Georg Baum
Helge Hafting wrote: > Do you need a test document with these problems? Yes, please. Georg

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus wrote: > > I don't understand what the part after the semi-colon means. Is it > just noise? > > * support for old files from LyX 0.10.x or 0.12.x; ability to open > documents that are not supported by your latex installation, > ===

Re: [PATCH] various qt fixes

2004-02-18 Thread Andre Poenitz
On Wed, Feb 18, 2004 at 12:37:32PM +0100, Juergen Spitzmueller wrote: > Andre Poenitz wrote: > > If it is an error to have  style_ >= dialog_->typeCO->count() you should > > assert here... > > It's not really an error. And we have a comfortable fallback. So it is fine then... Andre' -- Those w

Re: [PATCH] various qt fixes

2004-02-18 Thread Juergen Spitzmueller
Andre Poenitz wrote: > If it is an error to have  style_ >= dialog_->typeCO->count() you should > assert here... It's not really an error. And we have a comfortable fallback. Jürgen.

Re: [PATCH] various qt fixes

2004-02-18 Thread Andre Poenitz
On Wed, Feb 18, 2004 at 12:14:52PM +0100, Juergen Spitzmueller wrote: > Angus Leeming wrote: > > Can style_ ever be less than '0'? > > Yes, I think it can be -1 in some cases (I forgot which). Also, I've added a > second test. i.e.: > > if (style_ >= 0 && style_ < dialog_->typeCO->count()) >

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Jean-Marc Lasgouttes
[my pop feed is dead ATM, so I reply to the messages I see on the mail-archive] Ronald wrote: = This is no sexier, but I think it explains the LyX/Mac changes more accurately.[snip] = Thanks, I put this in status.13x (and hence in the bottom part of ANNOUNCE). Fo

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Jean-Marc Lasgouttes
[my pop feed is dead ATM, so I reply to the messages I see on the mail-archive] Angus wrote: I don't understand what the part after the semi-colon means. Is it just noise? * support for old files from LyX 0.10.x or 0.12.x; ability to open documents that are not suppor

Re: [PATCH] various qt fixes

2004-02-18 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > > Can style_ ever be less than '0'? > > Yes, I think it can be -1 in some cases (I forgot which) I seem to rember now that QComboBox::currentItem() returns '-1' if the widget is disabled (which is the case for non natbib users). Jürgen.

Re: [PATCH] various qt fixes

2004-02-18 Thread Juergen Spitzmueller
Angus Leeming wrote: > Can style_ ever be less than '0'? Yes, I think it can be -1 in some cases (I forgot which). Also, I've added a second test. i.e.: if (style_ >= 0 && style_ < dialog_->typeCO->count()) dialog_->typeCO->setCurrentItem(setCurrentItem(style_); Currently, the n

Re: [PATCH] various qt fixes

2004-02-18 Thread Angus Leeming
Juergen Spitzmueller wrote: > This patch contains the qcitation fix (bug 1146) plus: > - a fix for bug 1037 (disable the goto button in the qref dialog if > there is no reference at all) > - a fix for bug 1511 (restore the settings of the buffer combo in > the qref dialog) > - and an enhancement f

Re: [patch] tmp file stuff

2004-02-18 Thread Angus Leeming
Helge Hafting wrote: > So I opened up one of those files trying to see what happens with a > temp dir. The first thing that broke was the xfig external inset.  > The .fig is converted into a .pstex_t and a .eps, the .pstex_t file > was not found although it was created in the document directory.

Re: ugly latex code

2004-02-18 Thread Angus Leeming
Andre Poenitz wrote: > I don't mean by using a script but rather by mathed's "native" I/O. I understood. However, you talked about "replace '\[' by '\[%\n '". I was pointing out that it looks like that case is handled already. Instead running a lyx 1.3.x file through the script replaced 'foo\['

Re: [patch] tmp file stuff

2004-02-18 Thread Helge Hafting
Georg Baum wrote: Am Dienstag, 17. Februar 2004 10:46 schrieb Helge Hafting: I've had one problem that forced me to not use temp dirs: Latex code (in ERT or in the preamble or in the preamble/textstyles of a custom document layout) may use \input, \includegraphics, or some other command that open

[PATCH] various qt fixes

2004-02-18 Thread Juergen Spitzmueller
This patch contains the qcitation fix (bug 1146) plus: - a fix for bug 1037 (disable the goto button in the qref dialog if there is no reference at all) - a fix for bug 1511 (restore the settings of the buffer combo in the qref dialog) - and an enhancement for natbib users: restore the settings o

Re: ugly latex code

2004-02-18 Thread Andre Poenitz
On Wed, Feb 18, 2004 at 10:24:22AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > It would be cheap and 'harmless' to replace '\[' by '\[%\n ' etc > > from within LyX. > > > > Should I do that? > > I think that happens already. Here's an example of what the script I > posted did on stuf

Re: ugly latex code

2004-02-18 Thread Angus Leeming
Andre Poenitz wrote: > It would be cheap and 'harmless' to replace '\[' by '\[%\n ' etc > from within LyX. > > Should I do that? I think that happens already. Here's an example of what the script I posted did on stuff exported from lyx 1.3.x: mass to be conserved, this mass increase must be b

Re: ugly latex code

2004-02-18 Thread Andre Poenitz
On Wed, Feb 18, 2004 at 10:03:44AM +, Angus Leeming wrote: > Huaiyu Duan wrote: > > 2) Instead of including latex beautifying code into LyX, I suggest > > an independent script is used to do the work. The benefits are > > obvious. It won't introduce bugs into LyX. It won't have any impact > > o

Re: ugly latex code

2004-02-18 Thread Angus Leeming
Huaiyu Duan wrote: > 2) Instead of including latex beautifying code into LyX, I suggest > an independent script is used to do the work. The benefits are > obvious. It won't introduce bugs into LyX. It won't have any impact > on people who don't want the latex code. It may be less efficient to > gen

Re: [PATCH] qcitation fixes

2004-02-18 Thread Juergen Spitzmueller
Andre Poenitz wrote: > Using trailing underscores in member variable names is encouraged in > LyX... Ill_fix_that_ Jürgen

Re: [PATCH] qcitation fixes

2004-02-18 Thread Andre Poenitz
Using trailing underscores in member variable names is encouraged in LyX... Andre'

Re: [PATCH] qcitation fixes

2004-02-18 Thread Juergen Spitzmueller
Angus Leeming wrote: > Add a boolean flag "open_find_automatically" to the > QCitation class, setting it to "true" in the constructor and in > QCitation::hide. Perfect, Angus. Many thanks. Can I apply the attached patch? It works as expected. Regards, Jürgen. Index: src/frontends/qt2/QCitation.C

Re: Towards LyX 1.3.4 [status update #2]

2004-02-18 Thread Juergen Spitzmueller
John Levon wrote: > Check a document and see if a process is running or not Yes, an "aspell" process is running. Jürgen.