Re: Lyx Pretty Print Features for Scientific Programming

2000-07-06 Thread Bernard Michael Hurley
On Wed, Jul 05, 2000 at 10:52:27PM -0400, Nicholas Konidaris wrote: > Dear Lyx Developers -- > > Thank you for an awesome program! One thing I have dreamt about for > years is a way to have a 'pretty printing' front end for a programming > language (like C.) > > Imagine.. Instead of

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: If you please, draw me a fix (status update #3)

2000-07-06 Thread Dekel Tsur
On Wed, Jul 05, 2000 at 06:17:29PM +0200, Jean-Marc Lasgouttes wrote: > > Hello, > > I think it is nearly time to release 1.1.5fix1. All of the known bugs Here is a patch I backported from the 1.1.6 branch (it adds Reset options to the language option in the character style popup). patch.gz

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: InsetCitation patch

2000-07-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Ah! Yes. I would NEVER have got this! Thanks Lars. Could you | (someone) shove I have come across those buggers before :-) Lgb

Re: InsetCitation patch

2000-07-06 Thread Angus Leeming
Lars> Do you have #pragma interface in insetcite.h, but no #pragma Lars> implementation in insetcite.C? Ah! Yes. I would NEVER have got this! Thanks Lars. Could you (someone) shove #ifdef __GNUG__ #pragma implementation #endif into insetcite.C Angus PS, Baruch. You should modify the patch

Re: InsetCitation patch

2000-07-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | explicit | InsetCitation(string const & key, string const & note = string()); | : InsetCommand("cite", key, note) {} | | Does it help if you split this into two? | src/insets/insetcite.h: | explicit | InsetCitation

Re: lyx-1.1.5 bug report

2000-07-06 Thread Joao Cardoso
Jose Abilio Oliveira Matos wrote: > > On Thu, Jul 06, 2000 at 03:19:36AM +0100, Joao Cardoso wrote: > > > > Hi, > > > > First of all, thanks for lyx! > > Obrigado. ;) [only to Jose] Ola! tambem em participei no lyx, nos tempos da versao 0.10. > > > In 1.1.5, on sco-3.2v5.0.4, I detected two

RE: InsetCitation patch

