Re: Release announcements

2001-09-04 Thread Allan Rae

On Mon, 3 Sep 2001, John Levon wrote:

 On Sun, Sep 02, 2001 at 10:03:29PM +0100, Jose Abilio Oliveira Matos wrote:

Maybe we could have a coordinate effort here. Are you volunteering for
  that? ;-)

 well it would make more sense if whoever releases the stuff does it at the time ;)

Or if there was a simple way to do all of it with a single email alias
or something.

 isn't there a little checklist like tell LWN, update fresmeat, update website pages 
a, b, and c,
 etc. ?

Unfortunately, people like Linux Today and Freshmeat tend to prefer that
you use their online forms for building announcements rather than sending
them an email.  This is a pain in the neck.  That's the main reason why I
have generally only been contacting LWN -- just too much pissing around to
get others informed.  More often than not a concerned user will read LWN
or the announcement on the lists and post an update for us -- but this
isn't co-ordinated and we usually don't get any feedback that they have
done an announcement.

If you can get a group of people together who will volunteer to always
take care of announcements/updates for a particular service each then you
might have a chance.

Allan. (ARRae)




Re: reLyX bug

2001-09-04 Thread Andre Poenitz

On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
   You can add a __cal__ method to a class making it a functor, and using it
 everywhere a function can be used.

Ah - well, after the overloading of the whitespace operator this was
probably easy addition to seduce C++ programmers to use python...

Andre'

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



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 02:44:05PM +0900, R. Lahaye wrote:
 As far as I understand does LyX not have a straightforward word-count
 routine. Often journals or publications put limitations on the number
 of words, in which case a word-count would come in handy.

I think the main problem is answering the question What constitutes a word?

Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?

Andre'

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



Re: Bug list - new entries

2001-09-04 Thread Allan Rae

On Mon, 3 Sep 2001, Dekel Tsur wrote:

 On Mon, Sep 03, 2001 at 03:46:57PM +0100, Angus Leeming wrote:
  So the real fix is to add a minipagebg to the enum in LColor.h, to initialise
  it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
  setBackgroundColor(LColor::minipagebg);
 
  that way, it's configurable.

 I thought that the background color of minipages was just to debug its drawing.
 There is really no point in having a different background color in minipages.

Except to make it even more obvious where they are.

This would be extra useful if two consecutive minipages actually have a
clear space between them on screen (just a few pixels would be enough in
the document bg instead of the minipage bg)  because at present the dashed
lines on the left can be hard to pick apart -- I suppose they could be
rendered as:
_
|
|
=
|
|
-

instead though.

Allan. (ARRae)




Re: small mathed bugs

2001-09-04 Thread Andre Poenitz

On Mon, Sep 03, 2001 at 07:51:47PM +0100, Angus Leeming wrote:
 1. \backslash gives LaTeX errors

Fixed.

 2. \| displays incorrectly (since \parallel displays correctly)

Fixed.

 PS, If you want the file for testing purposes, just drop me a line.

Could this go to CVS somehow?

Andre'

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



Re: Wordcount routine available within LyX ?

2001-09-04 Thread R. Lahaye

Andre Poenitz wrote:
 
 On Tue, Sep 04, 2001 at 02:44:05PM +0900, R. Lahaye wrote:
  As far as I understand does LyX not have a straightforward word-count
  routine. Often journals or publications put limitations on the number
  of words, in which case a word-count would come in handy.
 
 I think the main problem is answering the question What constitutes a word?
 
 Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?

Yes to all. I am 1.72 meters tall has 5 words, I say.

Inline math could/should count as one word.

Display-math and similar environments might not be trivial.

Therefore one could either give several results after the count, e.g.:
   basic text: 2066 words
+ figure captions: 2134 words
   + math display: 2223 words
+ what ever: 2342 words

or have a count-dialog that has checkboxes for en/disable each of
these count options.


I'm sure many people would use such a tool, even though it only
givew a rough indication about the number of words.

Regards,
Rob.



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Philipp Reichmuth

 As far as I understand does LyX not have a straightforward word-count
 routine. Often journals or publications put limitations on the number
 of words, in which case a word-count would come in handy.

AP I think the main problem is answering the question What constitutes a word?
AP Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?

I is a word, i.e. is two words (id est). Isolated a and b are
one word each, the formula is one word in total. Can we say that when
TeX math mode is invoked on a passage of text, the result constitutes
a word? (This paragraph has 51 words.)

The best solution is probably to use roughly the same treatment as
other word processors so you can stay more or less compatible with
what people mean when they ask you for a 1000-word article.

So how does Word treat this?
 Philippmailto:[EMAIL PROTECTED]
__
First snow, then silence / This thousand dollar screen dies / so beautifully





Re: Wordcount routine available within LyX ?

2001-09-04 Thread Jürgen Spitzmüller

Am Dienstag, 4. September 2001 09:12 schrieb Andre Poenitz:
 Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?

i.e. are two words (id est) and should be typed i.\,e.
A pragmatic definition of a word is:

- every letter or combination of letters which is separated against 
other letters or combination of letters with 'space', '\space', '~' 
or '\,'

Of course you can start a wild linguistic debate about that (and you 
would never come to a solution, as far as I know the linguistic 
literature ;), but IMHO this simple definition is sufficient.

Regards,
Juergen

 Andre'




Re: Wordcount routine available within LyX ?

2001-09-04 Thread Helge Hafting

Philipp Reichmuth wrote:
 
  As far as I understand does LyX not have a straightforward word-count
  routine. Often journals or publications put limitations on the number
  of words, in which case a word-count would come in handy.
 
 AP I think the main problem is answering the question What constitutes a word?
 AP Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?
 
 I is a word, i.e. is two words (id est). Isolated a and b are
 one word each, the formula is one word in total. Can we say that when
 TeX math mode is invoked on a passage of text, the result constitutes
 a word? (This paragraph has 51 words.)
 
 The best solution is probably to use roughly the same treatment as
 other word processors so you can stay more or less compatible with
 what people mean when they ask you for a 1000-word article.

Consider asking some journals how they count.  I guess their real worry
is
space, and a math formula may fill a lot.  Either don't count it at all,
(it is a picture) or estimate how many average words might fit in the
same space.

Helge Hafting



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Philipp Reichmuth

 Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?

RL Yes to all.

There we are, the first divergence of opinion :-) My German
WordPerfect counts i.e. as two words.

 Philippmailto:[EMAIL PROTECTED]
__
The ten thousand things / How long do any persist? / The file is not there





Re: Wordcount routine available within LyX ?

2001-09-04 Thread R. Lahaye

Philipp Reichmuth wrote:
 
  Is I a word? i.e.? a? b? a+b? a+\frac{4}{5b}?
 
 RL Yes to all.
 
 There we are, the first divergence of opinion :-) My German
 WordPerfect counts i.e. as two words.

Then forget me igniting this differgence. i.e. as two words is fine with me!!!

I would say start of with something and then see if that needs any
fine tuning. However, most people will be happy with a rough word count.
Discussions as whether i.e. is one or two words are not essential to
most people who will use it for getting some idea of the number of words.

Rob.



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 09:51:34AM +0200, Philipp Reichmuth wrote:
 So how does Word treat this?

How should I know?

Andre'

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



Re: Major update of bug list

2001-09-04 Thread Michael Schmitt

On Mon, 3 Sep 2001, John Levon wrote:

  - The Maths spacing dialog is broken (Apply does not work without former
user change in the dialog)

 I fixed this (and told you ;). It works for me.

No, it doesn't. Start LyX, press CTRL+M (for math), open the math spacing
dialog and press apply immediately - nothing is happening!

 this is really a non-bug, as its going back to white as was the intention I believe.

No doubt. But could you please make the green a little bit lighter in the
meantime?

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: reLyX bug

2001-09-04 Thread Michael Schmitt

On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote:

   I have commited, ok I'll do it after this message.
   *Please* Michael tell me that now this works! *Please*!

GOOD NEWS:

I can confirm that reLyX (latest cvs) works on my machine!!!

Now you can sleep tight again.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
 There was a time (e.g. 1.1.6fix3) that the following very convenient
 window policy was enforced on all dialogs:
 
 - let the (sub)dialogs disappear when the main window is iconized.
[extremely convenient when iconizing LyX while dialogs are open]
 
 - always keep (sub)dialogs on top of the main window.
[dialogs can never be hidden behind the main window]
 
 I would vote for getting this window policy back.

Some people (like me) do not like this behavior.



Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread R. Lahaye

Dekel Tsur wrote: 
 
 On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
  There was a time (e.g. 1.1.6fix3) that the following very convenient
  window policy was enforced on all dialogs:
  
  - let the (sub)dialogs disappear when the main window is iconized.
 [extremely convenient when iconizing LyX while dialogs are open]
  
  - always keep (sub)dialogs on top of the main window.
 [dialogs can never be hidden behind the main window]
  
  I would vote for getting this window policy back.
 
 Some people (like me) do not like this behavior.

Since it was once there, but now removed; could it be toggled in
with a configure flag, so that the old behaviour is still available?

I (and probably more people) would appreciate such an option!

Rob.



Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread Angus Leeming

