Re: More eye candy

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 01:19:34PM +1000, Allan Rae wrote:

  no, that would be lame ... I don't even handle xforms events any more :)
 
 Cool, I thought you were still dreaming about using a Qt object
 (ScrolledArea or somewuch) as a replacement for WorkArea I didn't
 realise you'd switched already.

Ah, well currently I manage the scrollbar by hand (QWidget + QScrollBar)
rather than using QScrollView, so that's what I was referring to.

In fact the scrollbar doesn't do anything anyway.

 Hmmm  1.3.0 might be only a couple of weeks behind 1.2.0 ;-)

I'd say in terms of basic functionality we are 70-80% complete ...

 still had some of the old rendering bugs.  Although, the giveaway
 probably should have been the menu-separator rendering.

fixed since then anyway ;)

 Nice work (at least from user POV).  I really should try to find some
 more time for LyX so I can see what you're up to with your patch.

there's still a lot of stuff I know needs cleaning up, and probably a
whole lot more I don't. Afaik I'm not doing anything particularly
contraversial on the design level though ...

john

-- 
Committee iq: average intelligence of members, divide by headcount.
- Rob Landley



Re: More eye candy

2002-03-21 Thread Juergen Spitzmueller

Allan Rae wrote:
 On Thu, 21 Mar 2002, John Levon wrote:
  A couple of hacks, and Qt has a mostly working toolbar :
 
  http://movementarian.org/ss2.png

 Sexy.  Maybe we should also steal some of the klyx icons so we look
 prettier.

I remember the KLyX icons to be rather ugly. What about those:

http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_icons.html

Juergen.

PS.: bloody impressive work! I'm really looking forward to the 
QT-version :-)




Re: make file cygwin take two

2002-03-21 Thread Juergen Vigna


On 20-Mar-2002 Lars Gullik Bjønnes wrote:

 I am not sure this is needed on all platforms.
 I have 0.89.5 and do not need -ljpeg.

Well are you sure your xforms library didn't link in libjpeg statically?

   Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

You can never do just one thing.
-- Hardin




PRIVATE: Suse Distrib

2002-03-21 Thread Juergen Vigna

Sorry for the private question, but are there some people with a
Suse distribution (7.3 if possible) on this list. I have problems
there with a configure script and really don't know what to do:

Well I may post the error message I got from a user via mail too maybe
some of you guys can see what happens and how I can cure it ;)

  ./aclocal.m4:672: error: m4_defn: undefined macro:
  _m4_divert_diversion aclang.m4:173: AC_LANG_RESTORE is expanded
  from...
  ./aclocal.m4:672: the top level
  autoconf: tracing failed
  make: *** [stamp-h.in] Error 1

 With:

 automake-1.4p5-2
 autoconf-2.13-14

Greets,
 Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Yea from the table of my memory
I'll wipe away all trivial fond records.
-- Hamlet




Re: make file cygwin take two

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 9:22 am, Juergen Vigna wrote:
 On 20-Mar-2002 Lars Gullik Bjønnes wrote:
  I am not sure this is needed on all platforms.
  I have 0.89.5 and do not need -ljpeg.

 Well are you sure your xforms library didn't link in libjpeg statically?

Jug

SPL says that they try not to do that. But presumably you could interrogate 
the library?

A



Re: configure is dying...

2002-03-21 Thread Angus Leeming

On Wednesday 20 March 2002 8:58 pm, Lars Gullik Bjønnes wrote:
 Angus Leeming [EMAIL PROTECTED] writes:
 | configure:9582: checking for forms.h
 | configure:9592:   -I$(top_srcdir)/src/cheaders  -I/usr/include conftest.C
 | /dev/null 2conftest.out ./configure[9591]:
 | -I$(top_srcdir)/src/cheaders:  not found
 | configure: failed program was:
 | #line 9587 configure
 | #include confdefs.h
 | #include forms.h

 It looks as if your compiler is set to ''.
 How come?

I don't know Lars!

All is well at this test:

configure:3424: checking for conforming std::count
configure:3446: deccxx -c -ptr 
/usr/users/aleem/OTHERS_CODE/lyx/devel/lyx_cxx_repository -O2 
-I/usr/local/include conftest.C 15
cxx -std strict_ansi -nocleanup -msg_display_number -msg_disable 
11,193,236,261,401,610,611 -w0 -c -ptr 
/usr/users/aleem/OTHERS_CODE/lyx/devel/lyx_cxx_repository -O2 
-I/usr/local/include conftest.C
cxx: Info: configure, line 3435: #1136-D conversion to integral type of
  smaller size could lose data
return count(b, e, c);
---^
cxx: Info: configure, line 3441: #177-D variable i was declared but never
  referenced
int i = countChar(a, a + 5, 'l');
^


And all fails at the next one:

configure:3470: checking for ostream
configure:3480:  -I/usr/local/include conftest.C /dev/null 2conftest.out
./configure[3479]: -I/usr/local/include:  not found
configure: failed program was:
#line 3475 configure
#include confdefs.h
#include ostream
configure:3470: checking for istream
configure:3480:  -I/usr/local/include conftest.C /dev/null 2conftest.out
./configure[3479]: -I/usr/local/include:  not found
configure: failed program was:
#line 3475 configure
#include confdefs.h
#include istream


My configure script is attached.

I'm using automake 1.4-p2 and autoconf 2.13

Angus





configure-setup
Description: application/shellscript


Re: lars's mail

2002-03-21 Thread Angus Leeming

On Wednesday 20 March 2002 10:55 pm, Mate Wierdl wrote:
 I am confused: when I go to

 http://www.mail-archive.com/lyx-devel%40lists.lyx.org/maillist.html

 I see messages from Lars.

 Could you tell me the exact problem?

 Mate

How mysterious! I can see them now too. However, just to show that I'm not 
crying wolf, here's a small screen shot of a set of mail I tried to read the 
other day when I noticed this problem. Note that Lars' mail hasn't been 
read because it didn't exist at the time.

Angus



mail.png
Description: PNG image


Re: mathed warnings!!!!

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 7:13 am, Andre Poenitz wrote:
 On Wed, Mar 20, 2002 at 12:02:32PM +, Angus Leeming wrote:
   Not again that 'virtual function override intended' stuff.
   Yes, it IS INTENDED. It is legal. And I even consider it being nice.
 
  Fine. I'll turn off the warning.

 I have fixed it nonetheless. Actually I did already yesterday right after
 the sending this mail, but then our upstream connection broke down (and
 still has hickups...).

 Andre'

Well then, I'll turn the warning back on, should I ever be able to build LyX 
again ;-)

Angus



Re: PRIVATE: Suse Distrib

2002-03-21 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-

On Thursday, 21. March 2002 12:06, Juergen Vigna wrote:
 Sorry for the private question, but are there some people with a
 Suse distribution (7.3 if possible) on this list. I have problems
 there with a configure script and really don't know what to do:

I have here this distribution.

 Well I may post the error message I got from a user via mail too maybe
 some of you guys can see what happens and how I can cure it ;)

   ./aclocal.m4:672: error: m4_defn: undefined macro:
   _m4_divert_diversion aclang.m4:173: AC_LANG_RESTORE is expanded
   from...
   ./aclocal.m4:672: the top level
   autoconf: tracing failed
   make: *** [stamp-h.in] Error 1


I can remember having such problems. Tried to get new versions
automake-1.4_p5-44
autoconf-2.52-73
but that did not help. But a call of autogen.sh was very helpfull.

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPJnH0bewfbDGmeqhAQFywQQA2+kEoJ8UUh77054yHZ41JpmnUQ+yFeLk
MHCnZBPSPach7rs4iKodFpOJllvALXooaerhf/vKSeeLXLuLwQY+DIOcFGRvEklF
pIDAHe9JvUIHBb/wiPGKlOqvSLs85kHSObCwav/hs4+Oitr1yEeTGG4e4AFyLKlS
1jfw96Dj8Oc=
=HlfR
-END PGP SIGNATURE-



Compiling for libc5?

2002-03-21 Thread Thomas Steffen

Hi,

I would like to compile lyx for libc5 (aout), so that I can use it
with mulinux. gcc 2.7.2 is the latest compiler with support for libc5.
Should that be possible in general?

AFAIC autoconf works ok up the configuration of libsigc++. According
to the website of libsigc++, it cannot be compiled using gcc 2.7.2,
but a port should be possible. 

So has anyone tried to compile lyx for libc5? Is libsigc++ the only
problem? Can it be solved?

Thanks for any hint. Yours,
Thomas [EMAIL PROTECTED]



Re: Compiling for libc5?

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 01:14:43PM +0100, Thomas Steffen wrote:
 I would like to compile lyx for libc5 (aout), so that I can use it
 with mulinux. gcc 2.7.2 is the latest compiler with support for libc5.
 Should that be possible in general?

Actually I doubt that this would be possible. I have not tried it, though.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



compile success and a config patch

2002-03-21 Thread Angus Leeming

Ok, Lars, I've finally got there. I had to tweak my configure script so that 
CPP=deccxx -E, or I couldn't find ostream etc. I also upgraded to automake 
1.5, autoconf 2.52, although I'm not sure that that was strictly necessary. 
(I did this before finding the CPP fix.) Finally, I had to patch 
lyxinclude.m4; attached.

phew!

Angus


Index: config/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/ChangeLog,v
retrieving revision 1.30
diff -u -p -r1.30 ChangeLog
--- config/ChangeLog	20 Mar 2002 19:06:31 -	1.30
+++ config/ChangeLog	21 Mar 2002 13:50:37 -
@@ -1,3 +1,10 @@
+2002-03-21  Angus Leeming  [EMAIL PROTECTED]
+
+	* lyxinclude.m4 (LYX_USE_XFORMS_IMAGE_LOADER): must set the language
+	to C when running these AC_CHECK_FUNCS tests because flimage_dup
+	etc have C-style linkage. The test fails with autoconf 2.5 which
+	tries to assign this routine to a pointer without C-style linkage.
+	
 2002-03-20  Lars Gullik Bjønnes  [EMAIL PROTECTED]
 
 	* lyxinclude.m4 (LYX_CHECK_LDR): function to test if we can use
Index: config/lyxinclude.m4
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
retrieving revision 1.56
diff -u -p -r1.56 lyxinclude.m4
--- config/lyxinclude.m4	20 Mar 2002 19:06:31 -	1.56
+++ config/lyxinclude.m4	21 Mar 2002 13:50:38 -
@@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER,
 save_LIBS=$LIBS
 LIBS=$XFORMS_LIB $LIBS
 lyx_use_xforms_image_loader=no
+AC_LANG(C)
 AC_CHECK_FUNCS(flimage_dup,[
   AC_CHECK_FUNCS(flimage_to_pixmap,[
 lyx_use_xforms_image_loader=yes
 AC_CHECK_FUNCS(flimage_enable_ps)])])
+AC_LANG(C++)
 LIBS=$save_LIBS
 test $lyx_use_xforms_image_loader = yes  lyx_flags=$lyx_flags xforms-image-loader
 ### If the gui cannot load images itself, then we default to the



