Re: [Patch] Math bitmaps for DocBook export

2005-02-17 Thread Andreas Vox
Georg Baum <[EMAIL PROTECTED]> writes: > > The patch looks good. Thanks! :-) > I think I found one little error and I have also some nitpicks I'm still waiting for the comments on whitespace ;-) > But in > general I would vote for inclusion. Great. > + if (it->isDirectory) { > +if

Re: tex2lyx on lyx/win qt 1.3.5

2005-02-17 Thread Angus Leeming
Ekkehart Schlicht wrote: > The tex2lyx.exe alone seems not to work. I guess that the package is > somewhat incomplete. I wasn't trying to modify Ruurd's LyX/Win 1.3.5. I was providing you with the means to help yourself to fix it. > The following worked for me: > > --Edit->Preferences->Conver

Re: tex2lyx for windows update

2005-02-17 Thread Angus Leeming
Georg Baum wrote: > Am Mittwoch, 16. Februar 2005 22:48 schrieb Angus Leeming: > >> After the third or fourth loop, latex fails to process the file. > > Well, what do you expect? I expected it to fail. I was just pointing out that it actually did so. > If I specify that a nonexisting figure s

Detect Qt Win/Free, Part 2

2005-02-17 Thread Michael Schmitt
... and the same patch for 1.4 (cvs head). Please apply as well. Thanks in advance, Michael patch-qt-lib-1.4 Description: Binary data

Detect Qt Win/Free

2005-02-17 Thread Michael Schmitt
Hello, the following patch is needed to detect the Qt Win/Free library (the developers changed its name recently). Please apply to the 1.3 branch. Thanks! Michael patch-qt-lib-1.3 Description: Binary data

tex2lyx on lyx/win qt 1.3.5

2005-02-17 Thread Ekkehart Schlicht
The tex2lyx.exe alone seems not to work. I guess that the package is somewhat incomplete. The following worked for me: --Edit->Preferences->Converters->LaTeX to LyX: tex2lyx -f $$i --The file tex2lyx from the Linux package in LyX\bin and the test from the lyx2lyx win package. Ekkehart

Re: [patch] fix tabular valignment conversion in lyx2lyx

2005-02-17 Thread Georg Baum
Am Donnerstag, 17. Februar 2005 09:22 schrieb Jose' Matos: > Convert all those places to use the regular expression, I assume that here > " +" is the same as "\s+", I would suggest to change to this last form as > it is easier to read. Ok, I did that. " +" means one or more space, and "\s+"

Re: [Patch] Math bitmaps for DocBook export