On Tuesday 04 September 2001 10:50, R. Lahaye wrote:
 Dekel Tsur wrote: 
  
  On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
   There was a time (e.g. 1.1.6fix3) that the following very convenient
   window policy was enforced on all dialogs:
   
   - let the (sub)dialogs disappear when the main window is iconized.
  [extremely convenient when iconizing LyX while dialogs are open]
   
   - always keep (sub)dialogs on top of the main window.
  [dialogs can never be hidden behind the main window]
   
   I would vote for getting this window policy back.
  
  Some people (like me) do not like this behavior.
 
 Since it was once there, but now removed; could it be toggled in
 with a configure flag, so that the old behaviour is still available?
 
 I (and probably more people) would appreciate such an option!
 
 Rob.

Well, Rob, the code in question is to be found in frontends/xforms. You're 
looking for the show method in both FormBase.C and FormBaseDeprecated.C where 
you'll find:

fl_show_form(form(),
 FL_PLACE_MOUSE | FL_FREE_SIZE, 0,
 title_.c_str());

To obtain the windowing policy that you want, change that to

fl_show_form(form(),
 FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT,
 title_.c_str());

If  you want to get this into the repository, however, then you'd better 
befine a lyxrc variable, perhaps
bool iconify_daughters_on_iconify

We'd also need a check button in the Preferences-Look  Feel-Interface tab.

Angus



hollywood.tar.gz via http was: Re: final draft params

2001-09-04 Thread Malte Cornils

Garst R. Reese wrote:
 I just mailed it to you.

OK, it's now at:

http://www.stud.uni-karlsruhe.de/~uhwe/hollywood.tar.gz

or if you need a link page so you can shift-click it (unlikely in
this case):
http://www.stud.uni-karlsruhe.de/~uhwe/hollywood.html

I really hope this helps!

-Yours Malte #8-)



Re: Major update of bug list

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 10:58:54AM +0200, Michael Schmitt wrote:

   - The Maths spacing dialog is broken (Apply does not work without former
 user change in the dialog)
 
  I fixed this (and told you ;). It works for me.
 
 No, it doesn't. Start LyX, press CTRL+M (for math), open the math spacing
 dialog and press apply immediately - nothing is happening!


hmm, you are right. how odd. I'll look ...

regards
john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 12:13:58PM +0300, Dekel Tsur wrote:

 On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
  There was a time (e.g. 1.1.6fix3) that the following very convenient
  window policy was enforced on all dialogs:
  
  - let the (sub)dialogs disappear when the main window is iconized.
 [extremely convenient when iconizing LyX while dialogs are open]
  
  - always keep (sub)dialogs on top of the main window.
 [dialogs can never be hidden behind the main window]
  
  I would vote for getting this window policy back.
 
 Some people (like me) do not like this behavior.

At least the second is a terrible idea. If a have a small screen and two large dialogs
open, I can longer see what I'm typing.

As for the first I'm not bothered, I don't know whether it's possible now ...

regards
john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: Qt2 frontend doesn't compile...

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 01:06:07PM +0900, R. Lahaye wrote:

 1) At the end of the make, it automagically links against -lqt, which it
cannot find on my FreeBSD machine, since it should be -lqt2. Of course
I solved it by making a symbolic link between libqt2.so and libqt.so.

it does *what* ??? eh ??? This makes no sense whatsoever, qt and qt2 are two
totally separate libraries.

There is no mention of libqt in the lyx config, I can only assume this is a local
issue (the symlink you made is obviously bad ...)

Can you send me your config.log please ?

Wouldn't it be better to have this lib tested somehow during the configure,
since I don't think FreeBSD is the only Unix-OS with this qt2 lib ?

this does happen.

 2) File-Open dialog misses the Examples button.
Dito for File-Open from template.

missing features not implemented yet.

 3) When selecting a file with File-Open from template, LyX crashes with:
   BadWindow (invalid Window parameter)

you need to run :

./lyx -sync

until we don't use the xforms library. This is an issue between the xforms and qt2
X error handlers and is not solvable :(

 4) File-Import lets you select a file, but keeps popping up the file dialog,
while adding rubbish in the File type field.

will look.

 5) No dialog pops up (yet?) for:
 Edit-Preferences
 Layout-Paragraph
 Layout-Document

sure they need doing ;) They need to be MVCed first though and that definitely won't 
happen
before 1.2.0.

 And maybe more, if I would conitue comparing Xforms and Qt2 dialogs.
 Shall I continue?

I'm definitely interested in more criticism yes. Especially in differences
between behaviour which doesn't make much sense as far as you can see.

thanks,
john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: Release announcements

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 04:48:01PM +1000, Allan Rae wrote:

 Unfortunately, people like Linux Today and Freshmeat tend to prefer that
 you use their online forms for building announcements rather than sending
 them an email.  This is a pain in the neck.

I volunteer for this neck pain next release. Just tell me which sites I should do.

Linux Today, freshmeat (who owns that account ?), opensourcedirectory, LWN, where else 
is there ?

regards
john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Yves Bastide

On Tue, Sep 04, 2001 at 10:01:21AM +0900, R. Lahaye wrote:
 
 Hi,
 
 The following patches work for FreeBSD 4.3 (latest official release),
 where C headers for wide char are not available.
 It's for present (and possibly older) versions of FreeBSD. New releases
 may probably ship with sufficient wide char support in the future.
 
 
 Here are the patches (also attached as gzipped diff-file, without the
 new wchar.h file):
[snip]

You puth wchar.h in cheader, and include this directory; the problem is
that all cheader/ files will then be used, not just wchar.h.  That's why my
proposed patch used a subdirectory.

Regards,
-- 
Yves



\mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Doz.Dr. Norbert Koksch

Hallo,

I found the following mistakes in math:

\mapsto is not written on screen (but in file). The other arrows from the math
panel work fine.

The expression  $M_{\mathfrak{B}}$ is correctly written on file. After reload,
the } after B is in the normal line on the screen, however, it will be correctly
written.

The expression  $M_{\mathfrak{B}\in N}$ is written as $M_{\mathfrak{B\}in N}$.


Moreover, I think the depth or height of subscripts or superscripts is too
large.

Norbert Koksch

TU Dresden, Institut fuer Analysis
Tel: +49 351 463 4257, FAX: +49 351 463 7202



Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos

On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote:
 On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
You can add a __cal__ method to a class making it a functor, and using it
  everywhere a function can be used.
 
 Ah - well, after the overloading of the whitespace operator this was
 probably easy addition to seduce C++ programmers to use python...

  Does that means that it has succeeded with you? ;-)
  You are a C++ programmer, or else what would you call to mathed? :-)
  
  BTW (why don't I get a friday when I need it? :-)) so much talk about
whitespace that it look like a fetish. ;-)

  Interestingly I got from Merriam-Webster:
  
   Etymology: French  Portuguese; French fétiche, from Portuguese feitiço,
from feitiço artificial, false, from Latin facticius factitious.

  Something that I wasn't expecting. ;-)
  
 Andre'
 
 -- 
 André Pönitz . [EMAIL PROTECTED]

-- 
José



Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos

On Tue, Sep 04, 2001 at 11:01:56AM +0200, Michael Schmitt wrote:
 On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote:
 
I have commited, ok I'll do it after this message.
*Please* Michael tell me that now this works! *Please*!
 
 GOOD NEWS:
 
 I can confirm that reLyX (latest cvs) works on my machine!!!
 
 Now you can sleep tight again.

  Thanks, but usually that is not a problem. :-)
  
  As a curiosity, did reLyX worked before?
  I guess that if it work then we had a strange case of interaction beetween
BLOCK and the variable outside. Hardly what anyone would expect.

  Please be aware for any strange behaviour of reLyX, I expect it to work
well now, but maybe it has places where the path is interpreted wrongly.

  I discovered one of thoses places last week...
  
 Michael
 
 -- 
 ==
 Michael Schmittphone: +49 451 500 3725
 Institute for Telematics   secretary: +49 451 500 3721
 Medical University of Luebeck  fax:   +49 451 500 3722
 Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
 D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
 ==

-- 
José



Re: final draft params

2001-09-04 Thread Richard Harris

Garst,

Since I'm not on the mailing list, forward me the link when its posted and I'll
try to convert a smaller script for you.  There may not be a way to automate lyx
but I *want* to use lyx and maybe I can write a python script that converts fd5
to your class...  We'll see.

Without trying to be a prophet, I do think Windows is going to more or less go
away.  And I need to migrate the rest of my stuff one way or the other.

richard




Re: hollywood.tar.gz via http was: Re: final draft params

2001-09-04 Thread Richard Harris

got it




Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread R. Lahaye


Angus,

Having this windowing behaviour as an option in the preferences sounds really cool!
I don't know of any applications that have this fancy windowing in the preferences
dialog.

Will it actually work, I mean to instantly change the windowing behaviour by
apply-ing this option in the preferences.

We then need a variable, instead of the 0 or FL_TRANSIENT, in the fl_show_form,
that can be modified by the preferences.

Qt and Gnome should also use that same varialbe, to pick up this windowing behaviour.

I may give this a go, but I probably will get stuck really soon.