Re: compile success and a config patch

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 1:53 pm, Angus Leeming wrote:
 Ok, Lars, I've finally got there. I had to tweak my configure script so
 that CPP=deccxx -E, or I couldn't find ostream etc. I also upgraded to
 automake 1.5, autoconf 2.52, although I'm not sure that that was strictly
 necessary. (I did this before finding the CPP fix.) Finally, I had to patch
 lyxinclude.m4; attached.

 phew!

 Angus

Incidentally, I forgot to add that make distclean and make 
maintainer-clean both work fone now. Thanks!

Angus



building qt2

2002-03-21 Thread Angus Leeming

John, 

can you build the qt2 stuff in cvs?

I find that make goes into qt2/xforms, creates the symbolic links and then 
leaves. It doesn't create any .o files at all.

Angus



Re: compile cruft

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 2:32 pm, Andre Poenitz wrote:
 On Thu, Mar 21, 2002 at 02:29:06PM +, Angus Leeming wrote:
  My tree is now full of cruft:
 
  $ ls src/mathed/formula.*
  src/mathed/formula.C
  src/mathed/formula.h
  src/mathed/formula.lo
  src/mathed/formula.o
  src/mathed/formula.o.d

 You can build in a tree parallel to the source tree. Just
 'mkdir lyx-build' in parallel to lyx-devel, 'cd lyx-build',
 '../lyx-devel/configure ; make'

 Andre'

Thanks, André, I'll try that anyway, but these  .o.d files contain dependency 
info. With the old autoconf 2.1x system, they went into the .deps dir. But 
not now. I'll ask JMarc what's going on when he returns, because the dec used 
some sed magic to fix this stuff with the old autoconf. Looks like some 
tweaking is needed.

Angus



Re: math-starts-with-macro bug in fix4

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:54:41PM +0100, Kuba Ober wrote:
 I wonder if it applies to 2.0 as well?

It works fine in 1.2.0cvs.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



mathed question

2002-03-21 Thread Angus Leeming

André, how do I create a macro, so, within mathed?