2000-07-06 Thread Angus Leeming
Jürgen> Well I applied it here on my local tree, can compile now but on linking Jürgen> I get: Jürgen> -lc -lm -L/usr/X11R6/lib -lX11 Jürgen> buffer.o: In function `Buffer::parseSingleLyXformat2Token(LyXLex &, LyXParagraph *&, Jürgen> LyXParagraph *&, lyxstring const &, int &, char &, LyXFont &

Re: Basque.dtx translation

2000-07-06 Thread Jean-Marc Lasgouttes
> "blackziggy" == blackziggy <[EMAIL PROTECTED]> writes: blackziggy> Can somebody wants to change the file language.C to blackziggy> include a row refering to basque language? Otherwise, I'll blackziggy> send you the changed one (language.C file). On further thought, I'll maybe wait until t

Re: Basque.dtx translation

2000-07-06 Thread Jean-Marc Lasgouttes
> "blackziggy" == blackziggy <[EMAIL PROTECTED]> writes: blackziggy> Hi, folks! I'm just finished the basque.dtx translation 4 blackziggy> LaTeX, and submit it to JLBraams. I don´t know when but I blackziggy> think that in a short time period we can download it from blackziggy> LaTeX web pag

RE: InsetCitation patch

2000-07-06 Thread Juergen Vigna
On 06-Jul-2000 Angus Leeming wrote: > Jürgen> NOT good this should be generated automatically from the .fd file, so > Jürgen> if you have to make changes to it which cannot be handled by the sed-logic > Jürgen> in the Makefile you have to use a patch which is automatically applied > Jürgen> every

Re: export to ps - not working?!

2000-07-06 Thread Angus Leeming
JMarc> Baruch> I've tried to use lyx both 1.1.5cvs (old compile, just before JMarc> Baruch> the 1.1.6) and 1.1.6cvs and in none of them the export to JMarc> Baruch> postscript doesn't work, export to tex does work. JMarc> Baruch> I found this when trying to add to gmc (File browser of gnome) JMar

Re: export to ps - not working?!

2000-07-06 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> I've tried to use lyx both 1.1.5cvs (old compile, just before Baruch> the 1.1.6) and 1.1.6cvs and in none of them the export to Baruch> postscript doesn't work, export to tex does work. Baruch> I found this when trying to add to g

Re: [Richard.Morrow@tip.CSIRO.AU (Richard Morrow)] Help

2000-07-06 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: | | Kayvan> If you give me access to ftp.lyx.org, I will be happy to make | Kayvan> sure that all the latest RPMs go there in addition to being | Kayvan> put in my ftp archive. | | O

Re: [Richard.Morrow@tip.CSIRO.AU (Richard Morrow)] Help

2000-07-06 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> If you give me access to ftp.lyx.org, I will be happy to make Kayvan> sure that all the latest RPMs go there in addition to being Kayvan> put in my ftp archive. Only Lars has access for now, and it's up to people at via.ecp.fr

Re: imlib

2000-07-06 Thread Jose Abilio Oliveira Matos
On Thu, Jul 06, 2000 at 09:57:27AM -0300, Garst R. Reese wrote: > Doesn't docbook require all of the same libraries you are suggesting? Nope, generally it is the responsability of the user to do the translations for the different backends. > I started a thread in linux-kernel on documentation

Re: Let's do the fix warp again ! (status report #2)

2000-07-06 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> No, no. I never meant to imply that. However, that patch is not | Lars> quite correct since the .cot should have its own enum value and | Lars> not share one with .toc. |

Re: Patch: lyx.1 manpages.

2000-07-06 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> I realise that the man pages need a patch as well. I've patched R> lyx.1 and attached. (what is the difference between lyx.1 and R> lyx.man?) In fact, lyx.1 is a copy of lyx.man, so the right one to fix is lyx.man. I'll commit that. JMarc

Re: Let's do the fix warp again ! (status report #2)

2000-07-06 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> No, no. I never meant to imply that. However, that patch is not Lars> quite correct since the .cot should have its own enum value and Lars> not share one with .toc. Is that a big problem? I mean, is it good enough like that? O

Re: double-space highlight bug

2000-07-06 Thread Garst R. Reese
Jean-Marc Lasgouttes wrote: > > > "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: > > Garst> I was not questioning the validity of your report, but > Garst> wondering why C-S-Right(Left) does nothing on my system even > Garst> though -dbg 4 reports correctly. Garst > > What does it rep

Re: imlib

2000-07-06 Thread Garst R. Reese
Baruch Even wrote: > > As usual with me lately, another thing I forgot to write. > > imlib will do jpeg, tiff, gif and png natively (with the help of > appropriate libraries) it also does XPM, PPM, PGM (though this are less > likely to be used). > > As mentioned before it used ImageMagick to do

Re: If you please, draw me a fix (status update #3)

2000-07-06 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> This was posted by me. (currently I'm running 1.1.6cvs, not 1.1.5). R> This URL problem as mentioned in msg12218.html has been solved R> since I upgraded to xforms 0.89. R> Could it be an xforms bug, that has been dealt with in 0.89? In fact,

Re: double-space highlight bug

2000-07-06 Thread Jean-Marc Lasgouttes
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> I was not questioning the validity of your report, but Garst> wondering why C-S-Right(Left) does nothing on my system even Garst> though -dbg 4 reports correctly. Garst What does it report? JMarc

Re: double-space highlight bug

2000-07-06 Thread Garst R. Reese
UG wrote: > > Am Mon, 03 Jul 2000 schrieben Sie: > > UG wrote: > > > > > > Now highlight anything by typing Ctrl-Shift-left. > > > > > > I assume this is a slightly different situation than has been fixed. Or did a > > > patch just get lost? > > > > > > Ulrich > > > > > Hmm, in CVS S C Left does

A Question regarding (inset)graphics

2000-07-06 Thread Baruch Even
I'm researching a bit into what is needed for the insetgraphics, one of the main things is to be able to read the image file and show it in the LyX window (hmpf, that's obvious) currently this is done by going to ghostscript and asking it to create the X11 Pixmap (or something of this kind). This

imlib

2000-07-06 Thread Baruch Even
As usual with me lately, another thing I forgot to write. imlib will do jpeg, tiff, gif and png natively (with the help of appropriate libraries) it also does XPM, PPM, PGM (though this are less likely to be used). As mentioned before it used ImageMagick to do translations, so that it will also

Preferences bug (probably in xforms)

2000-07-06 Thread Baruch Even
I'm using xforms 0.89 with lyx 1.1.6cvs and there is a strange interaction going on. When the preferences dialog is not in full width (say in the width it pops-up) clicking on the printer tab will crash lyx with a backtrace in xforms. (Backtrace in the end) However when I resize the window to be

RE: InsetCitation patch

2000-07-06 Thread Angus Leeming
Jürgen> NOT good this should be generated automatically from the .fd file, so Jürgen> if you have to make changes to it which cannot be handled by the sed-logic Jürgen> in the Makefile you have to use a patch which is automatically applied Jürgen> every time the fd-file is edited! Ok. The both pr

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: Patch: better multi-lingual support

2000-07-06 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | On 5 Jul 2000, Lars Gullik Bjønnes wrote: | | > | How exactly this should be done? I'm thinking of the following: | > | In encoding.h (or elsewhere): | > | typedef short int Uchar; | > | typedef std::vector Ustring; | > | > This is not enough, we al

RE: InsetCitation patch

2000-07-06 Thread Juergen Vigna
On 06-Jul-2000 Angus Leeming wrote: > Jürgen> Why do you need also form_citation.[Ch]? They should be autogenerated by > Jürgen> the Makefile in the forms/ subdirectory, aren't they? > > Almost :-) I had to make two TINY changes: > > * in form_citation.h, DEC cxx complains about : > typedef str

RE: InsetCitation patch

2000-07-06 Thread Angus Leeming
Jürgen> Why do you need also form_citation.[Ch]? They should be autogenerated by Jürgen> the Makefile in the forms/ subdirectory, aren't they? Almost :-) I had to make two TINY changes: * in form_citation.h, DEC cxx complains about : typedef struct { ... } FD_form_citation; So I changed

Re: lyx-1.1.5 bug report

2000-07-06 Thread Lars Gullik Bjønnes
Joao Cardoso <[EMAIL PROTECTED]> writes: | Hi, | | First of all, thanks for lyx! | | In 1.1.5, on sco-3.2v5.0.4, I detected two problems: | | 1-lyx is always running, consuming CPU time. You can check it with | 'top'. This is a problem, as I always have lyx (and xemacs) open ;-) problem or pr

RE: InsetCitation patch

2000-07-06 Thread Juergen Vigna
On 06-Jul-2000 Angus Leeming wrote: > Good morning. > > Attached is a patch for a GUI-independent InsetCitation class and associated > xforms dialog class FormCitation. > > The file expands to > > PATCH06July2000/ > PATCH06July2000/patch > PATCH06July2000/FormCitation.C > PATCH06July2000/FormC

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

Re: lyx-1.1.5 bug report

2000-07-06 Thread Lars Gullik Bjønnes
Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes: | > 1-lyx is always running, consuming CPU time. You can check it with | > 'top'. This is a problem, as I always have lyx (and xemacs) open ;-) | | IIRC, this is a xforms problem, at least I remember to see reports | > of that. No, this

InsetCitation patch

2000-07-06 Thread Angus Leeming
Good morning. Attached is a patch for a GUI-independent InsetCitation class and associated xforms dialog class FormCitation. The file expands to PATCH06July2000/ PATCH06July2000/patch PATCH06July2000/FormCitation.C PATCH06July2000/FormCitation.h PATCH06July2000/form_citation.C PATCH06July2000/f

Re: Patch: better multi-lingual support

2000-07-06 Thread Baruch Even
On 5 Jul 2000, Lars Gullik Bjønnes wrote: > | How exactly this should be done? I'm thinking of the following: > | In encoding.h (or elsewhere): > | typedef short int Uchar; > | typedef std::vector Ustring; > > This is not enough, we also need to create char_traits > (also that is bad... be w

regarding ustring

2000-07-06 Thread Baruch Even
One thing I forgot to mention about ustring, it doesn't come without cost, it's library takes a whooping 1MB (stripped) and a test program that does not too much takes 800KB (stripped). FYI. -- Baruch Even http://techst02.technion.ac.il/~sbaruch/ (My Site) http://rpghost.com/jindor/

Re: DEC cxx compile warning

2000-07-06 Thread Juergen Vigna
On 05-Jul-2000 Jean-Marc Lasgouttes wrote: > > Strangely enough, I do not see this with cxx 6.2 (which I am testing > since today). However, UpdatableInset::deleteLyXText is not 'const'. > Should it be? > Yes it should be this was commited yesterday! Jürgen -- -._-._-._-._-._-._-._-._