Very cool idea though!

Rob.

From: Angus Leeming
 On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
  There was a time (e.g. 1.1.6fix3) that the following very convenient
  window policy was enforced on all dialogs:
  
  - let the (sub)dialogs disappear when the main window is iconized.
 [extremely convenient when iconizing LyX while dialogs are open]
  
  - always keep (sub)dialogs on top of the main window.
 [dialogs can never be hidden behind the main window]
  
  I would vote for getting this window policy back.

 Well, Rob, the code in question is to be found in frontends/xforms. You're 
 looking for the show method in both FormBase.C and FormBaseDeprecated.C where 
 you'll find:
 
 fl_show_form(form(),
  FL_PLACE_MOUSE | FL_FREE_SIZE, 0,
  title_.c_str());
 
 To obtain the windowing policy that you want, change that to
 
 fl_show_form(form(),
  FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT,
  title_.c_str());
 
 If  you want to get this into the repository, however, then you'd better 
 befine a lyxrc variable, perhaps
 bool iconify_daughters_on_iconify
 
 We'd also need a check button in the Preferences-Look  Feel-Interface tab.



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 02:45:41PM +0200, Doz.Dr. Norbert Koksch wrote:
 \mapsto is not written on screen (but in file). The other arrows from the math
 panel work fine.

Fixed.

 Moreover, I think the depth or height of subscripts or superscripts is too
 large.

Confirmed.
In fact, if the subscript is empty, then the empty box seems to be at a
correct position. But when you insert a char to the subscript, the subscript
is moved down.
In fact, when creating a new math insert, after inserting one char, the
inset becomes taller, so the current line and the lines below are moved down.



Re: reLyX bug

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 02:17:04PM +0100, Jose Abilio Oliveira Matos wrote:
 On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote:
  On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
 You can add a __cal__ method to a class making it a functor, and using it
   everywhere a function can be used.
  
  Ah - well, after the overloading of the whitespace operator this was
  probably easy addition to seduce C++ programmers to use python...
 
   Does that means that it has succeeded with you? ;-)

Of course not... not in this life... 

   You are a C++ programmer, or else what would you call to mathed? :-)

Let me think about it... a hack? Several hacks? A lot of them?
   
Andre'

PS: You put enough smileys in already, so I'll leave some out lest the list
becomes unbalanced...

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



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 02:45:41PM +0200, Doz.Dr. Norbert Koksch wrote:
 
 The expression  $M_{\mathfrak{B}}$ is correctly written on file. After reload,
 the } after B is in the normal line on the screen, however, it will be correctly
 written.
 
 The expression  $M_{\mathfrak{B}\in N}$ is written as $M_{\mathfrak{B\}in N}$.

Confirmed. However, $M_{\mathcal{B}}$ and $M_{\mathcal{B}\in N}$ do not have
this problem (note that the \mathcal command is recognized by lyx,
while \mathfrak is not)



mathed wishlist --- almost supported already?

2001-09-04 Thread Angus Leeming

Two more wishlist items that appear to be almost officically supported 
already:

1. If I right as normal text \mathcal{B}, highlight it and convert it to math 
with M-c m, I get a nicely typeset B. It'd be nice to do this directly in 
mathed too. I _can_ type \mathcal B  within mathed and the resulting dvi is 
correct, but I don't get the visual feedback.

On the same lines, if I type \mathtt{Angus} and then paste it into mathed: 
beautiful. Do the same within mathed and only the A is typeset. Perhaps 
these font commands should use the macro display mechanism?

2.  This convert normal text to math is great. I can go the other way 
using the X clipboard (ie highlight it and then paste with the middle mouse 
button WITHOUT saving it to LyX's buffer). But this is a fudge of course.

This effectively becomes a TeX mode for mathed, so that I can 
see exactly what I type. It'd be nice if we could toggle officially.

Angus



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 04:22:55PM +0300, Dekel Tsur wrote:
  Moreover, I think the depth or height of subscripts or superscripts is too
  large.
 
 Confirmed.
 In fact, if the subscript is empty, then the empty box seems to be at a
 correct position. But when you insert a char to the subscript, the subscript
 is moved down.
 In fact, when creating a new math insert, after inserting one char, the
 inset becomes taller, so the current line and the lines below are moved down.

The super/subscript display stuff is still broken. I know that...

The problem is: I need contextual information when drawing it, which is
not available to the MathScriptInset. And I am still somewhat reluctant to
move part of the drawing stuff to from the inset to the xarray where this
contextual information is available.  [\underbrace{ss}_x displays
incorrectly for similar reasons btw]

Otoh, I am doing something similar already for writing when
\mathrm{a}\mathrm{b} is collapsed to \mathrm{ab}...

Does anybody know what TeX is doing? It needs to keep the size of some
thing left of the script around... what kind of thing is that?

Andre'


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



Re: Qt2 frontend doesn't compile...

2001-09-04 Thread R. Lahaye

John Levon wrote: 
  1) At the end of the make, it automagically links against -lqt, which it
 cannot find on my FreeBSD machine, since it should be -lqt2. Of course
 I solved it by making a symbolic link between libqt2.so and libqt.so.
 
 it does *what* ??? eh ??? This makes no sense whatsoever, qt and qt2 are two
 totally separate libraries.
 
 There is no mention of libqt in the lyx config, I can only assume this is a local
 issue (the symlink you made is obviously bad ...)

All qt stuff is in config/qt2.m4.
I removed the symlink (mentioned above), but replaced all -lqt by -lqt2 in
config/qt.m4. My make then runs like a charm, linking -lqt2.

So libqt2.so on my FreeBSD machine really is the libqt.so on others.


  5) No dialog pops up (yet?) for:
  Edit-Preferences
  Layout-Paragraph
  Layout-Document
 
 sure they need doing ;) They need to be MVCed first though and that definitely won't 
 happen before 1.2.0.

MVCed? Is gooblediegook to me. What does it mean?

Cheers,
Rob.



Re: mathed wishlist --- almost supported already?

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 02:44:27PM +0100, Angus Leeming wrote:
 On the same lines, if I type \mathtt{Angus} and then paste it into mathed: 
 beautiful. Do the same within mathed and only the A is typeset. Perhaps 
 these font commands should use the macro display mechanism?

That would be the easy implementation, however it is a pain if you want
glueing, i.e. thing like \mathtt{A}n\mathtt{g} and remove the 'n'...

 2.  This convert normal text to math is great.

Shshsh... nobody knows I sneaked that in...

 I can go the other way using the X clipboard (ie highlight it and then
 paste with the middle mouse button WITHOUT saving it to LyX's buffer).
 But this is a fudge of course.

Sure.
 
 This effectively becomes a TeX mode for mathed, so that I can see
 exactly what I type. It'd be nice if we could toggle officially.

I would have to mess around with stuff outside mathed for that...

Andre'

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



Re: Qt2 frontend doesn't compile...

2001-09-04 Thread Angus Leeming

On Tuesday 04 September 2001 14:42, R. Lahaye wrote:
  sure they need doing ;) They need to be MVCed first though and that 
definitely won't 
  happen before 1.2.0.
 
 MVCed? Is gooblediegook to me. What does it mean?

MVC: model-view-control

The FormPreferences class needs to be split into a Controller that interfaces 
with the LyX core and passes info to a View that displays it. This way, 
all the frontends can share a HUGE chunk of code and do the bare minimum 
themselves.

A



Re: reLyX bug

2001-09-04 Thread Yves Bastide

On Tue, Sep 04, 2001 at 02:22:56PM +0100, Jose Abilio Oliveira Matos wrote:
   
   As a curiosity, did reLyX worked before?
   I guess that if it work then we had a strange case of interaction beetween
 BLOCK and the variable outside. Hardly what anyone would expect.

BEGIN blocks are executed immediately after compilation.  Variable names
are known, but assignments in my constructs haven't been done yet.

With the previous version of reLyX, try
$ perl -w reLyX-1.2 
you'll get
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/reLyX-1.2 line 52.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/reLyX-1.2 line 52.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/reLyX-1.2 line 52.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/reLyX-1.2 line 52.

the uninitialized value being $mainscript...

BTW (Amir I guess?) why 
#!/usr/bin/perl
then
$^W = 1; # same as 'perl -w'

?  This disables -w in the BEGIN {}, as seen here

[snip]

 
 -- 
 José

-- 
Yves



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Jules Bean

On Tue, Sep 04, 2001 at 03:41:28PM +0200, Andre Poenitz wrote:
 On Tue, Sep 04, 2001 at 04:22:55PM +0300, Dekel Tsur wrote:
   Moreover, I think the depth or height of subscripts or superscripts is too
   large.
  
  Confirmed.
  In fact, if the subscript is empty, then the empty box seems to be at a
  correct position. But when you insert a char to the subscript, the subscript
  is moved down.
  In fact, when creating a new math insert, after inserting one char, the
  inset becomes taller, so the current line and the lines below are moved down.
 
 The super/subscript display stuff is still broken. I know that...
 
 The problem is: I need contextual information when drawing it, which is
 not available to the MathScriptInset. And I am still somewhat reluctant to
 move part of the drawing stuff to from the inset to the xarray where this
 contextual information is available.  [\underbrace{ss}_x displays
 incorrectly for similar reasons btw]
 
 Otoh, I am doing something similar already for writing when
 \mathrm{a}\mathrm{b} is collapsed to \mathrm{ab}...
 
 Does anybody know what TeX is doing? It needs to keep the size of some
 thing left of the script around... what kind of thing is that?

