Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-25, 18:03 GMT, Matej Cepl wrote:
 On 2003-06-25, 08:27 GMT, Jean-Marc Lasgouttes wrote:
 You need at least automake 1.5 to compile LyX for Qt (this does not
 apply if you did not run autogen.sh, of course).
 
 OK, I did everything seems to be OK up to this point (John? It is
 probably your patch, isn't it?):

I temporarily gave up on the John's patch, so I am going to
compile just plain LyX with Qt. When running ./autogen.sh (with
automake 1.5) it gives me these warnings:

   configure.ac:6: warning: do not use m4_patsubst: use patsubst \
  or m4_bpatsubst
   configure.ac:389: warning: do not use m4_regexp: use regexp \
  or m4_bregexp

Is it something I (or developers) should be concerned about?

I will report, whether I have succeeded.

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Thomas Templin
On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
 Trying to compile lyx with Qt with Qt3 (patched with ct.1.3-diff
 patch). Configure goes without problems, but compilation aborts
 with this (no error in previous compilations):
[...]
You may find a lyx-qt and a lyx-xforms Debian Package at:
deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib \ 
non-free

Perhaps this will comply your needs 

Bye,
Thomas



Re: page_break

2003-06-28 Thread Breu, Johannes Martin
At 23:56 27.06.03 +0200, you wrote:
On Thu, Jun 26, 2003 at 11:45:43AM +0200, Johannes Breu wrote:
 Lyx 1.3. 2 on Debian. I am using the document class book an I don't find 
 the possibility to begin a new page arbitrarily. I thought I could find 
 it under Insert - Special Characters...
 
You can, it is under layout-paragraph tab lines and pagebreaks
Select page breaks above and/or below.  This applies to whatever
paragraph the cursor is in.

Something strange happens: If I use dvi as output there is no page break.
Using ps or pdf it works.


Table of contents etx. should appear in german after completing the above
steps.


Now I have a german TOC. If I use part* for instance it does not appear in
TOC.
According to the lyx-help *section etc does not appear either. 


Johannes Breu





Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-28 Thread Munzir Taha Obeid
On Friday 27 June 2003 12:28 pm, Jean-Marc Lasgouttes wrote:
  Munzir == Munzir Taha Obeid [EMAIL PROTECTED] writes:
 OK, it would be easier to grab lyx-1.3.2.tar.gz from
 ftp.lyx.org/pub/lyx/stable/ and apply the patch to that.
Ok, I downloaded the lyx-1.3.2.tar.bz2, extracted it, copied arabtex.diff to 
the src directory and applied the patch
[EMAIL PROTECTED] src]$ patch --verbose  arabtex.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/ChangeLog
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
|retrieving revision 1.1021.2.17
|diff -u -p -r1.1021.2.17 ChangeLog
|--- src/ChangeLog  13 Jun 2003 16:15:10 -  1.1021.2.17
|+++ src/ChangeLog  24 Jun 2003 09:45:21 -
--
Patching file ChangeLog using Plan A...
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/debug.C
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/debug.C,v
|retrieving revision 1.25
|diff -u -p -r1.25 debug.C
|--- src/debug.C27 Nov 2002 10:30:07 -  1.25
|+++ src/debug.C24 Jun 2003 09:45:21 -
--
Patching file debug.C using Plan A...
Hunk #1 succeeded at 40.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/paragraph.C
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph.C,v
|retrieving revision 1.235.2.1
|diff -u -p -r1.235.2.1 paragraph.C
|--- src/paragraph.C12 Feb 2003 21:01:18 -  1.235.2.1
|+++ src/paragraph.C24 Jun 2003 09:45:21 -
--
Patching file paragraph.C using Plan A...
Hunk #1 succeeded at 1163.
Hunk #2 succeeded at 1175.
Hunk #3 succeeded at 1577.
done
---I don't know why the first patch to ChangeLog failed but I think I can 
ignore it safely, right?

[EMAIL PROTECTED] src]$ cd..
[EMAIL PROTECTED] lyx-1.3.2]$ ./configure --with-frontend=qt 
--with-qt-dir=/usr/lib/qt3/
configuring LyX version 1.3.2
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for install target ... ... lyx
checking for a BSD-compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr//bin/install -c
checking for kpsewhich... kpsewhich
checking for gm4... no
checking for gnum4... no
checking for m4... m4
...
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.2.2)
  C++ Compiler flags: -O -fno-exceptions
  Linker flags:
  Frontend:   qt