\begin_inset FormulaMacro
\newcommand{\bmath}[1]{\mathbf{#1}}

\end_inset

I can create a macro mathbf{A} by typing \mathbf_A_, where _ is a space, but 
this doesn't work with #1.

I can also edit the lyx file to create the macro I want, and this is parsed 
correctly and written back out fine to a new .lyx file. However, it appears 
to have no effect. \mathbf_n_ produces a non-bold n, whereas \mathbf_n_ 
works fine.

Can you help?

Angus



Re: mathed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 3:18 pm, Angus Leeming wrote:
 André, how do I create a macro, so, within mathed?

 \begin_inset FormulaMacro
 \newcommand{\bmath}[1]{\mathbf{#1}}

 \end_inset

 I can create a macro mathbf{A} by typing \mathbf_A_, where _ is a space,
 but this doesn't work with #1.

 I can also edit the lyx file to create the macro I want, and this is parsed
 correctly and written back out fine to a new .lyx file. However, it appears
 to have no effect. \mathbf_n_ produces a non-bold n, whereas \mathbf_n_

that's:
  to have no effect. \bmath_n_ produces a non-bold n, whereas \mathbf_n_


 works fine.

 Can you help?

 Angus

-- 
Dr Angus Leeming
Dept. of Bioengineering
Imperial College
London SW7 2BX

Tel +44 (0) 20 7594 5186
Fax +44 (0) 20 7584 6897



Reading the emacs manual reveals all...

2002-03-21 Thread Duncan Simpson


Surely deleteing superflous spaces is just a matter of M-x
delete-trailing-whitespace, which you learn about under the Display, Trailing
whitespace. It operates in the whoole buffer so hit C-x n n (narrow to region)
if you want to restrict it to an area of a buffer, and C-x n w (widen) when you
want to see the rest of the buffer again. This is not cc-mode specific. You
could also get the same effect with a regex-replace.

Incidently the indent-region menu item and command can be reach via C-M-\
(which is bound to indent-region). I think it operates in most major modes
where such an operation makes sense. You can also convert spaces to tabs and
spaces in the region with M-x tabify and revert to just spaces with M-x
untabify, neither of which can cc mode specific.

A feature you might not be aware of is using M-q is for formatting multiple
line comments. I guess a lot of people have also discovered VC mode too. Given
all the above it is any suprise I am hopelessly addicted to emacs for all major
editing :-)

-- 
Duncan (-:
software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems.





Re: compile cruft

2002-03-21 Thread Lars Gullik Bjønnes

Andre Poenitz [EMAIL PROTECTED] writes:

| On Thu, Mar 21, 2002 at 02:29:06PM +, Angus Leeming wrote:
 My tree is now full of cruft:
 
 $ ls src/mathed/formula.*
 src/mathed/formula.C
 src/mathed/formula.h
 src/mathed/formula.lo
 src/mathed/formula.o
 src/mathed/formula.o.d

| You can build in a tree parallel to the source tree. Just 
| 'mkdir lyx-build' in parallel to lyx-devel, 'cd lyx-build',
| '../lyx-devel/configure ; make'

of course you don't have to have it it parallel:

cd lyx-devel
mkdir build
cd build
../configure
make

actually you can be wherever (whenever) you want in the filesystem...

-- 
Lgb



Re: compile success and a config patch

2002-03-21 Thread Lars Gullik Bjønnes

Angus Leeming [EMAIL PROTECTED] writes:

|   * lyxinclude.m4 (LYX_CHECK_LDR): function to test if we can use
| Index: config/lyxinclude.m4
| ===
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
| retrieving revision 1.56
| diff -u -p -r1.56 lyxinclude.m4
| --- config/lyxinclude.m4  20 Mar 2002 19:06:31 -  1.56
| +++ config/lyxinclude.m4  21 Mar 2002 13:50:38 -
| @@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER,
|  save_LIBS=$LIBS
|  LIBS=$XFORMS_LIB $LIBS
|  lyx_use_xforms_image_loader=no
| +AC_LANG(C)
|  AC_CHECK_FUNCS(flimage_dup,[
|AC_CHECK_FUNCS(flimage_to_pixmap,[
|  lyx_use_xforms_image_loader=yes
|  AC_CHECK_FUNCS(flimage_enable_ps)])])
| +AC_LANG(C++)

I do not think that this is correct 2.13 autoconf commands.

-- 
Lgb



Re: Reading the emacs manual reveals all...

2002-03-21 Thread Jules Bean

On Tue, Mar 19, 2002 at 11:05:31PM +, Duncan Simpson wrote:

 A feature you might not be aware of is using M-q is for formatting
 multiple line comments. I guess a lot of people have also discovered
 VC mode too. Given all the above it is any suprise I am hopelessly
 addicted to emacs for all major editing :-)

(and M-q can rewrap reply text for ppl whose line length is too long,
too!)

It's just a shame that emacs can't do sensible indentation/alignment
which respects varying tab size.

Repeat after me:

Tabs for Indentation,
Spaces for Alignment!

:-(

Jules




Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:18:17PM +, Angus Leeming wrote:
 André, how do I create a macro, so, within mathed?
 
 \begin_inset FormulaMacro
 \newcommand{\bmath}[1]{\mathbf{#1}}

Type 

  \newcommand{\bmath}[1]{\mathbf{#1}}

select it, and press C-m

 I can also edit the lyx file to create the macro I want, and this is parsed 
 correctly and written back out fine to a new .lyx file. However, it appears 
 to have no effect. \mathbf_n_ produces a non-bold n, whereas \mathbf_n_ 
 works fine.

I don't understand at least the last sentence.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Reading the emacs manual reveals all...

2002-03-21 Thread Juergen Vigna


On 21-Mar-2002 Jules Bean wrote:

 Repeat after me:
 
 Tabs for Indentation,
 Spaces for Alignment!

That is exaclty what I also miss!

 Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

If God had intended Man to Watch TV, He would have given him Rabbit Ears.




Re: mathed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 3:43 pm, Andre Poenitz wrote:
 On Thu, Mar 21, 2002 at 03:18:17PM +, Angus Leeming wrote:
  André, how do I create a macro, so, within mathed?
 
  \begin_inset FormulaMacro
  \newcommand{\bmath}[1]{\mathbf{#1}}

 Type

   \newcommand{\bmath}[1]{\mathbf{#1}}

 select it, and press C-m

Ok. So there's no way of doing this within mathed. Fair enough.

  I can also edit the lyx file to create the macro I want, and this is
  parsed correctly and written back out fine to a new .lyx file. However,
  it appears to have no effect. \mathbf_n_ produces a non-bold n, whereas
  \mathbf_n_ works fine.

 I don't understand at least the last sentence.

Sure. I Posted an erratum. Perhaps you missed that?

It should read:

...no effect. \bmath_n_ produces a non-bold n, whereas \mathbf_n_ works 
fine.

Ie, wrapping the font change inside the macro means it is ignored.

Angus



Re: compile success and a config patch

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 2:03 pm, Lars Gullik Bjønnes wrote:
 Angus Leeming [EMAIL PROTECTED] writes:
 | * lyxinclude.m4 (LYX_CHECK_LDR): function to test if we can use
 | Index: config/lyxinclude.m4
 | ===
 | RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
 | retrieving revision 1.56
 | diff -u -p -r1.56 lyxinclude.m4
 | --- config/lyxinclude.m420 Mar 2002 19:06:31 -  1.56
 | +++ config/lyxinclude.m421 Mar 2002 13:50:38 -
 | @@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER,
 |  save_LIBS=$LIBS
 |  LIBS=$XFORMS_LIB $LIBS
 |  lyx_use_xforms_image_loader=no
 | +AC_LANG(C)
 |  AC_CHECK_FUNCS(flimage_dup,[
 |AC_CHECK_FUNCS(flimage_to_pixmap,[
 |  lyx_use_xforms_image_loader=yes
 |  AC_CHECK_FUNCS(flimage_enable_ps)])])
 | +AC_LANG(C++)

 I do not think that this is correct 2.13 autoconf commands.

Well as you know, I know next to nothing about this magic. I was just pretty 
proud of myself for getting it to work at all ;-)

A



Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
 
\newcommand{\bmath}[1]{\mathbf{#1}}
 
  select it, and press C-m
 
 Ok. So there's no way of doing this within mathed. Fair enough.

That is - none that I am aware of...

 Ie, wrapping the font change inside the macro means it is ignored.

It is not on my lyx:  http://mathematik.htwm.de/x.gif

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
 Ok. So there's no way of doing this within mathed. Fair enough.

Do a cvs update  type  '\mathbf #1'

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Reading the emacs manual reveals all...

2002-03-21 Thread Angus Leeming

On Tuesday 19 March 2002 11:05 pm, Duncan Simpson wrote:
 Surely deleteing superflous spaces is just a matter of M-x
 delete-trailing-whitespace, which you learn about under the Display,
 Trailing whitespace. It operates in the whoole buffer so hit C-x n n
 (narrow to region) if you want to restrict it to an area of a buffer, and
 C-x n w (widen) when you want to see the rest of the buffer again. This is
 not cc-mode specific. You could also get the same effect with a
 regex-replace.

 Incidently the indent-region menu item and command can be reach via C-M-\
 (which is bound to indent-region). I think it operates in most major modes
 where such an operation makes sense. You can also convert spaces to tabs
 and spaces in the region with M-x tabify and revert to just spaces with M-x
 untabify, neither of which can cc mode specific.

 A feature you might not be aware of is using M-q is for formatting multiple
 line comments. I guess a lot of people have also discovered VC mode too.
 Given all the above it is any suprise I am hopelessly addicted to emacs for
 all major editing :-)

Hmpf. I think it's a conspiracy! 

I have just upgraded to emacs 20.7 and these are the only commands apropos 
whitespace:

delete-whitespace-rectangle   M-x delete-whitespace-rectangle RET
  Command: Delete all whitespace following a specified column in each line.
fixup-whitespace  M-x fixup-whitespace RET
  Command: Fixup white space between objects around point.
isearch-whitespace-chars  M-x isearch-whitespace-chars RET
  Command: Match all whitespace chars, if in regexp mode.

Could someone dig out the little bit of lisp for delete-trailing-whitespace 
and tell me which file to put it in.

Regards,
Angus



Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 04:42:37PM +, Angus Leeming wrote:
 Ok. I see this too. (And thanks for this instant replies. I have just 
 upgraded to use the fix to math_cursor.C). However, if I have a new command
 
 \begin_inset FormulaMacro
 \newcommand{\Vector}[1]{\bmath{#1}}
 
 \end_inset
 
 Then _this_ isn't bolded. Sample file attached.

Ok. I got it now.

No simple fix on the horizon, however. More than one line at least...

We would need to pass the current font around while drawing, otherwise
there is no way to know for the #1 how it should draw its contents.  

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



[jeff@jab.org: Re: filtering problem for lyx lists]

2002-03-21 Thread Mate Wierdl

Here we go,

Mate
- Forwarded message from Jeff Breidenbach [EMAIL PROTECTED] -

Delivered-To: [EMAIL PROTECTED]
From: Jeff Breidenbach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
In-reply-to: [EMAIL PROTECTED] (message from Mate
Wierdl on Wed, 20 Mar 2002 16:51:05 -0600)
Subject: Re: filtering problem for lyx lists
Date: Wed, 20 Mar 2002 14:41:56 -0800


I already put it through reprocessing. Lar's mail got misrecognized as
a separate list, and was separated out. Should be all fixed now.

-Jeff

- End forwarded message -



Re: [jeff@jab.org: Re: filtering problem for lyx lists]

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 06:14:14PM +0100, Lars Gullik Bjønnes wrote:

 Hey ;-) a list of my own!

you forget that no-one (not even you) was reading it ;)

john

-- 
Committee iq: average intelligence of members, divide by headcount.
- Rob Landley



Just relaying

2002-03-21 Thread Andre Poenitz


Can anybody help?


- Forwarded message from ... --
Would you know what the Tex equivs are for the fonts in the
Layout - Document font drop-down?  If not is there someone
you could ping?

The helvetica san serif seems to be
cmss10
cmss12
etc.  
- End forwarded message -

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Just relaying

2002-03-21 Thread Jules Bean

On Thu, Mar 21, 2002 at 06:16:40PM +0100, Andre Poenitz wrote:
 
 Can anybody help?


Yes, but I don't quite understand the question.

 
 
 - Forwarded message from ... --
 Would you know what the Tex equivs are for the fonts in the
 Layout - Document font drop-down?  If not is there someone
 you could ping?
 
 The helvetica san serif seems to be
 cmss10
 cmss12

No it isn't.  Helvetica is helvetica. (Postscript font copyright
adobe, or the URW version depending on your install and your printer).

I don't have a recent version of LyX in front of me, but basically,
the named fonts are all standard or common poscript (times, helvetica,
palatino, etc.), and AE is a kind of extended computer modern
character set, IIRC.

If you mean, how do you access fonts like Helvetica from Plain TeX,
the answer is that it isn't particularly easy, a google search in
comp.text.tex might find you some pointers.  Or if that *is* what the
original questioner wants, I can look it up.

If the OP wants to know how to access the fonts from LaTeX, that is an 
easy usepackage which can be spotted at the top of the .tex output
from LyX.

Jules





Re: More eye candy

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 10:06:16AM +0100, Juergen Spitzmueller wrote:

 I remember the KLyX icons to be rather ugly. What about those:
 
 http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_icons.html


yes, perhaps. of course, the icons are themeable. And it would be easy
to make them hotpluggable ...

And also we can easily have per-toolkit preferences for icons, by simply
naming
then buffer-new-gnome.xpm or whatever.

regards
john

-- 
What *is* your fascination with my forbidden closet of mystery ?
- Chief Wiggum



Re: mathed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 4:47 pm, Andre Poenitz wrote:
 On Thu, Mar 21, 2002 at 04:42:37PM +, Angus Leeming wrote:
  ps. I do this because I redefine \bmath in the latex preamble as a bit of
  \mbox{\boldmath $#1$ \unboldmath} magic to get bold lowercase greek
  letters.

 I thought \boldsymbol{} was meant for such stuff...

 Andre'

Thanks, André, again. Again, this works fine, but it'd be nice if mathed 
recognized \boldsymbol...

See attached.

Angus

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset FormulaMacro 
\newcommand{\Vector}[1]{\boldsymbol {#1}}

\end_inset 


\layout Standard

vector 
\begin_inset Formula $\Vector{n}$
\end_inset 

 and again 
\begin_inset Formula $\Vector{\kappa }$
\end_inset 


\the_end



CVS make install error

2002-03-21 Thread Mike Ressler

When building recent CVS's (last few days, including 5 minutes ago),
everything goes fine until the end of the install. The following gets
burped at me:

[...]
 /usr/bin/install -c -m 644 ../../lyx-devel/lib/symbols
/scr/ressler/lyx-cvs/share/lyx/symbols
files=`sed -e 's/^\([^ ]*\) .*$/\1/' xfonts/fonts.dir` ; \
for i in ${files} ; do \
  ln -s `kpsewhich $i` /scr/ressler/lyx-cvs/share/lyx/xfonts/$i ; \
done
ln: /scr/ressler/lyx-cvs/share/lyx/xfonts/cmex10.pfb: File exists
ln: /scr/ressler/lyx-cvs/share/lyx/xfonts/cmmi10.pfb: File exists
[ ... more deleted ...]
ln: /scr/ressler/lyx-cvs/share/lyx/xfonts/msbm10.pfb: File exists
make[3]: *** [install-xfonts] Error 1
make[3]: Leaving directory `/home/mressler/LyX/lyx-build/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/mressler/LyX/lyx-build/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mressler/LyX/lyx-build/lib'
make: *** [install-recursive] Error 1

No big deal, but it does abort the install early. While poking at
lib/Makefile, I found that the relevant install code is hardwired for
ln -s `kpsewhich ..., which ignores the Makefile variables LN and
KPSEWHICH. Summary:

1) Old links need to be dealt with by ln -sf or deleting the old links
2) The Makefile needs to be patched to use the appropriate variables
3) I really don't know what the heck I'm doing in terms of fixing
Makefile.am or Makefile.in, so I hope this is enough info for people who
do know what they are doing to solve this.

Mike

-- 
Mike Ressler
[EMAIL PROTECTED]
OK, I'm lame: I don't have my own website ...




Re: [Devel] Questions about 1.2.0pre1

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 07:36:55PM +0100, Michael Schmitt wrote:

 Hello everybody,

argh stop using [EMAIL PROTECTED] !!

 any ideas on when 1.2.0pre1 will be released? Are there still patches 
 floating around that have not been applied so far?

Just one as far as I know, a crash in CutAndPaste

 between pre1 and the final version. Due to the fact that virtually any 
 new code also bares some errors, I don't think this is a good idea. I 
 would like to see a prerelease for which _you_ believe it is identical 
 to the final release. Then give it to the user and only patch new reports.

IMHO I agree.

john

-- 
What *is* your fascination with my forbidden closet of mystery ?
- Chief Wiggum



Re: listerrors followup

2002-03-21 Thread Kayvan A. Sylvan

Hi Jean-Marc,

Here is my latest followup to the listerrors fixes.

If you have not already done so, please apply this.

The backward-porting is important since many people don't have python-2.2
installed as /usr/bin/python.

The converter.C patch is important to allow people who have the
setting parselog=listerrors in their build-program convertor
to find listerrors without having to set an additional path element
outside of LyX. This would mean that the listerrors change has no
user-visible impact.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Index: lib/ChangeLog
===
RCS file: /cvs/lyx/lyx-devel/lib/ChangeLog,v
retrieving revision 1.189
diff -u -r1.189 ChangeLog
--- lib/ChangeLog   2002/03/21 19:26:18 1.189
+++ lib/ChangeLog   2002/03/21 19:48:24
@@ -6,6 +6,13 @@
 
* ui/default.ui: Change What's this? to Tooltips.
 
+2002-03-19  Kayvan A. Sylvan  [EMAIL PROTECTED]
+
+   * examples/listerrors.lyx: Fixed to run with python-1.5 as well
+   as with latest python-2.2
+   
+   * scripts/listerrors: Re-generated from listerrors.lyx
+
 2002-03-19  Jean-Marc Lasgouttes  [EMAIL PROTECTED]
 
* create_fonts_dir:
Index: lib/examples/listerrors.lyx
===
RCS file: /cvs/lyx/lyx-devel/lib/examples/listerrors.lyx,v
retrieving revision 1.1
diff -u -r1.1 listerrors.lyx
--- lib/examples/listerrors.lyx 2002/03/19 21:42:48 1.1
+++ lib/examples/listerrors.lyx 2002/03/21 19:48:24
@@ -259,7 +259,7 @@
 \newline 
 
 \newline 
-import sys
+import sys, string
 \newline 
 
 \newline 
@@ -363,10 +363,8 @@
 \newline 
   if lines:
 \newline 
-line = lines[-1]
+line = lines.pop()
 \newline 
-lines = lines[:-1]
-\newline 
   else:
 \newline 
 line = file.readline()
@@ -391,7 +389,7 @@
 \newline 
   lines = __lines
 \newline 
-  lines += (line,) # push a list onto the stack, not individual letters
+  lines.append(line)
 \newline 
 
 \newline 
@@ -509,9 +507,9 @@
 
 Look for the unescaped angle-brackets in documentation=
 \newline 
-if line.find(: unescaped  in documentation chunk) != -1:
+if string.find(line, : unescaped  in documentation chunk) != -1:
 \newline 
-  line_parts = line.split(':')
+  line_parts = string.split(line, ':')
 \newline 
   num_str = line_parts[1]
 \newline 
@@ -519,7 +517,7 @@
 \newline 
   i = 0
 \newline 
-  while i  num_len and num_str[i].isdigit(): i += 1
+  while i  num_len and (num_str[i] in string.digits): i = i + 1
 \newline 
   if i == num_len:
 \newline 
@@ -538,13 +536,13 @@
 \newline 
 if (not retval):
 \newline 
-  left = line.find()
+  left = string.find(line, )
 \newline 
   if (left != -1) and ((left + 2)  len(line)) and 
 \backslash 
 
 \newline 
- (line[left+2:].find() != -1):
+ (string.find(line[left+2:], ) != -1):
 \newline 
 write_error(line, noweb);
 \newline 
@@ -586,7 +584,7 @@
 \newline 
   for msg in msgs_to_try:
 \newline 
-if line.find(msg) != -1:
+if string.find(line, msg) != -1:
 \newline 
   write_error(line, noweb)
 \newline 
@@ -647,7 +645,7 @@
 
 Handle the gcc error message= 
 \newline 
-first_space = line.find(' ')
+first_space = string.find(line, ' ')
 \newline 
 if first_space  1: # The smallest would be X: 
 \newline 
@@ -661,7 +659,7 @@
 \newline 
   num_end = first_space
 \newline 
-  while next_line[num_end].isdigit(): num_end += 1
+  while next_line[num_end] in string.digits: num_end = num_end + 1
 \newline 
   if num_end  first_space: # good!
 \newline 
@@ -685,12 +683,10 @@
 Accumulate gcc error lines and print it=
 \newline 
 num_str = next_line[first_space:num_end]
-\newline 
-msgs = []
 \newline 
-msgs += (line[first_space:],)
+msgs = [line[first_space:]]
 \newline 
-msgs += (next_line[num_end + 1:],)
+msgs.append(next_line[num_end + 1:])
 \newline 
 header_to_see = next_line[:num_end]
 \newline 
@@ -698,7 +694,7 @@
 \newline 
 while next_line and next_line[:num_end] == header_to_see:
 \newline 
-  msgs += (next_line[num_end + 1:],)
+  msgs.append(next_line[num_end + 1:])
 \newline 
   next_line = getline()
 \newline 
@@ -754,9 +750,9 @@
 \newline 
   if line[0] == '': # This is the first character of all xlc errors
 \newline 
-next_quote = line.find('', 1)
+next_quote = string.find(line, '', 1)
 \newline 
-first_space = line.find(' ')
+first_space = string.find(line, ' ')
 \newline 
 if (next_quote != -1) and (first_space  next_quote): # no space inisde
  quotes
@@ -765,7 +761,7 @@
 \newline 
 num_start = num_end = first_space + 6
 \newline 
-while line[num_end].isdigit(): num_end += 1
+while line[num_end] in string.digits: num_end = num_end + 1
 \newline 
 if num_end  

sed question

2002-03-21 Thread Angus Leeming

Sorry for the off topic question but I'm trying to hack a way to getting my 
dependency stuff to work,

Anyone know the sed command to strip off the front off this
../../../devel/src/mathed/math_arrayinset.C
to give this
math_arrayinset.C

I guess I need to search for the final / and keep only what's after it. 
Trouble is, I'm stumped!

Angus



Re: sed question

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 08:04:51PM +, Angus Leeming wrote:

 Anyone know the sed command to strip off the front off this
   ../../../devel/src/mathed/math_arrayinset.C
 to give this
   math_arrayinset.C

echo '../../../devel/src/mathed/math_arrayinset.C' | sed 's+.*/\(.*\)$+\1+'

is one way

john
-- 
What *is* your fascination with my forbidden closet of mystery ?
- Chief Wiggum



Re: sed question

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 08:08:51PM +, John Levon wrote:

 echo '../../../devel/src/mathed/math_arrayinset.C' | sed 's+.*/\(.*\)$+\1+'
 
 is one way

but sed 's+.*/++' is far simpler

john

-- 
What *is* your fascination with my forbidden closet of mystery ?
- Chief Wiggum



Re: sed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 8:09 pm, John Levon wrote:
 On Thu, Mar 21, 2002 at 08:08:51PM +, John Levon wrote:
  echo '../../../devel/src/mathed/math_arrayinset.C' | sed
  's+.*/\(.*\)$+\1+'
 
  is one way

 but sed 's+.*/++' is far simpler

You're a scary man! Thank you, thank you, thank you!

A



Re: sed question

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 08:13:37PM +, Angus Leeming wrote:

 You're a scary man! Thank you, thank you, thank you!

you call that a knife ?

/this/ is a knife :
http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/ckaddr.gz

(check the regexp at the bottom ...)

john

-- 
What *is* your fascination with my forbidden closet of mystery ?
- Chief Wiggum



preparing for 1.2

2002-03-21 Thread Lars Gullik Bjønnes


How up to date are:

ANNOUNCE
INSTALL
INSTALL.autoconf
INSTALL.OS2
MAINTAINERS
NEWS
README
README.OS2
README.Win32
UPGRADING

We need to go through these documents and verify and update them for
the upcomming 1.2.0 release.

-- 
Lgb



ItemizeBullets.lyx

2002-03-21 Thread Lars Gullik Bjønnes


It seems that current CVS is not able to read the tabulars in
lib/examples/ItemizeBullets.lyx.

-- 
Lgb



Re: [Devel] Bug list update

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 11:32:41PM +0100, Michael Schmitt wrote:

 - The menu says C-S-Space generates a protected blank but it is actually just 
C-Space

I guess the bind entry just needs moving to after the C-space one ?

 - Create new article (koma-script) document; insert a minipage; add three pars of 
text
   into the minipage; set the second par to minisec layout; set document to SGML 
article;
   remove all error boxes - the error box is deleted logically but not immediately 
on screen (#210)

Yes, this has regressed. Allan ?

 - C-M-2 does not work whereas C-M-1, C-M-3 and the Save Bookmark 2 menu item 
work. 
   Strange... a KDE2 problem? Anybody able to reproduce this?

nope ! (I run KDE2)

regards
john

-- 
What *is* your fascination with my forbidden closet of mystery ?
- Chief Wiggum



Re: [Devel] Bug list update

2002-03-21 Thread Allan Rae

On Thu, 21 Mar 2002, John Levon wrote:

  - Create new article (koma-script) document; insert a minipage; add three pars 
of text
into the minipage; set the second par to minisec layout; set document to SGML 
article;
remove all error boxes - the error box is deleted logically but not immediately 
on screen (#210)

 Yes, this has regressed. Allan ?

This is a rendering error only.  It hasn't regressed.  The last time
I/we looked at this I/we concluded the bug was fixed (crashes etc.)
and only a rendering error remained.

AFAICT it's a similar rendering error to other inset update problems.
So it may be as simple as doing:

if (bv-removeAutoInsets()) {
bv-redraw();// redrawInset(this)?
bv-fitCursor();
}

whereever rAI() gets called from or more likely the inset
update()/redraw() or some other such function needs fixing or calling.
I don't know much about the inset code so don't really have an idea
where to start looking.

I thought Jürgen had fixed this particular inset update problem a week
or so ago.

Allan. (ARRae)




Re: More eye candy

2002-03-21 Thread Allan Rae

On Thu, 21 Mar 2002, John Levon wrote:

 On Thu, Mar 21, 2002 at 10:06:16AM +0100, Juergen Spitzmueller wrote:

  I remember the KLyX icons to be rather ugly. What about those:
 
  http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_icons.html


 yes, perhaps. of course, the icons are themeable. And it would be easy
 to make them hotpluggable ...

 And also we can easily have per-toolkit preferences for icons, by
 simply naming then buffer-new-gnome.xpm or whatever.

Personally, I'd rather we ship one set of standard icons.  Any
variants can be in separate theme (ughh) tarballs.  At present a
user can override any icon by putting one they want with the same name
into ~/.lyx/images or icons/ or whatever it's called.  An
administrator can just untar the icon set over the top of the existing
installation to change the icon set for a site.

Alternatively just keep each theme in a subdir and let the user
choose the subdir they want.  It is very easy to dynamically build a
list of choices from a subdirectory listing after all.

Allan. (ARRae)




Re: Reading the emacs manual reveals all...

2002-03-21 Thread Allan Rae

On Tue, 19 Mar 2002, Duncan Simpson wrote:


 Surely deleteing superflous spaces is just a matter of M-x
 delete-trailing-whitespace, which you learn about under the Display, Trailing
 whitespace. It operates in the whoole buffer so hit C-x n n (narrow to region)
 if you want to restrict it to an area of a buffer, and C-x n w (widen) when you
 want to see the rest of the buffer again. This is not cc-mode specific. You
 could also get the same effect with a regex-replace.

 Incidently the indent-region menu item and command can be reach via C-M-\
 (which is bound to indent-region). I think it operates in most major modes
 where such an operation makes sense. You can also convert spaces to tabs and
 spaces in the region with M-x tabify and revert to just spaces with M-x
 untabify, neither of which can cc mode specific.

 A feature you might not be aware of is using M-q is for formatting multiple
 line comments. I guess a lot of people have also discovered VC mode too. Given
 all the above it is any suprise I am hopelessly addicted to emacs for all major
 editing :-)

You started a new thread to tell us this!

What was wrong with continuing the previous pointless whitespace
thread!  Why start a new pointless whitespace thread when a perfectly
good one already existed!

Any responses should please be made to the [PATCH] tiny whitespace
thread.

Allan. (ARRae)





Re: [PATCH] tiny whitespace

2002-03-21 Thread Allan Rae


All that wonderful whitespace pissing about missed out on several
tab-spaces or even spaces-tabs conversions inside comments.

Take a look at the copyright notice in just about any file you care to
name.  I've give you an example:
src/lyxfunc.C

There are three indented lines.  One of them has a single tab the
others have spaces.  The first indented line has an extra space making
for a misalignment.

More importantly, the whitespace pissing about didn't end up aligning
the switch statements in lyxfunc.C any better than they were before.
Take a look around line 414 for example:

case LFUN_RUNCHKTEX:
disable = lyxrc.chktex_command == none;
break;
case LFUN_BUILDPROG:
disable = !Exporter::IsExportable(buf, program);
break;

No extra whitespace between cases even though that is the standard
used throughout the rest of the file.  Although there are also weird
clusters of cases near this area.

How will we live with ourselves with all these hodge-podge
coding standards that last a few hundred lines in a file of several
thousand lines?

Allan. (ARRae)




RE

2002-03-21 Thread cdma

¸æËßÄãÒ»¸öºÃÏûÏ¢£ºÈç¹ûÄúÏëÔÚδÀ´µÄ£¹£°ÌìÄÚ×îÉÙ׬µ½£¤10ÉõÖÁ¸ü¶à£¡,Êǵģ¬ÄúûÓп´´í 
ÊÇ10ÍòÔªÒ»Ì×ÈÃÖйúÈËѸËÙ¸»ÆðÀ´µÄ׬Ǯ·½°¸¡£¡£ÕæµÄºÜÈÝÒ×ÈÃÄã׬µ½Ç®µÄÍøÕ¾ 
Ö»ÐèÒµÓà·¢µç×ÓÓʼþÐû´«Íøվ׬À´Ã¿ÔÂÉÏÍòÔªÈËÃñ±Ò£¬ÓÉ´ËÄú½«ÓµÓÐÊôÓÚ×Ô¼ºµÄ¼Ò  
Í¥¹«Ë¾£¡£¡Õâ²»ÊÇÉñ»°£¬Ëü²»ÒªÇóÄã¸úÆäËûÈ˽Ӵ¥£¬ÎÒÏàÐÅËüÄÜ´ò¶¯Ä㣬Ҳ»á´ò¶¯±ðÈË¡£ 
ÕâÕýÊÇÒ»¸öÕýµ±ºÍºÏ·¨µÄºÃ»ú»á¡£Çëµ½ÍøÕ¾¿´Ò»¿´£¬×Ðϸ¿¼ÂÇ¿¼ÂÇ£¬³É¹¦ÈËÊ¿ÊDz»»á·Å¹ýÿһ¸ö»ú»áµÄ£¡Ï£Íû¸÷λ¿ìÂí¼Ó±Þ£¬Å¬Á¦³ÉΪµÚÒ»Åú
  ¸»ÆðÀ´µÄÅóÓÑ¡£¸Ä±äÄãÒ»ÉúµÄÃüÔË£¡

µØÖ·£ºhttp://djz.d2g.nu/user/index.php?user=xiatongzhi

Ö»ÐèÒµÓàÔÚ¼ÒÖз¢µç×ÓÓʼþÐû´«Íøվ׬À´Ã¿ÔÂÉÏÍòÔªÈËÃñ±Ò¡£

ÕâµÄÈ·´æÔÚ£¬¡°´ó¼Ò׬¡±¾ÍÊÇÕâôһ¸öÍøÕ¾¡£

¡°´ó¼Ò׬¡±ÍøÕ¾ÏÖÔÚ¸ÕÔÚÖйú½¨Á¢Ê±¼ä»¹ºÜ¶Ì£¬ËùÒÔ»áÔ±ºÜÉÙÏÖÔÚ¼ÓÈëÊǸöºÃʱ»ú£¬Èç¹ûÏÖÔÚ¼ÓÈëÎÒÃÇ»¹¿ÉΪÄ㽨һ¸öÊôÓÚÄã×Ô¼ºµÄ¡°´ó¼Ò׬Ö÷Ò³¡±¡£

Äã¿ÉÒÔ×Ô¼ºÈ¥¡°´ó¼Ò׬¡±ÍøÕ¾¿´¿´Àï±ßÓоßÌåÄÚÈÝ¡£

µØÖ·£ºhttp://djz.d2g.nu/user/index.php?user=xiatongzhi

Ï£ÍûÄã²»Òª´í¹ýÒ»¸ö¾øºÃµÄ׬Ǯ»ú»á¡£
˵¡°´ó¼Ò׬¡±ÊǾøºÃµÄ׬Ǯ»ú»áÊÇÇ¡ÈçÆä·ÖµÄ¡£ÒòΪËü²»ÏóÍâ¹úµÄ׬ǮÍøÕ¾ÒªÌîÓ¢ÎÄ×¢²á¡£
ËüµÄ×¢²áÏ൱¼òµ¥×îÖØÒªµÄÊÂËüÓÃÖÐÎÄÌîд¡£
ÄãÒ»¶¨Òª¼ÓÈëºÃºÃ°ÑÎÕÕâ¸ö¾øºÃµÄ׬Ǯ»ú»á¡£
µØÖ·£ºhttp://djz.d2g.nu/user/index.php?user=xiatongzhi

 


=
¸ÃÓʼþʹÓà ¿ÆÌØÓʼþȺ·¢Èí¼þ ·¢ËÍ,ÓʼþÄÚÈÝÓë¿ÆÌØÈí¼þÎÞ¹Ø
¿ÆÌØÈí¼þ http://www.caretop.com
=



Re: sed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 08:04:51PM +, Angus Leeming wrote:
 Anyone know the sed command to strip off the front off this
   ../../../devel/src/mathed/math_arrayinset.C
 to give this
   math_arrayinset.C

   basename ../../../devel/src/mathed/math_arrayinset.C


Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: preparing for 1.2

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 10:48:30PM +0100, Lars Gullik Bjønnes wrote:
 We need to go through these documents and verify and update them for
 the upcomming 1.2.0 release.

Oh... MAINTAINERS is fairly complete. Mathed-wise...

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: [PATCH] tiny whitespace

2002-03-21 Thread John Levon

On Fri, Mar 22, 2002 at 04:06:19PM +1000, Allan Rae wrote:

 Take a look at the copyright notice in just about any file you care to
 name.  I've give you an example:
   src/lyxfunc.C

Any way, the new style header is much better and should replace all
the old variants ...

 More importantly, the whitespace pissing about didn't end up aligning

I'm glad to see that's now its official name !

 coding standards that last a few hundred lines in a file of several
 thousand lines?

Don't have stupidly large files in the first place ?

john

-- 
Way back at the beginning of time around 1970 the first man page was
 handed down from on high. Every one since is an edited copy.
- John Hasler [EMAIL PROTECTED]



Re: [Devel] Bug list update

2002-03-21 Thread John Levon

On Fri, Mar 22, 2002 at 01:54:23PM +1000, Allan Rae wrote:

  Yes, this has regressed. Allan ?
 
 This is a rendering error only.  It hasn't regressed.  The last time
 I/we looked at this I/we concluded the bug was fixed (crashes etc.)
 and only a rendering error remained.

Last time /I/ looked at it, everything worked apart from the crash.

 I thought Jürgen had fixed this particular inset update problem a week
 or so ago.

and here you contradict yourself ... either it's regressed or it hasn't.

Anyway, NEED_MORE_REFRESH gets set inside redoParagraph so I don't
know why it doesn't update

john

-- 
Way back at the beginning of time around 1970 the first man page was
 handed down from on high. Every one since is an edited copy.
- John Hasler [EMAIL PROTECTED]



Re: More eye candy

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 01:19:34PM +1000, Allan Rae wrote:

> > no, that would be lame ... I don't even handle xforms events any more :)
> 
> Cool, I thought you were still dreaming about using a Qt object
> (ScrolledArea or somewuch) as a replacement for WorkArea I didn't
> realise you'd switched already.

Ah, well currently I manage the scrollbar by hand (QWidget + QScrollBar)
rather than using QScrollView, so that's what I was referring to.

In fact the scrollbar doesn't do anything anyway.

> Hmmm  1.3.0 might be only a couple of weeks behind 1.2.0 ;-)

I'd say in terms of basic functionality we are 70-80% complete ...

> still had some of the old rendering bugs.  Although, the giveaway
> probably should have been the menu-separator rendering.

fixed since then anyway ;)

> Nice work (at least from user POV).  I really should try to find some
> more time for LyX so I can see what you're up to with your patch.

there's still a lot of stuff I know needs cleaning up, and probably a
whole lot more I don't. Afaik I'm not doing anything particularly
contraversial on the design level though ...

john

-- 
"Committee iq: average intelligence of members, divide by headcount."
- Rob Landley



Re: More eye candy

2002-03-21 Thread Juergen Spitzmueller

Allan Rae wrote:
> On Thu, 21 Mar 2002, John Levon wrote:
> > A couple of hacks, and Qt has a mostly working toolbar :
> >
> > http://movementarian.org/ss2.png
>
> Sexy.  Maybe we should also steal some of the klyx icons so we look
> prettier.

I remember the KLyX icons to be rather ugly. What about those:

http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_icons.html

Juergen.

PS.: bloody impressive work! I'm really looking forward to the 
QT-version :-)




Re: make file cygwin take two

2002-03-21 Thread Juergen Vigna


On 20-Mar-2002 Lars Gullik Bjønnes wrote:

> I am not sure this is needed on all platforms.
> I have 0.89.5 and do not need -ljpeg.

Well are you sure your xforms library didn't link in libjpeg statically?

   Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

You can never do just one thing.
-- Hardin




PRIVATE: Suse Distrib

2002-03-21 Thread Juergen Vigna

Sorry for the private question, but are there some people with a
Suse distribution (7.3 if possible) on this list. I have problems
there with a configure script and really don't know what to do:

Well I may post the error message I got from a user via mail too maybe
some of you guys can see what happens and how I can cure it ;)

> > ./aclocal.m4:672: error: m4_defn: undefined macro:
> > _m4_divert_diversion aclang.m4:173: AC_LANG_RESTORE is expanded
> > from...
> > ./aclocal.m4:672: the top level
> > autoconf: tracing failed
> > make: *** [stamp-h.in] Error 1
>
> With:
>
> automake-1.4p5-2
> autoconf-2.13-14

Greets,
 Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Yea from the table of my memory
I'll wipe away all trivial fond records.
-- Hamlet




Re: make file cygwin take two

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 9:22 am, Juergen Vigna wrote:
> On 20-Mar-2002 Lars Gullik Bjønnes wrote:
> > I am not sure this is needed on all platforms.
> > I have 0.89.5 and do not need -ljpeg.
>
> Well are you sure your xforms library didn't link in libjpeg statically?
>
>Jug

SPL says that they try not to do that. But presumably you could interrogate 
the library?

A



Re: configure is dying...

2002-03-21 Thread Angus Leeming

On Wednesday 20 March 2002 8:58 pm, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> | configure:9582: checking for forms.h
> | configure:9592:   -I$(top_srcdir)/src/cheaders  -I/usr/include conftest.C
> | >/dev/null 2>conftest.out ./configure[9591]:
> | -I$(top_srcdir)/src/cheaders:  not found
> | configure: failed program was:
> | #line 9587 "configure"
> | #include "confdefs.h"
> | #include 
>
> It looks as if your compiler is set to ''.
> How come?

I don't know Lars!

All is well at this test:

configure:3424: checking for conforming std::count
configure:3446: deccxx -c -ptr 
/usr/users/aleem/OTHERS_CODE/lyx/devel/lyx_cxx_repository -O2 
-I/usr/local/include conftest.C 1>&5
cxx -std strict_ansi -nocleanup -msg_display_number -msg_disable 
11,193,236,261,401,610,611 -w0 -c -ptr 
/usr/users/aleem/OTHERS_CODE/lyx/devel/lyx_cxx_repository -O2 
-I/usr/local/include conftest.C
cxx: Info: configure, line 3435: #1136-D conversion to integral type of
  smaller size could lose data
return count(b, e, c);
---^
cxx: Info: configure, line 3441: #177-D variable "i" was declared but never
  referenced
int i = countChar(a, a + 5, 'l');
^


And all fails at the next one:

configure:3470: checking for ostream
configure:3480:  -I/usr/local/include conftest.C >/dev/null 2>conftest.out
./configure[3479]: -I/usr/local/include:  not found
configure: failed program was:
#line 3475 "configure"
#include "confdefs.h"
#include 
configure:3470: checking for istream
configure:3480:  -I/usr/local/include conftest.C >/dev/null 2>conftest.out
./configure[3479]: -I/usr/local/include:  not found
configure: failed program was:
#line 3475 "configure"
#include "confdefs.h"
#include 


My configure script is attached.

I'm using automake 1.4-p2 and autoconf 2.13

Angus





configure-setup
Description: application/shellscript


Re: lars's mail

2002-03-21 Thread Angus Leeming

On Wednesday 20 March 2002 10:55 pm, Mate Wierdl wrote:
> I am confused: when I go to
>
> http://www.mail-archive.com/lyx-devel%40lists.lyx.org/maillist.html
>
> I see messages from Lars.
>
> Could you tell me the exact problem?
>
> Mate

How mysterious! I can see them now too. However, just to show that I'm not 
crying wolf, here's a small screen shot of a set of mail I tried to read the 
other day when I noticed this "problem". Note that Lars' mail hasn't been 
read because it didn't "exist" at the time.

Angus



mail.png
Description: PNG image


Re: mathed warnings!!!!

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 7:13 am, Andre Poenitz wrote:
> On Wed, Mar 20, 2002 at 12:02:32PM +, Angus Leeming wrote:
> > > Not again that 'virtual function override intended' stuff.
> > > Yes, it IS INTENDED. It is legal. And I even consider it being nice.
> >
> > Fine. I'll turn off the warning.
>
> I have "fixed" it nonetheless. Actually I did already yesterday right after
> the sending this mail, but then our upstream connection broke down (and
> still has hickups...).
>
> Andre'

Well then, I'll turn the warning back on, should I ever be able to build LyX 
again ;-)

Angus



Re: PRIVATE: Suse Distrib

2002-03-21 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-

On Thursday, 21. March 2002 12:06, Juergen Vigna wrote:
> Sorry for the private question, but are there some people with a
> Suse distribution (7.3 if possible) on this list. I have problems
> there with a configure script and really don't know what to do:

I have here this distribution.

> Well I may post the error message I got from a user via mail too maybe
> some of you guys can see what happens and how I can cure it ;)
>
> > > ./aclocal.m4:672: error: m4_defn: undefined macro:
> > > _m4_divert_diversion aclang.m4:173: AC_LANG_RESTORE is expanded
> > > from...
> > > ./aclocal.m4:672: the top level
> > > autoconf: tracing failed
> > > make: *** [stamp-h.in] Error 1


I can remember having such problems. Tried to get new versions
automake-1.4_p5-44
autoconf-2.52-73
but that did not help. But a call of "autogen.sh" was very helpfull.

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPJnH0bewfbDGmeqhAQFywQQA2+kEoJ8UUh77054yHZ41JpmnUQ+yFeLk
MHCnZBPSPach7rs4iKodFpOJllvALXooaerhf/vKSeeLXLuLwQY+DIOcFGRvEklF
pIDAHe9JvUIHBb/wiPGKlOqvSLs85kHSObCwav/hs4+Oitr1yEeTGG4e4AFyLKlS
1jfw96Dj8Oc=
=HlfR
-END PGP SIGNATURE-



Compiling for libc5?

2002-03-21 Thread Thomas Steffen

Hi,

I would like to compile lyx for libc5 (aout), so that I can use it
with mulinux. gcc 2.7.2 is the latest compiler with support for libc5.
Should that be possible in general?

AFAIC autoconf works ok up the configuration of libsigc++. According
to the website of libsigc++, it cannot be compiled using gcc 2.7.2,
but a port should be possible. 

So has anyone tried to compile lyx for libc5? Is libsigc++ the only
problem? Can it be solved?

Thanks for any hint. Yours,
Thomas <[EMAIL PROTECTED]>



Re: Compiling for libc5?

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 01:14:43PM +0100, Thomas Steffen wrote:
> I would like to compile lyx for libc5 (aout), so that I can use it
> with mulinux. gcc 2.7.2 is the latest compiler with support for libc5.
> Should that be possible in general?

Actually I doubt that this would be possible. I have not tried it, though.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



compile success and a config patch

2002-03-21 Thread Angus Leeming

Ok, Lars, I've finally got there. I had to tweak my configure script so that 
CPP="deccxx -E", or I couldn't find ostream etc. I also upgraded to automake 
1.5, autoconf 2.52, although I'm not sure that that was strictly necessary. 
(I did this before finding the CPP fix.) Finally, I had to patch 
lyxinclude.m4; attached.

phew!

Angus


Index: config/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/ChangeLog,v
retrieving revision 1.30
diff -u -p -r1.30 ChangeLog
--- config/ChangeLog	20 Mar 2002 19:06:31 -	1.30
+++ config/ChangeLog	21 Mar 2002 13:50:37 -
@@ -1,3 +1,10 @@
+2002-03-21  Angus Leeming  <[EMAIL PROTECTED]>
+
+	* lyxinclude.m4 (LYX_USE_XFORMS_IMAGE_LOADER): must set the language
+	to C when running these AC_CHECK_FUNCS tests because flimage_dup
+	etc have C-style linkage. The test fails with autoconf 2.5 which
+	tries to assign this routine to a pointer without C-style linkage.
+	
 2002-03-20  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
 	* lyxinclude.m4 (LYX_CHECK_LDR): function to test if we can use
Index: config/lyxinclude.m4
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
retrieving revision 1.56
diff -u -p -r1.56 lyxinclude.m4
--- config/lyxinclude.m4	20 Mar 2002 19:06:31 -	1.56
+++ config/lyxinclude.m4	21 Mar 2002 13:50:38 -
@@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER,
 save_LIBS=$LIBS
 LIBS="$XFORMS_LIB $LIBS"
 lyx_use_xforms_image_loader=no
+AC_LANG(C)
 AC_CHECK_FUNCS(flimage_dup,[
   AC_CHECK_FUNCS(flimage_to_pixmap,[
 lyx_use_xforms_image_loader=yes
 AC_CHECK_FUNCS(flimage_enable_ps)])])
+AC_LANG(C++)
 LIBS=$save_LIBS
 test $lyx_use_xforms_image_loader = yes && lyx_flags="$lyx_flags xforms-image-loader"
 ### If the gui cannot load images itself, then we default to the



Re: compile success and a config patch

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 1:53 pm, Angus Leeming wrote:
> Ok, Lars, I've finally got there. I had to tweak my configure script so
> that CPP="deccxx -E", or I couldn't find ostream etc. I also upgraded to
> automake 1.5, autoconf 2.52, although I'm not sure that that was strictly
> necessary. (I did this before finding the CPP fix.) Finally, I had to patch
> lyxinclude.m4; attached.
>
> phew!
>
> Angus

Incidentally, I forgot to add that "make distclean" and "make 
maintainer-clean" both work fone now. Thanks!

Angus



building qt2

2002-03-21 Thread Angus Leeming

John, 

can you build the qt2 stuff in cvs?

I find that make goes into qt2/xforms, creates the symbolic links and then 
leaves. It doesn't create any .o files at all.

Angus



Re: compile cruft

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 2:32 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 02:29:06PM +, Angus Leeming wrote:
> > My tree is now full of cruft:
> >
> > $ ls src/mathed/formula.*
> > src/mathed/formula.C
> > src/mathed/formula.h
> > src/mathed/formula.lo
> > src/mathed/formula.o
> > src/mathed/formula.o.d
>
> You can build in a tree parallel to the source tree. Just
> 'mkdir lyx-build' in parallel to lyx-devel, 'cd lyx-build',
> '../lyx-devel/configure ; make'
>
> Andre'

Thanks, André, I'll try that anyway, but these  .o.d files contain dependency 
info. With the old autoconf 2.1x system, they went into the .deps dir. But 
not now. I'll ask JMarc what's going on when he returns, because the dec used 
some sed magic to "fix" this stuff with the old autoconf. Looks like some 
tweaking is needed.

Angus



Re: math-starts-with-macro bug in fix4

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:54:41PM +0100, Kuba Ober wrote:
> I wonder if it applies to 2.0 as well?

It works fine in 1.2.0cvs.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



mathed question

2002-03-21 Thread Angus Leeming

André, how do I create a macro, so, within mathed?

\begin_inset FormulaMacro
\newcommand{\bmath}[1]{\mathbf{#1}}

\end_inset

I can create a macro mathbf{A} by typing \mathbf_A_, where _ is a space, but 
this doesn't work with #1.

I can also edit the lyx file to create the macro I want, and this is parsed 
correctly and written back out fine to a new .lyx file. However, it appears 
to have no effect. \mathbf_n_ produces a non-bold "n", whereas \mathbf_n_ 
works fine.

Can you help?

Angus



Re: mathed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 3:18 pm, Angus Leeming wrote:
> André, how do I create a macro, so, within mathed?
>
> \begin_inset FormulaMacro
> \newcommand{\bmath}[1]{\mathbf{#1}}
>
> \end_inset
>
> I can create a macro mathbf{A} by typing \mathbf_A_, where _ is a space,
> but this doesn't work with #1.
>
> I can also edit the lyx file to create the macro I want, and this is parsed
> correctly and written back out fine to a new .lyx file. However, it appears
> to have no effect. \mathbf_n_ produces a non-bold "n", whereas \mathbf_n_

that's:
  to have no effect. \bmath_n_ produces a non-bold "n", whereas \mathbf_n_


> works fine.
>
> Can you help?
>
> Angus

-- 
Dr Angus Leeming
Dept. of Bioengineering
Imperial College
London SW7 2BX

Tel +44 (0) 20 7594 5186
Fax +44 (0) 20 7584 6897



Reading the emacs manual reveals all...

2002-03-21 Thread Duncan Simpson


Surely deleteing superflous spaces is just a matter of M-x
delete-trailing-whitespace, which you learn about under the Display, Trailing
whitespace. It operates in the whoole buffer so hit C-x n n (narrow to region)
if you want to restrict it to an area of a buffer, and C-x n w (widen) when you
want to see the rest of the buffer again. This is not cc-mode specific. You
could also get the same effect with a regex-replace.

Incidently the indent-region menu item and command can be reach via C-M-\
(which is bound to indent-region). I think it operates in most major modes
where such an operation makes sense. You can also convert spaces to tabs and
spaces in the region with M-x tabify and revert to just spaces with M-x
untabify, neither of which can cc mode specific.

A feature you might not be aware of is using M-q is for formatting multiple
line comments. I guess a lot of people have also discovered VC mode too. Given
all the above it is any suprise I am hopelessly addicted to emacs for all major
editing :-)

-- 
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."





Re: compile cruft

2002-03-21 Thread Lars Gullik Bjønnes

Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Thu, Mar 21, 2002 at 02:29:06PM +, Angus Leeming wrote:
>> My tree is now full of cruft:
>> 
>> $ ls src/mathed/formula.*
>> src/mathed/formula.C
>> src/mathed/formula.h
>> src/mathed/formula.lo
>> src/mathed/formula.o
>> src/mathed/formula.o.d
>
| You can build in a tree parallel to the source tree. Just 
| 'mkdir lyx-build' in parallel to lyx-devel, 'cd lyx-build',
| '../lyx-devel/configure ; make'

of course you don't have to have it it parallel:

cd lyx-devel
mkdir build
cd build
../configure
make

actually you can be wherever (whenever) you want in the filesystem...

-- 
Lgb



Re: compile success and a config patch

2002-03-21 Thread Lars Gullik Bjønnes

Angus Leeming <[EMAIL PROTECTED]> writes:

|   * lyxinclude.m4 (LYX_CHECK_LDR): function to test if we can use
| Index: config/lyxinclude.m4
| ===
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
| retrieving revision 1.56
| diff -u -p -r1.56 lyxinclude.m4
| --- config/lyxinclude.m4  20 Mar 2002 19:06:31 -  1.56
| +++ config/lyxinclude.m4  21 Mar 2002 13:50:38 -
| @@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER,
|  save_LIBS=$LIBS
|  LIBS="$XFORMS_LIB $LIBS"
|  lyx_use_xforms_image_loader=no
| +AC_LANG(C)
|  AC_CHECK_FUNCS(flimage_dup,[
|AC_CHECK_FUNCS(flimage_to_pixmap,[
|  lyx_use_xforms_image_loader=yes
|  AC_CHECK_FUNCS(flimage_enable_ps)])])
| +AC_LANG(C++)

I do not think that this is correct 2.13 autoconf commands.

-- 
Lgb



Re: Reading the emacs manual reveals all...

2002-03-21 Thread Jules Bean

On Tue, Mar 19, 2002 at 11:05:31PM +, Duncan Simpson wrote:

> A feature you might not be aware of is using M-q is for formatting
> multiple line comments. I guess a lot of people have also discovered
> VC mode too. Given all the above it is any suprise I am hopelessly
> addicted to emacs for all major editing :-)

(and M-q can rewrap reply text for ppl whose line length is too long,
too!)

It's just a shame that emacs can't do sensible indentation/alignment
which respects varying tab size.

Repeat after me:

Tabs for Indentation,
Spaces for Alignment!

:-(

Jules




Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:18:17PM +, Angus Leeming wrote:
> André, how do I create a macro, so, within mathed?
> 
> \begin_inset FormulaMacro
> \newcommand{\bmath}[1]{\mathbf{#1}}

Type 

  \newcommand{\bmath}[1]{\mathbf{#1}}

select it, and press 

> I can also edit the lyx file to create the macro I want, and this is parsed 
> correctly and written back out fine to a new .lyx file. However, it appears 
> to have no effect. \mathbf_n_ produces a non-bold "n", whereas \mathbf_n_ 
> works fine.

I don't understand at least the last sentence.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Reading the emacs manual reveals all...

2002-03-21 Thread Juergen Vigna


On 21-Mar-2002 Jules Bean wrote:

> Repeat after me:
> 
> Tabs for Indentation,
> Spaces for Alignment!

That is exaclty what I also miss!

 Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

If God had intended Man to Watch TV, He would have given him Rabbit Ears.




Re: mathed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 3:43 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 03:18:17PM +, Angus Leeming wrote:
> > André, how do I create a macro, so, within mathed?
> >
> > \begin_inset FormulaMacro
> > \newcommand{\bmath}[1]{\mathbf{#1}}
>
> Type
>
>   \newcommand{\bmath}[1]{\mathbf{#1}}
>
> select it, and press 

Ok. So there's no way of doing this within mathed. Fair enough.

> > I can also edit the lyx file to create the macro I want, and this is
> > parsed correctly and written back out fine to a new .lyx file. However,
> > it appears to have no effect. \mathbf_n_ produces a non-bold "n", whereas
> > \mathbf_n_ works fine.
>
> I don't understand at least the last sentence.

Sure. I Posted an erratum. Perhaps you missed that?

It should read:

...no effect. \bmath_n_ produces a non-bold "n", whereas \mathbf_n_ works 
fine.

Ie, wrapping the font change inside the macro means it is ignored.

Angus



Re: compile success and a config patch

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 2:03 pm, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> | * lyxinclude.m4 (LYX_CHECK_LDR): function to test if we can use
> | Index: config/lyxinclude.m4
> | ===
> | RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v
> | retrieving revision 1.56
> | diff -u -p -r1.56 lyxinclude.m4
> | --- config/lyxinclude.m420 Mar 2002 19:06:31 -  1.56
> | +++ config/lyxinclude.m421 Mar 2002 13:50:38 -
> | @@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER,
> |  save_LIBS=$LIBS
> |  LIBS="$XFORMS_LIB $LIBS"
> |  lyx_use_xforms_image_loader=no
> | +AC_LANG(C)
> |  AC_CHECK_FUNCS(flimage_dup,[
> |AC_CHECK_FUNCS(flimage_to_pixmap,[
> |  lyx_use_xforms_image_loader=yes
> |  AC_CHECK_FUNCS(flimage_enable_ps)])])
> | +AC_LANG(C++)
>
> I do not think that this is correct 2.13 autoconf commands.

Well as you know, I know next to nothing about this magic. I was just pretty 
proud of myself for getting it to work at all ;-)

A



Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
> >
> >   \newcommand{\bmath}[1]{\mathbf{#1}}
> >
> > select it, and press 
> 
> Ok. So there's no way of doing this within mathed. Fair enough.

That is - none that I am aware of...

> Ie, wrapping the font change inside the macro means it is ignored.

It is not on my lyx:  http://mathematik.htwm.de/x.gif

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 03:55:31PM +, Angus Leeming wrote:
> Ok. So there's no way of doing this within mathed. Fair enough.

Do a cvs update & type  '\mathbf #1'

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Reading the emacs manual reveals all...

2002-03-21 Thread Angus Leeming

On Tuesday 19 March 2002 11:05 pm, Duncan Simpson wrote:
> Surely deleteing superflous spaces is just a matter of M-x
> delete-trailing-whitespace, which you learn about under the Display,
> Trailing whitespace. It operates in the whoole buffer so hit C-x n n
> (narrow to region) if you want to restrict it to an area of a buffer, and
> C-x n w (widen) when you want to see the rest of the buffer again. This is
> not cc-mode specific. You could also get the same effect with a
> regex-replace.
>
> Incidently the indent-region menu item and command can be reach via C-M-\
> (which is bound to indent-region). I think it operates in most major modes
> where such an operation makes sense. You can also convert spaces to tabs
> and spaces in the region with M-x tabify and revert to just spaces with M-x
> untabify, neither of which can cc mode specific.
>
> A feature you might not be aware of is using M-q is for formatting multiple
> line comments. I guess a lot of people have also discovered VC mode too.
> Given all the above it is any suprise I am hopelessly addicted to emacs for
> all major editing :-)

Hmpf. I think it's a conspiracy! 

I have just upgraded to emacs 20.7 and these are the only commands apropos 
"whitespace":

delete-whitespace-rectangle   M-x delete-whitespace-rectangle RET
  Command: Delete all whitespace following a specified column in each line.
fixup-whitespace  M-x fixup-whitespace RET
  Command: Fixup white space between objects around point.
isearch-whitespace-chars  M-x isearch-whitespace-chars RET
  Command: Match all whitespace chars, if in regexp mode.

Could someone dig out the little bit of lisp for delete-trailing-whitespace 
and tell me which file to put it in.

Regards,
Angus



Re: mathed question

2002-03-21 Thread Andre Poenitz

On Thu, Mar 21, 2002 at 04:42:37PM +, Angus Leeming wrote:
> Ok. I see this too. (And thanks for this instant replies. I have just 
> upgraded to use the fix to math_cursor.C). However, if I have a new command
> 
> \begin_inset FormulaMacro
> \newcommand{\Vector}[1]{\bmath{#1}}
> 
> \end_inset
> 
> Then _this_ isn't bolded. Sample file attached.

Ok. I got it now.

No simple fix on the horizon, however. More than one line at least...

We would need to pass the "current font" around while drawing, otherwise
there is no way to know for the #1 how it should draw its contents.  

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



[jeff@jab.org: Re: filtering problem for lyx lists]

2002-03-21 Thread Mate Wierdl

Here we go,

Mate
- Forwarded message from Jeff Breidenbach <[EMAIL PROTECTED]> -

Delivered-To: [EMAIL PROTECTED]
From: Jeff Breidenbach <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
In-reply-to: <[EMAIL PROTECTED]> (message from Mate
Wierdl on Wed, 20 Mar 2002 16:51:05 -0600)
Subject: Re: filtering problem for lyx lists
Date: Wed, 20 Mar 2002 14:41:56 -0800


I already put it through reprocessing. Lar's mail got misrecognized as
a separate list, and was separated out. Should be all fixed now.

-Jeff

- End forwarded message -



Re: [jeff@jab.org: Re: filtering problem for lyx lists]

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 06:14:14PM +0100, Lars Gullik Bjønnes wrote:

> Hey ;-) a list of my own!

you forget that no-one (not even you) was reading it ;)

john

-- 
"Committee iq: average intelligence of members, divide by headcount."
- Rob Landley



Just relaying

2002-03-21 Thread Andre Poenitz


Can anybody help?


- Forwarded message from ... --
Would you know what the Tex equivs are for the fonts in the
Layout -> Document font drop-down?  If not is there someone
you could ping?

The helvetica san serif seems to be
cmss10
cmss12
etc.  
- End forwarded message -

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Just relaying

2002-03-21 Thread Jules Bean

On Thu, Mar 21, 2002 at 06:16:40PM +0100, Andre Poenitz wrote:
> 
> Can anybody help?


Yes, but I don't quite understand the question.

> 
> 
> - Forwarded message from ... --
> Would you know what the Tex equivs are for the fonts in the
> Layout -> Document font drop-down?  If not is there someone
> you could ping?
> 
> The helvetica san serif seems to be
> cmss10
> cmss12

No it isn't.  Helvetica is helvetica. (Postscript font copyright
adobe, or the URW version depending on your install and your printer).

I don't have a recent version of LyX in front of me, but basically,
the named fonts are all standard or common poscript (times, helvetica,
palatino, etc.), and AE is a kind of extended computer modern
character set, IIRC.

If you mean, how do you access fonts like Helvetica from Plain TeX,
the answer is that it isn't particularly easy, a google search in
comp.text.tex might find you some pointers.  Or if that *is* what the
original questioner wants, I can look it up.

If the OP wants to know how to access the fonts from LaTeX, that is an 
easy usepackage which can be spotted at the top of the .tex output
from LyX.

Jules





Re: More eye candy

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 10:06:16AM +0100, Juergen Spitzmueller wrote:

> I remember the KLyX icons to be rather ugly. What about those:
> 
> http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_icons.html


yes, perhaps. of course, the icons are themeable. And it would be easy
to make them hotpluggable ...

And also we can easily have per-toolkit preferences for icons, by simply
naming
then buffer-new-gnome.xpm or whatever.

regards
john

-- 
"What *is* your fascination with my forbidden closet of mystery ?"
- Chief Wiggum



Re: mathed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 4:47 pm, Andre Poenitz wrote:
> On Thu, Mar 21, 2002 at 04:42:37PM +, Angus Leeming wrote:
> > ps. I do this because I redefine \bmath in the latex preamble as a bit of
> > \mbox{\boldmath $#1$ \unboldmath} magic to get bold lowercase greek
> > letters.
>
> I thought \boldsymbol{} was meant for such stuff...
>
> Andre'

Thanks, André, again. Again, this works fine, but it'd be nice if mathed 
recognized \boldsymbol...

See attached.

Angus

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset FormulaMacro 
\newcommand{\Vector}[1]{\boldsymbol {#1}}

\end_inset 


\layout Standard

vector 
\begin_inset Formula $\Vector{n}$
\end_inset 

 and again 
\begin_inset Formula $\Vector{\kappa }$
\end_inset 


\the_end



CVS make install error

2002-03-21 Thread Mike Ressler

When building recent CVS's (last few days, including 5 minutes ago),
everything goes fine until the end of the install. The following gets
burped at me:

[...]
 /usr/bin/install -c -m 644 ../../lyx-devel/lib/symbols
/scr/ressler/lyx-cvs/share/lyx/symbols
files=`sed -e 's/^\([^ ]*\) .*$/\1/' xfonts/fonts.dir` ; \
for i in ${files} ; do \
  ln -s `kpsewhich $i` /scr/ressler/lyx-cvs/share/lyx/xfonts/$i ; \
done
ln: /scr/ressler/lyx-cvs/share/lyx/xfonts/cmex10.pfb: File exists
ln: /scr/ressler/lyx-cvs/share/lyx/xfonts/cmmi10.pfb: File exists
[ ... more deleted ...]
ln: /scr/ressler/lyx-cvs/share/lyx/xfonts/msbm10.pfb: File exists
make[3]: *** [install-xfonts] Error 1
make[3]: Leaving directory `/home/mressler/LyX/lyx-build/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/mressler/LyX/lyx-build/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mressler/LyX/lyx-build/lib'
make: *** [install-recursive] Error 1

No big deal, but it does abort the install early. While poking at
lib/Makefile, I found that the relevant install code is hardwired for
"ln -s `kpsewhich ...", which ignores the Makefile variables LN and
KPSEWHICH. Summary:

1) Old links need to be dealt with by "ln -sf" or deleting the old links
2) The Makefile needs to be patched to use the appropriate variables
3) I really don't know what the heck I'm doing in terms of fixing
Makefile.am or Makefile.in, so I hope this is enough info for people who
do know what they are doing to solve this.

Mike

-- 
Mike Ressler
[EMAIL PROTECTED]
OK, I'm lame: I don't have my own website ...




Re: [Devel] Questions about 1.2.0pre1

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 07:36:55PM +0100, Michael Schmitt wrote:

> Hello everybody,

argh stop using [EMAIL PROTECTED] !!

> any ideas on when 1.2.0pre1 will be released? Are there still patches 
> floating around that have not been applied so far?

Just one as far as I know, a crash in CutAndPaste

> between pre1 and the final version. Due to the fact that virtually any 
> new code also bares some errors, I don't think this is a good idea. I 
> would like to see a prerelease for which _you_ believe it is identical 
> to the final release. Then give it to the user and only patch new reports.

IMHO I agree.

john

-- 
"What *is* your fascination with my forbidden closet of mystery ?"
- Chief Wiggum



Re: listerrors followup

2002-03-21 Thread Kayvan A. Sylvan

Hi Jean-Marc,

Here is my latest followup to the listerrors fixes.

If you have not already done so, please apply this.

The backward-porting is important since many people don't have python-2.2
installed as /usr/bin/python.

The converter.C patch is important to allow people who have the
setting "parselog=listerrors" in their build-program convertor
to find "listerrors" without having to set an additional path element
outside of LyX. This would mean that the "listerrors" change has no
user-visible impact.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Index: lib/ChangeLog
===
RCS file: /cvs/lyx/lyx-devel/lib/ChangeLog,v
retrieving revision 1.189
diff -u -r1.189 ChangeLog
--- lib/ChangeLog   2002/03/21 19:26:18 1.189
+++ lib/ChangeLog   2002/03/21 19:48:24
@@ -6,6 +6,13 @@
 
* ui/default.ui: Change "What's this?" to "Tooltips".
 
+2002-03-19  Kayvan A. Sylvan  <[EMAIL PROTECTED]>
+
+   * examples/listerrors.lyx: Fixed to run with python-1.5 as well
+   as with latest python-2.2
+   
+   * scripts/listerrors: Re-generated from listerrors.lyx
+
 2002-03-19  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
* create_fonts_dir:
Index: lib/examples/listerrors.lyx
===
RCS file: /cvs/lyx/lyx-devel/lib/examples/listerrors.lyx,v
retrieving revision 1.1
diff -u -r1.1 listerrors.lyx
--- lib/examples/listerrors.lyx 2002/03/19 21:42:48 1.1
+++ lib/examples/listerrors.lyx 2002/03/21 19:48:24
@@ -259,7 +259,7 @@
 \newline 
 
 \newline 
-import sys
+import sys, string
 \newline 
 
 \newline 
@@ -363,10 +363,8 @@
 \newline 
   if lines:
 \newline 
-line = lines[-1]
+line = lines.pop()
 \newline 
-lines = lines[:-1]
-\newline 
   else:
 \newline 
 line = file.readline()
@@ -391,7 +389,7 @@
 \newline 
   lines = __lines
 \newline 
-  lines += (line,) # push a list onto the stack, not individual letters
+  lines.append(line)
 \newline 
 
 \newline 
@@ -509,9 +507,9 @@
 
 <>=
 \newline 
-if line.find(": unescaped << in documentation chunk") != -1:
+if string.find(line, ": unescaped << in documentation chunk") != -1:
 \newline 
-  line_parts = line.split(':')
+  line_parts = string.split(line, ':')
 \newline 
   num_str = line_parts[1]
 \newline 
@@ -519,7 +517,7 @@
 \newline 
   i = 0
 \newline 
-  while i < num_len and num_str[i].isdigit(): i += 1
+  while i < num_len and (num_str[i] in string.digits): i = i + 1
 \newline 
   if i == num_len:
 \newline 
@@ -538,13 +536,13 @@
 \newline 
 if (not retval):
 \newline 
-  left = line.find("<<")
+  left = string.find(line, "<<")
 \newline 
   if (left != -1) and ((left + 2) < len(line)) and 
 \backslash 
 
 \newline 
- (line[left+2:].find(">>") != -1):
+ (string.find(line[left+2:], ">>") != -1):
 \newline 
 write_error(line, "noweb");
 \newline 
@@ -586,7 +584,7 @@
 \newline 
   for msg in msgs_to_try:
 \newline 
-if line.find(msg) != -1:
+if string.find(line, msg) != -1:
 \newline 
   write_error(line, "noweb")
 \newline 
@@ -647,7 +645,7 @@
 
 <>= 
 \newline 
-first_space = line.find(' ')
+first_space = string.find(line, ' ')
 \newline 
 if first_space > 1: # The smallest would be "X: "
 \newline 
@@ -661,7 +659,7 @@
 \newline 
   num_end = first_space
 \newline 
-  while next_line[num_end].isdigit(): num_end += 1
+  while next_line[num_end] in string.digits: num_end = num_end + 1
 \newline 
   if num_end > first_space: # good!
 \newline 
@@ -685,12 +683,10 @@
 <>=
 \newline 
 num_str = next_line[first_space:num_end]
-\newline 
-msgs = []
 \newline 
-msgs += (line[first_space:],)
+msgs = [line[first_space:]]
 \newline 
-msgs += (next_line[num_end + 1:],)
+msgs.append(next_line[num_end + 1:])
 \newline 
 header_to_see = next_line[:num_end]
 \newline 
@@ -698,7 +694,7 @@
 \newline 
 while next_line and next_line[:num_end] == header_to_see:
 \newline 
-  msgs += (next_line[num_end + 1:],)
+  msgs.append(next_line[num_end + 1:])
 \newline 
   next_line = getline()
 \newline 
@@ -754,9 +750,9 @@
 \newline 
   if line[0] == '"': # This is the first character of all xlc errors
 \newline 
-next_quote = line.find('"', 1)
+next_quote = string.find(line, '"', 1)
 \newline 
-first_space = line.find(' ')
+first_space = string.find(line, ' ')
 \newline 
 if (next_quote != -1) and (first_space > next_quote): # no space inisde
  quotes
@@ -765,7 +761,7 @@
 \newline 
 num_start = num_end = first_space + 6
 \newline 
-while line[num_end].isdigit(): num_end += 1
+while line[num_end] in string.digits: num_end = num_end + 1
 \newline 
 if num_end > num_start:
 \newline 
Index: lib/scripts/listerrors

sed question

2002-03-21 Thread Angus Leeming

Sorry for the off topic question but I'm trying to hack a way to getting my 
dependency stuff to work,

Anyone know the sed command to strip off the front off this
../../../devel/src/mathed/math_arrayinset.C
to give this
math_arrayinset.C

I guess I need to search for the final "/" and keep only what's after it. 
Trouble is, I'm stumped!

Angus



Re: sed question

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 08:04:51PM +, Angus Leeming wrote:

> Anyone know the sed command to strip off the front off this
>   ../../../devel/src/mathed/math_arrayinset.C
> to give this
>   math_arrayinset.C

echo '../../../devel/src/mathed/math_arrayinset.C' | sed 's+.*/\(.*\)$+\1+'

is one way

john
-- 
"What *is* your fascination with my forbidden closet of mystery ?"
- Chief Wiggum



Re: sed question

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 08:08:51PM +, John Levon wrote:

> echo '../../../devel/src/mathed/math_arrayinset.C' | sed 's+.*/\(.*\)$+\1+'
> 
> is one way

but sed 's+.*/++' is far simpler

john

-- 
"What *is* your fascination with my forbidden closet of mystery ?"
- Chief Wiggum



Re: sed question

2002-03-21 Thread Angus Leeming

On Thursday 21 March 2002 8:09 pm, John Levon wrote:
> On Thu, Mar 21, 2002 at 08:08:51PM +, John Levon wrote:
> > echo '../../../devel/src/mathed/math_arrayinset.C' | sed
> > 's+.*/\(.*\)$+\1+'
> >
> > is one way
>
> but sed 's+.*/++' is far simpler

You're a scary man! Thank you, thank you, thank you!

A



Re: sed question

2002-03-21 Thread John Levon

On Thu, Mar 21, 2002 at 08:13:37PM +, Angus Leeming wrote:

> You're a scary man! Thank you, thank you, thank you!

you call that a knife ?

/this/ is a knife :
http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/ckaddr.gz

(check the regexp at the bottom ...)

john

-- 
"What *is* your fascination with my forbidden closet of mystery ?"
- Chief Wiggum



  1   2   >