I might know what TeX is doing, but I don't know what you're asking ;-)

TeX, when it typesets a subscript, goes back and looks at the last
'atom' in the current math list. Exactly where it puts the subscript
depends on what type of atom that last was.

Jules



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 03:12:24PM +0100, Jules Bean wrote:
 I might know what TeX is doing, but I don't know what you're asking ;-)
 
 TeX, when it typesets a subscript, goes back and looks at the last
 'atom' in the current math list. Exactly where it puts the subscript
 depends on what type of atom that last was.

Ok. Two question then:

1. What is an atom?
2. Where does TeX put the subscript after an atom?
3. Where does TeX put the superscript after an atom?

Andre'

-- 
There are three kinds of mathematicians:
Those who can count and those who can't.



split

2001-09-04 Thread Andre Poenitz


What's the difference between

\begin{array}{rl} ... \end{array}

and

\begin{split} ... \end{split}

?

Andre'

PS: Herbert, there are a few ^ missing in the LaTeX source on your page
about 'split'.

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



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Jules Bean

On Tue, Sep 04, 2001 at 04:17:03PM +0200, Andre Poenitz wrote:
 On Tue, Sep 04, 2001 at 03:12:24PM +0100, Jules Bean wrote:
  I might know what TeX is doing, but I don't know what you're asking ;-)
  
  TeX, when it typesets a subscript, goes back and looks at the last
  'atom' in the current math list. Exactly where it puts the subscript
  depends on what type of atom that last was.
 
 Ok. Two question then:
 
 1. What is an atom?
 2. Where does TeX put the subscript after an atom?
 3. Where does TeX put the superscript after an atom?

OK.  Well it looks like I had the terms confused myself.

The 'atom' is the major blob in math typesetting.  And 'atom' consists
of a nucleus, an optional superscript, and an optional subscript.

Exactly where the subscript and superscript are drawn depends on the
size, and type, of the nucleus they are attached to.  I think that's
the nub of your question.

Do you have access to the TeXbook?  If so, you'll find the details in
Appendix G.  If you don't, I can try to pore through it to answer
specific placement questions you may have.

Jules



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 04:09:43PM +0100, Jules Bean wrote:
 The 'atom' is the major blob in math typesetting.  And 'atom' consists
 of a nucleus, an optional superscript, and an optional subscript.
 
 Exactly where the subscript and superscript are drawn depends on the
 size, and type, of the nucleus they are attached to.  I think that's
 the nub of your question.
 
 Do you have access to the TeXbook?

Only in .tex form.

 If so, you'll find the details in Appendix G.  If you don't, I can try
 to pore through it to answer specific placement questions you may have.

I think it is easier for me to go through it myself if I get such specific
hints like Appendix G, if possible with the  opening sentence or
something similar easy to find ;-)

Andre'

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



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Jules Bean

On Tue, Sep 04, 2001 at 05:15:44PM +0200, Andre Poenitz wrote:
 
 I think it is easier for me to go through it myself if I get such specific
 hints like Appendix G, if possible with the  opening sentence or
 something similar easy to find ;-)

Try 'Generating boxes from Formulas' or 'People who define new math fonts'

Jules



Re: split

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 05:08:07PM +0200, Andre Poenitz wrote:
 
 What's the difference between
 
 \begin{array}{rl} ... \end{array}
 
 and
 
 \begin{split} ... \end{split}
 

1) Array puts space between the two columns while split doesn't.
2) In displayed formula, the cells in array are in textstyle,
and in split they are in displaystyle.



Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Yves Bastide

On Tue, Sep 04, 2001 at 05:27:18PM +0200, Jean-Marc Lasgouttes wrote:
  R == R Lahaye [EMAIL PROTECTED] writes:
 
 R The following patches work for FreeBSD 4.3 (latest official
 R release), where C headers for wide char are not available. It's for
 R present (and possibly older) versions of FreeBSD. New releases may
 R probably ship with sufficient wide char support in the future.
 
 Could you describe what the exact problem is? Who wants to use
 wchar.h?

boost/limits.hpp, which is included by boost/crc.hpp (smiley appropriate :)

 
 JMarc

-- 
Yves



Re: split

2001-09-04 Thread Herbert Voss

Andre Poenitz wrote:
 
 What's the difference between
 
 \begin{array}{rl} ... \end{array}
 
 and
 
 \begin{split} ... \end{split}

cells in the array-environment are handled as inline-math,
the symbols (int, sum) have textheight. this looks ugly.

 PS: Herbert, there are a few ^ missing in the LaTeX source on your page
 about 'split'.

thanks.

have a look at the example:
1. I can't insert any delimiters with the math-panel (latest cvs)
2. I choosed rl-alignment for the matrix, it's still cc (last formula)

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/

#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 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\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 ERT
status Open

\layout Standard

\backslash 
begin{equation} 
\newline 

\backslash 
begin{split}
\newline 
A_{1}  = 
\backslash 
left| 
\backslash 
int _{0}^{1}(f(x)dx
\backslash 
right|
\backslash 

\backslash 

\newline 
 = 12
\newline 

\backslash 
end{split} 
\newline 

\backslash 
end{equation} 
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{equation} 
\newline 

\backslash 
begin{array}{rl} 
\newline 
A_{1}  = 
\backslash 
left| 
\backslash 
int _{0}^{1}(f(x)dx
\backslash 
right|
\backslash 

\backslash 

\newline 
 = 12
\newline 

\backslash 
end{array} 
\newline 

\backslash 
end{equation} 
\end_inset 


\layout Standard


\begin_inset Formula \begin{equation}
\begin{array}{cc}
A_{1}   =\int ^{2}_{1} f(x)dx\\
  =12\end{array}
\end{equation}

\end_inset 


\the_end



Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Yves Bastide

On Tue, Sep 04, 2001 at 05:54:53PM +0200, Jean-Marc Lasgouttes wrote:
  R == R Lahaye [EMAIL PROTECTED] writes:
 
   Could you describe what the exact problem is? Who wants to use
  wchar.h?
 
 R Uh? boost/boost/detail/limits.h wants. Well, it includes cwchar,
 R which on my FreeBSD machine is a c++-wrapper to wchar.h. The
 R cwchar C++ wrapper exists on FreeBSD, but the wchar.h is missing.
 R As result, the make ends with an error message.
 
 I see. For my defense, I'll say that I did not read _all_ the 1200
 messages which were waiting for me in lyx-devel alone...

You mean: not yet ? :)

 
 R You could call that a FreeBSD bug, but that's the way this OS is
 R layed out up to version 4.3. From 5.0 onwards this might be solved.
 R But for the present releases, the patch I've sent in, makes CVS
 R compile on the existing official releases of FreeBSD (or any other
 R system that fails to wrap wchar.h).
 
 So the right fix would be to boost, in fact. The problem will not
 happen only with LyX. I guess the right fix is to add a check for
 freebsd in boost/config.hpp. Unfortunately, our local boost specialist
 is lars... 

Well, when lyx becomes multibytes, there will be problems with this issue
again..

 
 R Does that explain enough? I'm not expert enough to give deeper info
 R on that. I just wanted CVS compiled on my FreeBSD box.
 
 I see what you mean. I am also unable to compile with compaq cxx now
 that boost has been updated :)

The tie problem, or something else?

 
 JMarc

-- 
Yves



Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Angus Leeming

 R Does that explain enough? I'm not expert enough to give deeper info
 R on that. I just wanted CVS compiled on my FreeBSD box.
 
 I see what you mean. I am also unable to compile with compaq cxx now
 that boost has been updated :)
 
 JMarc

Why ? I have no problems here anymore (cxx 6.1).

I thought that the only problem was with boost::tie, the use of which I 
removed in buffer.C (as a temporary hack).

Angus



Re: LyX specific LaTeX commands in preamble (1.1.6fix3)

2001-09-04 Thread Herbert Voss

Jean-Marc Lasgouttes wrote:
 
  Herbert == Herbert Voss [EMAIL PROTECTED] writes:
 
  Maybe we didn't know about that. Or maybe footmisc is not a
  required package so it's better to make this by hand. I don't know!
 
 Herbert it's nearly the same code in footmisc. the texcode is always
 Herbert from Robin Fairbains, but footmisc is the newer one and with
 Herbert option stable you have footnotes in tables, too.
 
 It is indeed code extracted from footmisc. However, we cannot assume
 the footmisc is always installed and it is nice to have a fallback for
 such a common situation (footnote in section heading). However, if a
 better solution exists, we should definitely use it.

this could not be a reason for such a hack! maybe, that we should 
think about a latex-directory in ftp.lyx.org, where all these
lyx-supported style-files are linked to ftp.dante.de. 
so all users have an easy opportunity dowloading missing 
style-files.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: center vs centering