Qt version:   3.1.1
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

---
make gave some errors again, here are they:
...
echo timestamp  QDocument.lo
source='QError.C' object='QError.lo' libtool=yes \
depfile='.deps/QError.Plo' tmpdepfile='.deps/QError.TPlo' \
depmode=gcc3 /bin/sh ../../../config/depcomp \
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../src -I../../../src/ -I../../../src/frontends/ -I../../../images 
-I./qt2 -I/usr/lib/qt3///include -I../../../boost 
-I../../../src/frontends/controllers  -isystem /usr/X11R6/include 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -O -fno-exceptions 
-c -o QError.lo `test -f 'QError.C' || echo './'`QError.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ 
-I../../../src/frontends/ -I../../../images -I./qt2 -I/usr/lib/qt3///include 
-I../../../boost -I../../../src/frontends/controllers -isystem 
/usr/X11R6/include -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION 
-O -fno-exceptions -c QError.C -MT QError.lo -MD -MP -MF .deps/QError.TPlo
echo timestamp  QError.lo
make[5]: *** No rule to make target `QERT.C', needed by `QERT.lo'.  Stop.
make[5]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends/qt2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends/qt2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends'

Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-28, 14:36 GMT, Thomas Templin wrote:
 On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
 Trying to compile lyx with Qt with Qt3 (patched with ct.1.3-diff
 patch). Configure goes without problems, but compilation aborts
 with this (no error in previous compilations):
 [...]
 You may find a lyx-qt and a lyx-xforms Debian Package at:
 deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib \ 
 non-free

Unfortunately, I have installed KDE 3.1.2 here and it somehow breaks AA
in lyx-qt build for KDE 2.2.*.

   Thanks for the offer though,

  Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Thomas Templin
On Saturday 28 June 2003 17:32, Matej Cepl wrote:
 On 2003-06-28, 14:36 GMT, Thomas Templin wrote:
  On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
  Trying to compile lyx with Qt with Qt3 (patched with
  ct.1.3-diff patch). Configure goes without problems, but
  compilation aborts with this (no error in previous
  compilations):
 
  [...]
  You may find a lyx-qt and a lyx-xforms Debian Package at:
  deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main
  contrib \ non-free

 Unfortunately, I have installed KDE 3.1.2 here and it somehow
 breaks AA in lyx-qt build for KDE 2.2.*.
That deb's are for KDE 3.1.2, Im using them with KDE 3.1.2 stable 
and unstable for quite a while, no problems yet.
IMO Adrian Bunk has made one of the best Bakport Sites I knew, 
always good for fishing interesting Backport Packages.
Which KDE 3.1.2 do you use better which installation source? 

deb http://download.kde.org/stable/3.1.2/Debian stable main

deb ftp://ftp.de.debian.org/debian  unstable main non-free contrib

deb http://wh9.tu-dresden.de/kde3/karolina ./ 
It may cause problems using Karolina's KDE Packages, so did I ;o)

Bye,
Thomas



Re: page_break

2003-06-28 Thread Juergen Spitzmueller
Breu, Johannes Martin wrote:
 Something strange happens: If I use dvi as output there is no page break.
 Using ps or pdf it works.

Please send a minimal example file that shows this behaviour.

 Now I have a german TOC. If I use part* for instance it does not appear in
 TOC.
 According to the lyx-help *section etc does not appear either

Yes, that's a feature. The environments with star have the features no 
numbering and do not add to toc. Either use a koma-class and select 
addpart, addchap, addsec (no numbering, but toc) or use ERT (Insert-LaTeX) 
and write \addcontentsline{toc}{part}{Titel of the part} after the part 
title

HTH,
Juergen.


Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-28, 15:52 GMT, Thomas Templin wrote:
 Which KDE 3.1.2 do you use better which installation source? 
 
 deb http://download.kde.org/stable/3.1.2/Debian stable main

This one.

 deb ftp://ftp.de.debian.org/debian  unstable main non-free contrib
 
 deb http://wh9.tu-dresden.de/kde3/karolina ./ 
 It may cause problems using Karolina's KDE Packages, so did I ;o)

