[PATCH] BibTeX annotation support

2005-03-14 Thread Eitan
Friends, I have used LyX for ages now, but this is my first patch, so please be kind (i.e., instuctional) if I'm doing this entirely wrong. I'm attaching a tiny patch that will show a BibTeX's entry annotation text in the citation preview dialog. Myself and several other researcher I know annota

Re: AW: [PATCH 1.3.X] Text message changes, 2nd edition

2005-03-14 Thread Lars Gullik Bjønnes
"Jose' Matos" <[EMAIL PROTECTED]> writes: | On Monday 14 March 2005 14:47, Jean-Marc Lasgouttes wrote: >> >> I thin we should get rid of this stupid _ trick in all the layout >> files. I think all entries like >> Style Author_Address >> should become >> Style "Author Address" > | I agree. :-

Re: lyx 1.4 microbug - splash document comes up unprintable

2005-03-14 Thread Lars Gullik Bjønnes
Helge Hafting <[EMAIL PROTECTED]> writes: | When I load a read-only document, most editing controls are grayed | out, which is fine. I can still print or "save as", as expected. > | When lyx-1.4cvs starts for the first time it loads splash.lyx, | but forgets to enable those few buttons that work

Re: Compile time results for lyx-1.3.5

2005-03-14 Thread Lars Gullik Bjønnes
"Jose' Matos" <[EMAIL PROTECTED]> writes: | qt gcc4 | real2m48.638s | user7m57.588s | sys 1m30.151s > | xforms gcc4 | real2m0.747s | user5m45.744s | sys 0m59.944s > | qt gcc | real3m5.422s | user9m44.996s | sys 1m33.581s > | xforms gcc | real1m55.644s | user

Re: Still using -swap instead of --swap with gv

2005-03-14 Thread Jean-Marc Lasgouttes
> "Niklaus" == Niklaus Giger <[EMAIL PROTECTED]> writes: Niklaus>         * configure.m4: do not use -swap option for gv (it Niklaus> does not work         with latest versions). Niklaus> But when I take a look at revision 1.92 of lib/configure.m4 I Niklaus> do not see the expected difference

Re: Table selection crash