2001-09-04 Thread Herbert Voss

Jean-Marc Lasgouttes wrote:
 
  Dekel == Dekel Tsur [EMAIL PROTECTED] writes:
 
 Dekel I don't think that there is something that can be asked there.
 Dekel It is clear that these two commands have different effect.
 Dekel However, since we need to maintain compatibility with 1.1.6, we
 Dekel need to use \centering (or to redefine the center environment,
 Dekel but this is not a good idea as the user might have used it in
 Dekel ERT).
 
 Note that that also the center environment is proper markup, while
 \centering is not really. We could maybe make it different for tables,
 but I do not really like that.

\def\center{\trivlist \centering\item\relax}
\def\endcenter{\endtrivlist}
\def\centering{%
  \let\\\@centercr
  \rightskip\@flushglue\leftskip\@flushglue
  \parindent\z@\parfillskip\z@skip}


the center-environment uses itself the \centering-command!
it's common sense to use \centering instead of the center-env.
the additional vertical space in fact of the trivlist is
irritating for users who are not very familiar with this
stuff.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Cosmetics: New... menu entry

2001-09-04 Thread Michael Schmitt


Just for the esthete among us...

- In menu File, New... should be replaced by just New - there is no
  further dialog

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Yves Bastide

On Tue, Sep 04, 2001 at 06:40:57PM +0200, Jean-Marc Lasgouttes wrote:
  Yves == Yves Bastide [EMAIL PROTECTED] writes:
 
 Yves Well, when lyx becomes multibytes, there will be problems with
 Yves this issue again..
 
 If FreeBSD does not have a wchar.h, I do not see how we can fix it anyway.

wchar_t being a type, I'd guess g++ can work around this

 
 
 R Does that explain enough? I'm not expert enough to give deeper info
 R on that. I just wanted CVS compiled on my FreeBSD box.
   I see what you mean. I am also unable to compile with compaq cxx
  now that boost has been updated :)
 
 Yves The tie problem, or something else?
 
 The BOOST_STATIC_CONSTANT macro. It has been fixed in the past, but
 Lars did not propagate the fix, it seems. I'll have to take a look to
 'cvs diff'.

shouldn't boost's configure take care of this?
(defining BOOST_NO_INCLASS_MEMBER_INITIALIZATION or so?)

 
 JMarc

-- 
Yves



Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Angus Leeming

On Tuesday 04 September 2001 17:41, Jean-Marc Lasgouttes wrote:
  Angus == Angus Leeming [EMAIL PROTECTED] writes:
 
 R Does that explain enough? I'm not expert enough to give deeper info
 R on that. I just wanted CVS compiled on my FreeBSD box.
   I see what you mean. I am also unable to compile with compaq cxx
  now that boost has been updated :)
  
  JMarc
 
 Angus Why ? I have no problems here anymore (cxx 6.1).
 
 Did you see this message in the past?
 
 cxx: Error: ../../../lyx-devel/boost/boost/crc.hpp, line 343: 
   expression must have integral or enum type
 BOOST_STATIC_CONSTANT( least, sig_bits = (~( ~(least( 0u ))  Bits 
)) );
 ^
 
 It may be specific to cxx 6.2.

Ahh! I simply reverted to the previous version of lyxsum.C (version 1.18) 
when this problem arose. Even with your fix back then I was unable to make 
any sense at all of the pages of errors ;-(

He (Lars) is getting pretty militant now theat gcc v3 is out. Maybe someone 
should fix him :-)

Angus



latex help

2001-09-04 Thread Garst R. Reese

Can someone tell my why this does not work in hollywood.cls?
ViewPs tells me that that a number is expected and that a dimension is
missing when I ERT \linesperinch{6}
I've tried numerous variations on this theme.
Thanks,
 Garst

\usepackage{calc}
.
.
.
\newlength{\oneinch}
\setlength{\oneinch}{72bp}
\providecommand{\linesperinch}[1]%
{

renewcommand{\baselinestretch}{\ratio{\oneinch}{\baselineskip} /(#1)}%
\normalsize
}%



Re: latex help

2001-09-04 Thread Herbert Voss

Garst R. Reese wrote:
 
 Can someone tell my why this does not work in hollywood.cls?
 ViewPs tells me that that a number is expected and that a dimension is
 missing when I ERT \linesperinch{6}
 I've tried numerous variations on this theme.
 Thanks,
  Garst
 
 \usepackage{calc}
 .
 .
 .
 \newlength{\oneinch}
 \setlength{\oneinch}{72bp}
 \providecommand{\linesperinch}[1]%
 {

and the closing }, where is it??

 renewcommand{\baselinestretch}{\ratio{\oneinch}{\baselineskip} /(#1)}%
 \normalsize
 }%

a missinf backslash before renewcommand ...

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: Qt2 frontend doesn't compile...

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 10:42:38PM +0900, R. Lahaye wrote:

 All qt stuff is in config/qt2.m4.
 I removed the symlink (mentioned above), but replaced all -lqt by -lqt2 in
 config/qt.m4. My make then runs like a charm, linking -lqt2.

/me looks

/me is greatly surprised.

wow, that's totally wrong, how did I managed to leave any -lqt references in there ?
I'll seend a patch soon, thanks.

 So libqt2.so on my FreeBSD machine really is the libqt.so on others.

nope, it is qt2.so on others as well ;)

 MVCed? Is gooblediegook to me. What does it mean?

adding a controller for the dialog so it is easier to port to qt2/gnome/whatever

regards
john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: reLyX bug

2001-09-04 Thread Asger K. Alstrup Nielsen

On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote:

   Thank you Yves for restoring my mental health... :-)

Come on, Jose. We don't buy that after all this time.

How can anyone restore what never was?

Greets,

Asger




Re: Cosmetics: New... menu entry

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 06:30:16PM +0200, Michael Schmitt wrote:

 - In menu File, New... should be replaced by just New - there is no
   further dialog

it's dependent upon lyxrc prefs unfortunately, so a fix is not that simple.
(i.e. not trivially simple)

john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: [PATCH] allow two index insets next to each other

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 05:25:25PM +0200, Jean-Marc Lasgouttes wrote:

 The reasonning was that you may in some case create an empry inset and
 not see it if you forgot to open it.

The code I changed is /only/ in the case that brings up a dialog, not insert last.

so it's not related to that.

 maybe be open. What was the specific problem michael complained about?

if he has :

monkeys

he can't do

monkeys[marsupials][cheekiness]

where the [] are the index entries.


regards
john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: reLyX bug

2001-09-04 Thread Amir Karger

On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
 On Mon, Sep 03, 2001 at 11:20:40PM +0200, Yves Bastide wrote:
  On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote:
   
[ignore unimportant stuff about a bug]
 
 I really, really prefer python.
   
 And the code is so much readble...
  
  But so much less fun... :-)
 
   Come on, that's not true. You can overload operators, use functional
 programming tools as I did in my last program. If that is not fun, used with
 classes I don't know what is. ;-)
 
   You can add a __cal__ method to a class making it a functor, and using it
 everywhere a function can be used. I don't even dream it how to do it in
 perl... ;-)

I'm *not* trying to start a flame war here. I'll point out, though, that you
can overload operators in perl too. I don't really know what you mean about
using a clas where you would use a function. I will say there's a *lot* of
sneakiness that can be done with Perl classes -- mostly because it's very
relaxed about requiring things -- although much of that may be obfuscated.
The AUTOLOAD method is downright scary, for example. I recently bought
Damian Conway [the guy who has written modules to write Perl in Klingon,
Latin, and whitespace, among other things]'s Object-Oriented Perl, where
he seems to be arguing anything you can do in [OO language X] I can do in
Perl if I feel like it, but usually I won't bother. Or something. (But not
in a condescending way. I think he's just hitting back at all the people who
say Perl isn't a real OO language.)

  And you know that Amir's code is particularly readable
 
   Why do you think that protesting I'm still hacking reLyX code? ;-)
   No only readable but also clean. Thanks, *Mr* Perl. ;-)

blush

-Amir



Re: latex help

2001-09-04 Thread Garst R. Reese

Herbert Voss wrote:
 
 Garst R. Reese wrote:
 
  Can someone tell my why this does not work in hollywood.cls?
  ViewPs tells me that that a number is expected and that a dimension is
  missing when I ERT \linesperinch{6}
  I've tried numerous variations on this theme.
  Thanks,
   Garst

 a missinf backslash before renewcommand ...
 
right, it was there in another variation, but went missing on this one
:)
Putting it just moved the number of error boxen for 4 to 65.
Same errors, just repeated in lots of places.