I am now compiling QContentPane, so I will probably leave it there, but
I may try your site later. Thanks for providing it!

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-25, 18:03 GMT, Matej Cepl wrote:
 On 2003-06-25, 08:27 GMT, Jean-Marc Lasgouttes wrote:
 You need at least automake 1.5 to compile LyX for Qt (this does not
 apply if you did not run autogen.sh, of course).
 
 OK, I did everything seems to be OK up to this point (John? It is
 probably your patch, isn't it?):

I temporarily gave up on the John's patch, so I am going to
compile just plain LyX with Qt. When running ./autogen.sh (with
automake 1.5) it gives me these warnings:

   configure.ac:6: warning: do not use m4_patsubst: use patsubst \
  or m4_bpatsubst
   configure.ac:389: warning: do not use m4_regexp: use regexp \
  or m4_bregexp

Is it something I (or developers) should be concerned about?

I will report, whether I have succeeded.

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Thomas Templin
On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
 Trying to compile lyx with Qt with Qt3 (patched with ct.1.3-diff
 patch). Configure goes without problems, but compilation aborts
 with this (no error in previous compilations):
[...]
You may find a lyx-qt and a lyx-xforms Debian Package at:
deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib \ 
non-free

Perhaps this will comply your needs 

Bye,
Thomas



Re: page_break

2003-06-28 Thread Breu, Johannes Martin
At 23:56 27.06.03 +0200, you wrote:
On Thu, Jun 26, 2003 at 11:45:43AM +0200, Johannes Breu wrote:
 Lyx 1.3. 2 on Debian. I am using the document class book an I don't find 
 the possibility to begin a new page arbitrarily. I thought I could find 
 it under Insert - Special Characters...
 
You can, it is under layout-paragraph tab lines and pagebreaks
Select page breaks above and/or below.  This applies to whatever
paragraph the cursor is in.

Something strange happens: If I use dvi as output there is no page break.
Using ps or pdf it works.


Table of contents etx. should appear in german after completing the above
steps.


Now I have a german TOC. If I use part* for instance it does not appear in
TOC.
According to the lyx-help *section etc does not appear either. 


Johannes Breu





Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-28 Thread Munzir Taha Obeid
On Friday 27 June 2003 12:28 pm, Jean-Marc Lasgouttes wrote:
  Munzir == Munzir Taha Obeid [EMAIL PROTECTED] writes:
 OK, it would be easier to grab lyx-1.3.2.tar.gz from
 ftp.lyx.org/pub/lyx/stable/ and apply the patch to that.
Ok, I downloaded the lyx-1.3.2.tar.bz2, extracted it, copied arabtex.diff to 
the src directory and applied the patch
[EMAIL PROTECTED] src]$ patch --verbose  arabtex.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/ChangeLog
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
|retrieving revision 1.1021.2.17
|diff -u -p -r1.1021.2.17 ChangeLog
|--- src/ChangeLog  13 Jun 2003 16:15:10 -  1.1021.2.17
|+++ src/ChangeLog  24 Jun 2003 09:45:21 -
--
Patching file ChangeLog using Plan A...
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/debug.C
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/debug.C,v
|retrieving revision 1.25
|diff -u -p -r1.25 debug.C
|--- src/debug.C27 Nov 2002 10:30:07 -  1.25
|+++ src/debug.C24 Jun 2003 09:45:21 -
--
Patching file debug.C using Plan A...
Hunk #1 succeeded at 40.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/paragraph.C
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph.C,v
|retrieving revision 1.235.2.1
|diff -u -p -r1.235.2.1 paragraph.C
|--- src/paragraph.C12 Feb 2003 21:01:18 -  1.235.2.1
|+++ src/paragraph.C24 Jun 2003 09:45:21 -
--
Patching file paragraph.C using Plan A...
Hunk #1 succeeded at 1163.
Hunk #2 succeeded at 1175.
Hunk #3 succeeded at 1577.
done
---I don't know why the first patch to ChangeLog failed but I think I can 
ignore it safely, right?

[EMAIL PROTECTED] src]$ cd..
[EMAIL PROTECTED] lyx-1.3.2]$ ./configure --with-frontend=qt 
--with-qt-dir=/usr/lib/qt3/
configuring LyX version 1.3.2
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for install target ... ... lyx
checking for a BSD-compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr//bin/install -c
checking for kpsewhich... kpsewhich
checking for gm4... no
checking for gnum4... no
checking for m4... m4
...
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.2.2)
  C++ Compiler flags: -O -fno-exceptions
  Linker flags:
  Frontend:   qt
Qt version:   3.1.1
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

