Re: Copy paste of double quotes lead to Encoding error.

2007-05-22 Thread Darren Freeman
See http://bugzilla.lyx.org/show_bug.cgi?id=3673 Also see the recent thread started by me, "LyX encoding error". Yes, it is confirmed. I believe I included the Word quote char in my example file. Have fun, Darren On Tue, 2007-05-22 at 23:17 -0500, Bo Peng wrote: > This is under windows, lyx 1.5

Re: Macro docs (Was: Protected blanks vanish converting to mathed)

2007-05-22 Thread christian . ridderstrom
On Wed, 23 May 2007, Darren Freeman wrote: On Tue, 2007-05-22 at 16:52 +, Angus Leeming wrote: In this particular case, the math macro would look something like: macro: keV [ \textrm{keV} ][ \kilo\electronvolt ] Sorry but I just don't follow the User Guide, s5.6 "User defined macros in m

Forgotten patches? (Was: [patch] Add "User templates" button to "Select template file" dialog)

2007-05-22 Thread christian . ridderstrom
On Tue, 22 May 2007, Michael Gerz wrote: What happened this patch? Was it rejected or forgotten? I don't know if patches are forgotten frequently, but if they are, is there some way to use e.g. bugzilla to keep a list of patches that are to be considered? (To me it seems that people manual

Re: Protected blanks vanish converting to mathed

2007-05-22 Thread Andre Poenitz
On Wed, May 23, 2007 at 02:47:10PM +1000, Darren Freeman wrote: > On Tue, 2007-05-22 at 16:52 +, Angus Leeming wrote: > > Darren Freeman <[EMAIL PROTECTED]> writes: > > > enter the following: "10 keV" , {"10", C-' ', "keV"}. Now convert both > > > to mathed with C-m after highlighting. > > > >

Re: Ctrl-B toggles bold state of a mixed selection

2007-05-22 Thread christian . ridderstrom
On Wed, 23 May 2007, Darren Freeman wrote: This isn't an issue with a Word interface compatibility.. (and I hate Word so you can assume that from now on!) I can't think of any other application I have personally used where the bold function toggles the state across the whole selection. It's..

Re: Rarely used keybindings?

2007-05-22 Thread Michael Gerz
Darren Freeman schrieb: Hi all, I accidentally hit C-n when I meant to hit C-m, and was pleasantly surprised to find a new document. And I started to wonder how often people need to create new documents or close them for that matter. Couldn't these bindings (and others) be re-used for more comm

Re: UTF8->UCS4 failure on FreeBSD 6.2-RELEASE

2007-05-22 Thread Michael Gerz
Jean-Marc Lasgouttes schrieb: Peter> After the release of 1.5, I assume. Are we sure? The 1.5 branch would be better with the real 1.34, rather than a prerelease. +1 Michael

Re: 1.5b3 grace->pdf problems

2007-05-22 Thread Michael Gerz
Neal Becker schrieb: lyx-1.5b3. I added: \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF $$i 2>/dev/null" "" But it's not being used when I choose 'view pdflatex'. Instead, I get: An error occurred whilst running epstopdf --outfile='6_home_nbecker_shannon2_hg_8ps ERR

Re: Warning Question

2007-05-22 Thread Michael Gerz
Jean-Marc Lasgouttes schrieb: "Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes: Stefan> With multiple views every edit gets kind of global because Stefan> some other cursor can be inside the edited inset. Stefan> I guess there is no infra structure in place for all that, Stefan> right

Re: [patch] Add "User templates" button to "Select template file" dialog

2007-05-22 Thread Michael Gerz
hzluo schrieb: Instead of adding a third button, what about having just the two buttons "User templates" and "global templates" (or some similar naming)? I am not sure that "Documents" is useful. In this new version of the patch, I removed the "Documents" button for the "New from template" dial

Re: [Bug 3676] Citation Problems

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 08:54:51PM +0100, José Matos wrote: > On Tuesday 22 May 2007 8:25:36 pm Andre Poenitz wrote: > > Come on, throwing dice a hundred times in a whole evening is hardly a > > challenge... > > More like six times one hundred. Since each test has six (more or less > related) q

Re: [patch] Bug 3645: Listings dialog: gui not translatable

2007-05-22 Thread Herbert Voss
Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> Fine with me. Please commit once you got another OK. > > Thanks for committing. I've found one remainder in my tree, an adjustment to > a > comment. I let you decide on that (and commit). > I'm away from my machine now. > > Jürgen > > >