2005-03-14 Thread Martin Vermeer
On Mon, Mar 14, 2005 at 03:32:28PM +0100, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > I think I know where the problem is, not how to fix it :-( > > Me too. It seems that MOUSE_MOTION moves inside nested insets despite of > > // only accept motions to places not deeper nested th

Still using -swap instead of --swap with gv

2005-03-14 Thread Niklaus Giger
Hi I have problems, that Ctrl-t View..Postscript (my favorite viewer) does not work. I reported this to the maintainer of the Debian package. In the current CVS i found unter lib/Changelog the following entry 2005-02-17  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>         * configure.m4: do not u

Re: Table selection crash

2005-03-14 Thread Martin Vermeer
On Mon, Mar 14, 2005 at 03:32:28PM +0100, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > I think I know where the problem is, not how to fix it :-( > > Me too. It seems that MOUSE_MOTION moves inside nested insets despite of > > // only accept motions to places not deeper nested th

Re: [patch] fix nested tables in tex2lyx

2005-03-14 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > This looks good. This is nor applied. Georg

Re: [PATCH] supporting spaces in TeX file names, part 2

2005-03-14 Thread Bennett Helm
On Mar 14, 2005, at 11:44 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I've tested the patch for 13x. Some observations: Bennett> 1. The test for whether latex allows spaces doesn't work for Bennett> me: reconfigure incorrectly reports that my versi

Re: [PATCH] supporting spaces in TeX file names, part 2

2005-03-14 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I've tested the patch for 13x. Some observations: Bennett> 1. The test for whether latex allows spaces doesn't work for Bennett> me: reconfigure incorrectly reports that my version of latex Bennett> does not allow spaces. It ma

Re: Math mbox crash

2005-03-14 Thread Martin Vermeer
On Mon, Mar 14, 2005 at 03:11:50PM +0100, Georg Baum wrote: > Martin Vermeer wrote: > > > About the mbox bug: I did some testing, see attached. But now I am > > stuck. It turns out that, as the asserts show, that cur.text() is null > > in both places: before calling the inset-dispatch, and later i

Re: [PATCH] supporting spaces in TeX file names, part 2

2005-03-14 Thread Bennett Helm
On Mar 14, 2005, at 9:43 AM, Jean-Marc Lasgouttes wrote: "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> This is a 1.3.x patch, which I intend to port later. OK, since nobody with a modern TeX seems to be interested in trying out the patch on 1.3.x, here is an 1.4.0cvs v

Re: AW: [PATCH 1.3.X] Text message changes, 2nd edition

2005-03-14 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: >> This is probably only worth doing in 1.4.x, though. Jose'> With x>0? ;-) Probably :) JMarc

Re: AW: [PATCH 1.3.X] Text message changes, 2nd edition

2005-03-14 Thread Jose' Matos
On Monday 14 March 2005 14:47, Jean-Marc Lasgouttes wrote: > > I thin we should get rid of this stupid _ trick in all the layout > files. I think all entries like > Style Author_Address > should become > Style "Author Address" I agree. :-) > This is probably only worth doing in 1.4.x, thoug

Re: AW: [PATCH 1.3.X] Text message changes, 2nd edition

2005-03-14 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes: Michael> Thanks! BTW: There is a strange problem with some layout Michael> messages. Open the elsart template document and browse Michael> through the available paragraph layouts: "Author Address" is Michael> not translated although "A

Re: [PATCH] supporting spaces in TeX file names, part 2

2005-03-14 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> This is a 1.3.x patch, which I intend to port later. OK, since nobody with a modern TeX seems to be interested in trying out the patch on 1.3.x, here is an 1.4.0cvs version. Could somebody test it? I thought it was v

Re: Table selection crash

2005-03-14 Thread Juergen Spitzmueller
Martin Vermeer wrote: > I think I know where the problem is, not how to fix it :-( Me too. It seems that MOUSE_MOTION moves inside nested insets despite of // only accept motions to places not deeper nested than the real anchor if (bvcur.anchor_.hasPart(cur)) { No idea why. Jürg

Re: Lyx 1.4cvs bad default sans serif screen font

2005-03-14 Thread John Levon
On Mon, Mar 14, 2005 at 10:32:23AM +0100, Helge Hafting wrote: > Sans serif: Abandoned Bitplane (ouch) > > It looks like lyx simply used the first font in the fontlist, Not really, it's a bit more complicated than that. Unfortunately Qt makes this REALLY hard. You'd need to investigate the code

Re: Math mbox crash

2005-03-14 Thread Georg Baum
Martin Vermeer wrote: > About the mbox bug: I did some testing, see attached. But now I am > stuck. It turns out that, as the asserts show, that cur.text() is null > in both places: before calling the inset-dispatch, and later in the > lyxtext's dispatch. Did you read these two threads? http://ww

Math mbox crash

2005-03-14 Thread Martin Vermeer
About the mbox bug: I did some testing, see attached. But now I am stuck. It turns out that, as the asserts show, that cur.text() is null in both places: before calling the inset-dispatch, and later in the lyxtext's dispatch. I assume that at least the latter is not supposed to be the case. But I

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-14 Thread Georg Baum
Helge Hafting wrote: > One can normally not insert a label inside ERT, as most of the toolbar > goes gray when entering an ERT. It is possible another way though: > > 1. Insert a label. Type something into the label dialog, but don't > finish it. > 2. Press the ERT button on the toolbar while t

Re: Table selection crash

2005-03-14 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Not really. I think I know where the problem is, not how to fix it :-( Too bad. Jürgen

Re: table crash & oddities in today's lyx-1.4cvs/Table navigation in lyx 1.4cvs

2005-03-14 Thread Juergen Spitzmueller
Thanks for the reports, Helge. I am answering to both of your mails here, because I have a patch which fixes some of the issues. Helge Hafting wrote: > * select cells, press C-M for math. Crash! ÂNo, I don't see how this > Â Âcould be useful, so ignoring operations on selections when > Â Âthe cur

Re: Table selection crash

2005-03-14 Thread Martin Vermeer
On Mon, Mar 14, 2005 at 11:42:02AM +0100, Juergen Spitzmueller wrote: > This is probably related to the problem we detected when selected nested > insets inside tables (problem with LFUN_MOUSE_MOTION). I think Martin has an > idea how to fix this. > > Jürgen Not really. I think I know where the

Re: Compile time results for lyx-1.3.5

2005-03-14 Thread Jose' Matos
On Sunday 13 March 2005 23:11, Lars Gullik Bjønnes wrote: > > Actually I am more intrerested in the differences than in the acutal > numbers. (just to put some ice in your bloodstream) > > Between frontends and compilers. $ uname -a Linux quadOPTERON 2.6.10-1.770_14.rhfc3.atsmp #1 SMP Fri Mar 4 14

Lyx-1.4cvs: label inserted inside ERT

2005-03-14 Thread Helge Hafting
One can normally not insert a label inside ERT, as most of the toolbar goes gray when entering an ERT. It is possible another way though: 1. Insert a label. Type something into the label dialog, but don't finish it. 2. Press the ERT button on the toolbar while the label dialog is active. An E

Re: Table selection crash

2005-03-14 Thread Juergen Spitzmueller
This is probably related to the problem we detected when selected nested insets inside tables (problem with LFUN_MOUSE_MOTION). I think Martin has an idea how to fix this. JÃrgen Helge Hafting wrote: > Lyx may crash when selecting nested tables: > > * Selecting two side-by-side tables works wel

Re: Illegal label names

2005-03-14 Thread Helge Hafting
G. Milde wrote: On 14.03.05, Helge Hafting wrote: G. Milde wrote: I would prefer, if LyX did not accept "illegal" characters in a label, so I am able to find this label in the form I entered in the LaTeX output (which I share with my co-workeres) and in the LyX source (which I tend to edit

Table selection crash

2005-03-14 Thread Helge Hafting
Lyx may crash when selecting nested tables: * Selecting two side-by-side tables works well. * Selecting a whole table that happens to contain another table in a cell seems to work. But, using bold or italic does not apply to all the cells in the table(s) thus selected. Both tables had some em

table crash & oddities in today's lyx-1.4cvs

2005-03-14 Thread Helge Hafting
Thanks for improving tables, I can now select some cells and use bold, emph or similiar. Nice! I tried some other, less useful operations, to check for stability: * select cells, insert label. Works, I get a label where the cursor was. * select cells, press C-M for math. Crash! No, I don't see ho

Table navigation in lyx 1.4cvs

2005-03-14 Thread Helge Hafting
Table navigation === * Pressing tab or shift-tab in a table cell does nothing. Moving to the next/previous table cell was expected, it is nice and quick to be able to jump out of a (long) cell text directly to the next cell. * Pressing C-rightarrow (or leftarrow) jumps whole words

Re: Help needed from Italy

2005-03-14 Thread Jean-Marc Lasgouttes
> "inverness1" == inverness1 <[EMAIL PROTECTED]> writes: inverness1> Hi folks. I'm the italian translator. I would like to know inverness1> if Jean Marc Lasgouttes is still in businnes because og he inverness1> doesn't answer to my letters. Any suggestions? Hello Costantino, I am very sorry

Lyx 1.4cvs bad default sans serif screen font

2005-03-14 Thread Helge Hafting
I get these default screen fonts with lyx-1.4cvs qt: Roman: serif (ok) Sans serif: Abandoned Bitplane (ouch) Typewriter: Monospace (ok) I have plenty of fonts installed, so this particularly bad font is avoidable. (The font is ok for special effects, it is unuseable in normal text. Just try looki

Re: Illegal label names

2005-03-14 Thread G. Milde
On 14.03.05, Helge Hafting wrote: > G. Milde wrote: > > >I would prefer, if LyX did not accept "illegal" characters in a label, so I > >am able to find this label in the form I entered in the LaTeX output (which > >I share with my co-workeres) and in the LyX source (which I tend to edit > >with re

lyx 1.4 microbug - splash document comes up unprintable

2005-03-14 Thread Helge Hafting
When I load a read-only document, most editing controls are grayed out, which is fine. I can still print or "save as", as expected. When lyx-1.4cvs starts for the first time it loads splash.lyx, but forgets to enable those few buttons that work for a read-only document. (I.e. everything is still g

Re: Illegal label names

2005-03-14 Thread Helge Hafting
G. Milde wrote: On 11.03.05, Andreas Vox wrote: Theofilos Strinopoulos <[EMAIL PROTECTED]> writes: For example 'equation for \eta' is an invalid label because of the '\' character. Can you make lyx give a warning when the user has entered an illegal label name? For DocBook we automat

Re: [patch] fix nested tables in tex2lyx

2005-03-14 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Nested tables make tex2lyx crash, because they are not Georg> recognized in the first parsing stage where the table structure Georg> is extracted. The attached patch fixes this by introducing a Georg> new method Parser::verbatimEnviron