---
make gave some errors again, here are they:
...
echo timestamp  QDocument.lo
source='QError.C' object='QError.lo' libtool=yes \
depfile='.deps/QError.Plo' tmpdepfile='.deps/QError.TPlo' \
depmode=gcc3 /bin/sh ../../../config/depcomp \
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../src -I../../../src/ -I../../../src/frontends/ -I../../../images 
-I./qt2 -I/usr/lib/qt3///include -I../../../boost 
-I../../../src/frontends/controllers  -isystem /usr/X11R6/include 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -O -fno-exceptions 
-c -o QError.lo `test -f 'QError.C' || echo './'`QError.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ 
-I../../../src/frontends/ -I../../../images -I./qt2 -I/usr/lib/qt3///include 
-I../../../boost -I../../../src/frontends/controllers -isystem 
/usr/X11R6/include -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION 
-O -fno-exceptions -c QError.C -MT QError.lo -MD -MP -MF .deps/QError.TPlo
echo timestamp  QError.lo
make[5]: *** No rule to make target `QERT.C', needed by `QERT.lo'.  Stop.
make[5]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends/qt2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends/qt2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends'

Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-28, 14:36 GMT, Thomas Templin wrote:
 On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
 Trying to compile lyx with Qt with Qt3 (patched with ct.1.3-diff
 patch). Configure goes without problems, but compilation aborts
 with this (no error in previous compilations):
 [...]
 You may find a lyx-qt and a lyx-xforms Debian Package at:
 deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib \ 
 non-free

Unfortunately, I have installed KDE 3.1.2 here and it somehow breaks AA
in lyx-qt build for KDE 2.2.*.

   Thanks for the offer though,

  Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Thomas Templin
On Saturday 28 June 2003 17:32, Matej Cepl wrote:
 On 2003-06-28, 14:36 GMT, Thomas Templin wrote:
  On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
  Trying to compile lyx with Qt with Qt3 (patched with
  ct.1.3-diff patch). Configure goes without problems, but
  compilation aborts with this (no error in previous
  compilations):
 
  [...]
  You may find a lyx-qt and a lyx-xforms Debian Package at:
  deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main
  contrib \ non-free

 Unfortunately, I have installed KDE 3.1.2 here and it somehow
 breaks AA in lyx-qt build for KDE 2.2.*.
That deb's are for KDE 3.1.2, Im using them with KDE 3.1.2 stable 
and unstable for quite a while, no problems yet.
IMO Adrian Bunk has made one of the best Bakport Sites I knew, 
always good for fishing interesting Backport Packages.
Which KDE 3.1.2 do you use better which installation source? 

deb http://download.kde.org/stable/3.1.2/Debian stable main

deb ftp://ftp.de.debian.org/debian  unstable main non-free contrib

deb http://wh9.tu-dresden.de/kde3/karolina ./ 
It may cause problems using Karolina's KDE Packages, so did I ;o)

Bye,
Thomas



Re: page_break

2003-06-28 Thread Juergen Spitzmueller
Breu, Johannes Martin wrote:
 Something strange happens: If I use dvi as output there is no page break.
 Using ps or pdf it works.

Please send a minimal example file that shows this behaviour.

 Now I have a german TOC. If I use part* for instance it does not appear in
 TOC.
 According to the lyx-help *section etc does not appear either

Yes, that's a feature. The environments with star have the features no 
numbering and do not add to toc. Either use a koma-class and select 
addpart, addchap, addsec (no numbering, but toc) or use ERT (Insert-LaTeX) 
and write \addcontentsline{toc}{part}{Titel of the part} after the part 
title

HTH,
Juergen.


Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-28, 15:52 GMT, Thomas Templin wrote:
 Which KDE 3.1.2 do you use better which installation source? 
 
 deb http://download.kde.org/stable/3.1.2/Debian stable main

This one.

 deb ftp://ftp.de.debian.org/debian  unstable main non-free contrib
 
 deb http://wh9.tu-dresden.de/kde3/karolina ./ 
 It may cause problems using Karolina's KDE Packages, so did I ;o)