Re: Ctrl-B toggles bold state of a mixed selection

2007-05-22 Thread Darren Freeman
On Tue, 2007-05-22 at 23:48 +0200, Helge Hafting wrote: > On Wed, May 23, 2007 at 01:19:31AM +1000, Darren Freeman wrote: > > On Tue, 2007-05-22 at 16:13 +0200, Helge Hafting wrote: > > > Correct. Of course, that don't mean the LyX way is the best way > > > everytime. But changing just to "be lik

Macro docs (Was: Protected blanks vanish converting to mathed)

2007-05-22 Thread Darren Freeman
On Tue, 2007-05-22 at 16:52 +, Angus Leeming wrote: > In this particular case, the math macro would look something like: > > macro: keV [ \textrm{keV} ][ \kilo\electronvolt ] Sorry but I just don't follow the User Guide, s5.6 "User defined macros in math mode" This topic is now completely op

Re: htlatex and Windows

2007-05-22 Thread Enrico Forestieri
On Tue, May 22, 2007 at 09:20:33PM -0400, RGH wrote: > Enrico Forestieri wrote: > > On Tue, May 22, 2007 at 04:35:11PM -0400, Richard Heck wrote: > > > >> So does this seem to be the pathname problem? You can run htlatex > >> file.tex. Can you run htlatex path/file.tex? Can you run htlatex > >>

Re: Protected blanks vanish converting to mathed

2007-05-22 Thread Darren Freeman
On Tue, 2007-05-22 at 16:52 +, Angus Leeming wrote: > Darren Freeman <[EMAIL PROTECTED]> writes: > > enter the following: "10 keV" , {"10", C-' ', "keV"}. Now convert both > > to mathed with C-m after highlighting. > > I think that you need to investigate the SIUnits package: > http://www.math

Re: [patch] Bug 3645: Listings dialog: gui not translatable

2007-05-22 Thread Jürgen Spitzmüller
Also sprach Jürgen Spitzmüller: > I've found one remainder in my tree, an adjustment to a > comment. I let you decide on that (and commit). > I'm away from my machine now. I see now it's wrong. Forget it. Jürgen

Copy paste of double quotes lead to Encoding error.

2007-05-22 Thread Bo Peng
This is under windows, lyx 1.5.0 beta3. 1. enter " " in word. I get `` and '' shaped quotes. 2. copy " " and paste to a lyx document 3. compile lyx leads to "Encoding error, some characters of your document are changing to utf8 could help". Can anyone confirm this? In regional settings, the

Re: [patch] Bug 3645: Listings dialog: gui not translatable

2007-05-22 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Fine with me. Please commit once you got another OK. Thanks for committing. I've found one remainder in my tree, an adjustment to a comment. I let you decide on that (and commit). I'm away from my machine now. Jürgen Index: src/insets/InsetListingsParams.cpp =

Re: Quick test of listings, some small issues

2007-05-22 Thread Bo Peng
Issues: * The LyX document can't include its own source file as a listing, complaining that the document includes itself. A bit strange perhaps, but this is _not_ a problem with a listing, as the nothing more will be included from the listed source. Suggestion: skip the "include loop" test

Re: htlatex and Windows

2007-05-22 Thread RGH
Enrico Forestieri wrote: On Tue, May 22, 2007 at 04:35:11PM -0400, Richard Heck wrote: So does this seem to be the pathname problem? You can run htlatex file.tex. Can you run htlatex path/file.tex? Can you run htlatex c:/path/file.tex? If you can run the former, this is fixable, because we ca

Re: [patch] bug 3664: language dialects not available in listings dialog

2007-05-22 Thread Uwe Stöhr
Jürgen Spitzmüller schrieb: I won't have svn access tomorrow and the day after, so don't hurry. Attached is the most recent patch (containg Bo's most recent hints). Please test this one. Perfect, I couldn't find one more bug ;-) Please commit. I like the solution for the dialects. My propose

Re: [patch] Bug 3645: Listings dialog: gui not translatable

2007-05-22 Thread Uwe Stöhr
> Since Uwe has been testing this I will wait for his verdict, if he approves > this can go on. This stuff is nothing I can correctly test due to lack of knowledge, sorry. regards Uwe

Quick test of listings, some small issues

2007-05-22 Thread Helge Hafting
I tried the listings, and noticed some small issues. The test document had a file inserted as listing, followed by an embedded listing. Issues: * The LyX document can't include its own source file as a listing, complaining that the document includes itself. A bit strange perhaps, but this is _

