Re: windows preview bug fix

2024-03-12 Thread Jürgen Spitzmüller
Am Dienstag, dem 12.03.2024 um 13:23 +0200 schrieb Idan Pazi: > I hereby grant a permission for all of my contributions to LyX to be > licensed under the GPL version 2 or later. Thanks, I committed your patch. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mail

Re: windows preview bug fix

2024-03-12 Thread Idan Pazi
I hereby grant a permission for all of my contributions to LyX to be licensed under the GPL version 2 or later. Thank you, Idan Pazi -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: windows preview bug fix

2024-03-12 Thread José Matos
On Tue, 2024-03-12 at 10:37 +0100, Jürgen Spitzmüller wrote: > If nobody beats me to it, I will do it. Thank you Jürgen, I am busy with other issues. Best regards, -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: windows preview bug fix

2024-03-12 Thread Jürgen Spitzmüller
Am Sonntag, dem 10.03.2024 um 14:52 -0400 schrieb Richard Kimberly Heck: > On 3/8/24 04:19, Jürgen Spitzmüller wrote: > > Am Samstag, dem 02.03.2024 um 19:49 + schrieb José Matos: > > > After our exchange last week I feel inclined to apply this. > > > > > > I am still note sure that this is th

Re: windows preview bug fix

2024-03-10 Thread Richard Kimberly Heck
On 3/8/24 04:19, Jürgen Spitzmüller wrote: Am Samstag, dem 02.03.2024 um 19:49 + schrieb José Matos: After our exchange last week I feel inclined to apply this. I am still note sure that this is the right step but clearly it improves the code regarding the previous one. Does any one oppose

Re: windows preview bug fix

2024-03-08 Thread Jürgen Spitzmüller
Am Samstag, dem 02.03.2024 um 19:49 + schrieb José Matos: > After our exchange last week I feel inclined to apply this. > > I am still note sure that this is the right step but clearly it > improves the code regarding the previous one. > > Does any one opposes to this action? My suggestion w

Re: windows preview bug fix

2024-03-02 Thread José Matos
On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: > Encountered the following bug (windows 10, python 3.12) - preview of > math fails: > >  graphics\PreviewLoader.cpp (2ef): > > PreviewLoader::finishedInProgress(1): processing failed for py -3 - > > tt $$s/scripts/lyxpreview2bitmap.py --png > > "

Re: windows preview bug fix

2024-02-24 Thread José Matos
On Sat, 2024-02-24 at 21:51 +0100, Enrico Forestieri wrote: > Wanting to be very safe, we could use te chardet library for > performing the correct conversion, but if the above is the standard > with python 3 on windows I don't think it is necessary. In [1]: help(str) ... str(object='') -> str str

Re: windows preview bug fix

2024-02-24 Thread Enrico Forestieri
On Sat, Feb 24, 2024 at 01:17:56PM +0200, Idan Pazi wrote: I have sys.flags.utf8_mode = 0. I assume everything is utf8, but I don't think the problem is about finding the right encoding. On the contrary, it is necessary to know the initial encoding of a bytes object for converting it to unic

Re: windows preview bug fix

2024-02-24 Thread Idan Pazi
I have sys.flags.utf8_mode = 0. I assume everything is utf8, but I don't think the problem is about finding the right encoding. win32file.ReadFile returns bytes, which cannot be added (+) to a string (see data = "" at line 162). Assume that on some cases it returns a string, then this patch won'

Re: windows preview bug fix

2024-02-23 Thread José Matos
On Sat, 2024-02-17 at 10:41 +0100, Enrico Forestieri wrote: > On Fri, Feb 16, 2024 at 03:28:25PM +, José Matos wrote: > > > > On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: > > > > > > Apparently, the returned value from win32file.ReadFile should be > > > converted to a string.  > > > >

Re: windows preview bug fix

2024-02-17 Thread Enrico Forestieri
On Fri, Feb 16, 2024 at 03:28:25PM +, José Matos wrote: On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: Apparently, the returned value from win32file.ReadFile should be converted to a string.  Fix patch attached. Thank you, Idan What is the encoding of the bytes? Is it UTF8? If so

Re: windows preview bug fix