I am now compiling QContentPane, so I will probably leave it there, but
I may try your site later. Thanks for providing it!

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-25, 18:03 GMT, Matej Cepl wrote:
> On 2003-06-25, 08:27 GMT, Jean-Marc Lasgouttes wrote:
>> You need at least automake 1.5 to compile LyX for Qt (this does not
>> apply if you did not run autogen.sh, of course).
> 
> OK, I did everything seems to be OK up to this point (John? It is
> probably your patch, isn't it?):

I temporarily gave up on the John's patch, so I am going to
compile just plain LyX with Qt. When running ./autogen.sh (with
automake 1.5) it gives me these warnings:

   configure.ac:6: warning: do not use m4_patsubst: use patsubst \
  or m4_bpatsubst
   configure.ac:389: warning: do not use m4_regexp: use regexp \
  or m4_bregexp

Is it something I (or developers) should be concerned about?

I will report, whether I have succeeded.

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Thomas Templin
On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
> Trying to compile lyx with Qt with Qt3 (patched with ct.1.3-diff
> patch). Configure goes without problems, but compilation aborts
> with this (no error in previous compilations):
[...]
You may find a lyx-qt and a lyx-xforms Debian Package at:
deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib \ 
non-free

Perhaps this will comply your needs 

Bye,
Thomas



Re: page_break

2003-06-28 Thread Breu, Johannes Martin
At 23:56 27.06.03 +0200, you wrote:
>On Thu, Jun 26, 2003 at 11:45:43AM +0200, Johannes Breu wrote:
>> Lyx 1.3. 2 on Debian. I am using the document class book an I don't find 
>> the possibility to begin a new page arbitrarily. I thought I could find 
>> it under Insert - Special Characters...
>> 
>You can, it is under layout->paragraph tab "lines and pagebreaks"
>Select "page breaks above" and/or "below".  This applies to whatever
>paragraph the cursor is in.

Something strange happens: If I use dvi as output there is no page break.
Using ps or pdf it works.


>Table of contents etx. should appear in german after completing the above
>steps.


Now I have a german TOC. If I use part* for instance it does not appear in
TOC.
According to the lyx-help *section etc does not appear either. 


Johannes Breu





Re: [PATCH] Re: Eureka! This is why Arabic support for lyx 1.3.2 doesn't work in my Mandrake 9.1

2003-06-28 Thread Munzir Taha Obeid
On Friday 27 June 2003 12:28 pm, Jean-Marc Lasgouttes wrote:
> > "Munzir" == Munzir Taha Obeid <[EMAIL PROTECTED]> writes:
> OK, it would be easier to grab lyx-1.3.2.tar.gz from
> ftp.lyx.org/pub/lyx/stable/ and apply the patch to that.
Ok, I downloaded the lyx-1.3.2.tar.bz2, extracted it, copied arabtex.diff to 
the src directory and applied the patch
[EMAIL PROTECTED] src]$ patch --verbose < arabtex.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/ChangeLog
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
|retrieving revision 1.1021.2.17
|diff -u -p -r1.1021.2.17 ChangeLog
|--- src/ChangeLog  13 Jun 2003 16:15:10 -  1.1021.2.17
|+++ src/ChangeLog  24 Jun 2003 09:45:21 -
--
Patching file ChangeLog using Plan A...
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/debug.C
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/debug.C,v
|retrieving revision 1.25
|diff -u -p -r1.25 debug.C
|--- src/debug.C27 Nov 2002 10:30:07 -  1.25
|+++ src/debug.C24 Jun 2003 09:45:21 -
--
Patching file debug.C using Plan A...
Hunk #1 succeeded at 40.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: src/paragraph.C
|===
|RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph.C,v
|retrieving revision 1.235.2.1
|diff -u -p -r1.235.2.1 paragraph.C
|--- src/paragraph.C12 Feb 2003 21:01:18 -  1.235.2.1
|+++ src/paragraph.C24 Jun 2003 09:45:21 -
--
Patching file paragraph.C using Plan A...
Hunk #1 succeeded at 1163.
Hunk #2 succeeded at 1175.
Hunk #3 succeeded at 1577.
done
---I don't know why the first patch to ChangeLog failed but I think I can 
ignore it safely, right?

[EMAIL PROTECTED] src]$ cd..
[EMAIL PROTECTED] lyx-1.3.2]$ ./configure --with-frontend=qt 
--with-qt-dir=/usr/lib/qt3/
configuring LyX version 1.3.2
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for install target ... ... lyx
checking for a BSD-compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr//bin/install -c
checking for kpsewhich... kpsewhich
checking for gm4... no
checking for gnum4... no
checking for m4... m4
...
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (3.2.2)
  C++ Compiler flags: -O -fno-exceptions
  Linker flags:
  Frontend:   qt
Qt version:   3.1.1
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