Re: [patch] fix bug 3672 - better one

2007-05-22 Thread Enrico Forestieri
On Wed, May 23, 2007 at 01:19:03AM +0200, Uwe Stöhr wrote: > >> Shouldn't it be "Limits Styles" with a capital S? > > > > And should it be "Limits Styles" or "Limit Styles"? > > > > I was expecting for some developer with English (or some variant ;-) ) as > > mother tongue to chime in and ble

Re: [patch] Math macros not imported, Bug #21

2007-05-22 Thread Uwe Stöhr
First, I like your patch and give an OK. > FYI, I tried with these examples: > 5 \newcommand{\foo}[2][\frac{1}{2}]{(#1|#2)} $\foo 1{23}345$ > 6 \newcommand{\foo}[2][\frac{1}{2}]{(#1|#2)} $\foo 1{23}345$ What is the difference? Only for information: Why can't this and 5 and 6 not be imported in

Re: crash tex2lyx

2007-05-22 Thread Enrico Forestieri
On Mon, May 21, 2007 at 07:47:31PM +0200, Andre Poenitz wrote: > On Mon, May 21, 2007 at 10:32:47AM -0400, xxx wrote: > > what a weird bug. nice work. > > > > yyy wrote: > > > great detective work!! > > > > > > zzz wrote: > > > > ... > > Could we at least on lyx-devel try to avoid top posting wi

Re: [patch] fix bug 3672 - better one

2007-05-22 Thread Uwe Stöhr
>> Shouldn't it be "Limits Styles" with a capital S? > > And should it be "Limits Styles" or "Limit Styles"? > > I was expecting for some developer with English (or some variant ;-) ) as > mother tongue to chime in and bless this. I think we could also could decide this trivial issue: - All othe

Re: Do we have \linebreak? Fwd: Suggestion for change in LyX

2007-05-22 Thread christian . ridderstrom
On Tue, 22 May 2007, Bo Peng wrote: On 5/22/07, Bo Peng <[EMAIL PROTECTED]> wrote: > For a LaTeX user the Insert > Formatting > Line Break menu entry > in LyX is confusing, since it does NOT inserts a line break, i.e. > the LaTeX command \linebreak that stretches the rest of the line > over

Re: htlatex and Windows

2007-05-22 Thread Enrico Forestieri
On Tue, May 22, 2007 at 04:35:11PM -0400, Richard Heck wrote: > > So does this seem to be the pathname problem? You can run htlatex > file.tex. Can you run htlatex path/file.tex? Can you run htlatex > c:/path/file.tex? If you can run the former, this is fixable, because we > can use the relative p

Re: 1.5 uncompilable on amd64 since yesterday - No rule to make target `ExternalSupport.C'

2007-05-22 Thread Helge Hafting
On Tue, May 22, 2007 at 11:16:41PM +0100, José Matos wrote: > On Tuesday 22 May 2007 10:59:07 pm Helge Hafting wrote: > > I'll try that.  But now I wonder:  how > > can I possibly have a "wrong" file when "svn status" comes up empty? > > I thought that meant everything is up-to-date with nothing ex

Re: crash tex2lyx

2007-05-22 Thread christian . ridderstrom
On Mon, 21 May 2007, Andre Poenitz wrote: On Mon, May 21, 2007 at 08:04:44PM +0200, Stefan Schimanski wrote: [Another fullquote/toposting] Sorry for taking your precious time. I am not sure this was the kind of response I would have considered either 'expected' or 'appropriate'. Maybe it w

Re: Spammers in action (Was [Bug 993] MakeDisplayPath is a big fat liar (fwd))

2007-05-22 Thread christian . ridderstrom
On Mon, 21 May 2007, Pavel Sanda wrote: Unfortunately I found one (1) attachment that was of the type application/octet-stream that was spam :-( As there were quite a few attachments with that thats really funny :) i guess that in such a case web browser wont be able to recognize it a

Re: 1.5 uncompilable on amd64 since yesterday - No rule to make target `ExternalSupport.C'

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 10:59:07 pm Helge Hafting wrote: > I'll try that.  But now I wonder:  how > can I possibly have a "wrong" file when "svn status" comes up empty? > I thought that meant everything is up-to-date with nothing extra? There are files which are ignored by svn because we say so,

Re: How to use 'block' in beamer?

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 11:05:39 pm Uwe Stöhr wrote: > Martin, I think it was your commit that changed this, right? Yes and it intendeds to document the behaviour of the paragraph. It is a shortcut while we don't have the analog of the optional arguments _[]_ for extra arguments _{}_. > regar

Re: 1.5 uncompilable on amd64 since yesterday - No rule to make target `ExternalSupport.C'

2007-05-22 Thread Helge Hafting
On Tue, May 22, 2007 at 10:28:00PM +0100, José Matos wrote: > On Tuesday 22 May 2007 9:23:56 pm Helge Hafting wrote: > > Yesterday's and today's LyX 1.5 won't compile on amd64, for some > > reason. > > > > Things I have tried: > > svn up > > Use "svn status", then remove all files not supposed to b

Re: How to use 'block' in beamer?

2007-05-22 Thread Uwe Stöhr
Neal Becker schrieb: This is lyx-1.5.0b3. I selected 'block' and I get something that says: block ( ERT[{title}] body ): There is no way to select that block... with the mouse. How do I edit it? If I do nothing, then pdflatex will pick up the first letter of the following text and highlight

Re: Ctrl-B toggles bold state of a mixed selection

2007-05-22 Thread Helge Hafting
On Wed, May 23, 2007 at 01:19:31AM +1000, Darren Freeman wrote: > On Tue, 2007-05-22 at 16:13 +0200, Helge Hafting wrote: > > Correct. Of course, that don't mean the LyX way is the best way > > everytime. But changing just to "be like others" isn't popular. > > The change had better be an improve

Re: Do we have \linebreak? Fwd: Suggestion for change in LyX

2007-05-22 Thread Bo Peng
On 5/22/07, Bo Peng <[EMAIL PROTECTED]> wrote: > For a LaTeX user the Insert > Formatting > Line Break menu entry > in LyX is confusing, since it does NOT inserts a line break, i.e. > the LaTeX command \linebreak that stretches the rest of the line > over the full linewidth, but instead inserts a

Re: [patch - different approach] parbox with only width setting, automatic height gets height 0pt (lyx 1.5)

2007-05-22 Thread Micha Feigin
[...] > > Ok, I tried going a different approach of modifying tex2lyx to achieve the > expected results when importing documents. > The idea is to use 1\totalheight instead of 0pt as the default value when > importing a parbox/minipage with no height. This would achieve what people > expect on imp

Re: [patch] adding powerdot layout

2007-05-22 Thread Uwe Stöhr
> With the LaTeXConfig.lyx.in entry this patch is OK. Done: http://www.lyx.org/trac/changeset/18463 regards Uwe

Re: 1.5 uncompilable on amd64 since yesterday - No rule to make target `ExternalSupport.C'

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 9:23:56 pm Helge Hafting wrote: > Yesterday's and today's LyX 1.5 won't compile on amd64, for some > reason. > > Things I have tried: > svn up > Use "svn status", then remove all files not supposed to be there > ./autogen.sh > ./configure --prefix=/usr/local --with-frontend=q

Re: Lyx to Docbook

2007-05-22 Thread Richard Heck
Lars Olesen wrote: > How do I translate a lyx document to docbook Open Document>Settings>DocumentClass. In the Document Class drop box, choose "DocBook (article)" or whatever. Choose OK. (You may get some conversion errors depending upon the document.) Now look under File>Export. You should see "Do

Re: [Bug 3676] Citation Problems

2007-05-22 Thread Richard Heck
Edwin Leuven wrote: > one thing which should be done is to remove linebreaks in entries, > f.e. if i have an entry like this > @article{doe2000, > title = {My brilliant > new paper}, > ...} > then the newline in the title is visible in the citation dialog. it > wasn't like this bef

Re: htlatex and Windows

2007-05-22 Thread Richard Heck
So does this seem to be the pathname problem? You can run htlatex file.tex. Can you run htlatex path/file.tex? Can you run htlatex c:/path/file.tex? If you can run the former, this is fixable, because we can use the relative pathname. I'm not sure what to do about this. HTML View and Export have

1.5 uncompilable on amd64 since yesterday - No rule to make target `ExternalSupport.C'

2007-05-22 Thread Helge Hafting
Yesterday's and today's LyX 1.5 won't compile on amd64, for some reason. Things I have tried: svn up Use "svn status", then remove all files not supposed to be there ./autogen.sh ./configure --prefix=/usr/local --with-frontend=qt4 --with-gnu-ld --enable-optimization=-Os --disable-stdlib-debug --d

Re: [PATCH] Bug 3633.

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 8:58:53 pm Bo Peng wrote: > Jose, can I apply the first part of this patch? Yes with the André's remarks. > Bo -- José Abílio

Re: [patch] bug 3664: language dialects not available in listings dialog

2007-05-22 Thread Bo Peng
Uhm, does not compile (typo). Try this instead (final one, promised). My initial plan was to provide a crude version of listings for 1.5.0, and add all GUI, validation and translation stuff later. It seems that we have overworked this plan. :-) Kudos to Jurgen and Uwe. Bo

Re: [PATCH] Bug 3633.

2007-05-22 Thread Bo Peng
Being derived from InsetText is not crucial, however, having a working Text * InsetFoo::getText(int index) is. This usually means you need 'some kind of embedded Text somewhere'... I see, the problem with InsetInclude is that it does not have any real paragraph inside so I can not move to th

Re: [Bug 3676] Citation Problems

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 8:25:36 pm Andre Poenitz wrote: > Come on, throwing dice a hundred times in a whole evening is hardly a > challenge... More like six times one hundred. Since each test has six (more or less related) questions. > Andre' -- José Abílio

Re: [patch] bug 3664: language dialects not available in listings dialog

2007-05-22 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > I won't have svn access tomorrow and the day after, so don't hurry. > Attached is the most recent patch (containg Bo's most recent hints). Please > test this one. Uhm, does not compile (typo). Try this instead (final one, promised). Jürgen Index: src/frontends/qt4/QLis

Re: [patch] fix bug 3672

2007-05-22 Thread Uwe Stöhr
Stefan Schimanski schrieb: Shouldn't it be "Limits Styles" with a capital S? Yes your are right it should be capital. regards Uwe

Re: [PATCH] Bug 3633.

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 02:10:04PM -0500, Bo Peng wrote: > >> + if (floatName != string()) > > > > if (!floatName.empty()) > > Thanks Andre, but do you know how to get the pit of an InsetInclude? I am afraid I don't understand the question. In most cases a variable 'pit' is an i

Re: Mathed sub/superscripts highlighting

2007-05-22 Thread Enrico Forestieri
On Tue, May 22, 2007 at 07:49:44PM +0200, Andre Poenitz wrote: > On Tue, May 22, 2007 at 02:11:08AM +0200, Enrico Forestieri wrote: > > On Mon, May 21, 2007 at 07:28:40PM +0200, Andre Poenitz wrote: > > > > As I was asking, does this really mean anything? > > > > > > Sure. Just look at the output

Re: [Bug 3676] Citation Problems

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 07:46:55PM +0100, José Matos wrote: > On Tuesday 22 May 2007 7:35:12 pm Richard Heck wrote: > > With all the split attention right now, it might be best to wait until > > 1.5.0 is out and then commit this to svn so that it gets tested, early > > on, along with whatever other

Re: htlatex and Windows

2007-05-22 Thread Edwin Leuven
Richard Heck wrote: Can someone see if using htlatex.bat rather than htlatex on Windows helps with the "can't use pathnames" problem? I've found some references to this on the web. no luck (works fine if i run htlatex on the .tex file) C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.html.con

Re: [patch] Math macros not imported, Bug #21

2007-05-22 Thread Stefan Schimanski
Am 22.05.2007 um 20:39 schrieb Andre Poenitz: On Tue, May 22, 2007 at 08:49:31AM +0100, José Matos wrote: On Tuesday 22 May 2007 7:08:55 am Stefan Schimanski wrote: I backported my fix to trunk as proposed by Uwe. The patch is attached to the bug report: http://bugzilla.lyx.org/show_bug.cgi? i

Re: [patch] Bug 3645: Listings dialog: gui not translatable

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 11:31:32AM -0500, Bo Peng wrote: > On 5/22/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > >The attached patch makes the internal messages translatable. Please have a > >look at the conversion business. I'm not entirely sure I got it right. > > I do not know these from/

Re: [PATCH] Bug 3692

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 11:35:28AM -0400, Richard Heck wrote: > José Matos wrote: > > On Tuesday 22 May 2007 6:24:41 am Richard Heck wrote: > > > >> A very simple patch to fix this bug. OK to commit? > >> > > OK. What do we loose with the removal of the regular expression? > > > Sorry,

Re: htlatex and Windows

2007-05-22 Thread RGH
Richard Heck wrote: Can someone see if using htlatex.bat rather than htlatex on Windows helps with the "can't use pathnames" problem? I've found some references to this on the web. Actually, it looks like getting htlatex to work with Windows is entirely non-trivial: http://facweb.arch.ohi

Re: [PATCH] Bug 3633.

2007-05-22 Thread Bo Peng
> + if (floatName != string()) if (!floatName.empty()) Thanks Andre, but do you know how to get the pit of an InsetInclude? Bo + // This *does not* work because pit is not a proper ParConstIterator + // at least pit->id() would cra

Re: How can I compare two Insets?

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 06:29:23PM +0300, Dov Feldstern wrote: > Elazar Leibovich wrote: > >Well, I'm in cursorX() so I'm having > >BufferView bv, > >CursorSlice sl, > >and finally boundary. Which does nothing AFAIK, it's just always FALSE. > > No no! It is sometimes True, I've seen that. > > It'

Re: [PATCH] Bug 3633.

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 10:17:47AM -0500, Bo Peng wrote: > The first part is easy. > > Index: src/MenuBackend.cpp > === > --- src/MenuBackend.cpp (revision 18451) > +++ src/MenuBackend.cpp (working copy) > @@ -734,7 +734,1

Re: How can I compare two Insets?

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 06:09:29PM +0300, Elazar Leibovich wrote: > On 5/22/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > >> "Elazar" == Elazar Leibovich <[EMAIL PROTECTED]> writes: > > > >Elazar> I'm well aware for it, but I haven't the slightest idea of > >Elazar> what does it mean, a

Re: Using Qt/Mac Binary Distribution for LyX make Was: Qt4 binary

2007-05-22 Thread Bob Lounsbury
On 5/22/07, Andreas Neustifter <[EMAIL PROTECTED]> wrote: On 22.05.2007, at 15:49, Abdelrazak Younes wrote: > Why don't you use the CMake support instead? As a bonus it will > generate an XCode project for you... At least that's what I > understood from Stefan and Peter exchange. > > Abdel. Sor

Re: How can I compare two Insets?

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 05:41:22PM +0300, Elazar Leibovich wrote: > Well, I'm in cursorX() so I'm having > BufferView bv, > CursorSlice sl, > and finally boundary. Which does nothing AFAIK, it's just always FALSE. > I suspect that it's supposed to tell you whether or not the cursor is > right in fr

Re: [Bug 3676] Citation Problems

2007-05-22 Thread Edwin Leuven
Richard Heck wrote: But I'll see if anyone steps up to test it. i applied it and will have a look one thing which should be done is to remove linebreaks in entries, f.e. if i have an entry like this @article{doe2000, title = {My brilliant new paper}, ... } then the ne

Re: How can I compare two Insets?

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 05:29:10PM +0300, Elazar Leibovich wrote: > I thought of a way to know whether or not the cursor is editing the > current paragraph. One should compare cursor.inset() with > par.getInset(position). > However there's no operator== in the inset objects. > Is it easy to make on

Re: Exception thrown on unreadable directory

2007-05-22 Thread RGH
The fact that my chmod a-x command caused the directory to be unreadable I do not understand, but still LyX should handle the situation gracefully. Executable" on a directory means "enterable". So it's not so much that it's not readable.You can't cd into it, and you can't open any file that is i

Re: Using Qt/Mac Binary Distribution for LyX make Was: Qt4 binary

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 7:44:07 pm Andreas Neustifter wrote: > Sorry, there was another post from which I assumed that cmake is a   > Microsoft/Windows thing. Big sorry for that, had to catch up on   > latest build technology. With capital letters all the way it really looks like m$ stuff. ;-) [Yes

Re: [patch] Math macros not imported, Bug #21

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 01:58:42PM +0200, Stefan Schimanski wrote: > FYI, I tried with these examples: > > 1 \newcommand{\foo}{42} $\foo 1{23}345$ > 2 \newcommand{\foo}[1]{(#1)} $\foo 1{23}345$ > 3 \newcommand{\foo}[1]{(#1|#1)} $\foo 1{23}345$ > 4 \newcommand{\foo}[2]{(#1|#2)} $\foo 1{23}345$ > 5

Exception thrown on unreadable directory

2007-05-22 Thread Burchill, Johnathan
Hi all, Running lyx 1.5 beta 3 compiled on openSUSE 10.2, I get "Caught "normal" exception: boost::filesystem::exists", "Aborted" when trying to open a lyx file that has a graphic from an unreadable directory. To reproduce, -1 create a directory, say "Figures" 0 chmod 000 Figures 1 create a new

Re: [Bug 3676] Citation Problems

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 7:35:12 pm Richard Heck wrote: > With all the split attention right now, it might be best to wait until > 1.5.0 is out and then commit this to svn so that it gets tested, early > on, along with whatever other bugfixes turn up. But I'll see if anyone > steps up to test it.

Re: Rarely used keybindings?

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 08:19:24PM +1000, Darren Freeman wrote: > Hi all, > > I accidentally hit C-n when I meant to hit C-m, and was pleasantly > surprised to find a new document. > > And I started to wonder how often people need to create new documents or > close them for that matter. Couldn't

Re: Using Qt/Mac Binary Distribution for LyX make Was: Qt4 binary

2007-05-22 Thread Andreas Neustifter
On 22.05.2007, at 15:49, Abdelrazak Younes wrote: Why don't you use the CMake support instead? As a bonus it will generate an XCode project for you... At least that's what I understood from Stefan and Peter exchange. Abdel. Sorry, there was another post from which I assumed that cmake is a

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread Peter Kümmel
José Matos wrote: > On Tuesday 22 May 2007 7:26:37 pm Peter Kümmel wrote: >> The current svn code is not correct, even when this patch isn't perfect, >> should I apply it? > > Could you get more people to test it, please? > > This is a sensitive area, just like walking on thin glass. :-) > >

Re: Warning Question

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 09:58:58AM +0200, Jean-Marc Lasgouttes wrote: > > "Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes: > > Stefan> With multiple views every edit gets kind of global because > Stefan> some other cursor can be inside the edited inset. > > Stefan> I guess there is n

htlatex and Windows

2007-05-22 Thread Richard Heck
Can someone see if using htlatex.bat rather than htlatex on Windows helps with the "can't use pathnames" problem? I've found some references to this on the web. rh -- == Richard G Heck, Jr Professor of Philosophy Brown University h

Re: [patch] Math macros not imported, Bug #21

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 08:49:31AM +0100, José Matos wrote: > On Tuesday 22 May 2007 7:08:55 am Stefan Schimanski wrote: > > I backported my fix to trunk as proposed by Uwe. The patch is > > attached to the bug report: http://bugzilla.lyx.org/show_bug.cgi?id=21 > > I would like to hear what Andr

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 7:26:37 pm Peter Kümmel wrote: > The current svn code is not correct, even when this patch isn't perfect, > should I apply it? Could you get more people to test it, please? This is a sensitive area, just like walking on thin glass. :-) If by Friday you don't have any

Re: [Bug 3676] Citation Problems

2007-05-22 Thread Richard Heck
José Matos wrote: > On Tuesday 22 May 2007 4:38:23 pm Richard Heck wrote: > >> OK. I'll hold this for now. But I expect we'll see more bug reports >> about this. It's not that hard to trigger it, and it looks really bad in >> the dialog itself. >> > If you get one or two people, not necessa

Re: [Cvslog] r18399 - in /lyx-devel/trunk/src: Cursor.cpp TextMetrics.cpp

2007-05-22 Thread Andre Poenitz
On Mon, May 21, 2007 at 11:50:08PM +0200, Michael Gerz wrote: > [EMAIL PROTECTED] schrieb: > >Author: spitz > >Date: Fri May 18 11:21:07 2007 > >New Revision: 18399 > > > >Modified: lyx-devel/trunk/src/Cursor.cpp > >URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/Cursor.cpp?rev=18399 > >=

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread Peter Kümmel
Dov Feldstern wrote: > Peter Kümmel wrote: >> >> I'm running out of ideas... >> Is this patch better (the flush call is new)? >> Or with processEvents instead of flush? >> > > event_2.patch works for me --- but then again event_1 did, too. Again, > this is on linux. Scrolling appears to be fine (b

Re: [PATCH] do not make document dirty when toggling collapsable inset

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 6:41:19 pm Abdelrazak Younes wrote: > I am repeating myself but, theoretically > speaking, pragmatically speaking, logically speaking, the inset status > is not a document information. I agree with Abdel here. > > Or are we going to have some > > subtle algorithm to deci

Re: [PATCH] Fix crash with collapsable insets and multiple views

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 6:54:33 pm Abdelrazak Younes wrote: > Attached. OK. > Abdel. -- José Abílio

Re: UTF8->UCS4 failure on FreeBSD 6.2-RELEASE

2007-05-22 Thread Peter Kümmel
Abdelrazak Younes wrote: > José Matos wrote: >> On Tuesday 22 May 2007 8:52:30 am Jean-Marc Lasgouttes wrote: >>> Are we sure? The 1.5 branch would be better with the real 1.34, rather >>> than a prerelease. >> >> I tend to agree with Jean-Marc here. > > Me too. > > Abdel. > I've updated to b

Re: [Bug 3676] Citation Problems

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 4:38:23 pm Richard Heck wrote: > OK. I'll hold this for now. But I expect we'll see more bug reports > about this. It's not that hard to trigger it, and it looks really bad in > the dialog itself. If you get one or two people, not necessarily developers, to test this patch

Re: [patch] Bug 3645: Listings dialog: gui not translatable

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 5:44:50 pm Jürgen Spitzmüller wrote: > Fine with me. Please commit once you got another OK. > (nice ping pong game btw). Since Uwe has been testing this I will wait for his verdict, if he approves this can go on. > Jürgen -- José Abílio

Re: [Bug 3676] Citation Problems

2007-05-22 Thread Richard Heck
> > > By the way, are we sure we want the "search as you go" functionality > currently in the citation dialog? There is notable slowness on my > machine (Athlon 2400+, 1GB), as I've got 500+ BibTeX keys in the dialog > and they all have to be searched on every keypress. > >

Re: [patch] bug 3664: language dialects not available in listings dialog

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 7:10:49 pm José Matos wrote: > On Tuesday 22 May 2007 3:56:45 pm Bo Peng wrote: > > I agree to commit. Uwe? Jose? > >   OK. But it does not hurt to wait for Uwe's tests. :-) > > Bo -- José Abílio

Re: [patch] bug 3664: language dialects not available in listings dialog

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 3:56:45 pm Bo Peng wrote: > I agree to commit. Uwe? Jose? OK. > Bo -- José Abílio

Re: [PATCH] Bug 3692

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 4:35:28 pm Richard Heck wrote: > Committed minus the comment. OK. Thanks. :-) > Richard -- José Abílio

Re: 1.5.0svn slow view updates

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 4:08:22 pm Jean-Marc Lasgouttes wrote: > He is on Suse. Could it be a bad clipboard interaction? klipper has been working without problems for quite some time, but it can be a suggestion to disable it and to see if the problem remains... Using Fedora and kde I don't ha

Re: [patch] Update the Hebrew Intro.lyx

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 4:12:58 pm Dov Feldstern wrote: > So Uwe, if you need that other vote for committing, you've got mine. > Thanks! OK. > Just two small points, if Ran wants to fix them fine, if not this can be > committed as-is as far as I'm concerned: +1 -- José Abílio

Re: [patch] fix bug 3672

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 5:36:12 pm Stefan Schimanski wrote: > Shouldn't it be "Limits Styles" with a capital S? And should it be "Limits Styles" or "Limit Styles"? I was expecting for some developer with English (or some variant ;-) ) as mother tongue to chime in and bless this. FWIW, I agree wi

Re: [patch] Partial fix for cursor position before Inset

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 08:51:20AM +0300, Elazar Leibovich wrote: > I documented the problem in the patch itself. > I suspect that the reason it didn't happen in previous releases is, > that the "boundary" variable was setted correctly. I don't really > understand what does the " boundary variable

Re: Ctrl-B toggles bold state of a mixed selection

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 4:19:31 pm Darren Freeman wrote: We welcome your reports. :-) Usually there is a good reason why things are done in a given way. We are open minded people who try to balance between stability of interface and a better interface, it is not an easy compromise as you can

[PATCH] Fix crash with collapsable insets and multiple views

2007-05-22 Thread Abdelrazak Younes
Attached. Abdel. Index: InsetCollapsable.cpp === --- InsetCollapsable.cpp(revision 18459) +++ InsetCollapsable.cpp(working copy) @@ -442,6 +442,10 @@ setButtonLabel(); if (status_ == Collapsed)

Re: [PATCH] do not make document dirty when toggling collapsable inset

2007-05-22 Thread Sam Lewis
Jean-Marc wrote: URL: http://permalink.gmane.org/gmane.editors.lyx.devel/84923 > Uwe reopened the bug and added the following comment: > > --- Additional Comments From > [EMAIL PROTECTED] 2007-05-22 17:26 --- I do > not agree with the reverting. Why was this necessary? This fix works > fin

Re: Mathed sub/superscripts highlighting

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 02:11:08AM +0200, Enrico Forestieri wrote: > On Mon, May 21, 2007 at 07:28:40PM +0200, Andre Poenitz wrote: > > > As I was asking, does this really mean anything? > > > > Sure. Just look at the output of {Ge}^1 and Ge^1. > > > > The superscript is in different heights abov

  1   2   3   >