2024-02-16 Thread José Matos
On Fri, 2024-02-16 at 15:23 +0200, Idan Pazi wrote: > > Apparently, the returned value from win32file.ReadFile should be > converted to a string.  > Fix patch attached. > Thank you, Idan What is the encoding of the bytes? Is it UTF8? If so the patch look right. @Enrico, what do you think? --

windows preview bug fix

2024-02-16 Thread Idan Pazi
Encountered the following bug (windows 10, python 3.12) - preview of math fails: graphics\PreviewLoader.cpp (2ef): PreviewLoader::finishedInProgress(1): processing failed for py -3 -tt $$s/scripts/lyxpreview2bitmap.py --png "C:/Users/idank/AppData/Local/Temp/lyx_tmpdir.mzhGYGTpQcAc/lyx_tmpbuf0/ly

Re: [Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
Use this one rather. - Martin On Mon, Mar 05, 2007 at 03:50:11PM +0200, Martin Vermeer wrote: > > Attached the reworked patch. Works for me. > > - Martin > > > On Fri, Mar 02, 2007 at 01:38:59PM +0200, Martin Vermeer wrote: > > On Fri, Mar 02, 2007 at 11:34:06AM +0100, Jean-Marc Lasgouttes wr

[Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
Attached the reworked patch. Works for me. - Martin On Fri, Mar 02, 2007 at 01:38:59PM +0200, Martin Vermeer wrote: > On Fri, Mar 02, 2007 at 11:34:06AM +0100, Jean-Marc Lasgouttes wrote: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > > > Martin> On Fri, Mar 02, 2007 at 0

Re: Bug fix for #2306

2007-02-09 Thread Michael Gerz
Hello, this patch fixes an important CT usability problem (#2306). Georg, thanks for pointing me to a nice technical solution! Michael Author: schmitt Date: Fri Feb 9 11:27:41 2007 New Revision: 17122 URL: http://www.lyx.org/trac/changeset/17122 Log: * src/CutAndPaste.C: copySelect

Re: Bug fix for #2306

2007-02-09 Thread Georg Baum
Michael Gerz wrote: > +// do not copy text (also nested in insets) which is marked as > deleted > +// FIXME: acceptChanges() is defined for LyXText rather than > ParagraphList > +// Therefore we must wrap 'paragraphs' into a LyXText object and > cross our fingers > +

Bug fix for #2306

2007-02-08 Thread Michael Gerz
Hi, this patch fixes bug #2306. The code looks a bit clumsy but I see no better solution with the current architecture. Is it acceptable for you? Michael Index: CutAndPaste.C === --- CutAndPaste.C (Revision 17120) +++ CutAndPaste

Re: Bug fix 675, caption handling

2006-03-04 Thread Martin Vermeer
On Sat, Mar 04, 2006 at 11:51:30AM +0100, Georg Baum wrote: > Am Samstag, 4. März 2006 09:48 schrieb Martin Vermeer: > > > Does this sound like an idea (yes, it's adding more special code :-( ) > Of > > course if we move to using a caption inset (on what timetable? It looks > > good!) we should d

Re: Bug fix 675, caption handling

2006-03-04 Thread Georg Baum
Am Samstag, 4. März 2006 09:48 schrieb Martin Vermeer: > Does this sound like an idea (yes, it's adding more special code :-( ) Of > course if we move to using a caption inset (on what timetable? It looks > good!) we should do it inside there. Might even be easier still. [EMAIL PROTECTED]:~/sw/s

Bug fix 675, caption handling

2006-03-04 Thread Martin Vermeer
I posted at patch at bugzilla for 675, which implements Jean-Marc's suggestion to \protect the graphic if inside the caption (or any other running arg). It works as predicted. The discussion at the bug report made me think about caption handling again. The relevant code is in breakParagraph in te

Re: [Patch] RtL space width bug fix

2005-09-19 Thread Martin Vermeer
On Mon, 2005-09-19 at 11:48 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> The displayed width of a space on-screen is taken from the > Martin> wrong position in the row... but only for RtL text. And thus > Martin> the row display is m

Re: [Patch] RtL space width bug fix

2005-09-19 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> The displayed width of a space on-screen is taken from the Martin> wrong position in the row... but only for RtL text. And thus Martin> the row display is messed up if it contains spaces. Patch Martin> fixes this. Martin> I beli

[Patch] RtL space width bug fix

2005-09-16 Thread Martin Vermeer
The displayed width of a space on-screen is taken from the wrong position in the row... but only for RtL text. And thus the row display is messed up if it contains spaces. Patch fixes this. I believe this to be correct, but please test. Bug and patch are in bugzilla: bug 2029. - Martin Index: r

[New patch] cursor positioning bug fix

2005-04-04 Thread Martin Vermeer
On Fri, Apr 01, 2005 at 05:42:30PM +0300, Martin Vermeer wrote: > > Attached is a patch that fixes this cursor positioning problem for math > insets-within-insets. I don't like it very much but it works, and it is > based on an understanding of the bug's mechanism, which is always > comforting. (W

Re: Small bug fix for toc generation (LyX.py).

2005-02-16 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> This was the result of the file format change that lead to Jose'> this line in LyX.py OK, thanks. JMarc

Re: Small bug fix for toc generation (LyX.py).

2005-02-16 Thread Jose' Matos
On Wednesday 16 February 2005 10:08, Jean-Marc Lasgouttes wrote: > > "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: > > Jose'> Hi, I have this in my tree, I think that we have discussed this > Jose'> some time ago as it fixes a bug reported at that time. > > And what was this bug? http://w

Re: Small bug fix for toc generation (LyX.py).

2005-02-16 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> Hi, I have this in my tree, I think that we have discussed this Jose'> some time ago as it fixes a bug reported at that time. And what was this bug? JMarc

Small bug fix for toc generation (LyX.py).

2005-02-15 Thread Jose' Matos
Hi, I have this in my tree, I think that we have discussed this some time ago as it fixes a bug reported at that time. If I don't have any objections I will apply it soon. :-) -- José Abílio Index: LyX.py === RCS file: /usr/loca

Re: [PATCH] cursor define bug fix

2003-10-18 Thread Martin Vermeer
On Mon, Oct 13, 2003 at 04:53:24PM +0300, Martin Vermeer spake thusly: > > At least this fixes one of them. (It took the cursor position inside > the inset and compared it with the length of the paragraph containing > the inset. Works OK as long as the inset content is longer than the > containing

[PATCH] cursor define bug fix

2003-10-13 Thread Martin Vermeer
At least this fixes one of them. (It took the cursor position inside the inset and compared it with the length of the paragraph containing the inset. Works OK as long as the inset content is longer than the containing paragraph :-( ) - Martin PS I'm on my way travelling the rest of the week... Wa

Re: Small bug-fix on ref dialog (QT)

2002-12-18 Thread John Levon
On Wed, Dec 18, 2002 at 08:22:03PM +0100, Alfredo Braunstein wrote: > The reference label was not correctly selected. fixed. btw, you should subscribe to the lyx-cvs list, so you can see your patch go in .. regards john -- "ALL television is children's television." - Richard Adler

Small bug-fix on ref dialog (QT)

2002-12-18 Thread Alfredo Braunstein
2002/12/18 19:19:17 @@ -1,3 +1,7 @@ +2002-12-18 Alfredo Braunstein <[EMAIL PROTECTED]> + + * QRef.C (redoRefs): small bug fix (wrong label was selected) + 2002-12-18 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * Alert_pimpl.C (askForText_pimpl): replace qt_() with _() I

Re: [Patch] xformsImage::clip() bug fix

2002-10-31 Thread Angus Leeming
On Thursday 31 October 2002 6:02 am, Rob Lahaye wrote: > Hi, > > The attached patch fixes an image clipping bug in > xformsImage.C. The patch fixes the following type of error: > > int i = 5; > unsigned int ui = 20; > int offset = std::max(0U, i - ui); > > Here, (i - ui) is converted to

[Patch] xformsImage::clip() bug fix

2002-10-30 Thread Rob Lahaye
Hi, The attached patch fixes an image clipping bug in xformsImage.C. The patch fixes the following type of error: int i = 5; unsigned int ui = 20; int offset = std::max(0U, i - ui); Here, (i - ui) is converted to unsigned int. If (i - ui) is negative, then this is converted to a very l

(bug fix) circumflex, underscore in math

2002-01-23 Thread Martin Vermeer
This finally should lay to rest, in a way that is IMHO good enough for 1.2.0, the trouble with the circumflex and underscore symbol insertion in math. -- Martin 2002-01-24 Martin Vermeer <[EMAIL PROTECTED]> * LaTeXFeatures.C: * lyx_sty.[Ch]: * math_macro.C:

Re: Solaris complilation bug fix: sinf/cosf missing (addendum)

2002-01-07 Thread Jean-Marc Lasgouttes
> "Gary" == Gary Hall <[EMAIL PROTECTED]> writes: Gary> I forgot to mention that an include directive for sunmath.h is Gary> required for src/insets/figinset.C. What version of solaris? What compiler? If it is gcc, what does 'gcc -v' say? JMarc

Re: Solaris complilation bug fix: sinf/cosf missing (addendum)

2002-01-07 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Thu, Jan 03, 2002 at 10:54:17AM -0800, Gary Hall wrote: >> I forgot to mention that an include directive for sunmath.h is >> required for src/insets/figinset.C. John> What lyx version ? I think your system is a little broken, we Joh

Re: Solaris complilation bug fix: sinf/cosf missing (addendum)

2002-01-03 Thread John Levon
On Thu, Jan 03, 2002 at 10:54:17AM -0800, Gary Hall wrote: > I forgot to mention that an include directive for sunmath.h is required > for src/insets/figinset.C. What lyx version ? I think your system is a little broken, we don't mention sinf or cosf in figinset.C I don't even know what they a

Solaris complilation bug fix: sinf/cosf missing (addendum)

2002-01-03 Thread Gary Hall
I forgot to mention that an include directive for sunmath.h is required for src/insets/figinset.C. -- Gary Hall [EMAIL PROTECTED] | Voice (604) 291-5925 Centre for Systems Science | Fax (604) 291-5404 Simon Fraser University| Burnaby, B.C. V5A 1S6 |

Solaris compilation bug fix: cosf/sinf missing

2002-01-03 Thread Gary Hall
While compiling Lyx on Sun sparc Solaris 5.8 I encountered the following error: g++ -g -O2 -o lyx BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o Chktex. o ColorHandler.o CutAndPaste.o DepTable.o FloatList.o Floating.o FontInfo.o Font Loader.o LColor.o LaTeX.o LaTeXFeatures.o LaTeXLog.o Ly

Re: Small bug fix, mathed

2001-12-16 Thread Martin Vermeer
Huh... why doesn't this work? Here's the patch, which fixes (second chunk) the occasionally italic numerals appearing initially in an equation inset: Index: math_cursor.C === RCS file: /cvs/lyx/lyx-devel/src/mathed/math_cursor.C,

Small bug fix, mathed

2001-12-15 Thread Martin Vermeer
Anybody else notice that sometimes, entering the first digit in a (sub-)inset in math appears as italic, and only subsequent ones as roman? This happens in a single math inset in text as well as in a super/subscript, sqrt and frac inset. LyX file (as well as saved and re-loaded appearance) is O

Re: A bug/fix report for language option in LyX1.1.6fix1

2001-02-09 Thread Lars Gullik Bjønnes
Min Xu <[EMAIL PROTECTED]> writes: | Thanks. A new version of hyperref solves the problem. But putting the language | as a global option does break some other packages, for example, the newest | slide making package "prosper" will be broken if the global language option is | used. Then this i

Re: A bug/fix report for language option in LyX1.1.6fix1

2001-02-09 Thread Dekel Tsur
On Fri, Feb 09, 2001 at 08:49:49AM -0500, Min Xu wrote: > Thanks. A new version of hyperref solves the problem. But putting the language > as a global option does break some other packages, for example, the newest > slide making package "prosper" will be broken if the global language option is

Re: A bug/fix report for language option in LyX1.1.6fix1

2001-02-09 Thread Min Xu
Thanks. A new version of hyperref solves the problem. But putting the language as a global option does break some other packages, for example, the newest slide making package "prosper" will be broken if the global language option is used. Does it make more sense that the language option is spe

Re: A bug/fix report for language option in LyX1.1.6fix1

2001-02-08 Thread Dekel Tsur
On Thu, Feb 08, 2001 at 10:05:28AM -0500, Min Xu wrote: > The LyX1.1.6fix1 handles the language option by putting it as a global > option. Recently, I found this placement make the pdflatex fail with the > following message: > > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual

Re: A bug/fix report for language option in LyX1.1.6fix1

2001-02-08 Thread Lars Gullik Bjønnes
Min Xu <[EMAIL PROTECTED]> writes: | Hi, | | The LyX1.1.6fix1 handles the language option by putting it as a global | option. Recently, I found this placement make the pdflatex fail with | the following message: If so, this is a bug in pdflatex or the documentclass or a package file... Can you

A bug/fix report for language option in LyX1.1.6fix1

2001-02-08 Thread Min Xu
Hi, The LyX1.1.6fix1 handles the language option by putting it as a global option. Recently, I found this placement make the pdflatex fail with the following message: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help

Re: [Bug Fix] Thai Kedmanee keyboard map

2001-02-06 Thread Jean-Marc Lasgouttes
> "Chanop" == Chanop Silpa-Anan <[EMAIL PROTECTED]> writes: Chanop> Oops I forgot to attach the file. Thanks. I'll apply it. JMarc

Re: [Bug Fix] Thai Kedmanee keyboard map

2001-02-06 Thread Dekel Tsur
On Tue, Feb 06, 2001 at 11:24:41PM +1100, Chanop Silpa-Anan wrote: > I have it like Encoding tis620-0 blah_blah_blah before. I'll try > with tisenc plus patch the Form.C file with tisenc entry. A second look reveals that tisenc.enc is a font encoding file, and not an input encoding file. It se

Re: [Bug Fix] Thai Kedmanee keyboard map

2001-02-06 Thread Chanop Silpa-Anan
Thank you for the hints. Once upon a time, I heard Dekel Tsur say > On Tue, Feb 06, 2001 at 04:56:42PM +1100, Chanop Silpa-Anan wrote: > > Q1: What is the encoding in lib/encondings for? Is it for screen encoding > > that map 8-bit to unicode? > > It is currently used for converting the interna

Re: [Bug Fix] Thai Kedmanee keyboard map

2001-02-06 Thread Dekel Tsur
On Tue, Feb 06, 2001 at 04:56:42PM +1100, Chanop Silpa-Anan wrote: > Q1: What is the encoding in lib/encondings for? Is it for screen encoding > that map 8-bit to unicode? It is currently used for converting the internal 8-bit representation to 16-bit unicode when using an iso10646-1 screen font.

Re: [Bug Fix] Thai Kedmanee keyboard map

2001-02-05 Thread Chanop Silpa-Anan
Oops I forgot to attach the file. Here it is. Chanop -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GE d? s+: a- C++ UL++ P+ L+++ E- W++ N++ o-- K- w--- O- M+ V-- PS PE++ Y PGP++ t+ 5++ X+ R tv+++ b++ DI+ D- G e+++ h* r+ y+ --END GEEK CODE BLOCK-- # # Thai Kedmanee Keyboard for Lyx

[Bug Fix] Thai Kedmanee keyboard map

2001-02-05 Thread Chanop Silpa-Anan
I had one bug on thai-kedmanee.kmap posted earlier. The attactment is the fixed version. Q1: What is the encoding in lib/encondings for? Is it for screen encoding that map 8-bit to unicode? Q2: In lib/language, I'm not sure whether if I add a line like thaithai"Thai" f

Re: Patch: bug fix

2001-01-08 Thread Dekel Tsur
On Mon, Jan 08, 2001 at 01:42:57PM +0100, Juergen Vigna wrote: > > If there are more than one paragraphs then the column must be a fixed width > > column, in which case the test GetPWidth(cell).empty() fails, so LyX doesn't > > write the \R{}. However, the \selectlanguage{} commands between the >

Re: Patch: bug fix

2001-01-08 Thread Juergen Vigna
On 08-Jan-2001 Dekel Tsur wrote: > > If there are more than one paragraphs then the column must be a fixed width > column, in which case the test GetPWidth(cell).empty() fails, so LyX doesn't > write the \R{}. However, the \selectlanguage{} commands between the > paragraph will cause the correct

Re: Patch: bug fix

2001-01-08 Thread Dekel Tsur
On Mon, Jan 08, 2001 at 12:24:35PM +0100, Juergen Vigna wrote: > > On 08-Jan-2001 Dekel Tsur wrote: > > >> Last() returns a pointer so it really should be .. && inset->par->Last() && > >> shouldn't it? > > > > No, Last() returns LyXParagraph::size_type (= unsigned int). > > > > Sure dump from

Re: Patch: bug fix

2001-01-08 Thread Juergen Vigna
On 08-Jan-2001 Dekel Tsur wrote: >> Last() returns a pointer so it really should be .. && inset->par->Last() && >> shouldn't it? > > No, Last() returns LyXParagraph::size_type (= unsigned int). > Sure dump from me :(, but what if the inset has more then one paragraph and one is RTL and the ot

Re: Patch: bug fix

2001-01-08 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | No, Last() returns LyXParagraph::size_type (= unsigned int). signed int I hope... will be a unsigned int later, but not yet. Lgb

Re: Patch: bug fix

2001-01-08 Thread Dekel Tsur
On Mon, Jan 08, 2001 at 11:04:16AM +0100, Juergen Vigna wrote: > 1. > > @@ -2195,7 +2195,16 @@ int LyXTabular::Latex(Buffer const * buf > + bool rtl = inset->par->isRightToLeftPar(buf->params) && > +

RE: Patch: bug fix

2001-01-08 Thread Juergen Vigna
On 07-Jan-2001 Dekel Tsur wrote: > The following patch fixes several bugs with insettabular/insettext (mostly RTL > stuff). I've also made one change which isn't exactly a bug fix: The changes seems sound I just have some questions

Patch: bug fix

2001-01-07 Thread Dekel Tsur
The following patch fixes several bugs with insettabular/insettext (mostly RTL stuff). I've also made one change which isn't exactly a bug fix: When you press tab in a tabular cell, and the cursor is in a non-dummy position (i.e. the red frame is displayed, or technically, the insett

Re: Small bug fix patch

2001-01-05 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> * src/frontends/xforms/FormDocument.C (FormDocument::build): Dekel> Disable class_->choice_doc_class and language_->choice_language Dekel> to allow using the class/language combox with keyboard. Good. Applied. BTW, when I use Escape

Small bug fix patch

2001-01-04 Thread Dekel Tsur
* src/frontends/xforms/FormDocument.C (FormDocument::build): Disable class_->choice_doc_class and language_->choice_language to allow using the class/language combox with keyboard. patch.gz

Re: Mathed bug fix

2000-09-25 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> I've found a related "bug" (this time, the bug is an old one): Dekel> Start a new formula inset, type \x and then type backspace (to Dekel> delete the x). The formula inset is now drawn with zero height, Dekel> which is rather annoyin

Re: Mathed bug fix

2000-09-25 Thread Juergen Vigna
On 22-Sep-2000 Dekel Tsur wrote: > > I've found a related "bug" (this time, the bug is an old one): [snip] Applied to 1.1.6cvs! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/F

Re: Mathed bug fix

2000-09-22 Thread Dekel Tsur
On Thu, Sep 21, 2000 at 09:58:47PM +0300, Dekel Tsur wrote: > Due to recent changes (replacing of char * by strings), there is a new bug in > mathed: > When inside the mathed, while typing \cos, no text is visible until pressing > space. I've attached a bug that fixes it. I've found a related "bu

RE: Mathed bug fix

2000-09-22 Thread Juergen Vigna
On 21-Sep-2000 Dekel Tsur wrote: > Due to recent changes (replacing of char * by strings), there is a new bug in > mathed: > When inside the mathed, while typing \cos, no text is visible until pressing > space. I've attached a bug that fixes it. Applied! Jürgen -- -._-._-._-._-._-._-._-.

Mathed bug fix

2000-09-21 Thread Dekel Tsur
Due to recent changes (replacing of char * by strings), there is a new bug in mathed: When inside the mathed, while typing \cos, no text is visible until pressing space. I've attached a bug that fixes it. patch.gz

Re: A small bug fix

2000-09-05 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> I've attach a fix Dekel> for a bug in the paragraph spacing code, when the compiler Dekel> doesn't have sstream. The patch can also go to 1.1.5fix2 Done. Thanks. JMarc

Re: A small bug fix

2000-08-21 Thread Garst R. Reese
Allan Rae wrote: > > On Mon, 21 Aug 2000, Garst R. Reese wrote: > > > Allan Rae wrote: > > > > > > On Mon, 21 Aug 2000, Garst R. Reese wrote: > > > > Just tried to make. Attached is the log. > > > > xforms .88, gcc-2.95.2 libc2.1.3 > > > > Garst > > > > > > D'oh! Fixed the fix now. Try again.

Re: A small bug fix

2000-08-20 Thread Allan Rae
On Mon, 21 Aug 2000, Garst R. Reese wrote: > Allan Rae wrote: > > > > On Mon, 21 Aug 2000, Garst R. Reese wrote: > > > Just tried to make. Attached is the log. > > > xforms .88, gcc-2.95.2 libc2.1.3 > > > Garst > > > > D'oh! Fixed the fix now. Try again. > > > > Allan. (ARRae) > It compiled

Re: A small bug fix

2000-08-20 Thread Garst R. Reese
Allan Rae wrote: > > On Mon, 21 Aug 2000, Garst R. Reese wrote: > > Just tried to make. Attached is the log. > > xforms .88, gcc-2.95.2 libc2.1.3 > > Garst > > D'oh! Fixed the fix now. Try again. > > Allan. (ARRae) It compiled, I can close a file, but Alt-Enter still gets me out of a mini-pa

Re: A small bug fix

2000-08-20 Thread Garst R. Reese
Allan Rae wrote: > > On Mon, 21 Aug 2000, Garst R. Reese wrote: > > Just tried to make. Attached is the log. > > xforms .88, gcc-2.95.2 libc2.1.3 > > Garst > > D'oh! Fixed the fix now. Try again. > > Allan. (ARRae) Did you comit? I'm getting the same msg. and don't see any relevant files tim

Re: A small bug fix

2000-08-20 Thread Allan Rae
On Mon, 21 Aug 2000, Garst R. Reese wrote: > Just tried to make. Attached is the log. > xforms .88, gcc-2.95.2 libc2.1.3 > Garst D'oh! Fixed the fix now. Try again. Allan. (ARRae)

Re: A small bug fix

2000-08-20 Thread Garst R. Reese
Allan Rae wrote: > > On Thu, 17 Aug 2000, Dekel Tsur wrote: > > > I've attach a fix for a bug in the paragraph spacing code, when the compiler > > doesn't have sstream. > > The patch can also go to 1.1.5fix2 > > Applied to 1.1.6cvs. > > Allan. (ARRae) Just tried to make. Attached is the log. x

Re: A small bug fix

2000-08-20 Thread Allan Rae
On Thu, 17 Aug 2000, Dekel Tsur wrote: > I've attach a fix for a bug in the paragraph spacing code, when the compiler > doesn't have sstream. > The patch can also go to 1.1.5fix2 Applied to 1.1.6cvs. Allan. (ARRae)

A small bug fix

2000-08-17 Thread Dekel Tsur
I've attach a fix for a bug in the paragraph spacing code, when the compiler doesn't have sstream. The patch can also go to 1.1.5fix2 patch.gz

Re: Literate Program patch - bug fix

2000-07-07 Thread Lars Gullik Bjønnes
Bernard Michael Hurley <[EMAIL PROTECTED]> writes: | On Thu, Jul 06, 2000 at 01:01:19PM +0200, Lars Gullik Bjønnes wrote: | | > | > I can only say that LaTex was never intended to be subclasses | > from...so I really don't like that part of the patch... | | In this case, why is scanLogFile de

Re: Literate Program patch - bug fix

2000-07-06 Thread Kayvan A. Sylvan
On Thu, Jul 06, 2000 at 09:48:46PM +0100, Bernard Michael Hurley wrote: > On Thu, Jul 06, 2000 at 12:33:21PM +0200, Lars Gullik Bjønnes wrote: > > > > Can the Literate people please have a look at this patch and tell me > > if it is good or not? > > > I should have pointed out that you will hav

Re: Literate Program patch - bug fix

2000-07-06 Thread Bernard Michael Hurley
On Thu, Jul 06, 2000 at 01:01:19PM +0200, Lars Gullik Bjønnes wrote: > > I can only say that LaTex was never intended to be subclasses > from...so I really don't like that part of the patch... In this case, why is scanLogFile declared "protected"? > > The whole LaTeX class is specially tuned

Re: Literate Program patch - bug fix

2000-07-06 Thread Bernard Michael Hurley
On Thu, Jul 06, 2000 at 12:33:21PM +0200, Lars Gullik Bjønnes wrote: > > Can the Literate people please have a look at this patch and tell me > if it is good or not? > I should have pointed out that you will have to use the new "listerrors" compiled from the new "Literate.lyx". I suppose this

Re: Literate Program patch - bug fix

2000-07-06 Thread Kayvan A. Sylvan
On Thu, Jul 06, 2000 at 12:33:21PM +0200, Lars Gullik Bjønnes wrote: > Bernard Michael Hurley <[EMAIL PROTECTED]> writes: > > | Error messages are now passed back correctly from gcc and placed > | "under" error buttons in a Literate LyX source. I have added an > | extra parameter to LaTeX::scanLo

Re: Literate Program patch - bug fix

2000-07-06 Thread Lars Gullik Bjønnes
Bernard Michael Hurley <[EMAIL PROTECTED]> writes: | Hi all, | | I have just fixed a bug in the Literate Programming facility in LyX. The attached |patch affects: | |in /src: LaTeX.h LaTeX.C Literate.h Literate.C |in /lib/examples: Literate.lyx | | Error messages are now passed back

Re: Literate Program patch - bug fix

2000-07-06 Thread Lars Gullik Bjønnes
Bernard Michael Hurley <[EMAIL PROTECTED]> writes: | Error messages are now passed back correctly from gcc and placed | "under" error buttons in a Literate LyX source. I have added an | extra parameter to LaTeX::scanLogFile. This allows subclasses of | LaTeX (e.g. Literate) to scan a log file for

Literate Program patch - bug fix

2000-07-05 Thread Bernard Michael Hurley
Hi all, I have just fixed a bug in the Literate Programming facility in LyX. The attached patch affects: in /src: LaTeX.h LaTeX.C Literate.h Literate.C in /lib/examples: Literate.lyx Error messages are now passed back correctly from gcc and placed "under" error buttons in a Literate L

Re: Patch (bug fix)

2000-05-05 Thread Juergen Vigna
On 05-May-2000 Jean-Marc Lasgouttes wrote: >> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: > > Dekel> The place with a conflict was in the insettext. Since it isn't > Dekel> being used currently, I just removed the new code from there. > Dekel> The following patch also fixes the "americ

Re: Patch (bug fix)

2000-05-05 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> The place with a conflict was in the insettext. Since it isn't Dekel> being used currently, I just removed the new code from there. Dekel> The following patch also fixes the "american" language problem. Thanks. JMarc

Re: Patch (bug fix)

2000-05-04 Thread Dekel Tsur
On Thu, May 04, 2000 at 02:56:39PM +0200, Jean-Marc Lasgouttes wrote: > > Could re-re-redo your patch? (I know it's a pain...) The place with a conflict was in the insettext. Since it isn't being used currently, I just removed the new code from there. The following patch also fixes the "american

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Lars> So that means that if the command is robust we don't need Lars> a | Lars> \protect even if

Re: Patch (bug fix)

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> So that means that if the command is robust we don't need a | Lars> \protect even if it is in a moving argument? | | That's it. Why protect something which is robust, aft

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> I used style.isCommand() because it was used in Dekel> SimpleTeXSpecialChars() (in other words, LyX currently put Dekel> \protect in the argument of any command). As you suggested, it Dekel> should be style.needprotect, so I've change

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> So that means that if the command is robust we don't need a Lars> \protect even if it is in a moving argument? That's it. Why protect something which is robust, after all? JMarc

Re: Patch (bug fix)

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it | Lars> should be style.needprotect, so I've changed it, | and also | Lars> renamed the 'fragile' variable to

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it Lars> should be style.needprotect, so I've changed it, | and also Lars> renamed the 'fragile' variable to 'need_protect'. Lars> Not sure about this one. Oh, I agree

Re: Patch (bug fix)

2000-04-28 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it should be style.needprotect, so I've changed it, | and also renamed the 'fragile' variable to 'need_protect'. Not sure about this one. Oh, I agree that the name should change. 'need_protect' seems to demand a '\protect' and I don't t

Re: Patch (bug fix)

2000-04-28 Thread Dekel Tsur
On Fri, Apr 28, 2000 at 04:59:44PM +0200, Jean-Marc Lasgouttes wrote: > > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: > > Dekel> The following patch allows using the URL inset inside the > Dekel> \thanks{} command (it adds \protect to the LaTeX file). > > Dekel, I still do not understa

Re: Patch (bug fix)

2000-04-28 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> The following patch allows using the URL inset inside the Dekel> \thanks{} command (it adds \protect to the LaTeX file). Dekel, I still do not understand the statement fragile |= style.isCommand(); in your patch. As I see it, it will

  1   2   >