---
make gave some errors again, here are they:
...
echo timestamp > QDocument.lo
source='QError.C' object='QError.lo' libtool=yes \
depfile='.deps/QError.Plo' tmpdepfile='.deps/QError.TPlo' \
depmode=gcc3 /bin/sh ../../../config/depcomp \
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../src -I../../../src/ -I../../../src/frontends/ -I../../../images 
-I./qt2 -I/usr/lib/qt3///include -I../../../boost 
-I../../../src/frontends/controllers  -isystem /usr/X11R6/include 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -O -fno-exceptions 
-c -o QError.lo `test -f 'QError.C' || echo './'`QError.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ 
-I../../../src/frontends/ -I../../../images -I./qt2 -I/usr/lib/qt3///include 
-I../../../boost -I../../../src/frontends/controllers -isystem 
/usr/X11R6/include -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION 
-O -fno-exceptions -c QError.C -MT QError.lo -MD -MP -MF .deps/QError.TPlo
echo timestamp > QError.lo
make[5]: *** No rule to make target `QERT.C', needed by `QERT.lo'.  Stop.
make[5]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends/qt2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/munzir/lyx-1.3.2/src/frontends/qt2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 

Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-28, 14:36 GMT, Thomas Templin wrote:
> On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
>> Trying to compile lyx with Qt with Qt3 (patched with ct.1.3-diff
>> patch). Configure goes without problems, but compilation aborts
>> with this (no error in previous compilations):
> [...]
> You may find a lyx-qt and a lyx-xforms Debian Package at:
> deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib \ 
> non-free

Unfortunately, I have installed KDE 3.1.2 here and it somehow breaks AA
in lyx-qt build for KDE 2.2.*.

   Thanks for the offer though,

  Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Compilation problem with Debian

2003-06-28 Thread Thomas Templin
On Saturday 28 June 2003 17:32, Matej Cepl wrote:
> On 2003-06-28, 14:36 GMT, Thomas Templin wrote:
> > On Wednesday 25 June 2003 04:54, Matej Cepl wrote:
> >> Trying to compile lyx with Qt with Qt3 (patched with
> >> ct.1.3-diff patch). Configure goes without problems, but
> >> compilation aborts with this (no error in previous
> >> compilations):
> >
> > [...]
> > You may find a lyx-qt and a lyx-xforms Debian Package at:
> > deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main
> > contrib \ non-free
>
> Unfortunately, I have installed KDE 3.1.2 here and it somehow
> breaks AA in lyx-qt build for KDE 2.2.*.
That deb's are for KDE 3.1.2, Im using them with KDE 3.1.2 stable 
and unstable for quite a while, no problems yet.
IMO Adrian Bunk has made one of the best Bakport Sites I knew, 
always good for fishing interesting Backport Packages.
Which KDE 3.1.2 do you use better which installation source? 

deb http://download.kde.org/stable/3.1.2/Debian stable main

deb ftp://ftp.de.debian.org/debian  unstable main non-free contrib

deb http://wh9.tu-dresden.de/kde3/karolina ./ 
It may cause problems using Karolina's KDE Packages, so did I ;o)

Bye,
Thomas



Re: page_break

2003-06-28 Thread Juergen Spitzmueller
Breu, Johannes Martin wrote:
> Something strange happens: If I use dvi as output there is no page break.
> Using ps or pdf it works.

Please send a minimal example file that shows this behaviour.

> Now I have a german TOC. If I use part* for instance it does not appear in
> TOC.
> According to the lyx-help *section etc does not appear either

Yes, that's a feature. The environments with star have the features "no 
numbering" and "do not add to toc". Either use a koma-class and select 
addpart, addchap, addsec (no numbering, but toc) or use ERT (Insert->LaTeX) 
and write "\addcontentsline{toc}{part}{Titel of the part}" after the part 
title

HTH,
Juergen.


Re: Compilation problem with Debian

2003-06-28 Thread Matej Cepl
On 2003-06-28, 15:52 GMT, Thomas Templin wrote:
> Which KDE 3.1.2 do you use better which installation source? 
> 
> deb http://download.kde.org/stable/3.1.2/Debian stable main

This one.

> deb ftp://ftp.de.debian.org/debian  unstable main non-free contrib
> 
> deb http://wh9.tu-dresden.de/kde3/karolina ./ 
> It may cause problems using Karolina's KDE Packages, so did I ;o)

I am now compiling QContentPane, so I will probably leave it there, but
I may try your site later. Thanks for providing it!

Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488