\newlength{\oneinch}
\setlength{\oneinch}{72bp}
\providecommand{\linesperinch}[1]%
{\renewcommand{\baselinestretch}{\ratio{\oneinch}{\baselineskip} /(#1)}%
\normalsize}%
\endinput
%%
%% End of file `hollywood.cls'



Re: Release announcements

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 07:27:53PM +0200, Lars Gullik Bjønnes wrote:

 Joe Random User.

he's always buggering up things.

john

-- 
Do you mean to tell me that The Prince is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?
- David Lester



Re: BUGS cvs

2001-09-04 Thread Garst R. Reese

John Levon wrote:
 
 On Fri, Aug 31, 2001 at 06:10:28AM -0300, Garst R. Reese wrote:
 
  2. Trying to move the Find and Replace box gives a trail of boxes and
  renders LyX inoperable. (Mouse clicks useless).
 
 I can't reproduce this.
Load UG
Find medskip
If it found anything, it is covered up by the FR box
Try to move the the FR box out of the way

I just tried it again, with the same result.
Then I tried just clicking on LyX to hide the FR box, and it locked up
lyx so I had to kill it with ps. 
Garst



Re: Release announcements

2001-09-04 Thread Allan Rae

On Tue, 4 Sep 2001, John Levon wrote:

 On Tue, Sep 04, 2001 at 04:48:01PM +1000, Allan Rae wrote:

  Unfortunately, people like Linux Today and Freshmeat tend to prefer that
  you use their online forms for building announcements rather than sending
  them an email.  This is a pain in the neck.

 I volunteer for this neck pain next release. Just tell me which sites I should do.

 Linux Today, freshmeat (who owns that account ?), opensourcedirectory, LWN, where 
else is there ?

Ice walkers, linux power, Ummm...  probably heaps of others... slashdot,
ars technica perhaps but they aren't really into app announcements
although you might be able to convince them to test it out on one of their
linux boxes and write up a report.

Allan. (ARRae)




Re: Release announcements

2001-09-04 Thread Allan Rae

On Mon, 3 Sep 2001, John Levon wrote:

> On Sun, Sep 02, 2001 at 10:03:29PM +0100, Jose Abilio Oliveira Matos wrote:
>
> >   Maybe we could have a coordinate effort here. Are you volunteering for
> > that? ;-)
>
> well it would make more sense if whoever releases the stuff does it at the time ;)

Or if there was a simple way to do all of it with a single email alias
or something.

> isn't there a little checklist like "tell LWN, update fresmeat, update website pages 
>a, b, and c,
> etc." ?

Unfortunately, people like Linux Today and Freshmeat tend to prefer that
you use their online forms for building announcements rather than sending
them an email.  This is a pain in the neck.  That's the main reason why I
have generally only been contacting LWN -- just too much pissing around to
get others informed.  More often than not a concerned user will read LWN
or the announcement on the lists and post an update for us -- but this
isn't co-ordinated and we usually don't get any feedback that they have
done an announcement.

If you can get a group of people together who will volunteer to always
take care of announcements/updates for a particular service each then you
might have a chance.

Allan. (ARRae)




Re: reLyX bug

2001-09-04 Thread Andre Poenitz

On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
>   You can add a __cal__ method to a class making it a functor, and using it
> everywhere a function can be used.

Ah - well, after the overloading of the whitespace operator this was
probably easy addition to seduce C++ programmers to use python...

Andre'

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



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 02:44:05PM +0900, R. Lahaye wrote:
> As far as I understand does LyX not have a straightforward word-count
> routine. Often journals or publications put limitations on the number
> of words, in which case a word-count would come in handy.

I think the main problem is answering the question "What constitutes a word?"

Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?

Andre'

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



Re: Bug list - new entries

2001-09-04 Thread Allan Rae

On Mon, 3 Sep 2001, Dekel Tsur wrote:

> On Mon, Sep 03, 2001 at 03:46:57PM +0100, Angus Leeming wrote:
> > So the real fix is to add a minipagebg to the enum in LColor.h, to initialise
> > it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
> > setBackgroundColor(LColor::minipagebg);
> >
> > that way, it's configurable.
>
> I thought that the background color of minipages was just to debug its drawing.
> There is really no point in having a different background color in minipages.

Except to make it even more obvious where they are.

This would be extra useful if two consecutive minipages actually have a
clear space between them on screen (just a few pixels would be enough in
the document bg instead of the minipage bg)  because at present the dashed
lines on the left can be hard to pick apart -- I suppose they could be
rendered as:
_
|
|
=
|
|
-

instead though.

Allan. (ARRae)




Re: small mathed bugs

2001-09-04 Thread Andre Poenitz

On Mon, Sep 03, 2001 at 07:51:47PM +0100, Angus Leeming wrote:
> 1. \backslash gives LaTeX errors

Fixed.

> 2. \| displays incorrectly (since \parallel displays correctly)

Fixed.

> PS, If you want the file for testing purposes, just drop me a line.

Could this go to CVS somehow?

Andre'

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



Re: Wordcount routine available within LyX ?

2001-09-04 Thread R. Lahaye

Andre Poenitz wrote:
> 
> On Tue, Sep 04, 2001 at 02:44:05PM +0900, R. Lahaye wrote:
> > As far as I understand does LyX not have a straightforward word-count
> > routine. Often journals or publications put limitations on the number
> > of words, in which case a word-count would come in handy.
> 
> I think the main problem is answering the question "What constitutes a word?"
> 
> Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?

Yes to all. "I am 1.72 meters tall" has 5 words, I say.

Inline math could/should count as one word.

Display-math and similar environments might not be trivial.

Therefore one could either give several results after the count, e.g.:
   basic text: 2066 words
+ figure captions: 2134 words
   + math display: 2223 words
+ : 2342 words

or have a count-dialog that has checkboxes for en/disable each of
these count options.


I'm sure many people would use such a tool, even though it only
givew a rough indication about the number of words.

Regards,
Rob.



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Philipp Reichmuth

>> As far as I understand does LyX not have a straightforward word-count
>> routine. Often journals or publications put limitations on the number
>> of words, in which case a word-count would come in handy.

AP> I think the main problem is answering the question "What constitutes a word?"
AP> Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?

I is a word, i.e. is two words ("id est"). Isolated "a" and "b" are
one word each, the formula is one word in total. Can we say that when
TeX math mode is invoked on a passage of text, the result constitutes
a word? (This paragraph has 51 words.)

The best solution is probably to use roughly the same treatment as
other word processors so you can stay more or less compatible with
what people mean when they ask you for a 1000-word article.

So how does Word treat this?
 Philippmailto:[EMAIL PROTECTED]
__
First snow, then silence / This thousand dollar screen dies / so beautifully





Re: Wordcount routine available within LyX ?

2001-09-04 Thread Jürgen Spitzmüller

Am Dienstag, 4. September 2001 09:12 schrieb Andre Poenitz:
> Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?

"i.e." are two words ("id est") and should be typed i.\,e.
A pragmatic definition of a word is:

- every letter or combination of letters which is separated against 
other letters or combination of letters with '', '\', '~' 
or '\,'

Of course you can start a wild linguistic debate about that (and you 
would never come to a solution, as far as I know the linguistic 
literature ;), but IMHO this simple definition is sufficient.

Regards,
Juergen

> Andre'




Re: Wordcount routine available within LyX ?

2001-09-04 Thread Helge Hafting

Philipp Reichmuth wrote:
> 
> >> As far as I understand does LyX not have a straightforward word-count
> >> routine. Often journals or publications put limitations on the number
> >> of words, in which case a word-count would come in handy.
> 
> AP> I think the main problem is answering the question "What constitutes a word?"
> AP> Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?
> 
> I is a word, i.e. is two words ("id est"). Isolated "a" and "b" are
> one word each, the formula is one word in total. Can we say that when
> TeX math mode is invoked on a passage of text, the result constitutes
> a word? (This paragraph has 51 words.)
> 
> The best solution is probably to use roughly the same treatment as
> other word processors so you can stay more or less compatible with
> what people mean when they ask you for a 1000-word article.

Consider asking some journals how they count.  I guess their real worry
is
space, and a math formula may fill a lot.  Either don't count it at all,
(it is a "picture") or estimate how many average words might fit in the
same space.

Helge Hafting



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Philipp Reichmuth

>> Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?

RL> Yes to all.

There we are, the first divergence of opinion :-) My German
WordPerfect counts i.e. as two words.

 Philippmailto:[EMAIL PROTECTED]
__
The ten thousand things / How long do any persist? / The file is not there





Re: Wordcount routine available within LyX ?

2001-09-04 Thread R. Lahaye

Philipp Reichmuth wrote:
> 
> >> Is "I" a word? "i.e."? "a"? "b"? "a+b"? "a+\frac{4}{5b}"?
> 
> RL> Yes to all.
> 
> There we are, the first divergence of opinion :-) My German
> WordPerfect counts i.e. as two words.

Then forget me igniting this differgence. "i.e." as two words is fine with me!!!

I would say start of with something and then see if that needs any
fine tuning. However, most people will be happy with a rough word count.
Discussions as whether "i.e." is one or two words are not essential to
most people who will use it for getting some idea of the number of words.

Rob.



Re: Wordcount routine available within LyX ?

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 09:51:34AM +0200, Philipp Reichmuth wrote:
> So how does Word treat this?

How should I know?

Andre'

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



Re: Major update of bug list

2001-09-04 Thread Michael Schmitt

On Mon, 3 Sep 2001, John Levon wrote:

> > - The "Maths spacing" dialog is broken ("Apply" does not work without former
> >   user change in the dialog)
>
> I fixed this (and told you ;). It works for me.

No, it doesn't. Start LyX, press CTRL+M (for math), open the math spacing
dialog and press apply immediately -> nothing is happening!

> this is really a non-bug, as its going back to white as was the intention I believe.

No doubt. But could you please make the green a little bit lighter in the
meantime?

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: reLyX bug

2001-09-04 Thread Michael Schmitt

On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote:

>   I have commited, ok I'll do it after this message.
>   *Please* Michael tell me that now this works! *Please*!

GOOD NEWS:

I can confirm that reLyX (latest cvs) works on my machine!!!

Now you can sleep tight again.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
> There was a time (e.g. 1.1.6fix3) that the following very convenient
> window policy was enforced on all dialogs:
> 
> -> let the (sub)dialogs "disappear" when the main window is iconized.
>[extremely convenient when iconizing LyX while dialogs are open]
> 
> -> always keep (sub)dialogs on top of the main window.
>[dialogs can never be hidden behind the main window]
> 
> I would vote for getting this window policy back.

Some people (like me) do not like this behavior.



Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread R. Lahaye

Dekel Tsur wrote: 
> 
> On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
> > There was a time (e.g. 1.1.6fix3) that the following very convenient
> > window policy was enforced on all dialogs:
> > 
> > -> let the (sub)dialogs "disappear" when the main window is iconized.
> >[extremely convenient when iconizing LyX while dialogs are open]
> > 
> > -> always keep (sub)dialogs on top of the main window.
> >[dialogs can never be hidden behind the main window]
> > 
> > I would vote for getting this window policy back.
> 
> Some people (like me) do not like this behavior.

Since it was once there, but now removed; could it be toggled in
with a configure flag, so that the old behaviour is still available?

I (and probably more people) would appreciate such an option!

Rob.



Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread Angus Leeming

On Tuesday 04 September 2001 10:50, R. Lahaye wrote:
> Dekel Tsur wrote: 
> > 
> > On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
> > > There was a time (e.g. 1.1.6fix3) that the following very convenient
> > > window policy was enforced on all dialogs:
> > > 
> > > -> let the (sub)dialogs "disappear" when the main window is iconized.
> > >[extremely convenient when iconizing LyX while dialogs are open]
> > > 
> > > -> always keep (sub)dialogs on top of the main window.
> > >[dialogs can never be hidden behind the main window]
> > > 
> > > I would vote for getting this window policy back.
> > 
> > Some people (like me) do not like this behavior.
> 
> Since it was once there, but now removed; could it be toggled in
> with a configure flag, so that the old behaviour is still available?
> 
> I (and probably more people) would appreciate such an option!
> 
> Rob.

Well, Rob, the code in question is to be found in frontends/xforms. You're 
looking for the show method in both FormBase.C and FormBaseDeprecated.C where 
you'll find:

fl_show_form(form(),
 FL_PLACE_MOUSE | FL_FREE_SIZE, 0,
 title_.c_str());

To obtain the windowing policy that you want, change that to

fl_show_form(form(),
 FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT,
 title_.c_str());

If  you want to get this into the repository, however, then you'd better 
befine a lyxrc variable, perhaps
bool iconify_daughters_on_iconify

We'd also need a check button in the Preferences->Look & Feel->Interface tab.

Angus



hollywood.tar.gz via http was: Re: final draft params

2001-09-04 Thread Malte Cornils

"Garst R. Reese" wrote:
> I just mailed it to you.

OK, it's now at:

http://www.stud.uni-karlsruhe.de/~uhwe/hollywood.tar.gz

or if you need a link page so you can shift-click it (unlikely in
this case):
http://www.stud.uni-karlsruhe.de/~uhwe/hollywood.html

I really hope this helps!

-Yours Malte #8-)



Re: Major update of bug list

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 10:58:54AM +0200, Michael Schmitt wrote:

> > > - The "Maths spacing" dialog is broken ("Apply" does not work without former
> > >   user change in the dialog)
> >
> > I fixed this (and told you ;). It works for me.
> 
> No, it doesn't. Start LyX, press CTRL+M (for math), open the math spacing
> dialog and press apply immediately -> nothing is happening!


hmm, you are right. how odd. I'll look ...

regards
john

-- 
"Do you mean to tell me that "The Prince" is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?"
- David Lester



Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 12:13:58PM +0300, Dekel Tsur wrote:

> On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
> > There was a time (e.g. 1.1.6fix3) that the following very convenient
> > window policy was enforced on all dialogs:
> > 
> > -> let the (sub)dialogs "disappear" when the main window is iconized.
> >[extremely convenient when iconizing LyX while dialogs are open]
> > 
> > -> always keep (sub)dialogs on top of the main window.
> >[dialogs can never be hidden behind the main window]
> > 
> > I would vote for getting this window policy back.
> 
> Some people (like me) do not like this behavior.

At least the second is a terrible idea. If a have a small screen and two large dialogs
open, I can longer see what I'm typing.

As for the first I'm not bothered, I don't know whether it's possible now ...

regards
john

-- 
"Do you mean to tell me that "The Prince" is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?"
- David Lester



Re: Qt2 frontend doesn't compile...

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 01:06:07PM +0900, R. Lahaye wrote:

> 1) At the end of the make, it automagically links against -lqt, which it
>cannot find on my FreeBSD machine, since it should be -lqt2. Of course
>I solved it by making a symbolic link between libqt2.so and libqt.so.

it does *what* ??? eh ??? This makes no sense whatsoever, qt and qt2 are two
totally separate libraries.

There is no mention of libqt in the lyx config, I can only assume this is a local
issue (the symlink you made is obviously bad ...)

Can you send me your config.log please ?

>Wouldn't it be better to have this lib tested somehow during the configure,
>since I don't think FreeBSD is the only Unix-OS with this qt2 lib ?

this does happen.

> 2) File->Open dialog misses the "Examples" button.
>Dito for File->Open from template.

missing features not implemented yet.

> 3) When selecting a file with File->Open from template, LyX crashes with:
>   BadWindow (invalid Window parameter)

you need to run :

./lyx -sync

until we don't use the xforms library. This is an issue between the xforms and qt2
X error handlers and is not solvable :(

> 4) File->Import lets you select a file, but keeps popping up the file dialog,
>while adding rubbish in the File type field.

will look.

> 5) No dialog pops up (yet?) for:
> Edit->Preferences
> Layout->Paragraph
> Layout->Document

sure they need doing ;) They need to be MVCed first though and that definitely won't 
happen
before 1.2.0.

> And maybe more, if I would conitue comparing Xforms and Qt2 dialogs.
> Shall I continue?

I'm definitely interested in more criticism yes. Especially in differences
between behaviour which doesn't make much sense as far as you can see.

thanks,
john

-- 
"Do you mean to tell me that "The Prince" is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?"
- David Lester



Re: Release announcements

2001-09-04 Thread John Levon

On Tue, Sep 04, 2001 at 04:48:01PM +1000, Allan Rae wrote:

> Unfortunately, people like Linux Today and Freshmeat tend to prefer that
> you use their online forms for building announcements rather than sending
> them an email.  This is a pain in the neck.

I volunteer for this neck pain next release. Just tell me which sites I should do.

Linux Today, freshmeat (who owns that account ?), opensourcedirectory, LWN, where else 
is there ?

regards
john

-- 
"Do you mean to tell me that "The Prince" is not the set textbook for
CS1072 Professional Issues ? What on earth do you learn in that course ?"
- David Lester



Re: PATCH: FreeBSD wchar (was: Free BSD fix to CVS)

2001-09-04 Thread Yves Bastide

On Tue, Sep 04, 2001 at 10:01:21AM +0900, R. Lahaye wrote:
> 
> Hi,
> 
> The following patches work for FreeBSD 4.3 (latest official release),
> where C headers for wide char are not available.
> It's for present (and possibly older) versions of FreeBSD. New releases
> may probably ship with sufficient wide char support in the future.
> 
> 
> Here are the patches (also attached as gzipped diff-file, without the
> new wchar.h file):
[snip]

You puth wchar.h in cheader, and include this directory; the problem is
that all cheader/ files will then be used, not just wchar.h.  That's why my
proposed patch used a subdirectory.

Regards,
-- 
Yves



\mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Doz.Dr. Norbert Koksch

Hallo,

I found the following mistakes in math:

\mapsto is not written on screen (but in file). The other arrows from the math
panel work fine.

The expression  $M_{\mathfrak{B}}$ is correctly written on file. After reload,
the } after B is in the normal line on the screen, however, it will be correctly
written.

The expression  $M_{\mathfrak{B}\in N}$ is written as $M_{\mathfrak{B\}in N}$.


Moreover, I think the depth or height of subscripts or superscripts is too
large.

Norbert Koksch

TU Dresden, Institut fuer Analysis
Tel: +49 351 463 4257, FAX: +49 351 463 7202



Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos

On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote:
> On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
> >   You can add a __cal__ method to a class making it a functor, and using it
> > everywhere a function can be used.
> 
> Ah - well, after the overloading of the whitespace operator this was
> probably easy addition to seduce C++ programmers to use python...

  Does that means that it has succeeded with you? ;-)
  You are a C++ programmer, or else what would you call to mathed? :-)
  
  BTW (why don't I get a friday when I need it? :-)) so much talk about
whitespace that it look like a fetish. ;-)

  Interestingly I got from Merriam-Webster:
  
   Etymology: French & Portuguese; French fétiche, from Portuguese feitiço,
from feitiço artificial, false, from Latin facticius factitious.

  Something that I wasn't expecting. ;-)
  
> Andre'
> 
> -- 
> André Pönitz . [EMAIL PROTECTED]

-- 
José



Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos

On Tue, Sep 04, 2001 at 11:01:56AM +0200, Michael Schmitt wrote:
> On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote:
> 
> >   I have commited, ok I'll do it after this message.
> >   *Please* Michael tell me that now this works! *Please*!
> 
> GOOD NEWS:
> 
> I can confirm that reLyX (latest cvs) works on my machine!!!
> 
> Now you can sleep tight again.

  Thanks, but usually that is not a problem. :-)
  
  As a curiosity, did reLyX worked before?
  I guess that if it work then we had a strange case of interaction beetween
BLOCK and the variable outside. Hardly what anyone would expect.

  Please be aware for any strange behaviour of reLyX, I expect it to work
well now, but maybe it has places where the path is interpreted wrongly.

  I discovered one of thoses places last week...
  
> Michael
> 
> -- 
> ==
> Michael Schmittphone: +49 451 500 3725
> Institute for Telematics   secretary: +49 451 500 3721
> Medical University of Luebeck  fax:   +49 451 500 3722
> Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
> D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
> ==

-- 
José



Re: final draft params

2001-09-04 Thread Richard Harris

Garst,

Since I'm not on the mailing list, forward me the link when its posted and I'll
try to convert a smaller script for you.  There may not be a way to automate lyx
but I *want* to use lyx and maybe I can write a python script that converts fd5
to your class...  We'll see.

Without trying to be a prophet, I do think Windows is going to more or less go
away.  And I need to migrate the rest of my stuff one way or the other.

richard




Re: hollywood.tar.gz via http was: Re: final draft params

2001-09-04 Thread Richard Harris

got it




Re: dialogs-stay-on-top and iconize-dialogs policy given up in CVS ???

2001-09-04 Thread R. Lahaye


Angus,

Having this windowing behaviour as an option in the preferences sounds really cool!
I don't know of any applications that have this fancy windowing in the preferences
dialog.

Will it actually work, I mean to instantly change the windowing behaviour by
-ing this option in the preferences.

We then need a variable, instead of the 0 or FL_TRANSIENT, in the fl_show_form,
that can be modified by the preferences.

Qt and Gnome should also use that same varialbe, to pick up this windowing behaviour.

I may give this a go, but I probably will get stuck really soon.

Very cool idea though!

Rob.

From: Angus Leeming
> On Tue, Sep 04, 2001 at 01:02:47PM +0900, R. Lahaye wrote:
> > There was a time (e.g. 1.1.6fix3) that the following very convenient
> > window policy was enforced on all dialogs:
> > 
> > -> let the (sub)dialogs "disappear" when the main window is iconized.
> >[extremely convenient when iconizing LyX while dialogs are open]
> > 
> > -> always keep (sub)dialogs on top of the main window.
> >[dialogs can never be hidden behind the main window]
> > 
> > I would vote for getting this window policy back.
>
> Well, Rob, the code in question is to be found in frontends/xforms. You're 
> looking for the show method in both FormBase.C and FormBaseDeprecated.C where 
> you'll find:
> 
> fl_show_form(form(),
>  FL_PLACE_MOUSE | FL_FREE_SIZE, 0,
>  title_.c_str());
> 
> To obtain the windowing policy that you want, change that to
> 
> fl_show_form(form(),
>  FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT,
>  title_.c_str());
> 
> If  you want to get this into the repository, however, then you'd better 
> befine a lyxrc variable, perhaps
> bool iconify_daughters_on_iconify
> 
> We'd also need a check button in the Preferences->Look & Feel->Interface tab.



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 02:45:41PM +0200, Doz.Dr. Norbert Koksch wrote:
> \mapsto is not written on screen (but in file). The other arrows from the math
> panel work fine.

Fixed.

> Moreover, I think the depth or height of subscripts or superscripts is too
> large.

Confirmed.
In fact, if the subscript is empty, then the empty box seems to be at a
correct position. But when you insert a char to the subscript, the subscript
is moved down.
In fact, when creating a new math insert, after inserting one char, the
inset becomes taller, so the current line and the lines below are moved down.



Re: reLyX bug

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 02:17:04PM +0100, Jose Abilio Oliveira Matos wrote:
> On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote:
> > On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote:
> > >   You can add a __cal__ method to a class making it a functor, and using it
> > > everywhere a function can be used.
> > 
> > Ah - well, after the overloading of the whitespace operator this was
> > probably easy addition to seduce C++ programmers to use python...
> 
>   Does that means that it has succeeded with you? ;-)

Of course not... not in this life... 

>   You are a C++ programmer, or else what would you call to mathed? :-)

Let me think about it... a hack? Several hacks? A lot of them?
   
Andre'

PS: You put enough smileys in already, so I'll leave some out lest the list
becomes unbalanced...

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



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Dekel Tsur

On Tue, Sep 04, 2001 at 02:45:41PM +0200, Doz.Dr. Norbert Koksch wrote:
> 
> The expression  $M_{\mathfrak{B}}$ is correctly written on file. After reload,
> the } after B is in the normal line on the screen, however, it will be correctly
> written.
> 
> The expression  $M_{\mathfrak{B}\in N}$ is written as $M_{\mathfrak{B\}in N}$.

Confirmed. However, $M_{\mathcal{B}}$ and $M_{\mathcal{B}\in N}$ do not have
this problem (note that the \mathcal command is recognized by lyx,
while \mathfrak is not)



mathed wishlist --- almost supported already?

2001-09-04 Thread Angus Leeming

Two more wishlist items that appear to be "almost" officically supported 
already:

1. If I right as normal text \mathcal{B}, highlight it and convert it to math 
with M-c m, I get a nicely typeset B. It'd be nice to do this directly in 
mathed too. I _can_ type "\mathcal B " within mathed and the resulting dvi is 
correct, but I don't get the visual feedback.

On the same lines, if I type \mathtt{Angus} and then paste it into mathed: 
beautiful. Do the same within mathed and only the "A" is typeset. Perhaps 
these font commands should use the macro display mechanism?

2.  This convert "normal" text to "math" is great. I can go the other way 
using the X clipboard (ie highlight it and then paste with the middle mouse 
button WITHOUT saving it to LyX's buffer). But this is a fudge of course.

This effectively becomes a "TeX" mode for mathed, so that I can 
see exactly what I type. It'd be nice if we could toggle "officially".

Angus



Re: \mapsto, depth of subscripts, height of superscripts

2001-09-04 Thread Andre Poenitz

On Tue, Sep 04, 2001 at 04:22:55PM +0300, Dekel Tsur wrote:
> > Moreover, I think the depth or height of subscripts or superscripts is too
> > large.
> 
> Confirmed.
> In fact, if the subscript is empty, then the empty box seems to be at a
> correct position. But when you insert a char to the subscript, the subscript
> is moved down.
> In fact, when creating a new math insert, after inserting one char, the
> inset becomes taller, so the current line and the lines below are moved down.

The super/subscript display stuff is still broken. I know that...

The problem is: I need "contextual" information when drawing it, which is
not available to the MathScriptInset. And I am still somewhat reluctant to
move part of the drawing stuff to from the inset to the xarray where this
contextual information is available.  [\underbrace{ss}_x displays
incorrectly for similar reasons btw]

Otoh, I am doing something similar already for writing when
\mathrm{a}\mathrm{b} is "collapsed" to \mathrm{ab}...

Does anybody know what TeX is doing? It needs to keep the size of some
"thing" left of the script around... what kind of "thing" is that?

Andre'


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



Re: Qt2 frontend doesn't compile...

2001-09-04 Thread R. Lahaye

John Levon wrote: 
> > 1) At the end of the make, it automagically links against -lqt, which it
> >cannot find on my FreeBSD machine, since it should be -lqt2. Of course
> >I solved it by making a symbolic link between libqt2.so and libqt.so.
> 
> it does *what* ??? eh ??? This makes no sense whatsoever, qt and qt2 are two
> totally separate libraries.
> 
> There is no mention of libqt in the lyx config, I can only assume this is a local
> issue (the symlink you made is obviously bad ...)

All qt stuff is in config/qt2.m4.
I removed the symlink (mentioned above), but replaced all "-lqt" by "-lqt2" in
config/qt.m4. My make then runs like a charm, linking -lqt2.

So libqt2.so on my FreeBSD machine really is the libqt.so on others.


> > 5) No dialog pops up (yet?) for:
> > Edit->Preferences
> > Layout->Paragraph
> > Layout->Document
> 
> sure they need doing ;) They need to be MVCed first though and that definitely won't 
> happen before 1.2.0.

MVCed? Is gooblediegook to me. What does it mean?

Cheers,
Rob.



  1   2   >