2005-02-17 Thread Georg Baum
The patch looks good. I think I found one little error and I have also some nitpicks ;-) But in general I would vote for inclusion. @@ -210,11 +216,21 @@ bool Exporter::Export(Buffer * buffer, s CopyStatus status = SUCCESS; for (vector::const_iterator it = files.begin(); it != files.en

Re: [Bug report] tex2lyx crash

2005-02-17 Thread Georg Baum
Am Donnerstag, 17. Februar 2005 16:15 schrieb YOUNES Abdelrazak (M3SYSTEM): > I am trying to convert word document to lyx via OpenOffice, writer2latex (http://www.hj-gym.dk/~hj/writer2latex) and tex2lyx because this is the only way I know to preserve math formulas. If you know any other way, I

RE: Change to lyxserver.C breaks win32_kludge.diff patch

2005-02-17 Thread Rob Bearman
> Here's a summary of what needs to be done to fix the vcproj build: > > development\win32\package.C: > Change GetEnv to getEnv and/or update from package.C.in > > development\win32\lyx.vcproj > Add src\support\environment.C > Remove src\support\putenv.C > > src\lyxserver.C (win32_kludge.diff) >

Re: tex2lyx for windows update

2005-02-17 Thread Georg Baum
Am Mittwoch, 16. Februar 2005 22:48 schrieb Angus Leeming: > After the third or fourth loop, latex fails to process the file. Well, what do you expect? If I specify that a nonexisting figure should be included I tell LyX/LaTeX to do something impossible. Since I agree in general that playing too

Re: latex -> tex2lyx -> lyx2lyx -> lyx1.3 conversion report

2005-02-17 Thread Sven Schreiber
Georg Baum wrote: (please cc me if needed, the users list is enough for me) I did it this time, but will propably forget that in the future. Consider using the news <-> malilinglist gateway http://gamne.org if you don't want to subscribe. The group name is gmane.editors.lyx.devel. Alright, will

Can not compile from CVS lyx-devel

2005-02-17 Thread Frederic-Emmanuel PICCA
Hello I tried to compile lyx (CVS lyxdevel) after a ./autogen.sh with some errors: $./autogen.sh Using autoconf (GNU Autoconf) 2.59 Locating GNU m4... /usr/bin/m4 Generate acinclude.m4... done. Building macros... .

Re: [PATCHes] Re: View->Postscript error: use --swap instead of -swap

2005-02-17 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> However, what does 'delect' mean? It is because the option is delectable. JMarc

[Bug report] tex2lyx crash

2005-02-17 Thread YOUNES Abdelrazak \(M3SYSTEM\)
Dear Lyx-developpers, I have installed lyx-1.3.5 for windows (qt non-comercial) and the newest tex2lyx. I am trying to convert word document to lyx via OpenOffice, writer2latex (http://www.hj-gym.dk/~hj/writer2latex) and tex2lyx because this is the only way I know to preserve math formulas. If

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Angus Leeming
Bennett Helm wrote: > On Feb 17, 2005, at 5:52 AM, Angus Leeming wrote: > >> Anyway, Bennett, if you'd be good enough to test out >> ifstream ifs(from.c_str(), ios::in | ios::binary); >> then I'll apply that instead if you find that it works. > > "ifstream ifs(from.c_str(), ios::in | ios

Re: [Patch] Math bitmaps for DocBook export

2005-02-17 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > Hi! > > Here's the final patch. It modifies the output routine for DocBook such > that bitmap files for math equations are exported to a directory > `filename + "_math"`. Looking at your code I see two things: 1. It factors out some code in PreviewLoader.C into a sepa

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Bennett Helm
On Feb 17, 2005, at 5:52 AM, Angus Leeming wrote: Anyway, Bennett, if you'd be good enough to test out ifstream ifs(from.c_str(), ios::in | ios::binary); then I'll apply that instead if you find that it works. "ifstream ifs(from.c_str(), ios::in | ios::binary);" works. Bennett

Re: [PATCHes] Re: View->Postscript error: use --swap instead of -swap

2005-02-17 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> However, eversince I upgraded to gv version 3.6.1, the -swap does >>> not work anymore, and consequently, Postscript viewing with LyX is >>> not working (not working with out-of-the box configuration, that >>> is). > > Rob> This could be a possible patch for fixing

[PATCHes] Re: View->Postscript error: use --swap instead of -swap

2005-02-17 Thread Jean-Marc Lasgouttes
> "Rob" == Rob Lahaye <[EMAIL PROTECTED]> writes: >> However, eversince I upgraded to gv version 3.6.1, the -swap does >> not work anymore, and consequently, Postscript viewing with LyX is >> not working (not working with out-of-the box configuration, that >> is). Rob> This could be a possibl

Re: UserGuide round trip.

2005-02-17 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Latest LyX cvs versions use \thanks for footnotes in titling >> environments. Tex2lyx does not seem to have any support for that... Georg> This explains it all: I produced the .tex file with LyX 1.3. Geo

Re: UserGuide round trip.

2005-02-17 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Latest LyX cvs versions use \thanks for footnotes in titling > environments. Tex2lyx does not seem to have any support for that... This explains it all: I produced the .tex file with LyX 1.3. I'll have a look, \thanks is probably easy to support. Georg

Re: latex -> tex2lyx -> lyx2lyx -> lyx1.3 conversion report

2005-02-17 Thread Georg Baum
Sven Schreiber wrote: > (please cc me if needed, the users list is enough for me) I did it this time, but will propably forget that in the future. Consider using the news <-> malilinglist gateway http://gamne.org if you don't want to subscribe. The group name is gmane.editors.lyx.devel. > -

Re: [Patch] Math bitmaps for DocBook export

2005-02-17 Thread Jose' Matos
On Thursday 17 February 2005 11:39, [EMAIL PROTECTED] wrote: > Angus, I also have changes to lyxpreview2bitmap.py and > legacy_lyxpreview2png which allow the generation of PNG and EPS even if > dvipng is not present. I'll post > that as a separate patch. FWIW: - I would like to hear Lars

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | We do in LyX 1.3.x which is what bennett is trying to get working. We > | don't support the (2.95 + 2.95 stdlib) combo in LyX 1.4.x. > > I think I saw some patches for 1.4.x as well... You haven't seen any formal patch

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | We do in LyX 1.3.x which is what bennett is trying to get working. We | don't support the (2.95 + 2.95 stdlib) combo in LyX 1.4.x. I think I saw some patches for 1.4.x as well... | So, I guess that defines the way forward. I'll commit my original work

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > >>> | { >>> | +#if defined (WIN32) >>> | ifstream ifs(from.c_str(), ios::binary); >>> | +#else >>> | +// A bug in the gcc 2.95 implementation of ifstream >>> | +// means that we can't use ios::binary here (even

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: >> | { >> | +#if defined (WIN32) >> | ifstream ifs(from.c_str(), ios::binary); >> | +#else >> | +// A bug in the gcc 2.95 implementation of ifstream >> | +// means that we can't use ios::binary here (even though >> | +// it should have no

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Angus Leeming
Lars Gullik Bjønnes wrote: >>> On Feb 16, 2005, at 1:38 PM, Angus Leeming wrote: >>> Just to be crystal clear: does it work if you change -ifstream ifs(from.c_str(), ios::binary); +ifstream ifs(from.c_str()); >>> >>> Yes. (As does LyX when I make that change in copy.C.) >>

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Bennett Helm wrote: > >> On Feb 16, 2005, at 1:38 PM, Angus Leeming wrote: >> >>> Just to be crystal clear: does it work if you change >>> -ifstream ifs(from.c_str(), ios::binary); >>> +ifstream ifs(from.c_str()); >> >> Yes. (As does LyX when I

Re: LyX-13x: Copying Graphics Files to tmp dir

2005-02-17 Thread Angus Leeming
Bennett Helm wrote: > On Feb 16, 2005, at 1:38 PM, Angus Leeming wrote: > >> Just to be crystal clear: does it work if you change >> -ifstream ifs(from.c_str(), ios::binary); >> +ifstream ifs(from.c_str()); > > Yes. (As does LyX when I make that change in copy.C.) Then since Windows cau

lyx140cvs: Text Wrap Float

2005-02-17 Thread Hartmut Haase
Can someone explain to me what's going wrong? (never mind the missing pictures, the results are the same with pictures) test1 and test2 compile fine, test2a looks weired (floating picture is placed left), the second box of test3 begins in a new column, although there is space enough in the first

Re: UserGuide round trip.

2005-02-17 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Mittwoch, 16. Februar 2005 14:36 schrieb Georg Baum: >> > The InsetFoot on the Author line is converted to ERT. >> >> Will have a look. Georg> I can't reproduce this. I used the Userguide of 1.4cvs. Which Georg> one did you use?

Re: [patch] fix tabular valignment conversion in lyx2lyx

2005-02-17 Thread Jose' Matos
On Wednesday 16 February 2005 20:44, Georg Baum wrote: > I changed lyx2lyx to use a regex, since both lyx versions can read both > forms. This works, but we have more places where '\begin_inset ÂTabular' > is searched. Shall I convert these to the regex, too, or do older lyx > versions have problem