Slashdot article

2001-11-21 Thread Emmanuel GUREGHIAN

Hello

See http://slashdot.org/askslashdot/01/11/19/1933214.shtml

Lyx seems to be a good example (the original author  have droped it and
started a miserable little desktop interface project (c; )

Any developper post its story ?

-- Emmanuel

   |\  _,,,---,,_   Emmanuel GUREGHIAN   
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)
"La peine de mort est le prix Nobel des assassins."
L.F.Celine.



Re: Let's try again to change the matrix dialog without being flamed (c:

2001-08-06 Thread Emmanuel GUREGHIAN

John Levon wrote:
[snip]
> for the qt frontend, there is a little tabular box which grows/shrinks as you
> change the values. I don't know how word does it.
I have made a screenshot of it

> > > (and are not aligned properly).
> > That's true, that was just a quick hack
> 
> fix this and it will be ok by me ...
> 
> > > Can you try and do something about the clutter perhaps ?
> > > I think we should have the buttons on the bottom, not along the side one
> > I thought the same thing about the buttons (although a lot of windows
> > dialog assistant propose three sides buttons), but the remainders of
> 
> side buttons are really really dumb ...
So let's choose the first solution perharp's 

> > previous discussion was that dialog size should remain the same.
> 
> I don't have a problem with a larger dialog as long as its not /too/ large
> 
> I mean look at citation ;)
Is the one in attachment correct
-- 
Cordialement
Emmanuel
   |\  _,,,---,,_   Emmanuel GUREGHIAN   
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)
Je choisis mes amis pour leur bonne mine, 
mes connaissances pour leur bon caractère 
et mes ennemis pour le bon usage qu'ils 
font de leur intellect.Oscar Wilde
<>
Magic: 13000

Internal Form Definition File
(do not change)

Number of forms: 1
Unit of measure: FL_COORD_PIXEL
SnapGrid: 2

=== FORM ===
Name: form_maths_matrix
Width: 295
Height: 183
Number of Objects: 8


class: FL_BOX
type: UP_BOX
box: 0 0 295 183
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 


class: FL_VALSLIDER
type: VERT_NICE_SLIDER
box: 10 30 32 140
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Rows
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: slider_rows
callback: C_FormBaseDeprecatedInputCB
argument: 0
bounds: 1 20
precision: 0
return: FL_RETURN_END_CHANGED


class: FL_VALSLIDER
type: HOR_NICE_SLIDER
box: 54 28 214 30
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Columns 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: slider_columns
callback: C_FormBaseDeprecatedInputCB
argument: 0
bounds: 1 20
precision: 0
return: FL_RETURN_END_CHANGED


class: FL_CHOICE
type: NORMAL_CHOICE
box: 56 86 90 30
boxtype: FL_FRAME_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Vertical align|#V
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: choice_valign
callback: C_FormBaseDeprecatedInputCB
argument: 0


class: FL_INPUT
type: NORMAL_INPUT
box: 174 86 90 30
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Horizontal align|#H
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: input_halign
callback: C_FormBaseDeprecatedInputCB
argument: 0


class: FL_BUTTON
type: RETURN_BUTTON
box: 44 140 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: OK  
shortcut: ^M
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_ok
callback: C_FormBaseDeprecatedOKCB
argument: 0


class: FL_BUTTON
type: NORMAL_BUTTON
box: 126 140 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Apply|#A
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_apply
callback: C_FormBaseDeprecatedApplyCB
argument: 0


class: FL_BUTTON
type: NORMAL_BUTTON
box: 208 140 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Cancel|^[
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_cancel
callback: C_FormBaseDeprecatedCancelCB
argument: 0

==
create_the_forms



Let's try again to change the matrix dialog without being flamed (c:

2001-08-04 Thread Emmanuel GUREGHIAN

Dears developpers (c:

A few years ago, I send a mail about changing the matrix dialog in a
more intuitive way.
It was not not a good idea because the dialog size should remain small
in order to use lyx on small screens.

Anyway I have still the same idea. So I have changed the matrix dialog
carefully preserving its size.
I think it is more intuitive and as such that it is a good
idea(tm)(r)(c).

Is it acceptable in this way ?
Cordially
Emmanuel
   |\  _,,,---,,_   Emmanuel GUREGHIAN   
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)

Magic: 13000

Internal Form Definition File
(do not change)

Number of forms: 2
Unit of measure: FL_COORD_PIXEL
SnapGrid: 2

=== FORM ===
Name: form_maths_matrix
Width: 280
Height: 170
Number of Objects: 8


class: FL_BOX
type: UP_BOX
box: 0 0 280 170
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 


class: FL_VALSLIDER
type: VERT_NICE_SLIDER
box: 10 30 32 88
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Rows
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: slider_rows
callback: C_FormBaseDeprecatedInputCB
argument: 0
bounds: 1 20
precision: 0
return: FL_RETURN_END_CHANGED


class: FL_VALSLIDER
type: HOR_NICE_SLIDER
box: 52 30 214 30
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Columns 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: slider_columns
callback: C_FormBaseDeprecatedInputCB
argument: 0
bounds: 1 20
precision: 0
return: FL_RETURN_END_CHANGED


class: FL_CHOICE
type: NORMAL_CHOICE
box: 60 90 90 30
boxtype: FL_FRAME_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Vertical align|#V
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: choice_valign
callback: C_FormBaseDeprecatedInputCB
argument: 0


class: FL_INPUT
type: NORMAL_INPUT
box: 178 90 90 30
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Horizontal align|#H
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: input_halign
callback: C_FormBaseDeprecatedInputCB
argument: 0


class: FL_BUTTON
type: RETURN_BUTTON
box: 10 130 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: OK  
shortcut: ^M
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_ok
callback: C_FormBaseDeprecatedOKCB
argument: 0


class: FL_BUTTON
type: NORMAL_BUTTON
box: 100 130 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Apply|#A
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_apply
callback: C_FormBaseDeprecatedApplyCB
argument: 0


class: FL_BUTTON
type: NORMAL_BUTTON
box: 190 130 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Cancel|^[
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_cancel
callback: C_FormBaseDeprecatedCancelCB
argument: 0

=== FORM ===
Name: form_maths_matrix
Width: 280
Height: 170
Number of Objects: 8


class: FL_BOX
type: UP_BOX
box: 0 0 280 170
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 


class: FL_VALSLIDER
type: VERT_NICE_SLIDER
box: 12 28 28 132
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Rows
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: slider_rows
callback: C_FormBaseDeprecatedInputCB
argument: 0
bounds: 1 20
precision: 0
return: FL_RETURN_END_CHANGED


class: FL_VALSLIDER
type: HOR_NICE_SLIDER
box: 52 26 124 32
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Columns 
shortcut: 
resize: FL_RESIZ

Re: Let's try again to change the matrix dialog without being flamed (c:

2001-08-02 Thread Emmanuel GUREGHIAN

John Levon a écrit :
> 
> On Thu, Aug 02, 2001 at 05:00:59PM +0200, Emmanuel GUREGHIAN wrote:
> 
> > Dears developpers (c:
> >
> > A few years ago, I send a mail about changing the matrix dialog in a
> > more intuitive way.
> > It was not not a good idea because the dialog size should remain small
> > in order to use lyx on small screens.
> >
> > Anyway I have still the same idea. So I have changed the matrix dialog
> > carefully preserving its size.
> > I think it is more intuitive and as such that it is a good
> > idea(tm)(r)(c).
> 
> can you explain why you think it is more intuitive ? Is it because
> rows is vertical slider now ?
exactly
If you see word's interface for creating tabulars (no flame please) it
is self explaining.
We don't need to have such high levels tricks for LyX, but at least for
unexperienced users it is easier to understand.

> Maybe this is a good idea, but I think the dialogs look a little cluttered
> (and are not aligned properly).
That's true, that was just a quick hack

> Can you try and do something about the clutter perhaps ?
> I think we should have the buttons on the bottom, not along the side one
I thought the same thing about the buttons (although a lot of windows
dialog assistant propose three sides buttons), but the remainders of
previous discussion was that dialog size should remain the same.
That's a hard condition. So perharp's I will try once again in a few
year when 21" tft monitors will be as cheap as a match box (c:

Cordialy
Emmanuel
   |\  _,,,---,,_   Emmanuel GUREGHIAN   
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)
glop, glop !



problem with 1.1.6 fix3 + pspell

2001-07-25 Thread Emmanuel GUREGHIAN

I had a problem compiling the fix3 version with the pspell library.
I am using the 0.12.2 version of pspell which seems quite accurate
http://sourceforge.net/project/shownotes.php?release_id=37229

I seems to me (but I made only q quick look at that problem) that the
pspell function calls need an integer argument which is passed along
with string argument.

  /*
   * Strings from this point on are expected to be in the 
   * encoding specified by encoding()
   *
   * A size of -1 means the string is null terminted.
   * The size is the length of the word in bytes even if the 
   * encoding is "machine unsigned 16" or "machine unsigned 32"
   *
   */
  
It compiles with this patch

Am I alone with this problem ?

Anyway it would be a good thing to have a line aboiut pspell in
http://www.lyx.org/download/related.php3.
Emmanuel
   |\      _,,,---,,_   Emmanuel GUREGHIAN   
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)
Ventre affamé n'a pas d'oreilles, mais il a un sacré nez.
Alphonse Allais

--- lyx-1.1.6fix3/src/spellchecker.CThu Jun 14 14:35:51 2001
+++ /tmp/lyx-1.1.6fix3/src/spellchecker.C   Wed Jul 25 14:19:55 2001
@@ -627,6 +627,20 @@
delete_pspell_can_have_error(spell_error_object);
 }
 
+// manager.h of the pspell library says,
+  /*
+   * Strings from this point on are expected to be in the 
+   * encoding specified by encoding()
+   *
+   * A size of -1 means the string is null terminted.
+   * The size is the length of the word in bytes even if the 
+   * encoding is "machine unsigned 16" or "machine unsigned 32"
+   *
+   */
+
+// So I assume that -1 is needed
+// lets put an indentifier to make these things clearer to the reader
+#define pspell_string_is_null_terminated -1
 
 
 // Send word to pspell and get reply
@@ -637,14 +651,14 @@
 #ifdef WITH_WARNINGS
 #warning Why isnt word_ok a bool? (Lgb)
 #endif
-   int word_ok = pspell_manager_check(sc, word.c_str());
+   int word_ok = pspell_manager_check(sc, word.c_str(),  
+pspell_string_is_null_terminated );
Assert(word_ok != -1);
 
if (word_ok) {
result->flag = ISP_OK;
} else {
PspellWordList const * sugs =
-   pspell_manager_suggest(sc, word.c_str());
+   pspell_manager_suggest(sc, word.c_str(),  
+pspell_string_is_null_terminated );
Assert(sugs != 0);
result->els = pspell_word_list_elements(sugs);
if (pspell_word_list_empty(sugs)) 
@@ -666,21 +680,21 @@
 static inline 
 void sc_insert_word(string const & word)
 {
-   pspell_manager_add_to_personal(sc, word.c_str());
+   pspell_manager_add_to_personal(sc, word.c_str(), 
+pspell_string_is_null_terminated);
 }
 
 
 static inline 
 void sc_accept_word(string const & word) 
 {
-   pspell_manager_add_to_session(sc, word.c_str());
+   pspell_manager_add_to_session(sc, word.c_str(), 
+pspell_string_is_null_terminated);
 }
 
 
 static inline 
 void sc_store_replacement(string const & mis, string const & cor)
 {
-   pspell_manager_store_replacement(sc, mis.c_str(), cor.c_str());
+   pspell_manager_store_replacement(sc, mis.c_str(),  
+pspell_string_is_null_terminated,  cor.c_str(), pspell_string_is_null_terminated);
 }
 
 #endif



[Article in french : The future ot the word processors] After Word: l'avenir du traitement de texte

2001-01-23 Thread Emmanuel GUREGHIAN

lyx is linked as a GUI over LaTeX

http://www.internatif.org/bortzmeyer/afterword/afterword.html



Re: LyX beginner

2000-08-09 Thread Emmanuel GUREGHIAN

Li Bing wrote:
> 
> Dear all,
> 
> I am a LyX user. After I installed LyX on my Solaris machine, I found that
> some other ones, xdvi, dvips and latex were also needed. Where can I find
> these software? And are binary ones available?
> 
> Thanks,
> Bing
> 
your CTAN archive is your best friend,
I recommend a teTeX distribution since it's easy to install
It should be in the systems/unix/teTeX directory

Cordially
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: Where can I find binary version of LyX for Solaris

2000-08-03 Thread Emmanuel GUREGHIAN

A real good thing would be to make a 
package for it.

See http://www.sunfreeware.com/ for it and why not upload it to 
http://www.sunfreeware.com/ too ?

I can't help here our last sun is quite old 
and it runs solaris 2.4.

> 
> I have just smoothly compiled a Solaris 2.7 binary distribution, but I
> can't upload it :-(
> INSTALL says to put it in ftp://ftp.lyx.org/pub/lyx/uploads - but this
> directory does not exist. For now you can find the file in:
> http://www.math.huji.ac.il/~slior/lyx-1.1.5fix1-bin-Solaris2.7-static.tar.gz
> 
> Note: Due to disk quota limitations I compiled LyX without debug info.
> 
> Warning: Since I don't have root permissions on the machine, I can't
> install the distribution, so I don't know whether it actually works. The
> src/lyx binary did work (and ldd confirmed that it doesn't require
> libforms or libXpm)
>  Lior
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: LyX for Solaris Binary Version

2000-08-03 Thread Emmanuel GUREGHIAN

Li Bing wrote:
> 
> Dear All,
> 
> Anyone could provide me with LyX for Solaris Binary Version? I find it
> trouble to compile the source code. I met the following mistakes,
> 
> # ./configure
> loading cache ./config.cache
> configuring LyX version 1.1.5
> checking host system type... sparc-sun-solaris2.7
> checking target system type... sparc-sun-solaris2.7
> checking build system type... sparc-sun-solaris2.7
> checking config.cache system type... same
> checking for a BSD compatible install... config/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... ./configure: make: not found
> no
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking for prefix by checking for lyx... no
> checking whether make sets ${MAKE}... (cached) no
> checking for a BSD compatible install... config/install-sh -c
> checking for kpsewhich... :
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable cc found in $PATH
> #
> 
You surely did not install a C compiler on your station or it is
not in your path (should be something like /usr/ccs/).
Sun since solaris, does not provide a C compiler with their machines.
Get either CC ($$$) or gcc (-> best place is sunfreeware).

Cordially
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: GLyX

2000-07-28 Thread Emmanuel GUREGHIAN

Emmanuel GUREGHIAN wrote:
> 
> Alejandro Aguilar Sierra wrote:
> >
> > Hello,
> >
> > The mexican mirror is again online (but out of date right now), and
> > you can find glyx at http://www.wx.lyx.org/glyx/ .
> >
> > Greets,
> >
> > Alejandro
> a small typo, it is http://www.wx.lyx.org/glyx/
> 
Sometimes I should stop to drink :-)
hope this one is good...
http://www.mx.lyx.org/glyx/
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: GLyX

2000-07-28 Thread Emmanuel GUREGHIAN

Alejandro Aguilar Sierra wrote:
> 
> Hello,
> 
> The mexican mirror is again online (but out of date right now), and
> you can find glyx at http://www.wx.lyx.org/glyx/ .
> 
> Greets,
> 
> Alejandro
a small typo, it is http://www.wx.lyx.org/glyx/


-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: [Ramin.Yasdi@gmd.de: SUSE RPMs]

2000-06-27 Thread Emmanuel GUREGHIAN

I've been looking for too but you should know that
redhat packages are working perfectly on a SuSE system.
The are very few differences, the main ones are :
- the package do not have the same name (=> use rpm --nodeps)
- the files hierarchy are a little different, the most common and
obvious change is doc goes in /usr/doc/package/[name of the package]

Anyway here is included the 1.1.4 spec file from the SuSE 6.4 
Perharp's it could work by simply deleting the patch1 stuff and
adapting the patch1 stuff

Cordially
Emmanuel

"Kayvan A. Sylvan" wrote:
> 
> Does anyone have any SUSE RPMs for lyx they can upload to ftp.sylvan.com?
> 
> Just put them into ftp://ftp.sylvan.com/incoming and I will have them for
> when folks like Ramin come looking in my ftp area.
> 
> ---Kayvan
> 
> - Forwarded message from Ramin Yasdi <[EMAIL PROTECTED]> -
> 
> Delivered-To: [EMAIL PROTECTED]
> Date: Tue, 27 Jun 2000 14:17:23 +0200
> From: Ramin Yasdi <[EMAIL PROTECTED]>
> Organization: gmd.de
> X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
> X-Accept-Language: de-DE
> To: [EMAIL PROTECTED]
> Subject: SUSE RPMs
> 
> Dear Kayan,
> 
> Do you have a new SUSE RPMs of lyx 1.1.5 for my thinkpad laptop running
> on linux ?
> 
> Thanks in advance
> 
> Ramin
> 
> - End forwarded message -
> 
> --
> Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
> Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
> http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory

-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)

#
# spec file for package lyx (Version 1.1.4)
# 
# Copyright  (c)  2000  SuSE GmbH  Nuernberg, Germany.
#
# please send bugfixes or comments to [EMAIL PROTECTED]
#

# neededforbuild  xforms gpp libgpp xpm xformsd tetex te_latex te_web gs_serv gv 
gsview ispell hylafax lprold sgmltool
# usedforbuildaaa_base aaa_dir base bash bindutil binutils bison bzip compress 
cpio cracklib devs diff ext2fs file fileutil find flex gawk gcc gdbm gettext gpm gpp 
gppshare groff gs_serv gsview gv gzip hylafax ispell kbd less libc libgpp libz lprold 
lx_suse make mktemp modules ncurses net_tool netcfg nkita nkitb nssv1 pam patch perl 
pgp ps rcs rpm sendmail sgmltool sh_utils shadow shlibs strace syslogd sysvinit te_ams 
te_latex te_web tetex texinfo textutil timezone unzip util vim xdevel xf86 xforms 
xformsd xpm xshared

Vendor:   SuSE GmbH, Nuernberg, Germany
Distribution: SuSE Linux 6.4 (i386)
Name: lyx
Release:  28
Packager: [EMAIL PROTECTED]

Copyright:1995 Matthias Ettrich, 1995 - 2000 LyX Team
Group:unsorted
Provides: lyx 
Requires: TeX
Autoreqprov:  on
Version:  1.1.4
Summary:  LyX - LaTeX based WYSIWYG editor 
Source: lyx-1.1.4.tar.gz
Patch0: lyx-1.1.4.dif
Patch1: patch-1.1.4fix1

%description
LyX is a frontend for LaTeX under X11. It combines the comfortable use
of a word processor with the high quality of LaTeX type
setting. Documents are almost WYSIWYG-like displayed.
Low level attributes ("large italic") are not directly chosen, but
high level layouts for each paragraph. Of course, low level formatting is
still possible.

Authors:

Matthias Ettrich <[EMAIL PROTECTED]>

SuSE series: tex

%prep
%setup -n lyx-1.1.4
%patch0 
%patch1 -p1
if [ -f Imakefile ] ; then xmkmf -a ; fi

%build
if [ -f Makefile.Linux ] ; then
make -f Makefile.Linux compile
else
make
fi ; 

%install
if [ -f Makefile.Linux ] ; then
make -f Makefile.Linux install
else
make install
fi ; 
if [ -f Imakefile ] ; then make install.man ; fi
echo "/usr/share/locale/*/LC_MESSAGES/lyx.mo" > filelist
%{?suse_check}

%files -f filelist
%docdir /usr/X11R6/man
%docdir /usr/openwin/man
%docdir /usr/doc/packages/lyx
%docdir /usr/share/lyx/doc
/usr/doc/packages/lyx
/usr/X11R6/bin/lyx
/usr/X11R6/bin/reLyX
/usr/share/texmf/tex/latex/lyx
%config /usr/share/lyx/lyxrc.example
%config /usr/share/lyx/lyxrc.defaults
%config /usr/share/lyx/textclass.lst
%config /usr/share/lyx/chkconfig.ltx
%config /usr/share/lyx/packages.lst
%doc /usr/share/lyx/CREDITS
/usr/share/lyx/doc
/usr/share/lyx/bind
/usr/share/lyx/clipart
/usr/share/lyx/configure
/usr/share/lyx/images
/usr/share/lyx/examples
/usr/share/lyx/kbd
/usr/share/lyx/layouts
/usr/share/lyx/templates
/usr/share/lyx/tex
/usr/share/lyx/reLyX
%doc /usr/share/man/man1/lyx.1.gz
%doc /usr/share/man/man1/reLyX.1.gz

%changelog -n lyx
* Wed Feb 23 2000 - [EMAIL PROTECTED]
- add Bugfix Patch
* Fri Feb 04 2000 - [EMAIL PROTECTED]
- changed to new version 1.1.4
* Sun Jan 16 2000 - [EMAIL PROTECTED]
- moved /usr/man to /usr/share/man

Changing spec file for lyx-1.1.5 and lyx-devel

2000-06-19 Thread Emmanuel GUREGHIAN

would it be possible to change the spec file for the lyx-devel cvs tree
to make it 
install in /usr/local the files and give the lyx executable another name
(such as lyx-devel).
This would allow us to have both version installed on one system without
conflicting.


-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: Problem with iputed files (Lars?)

2000-05-31 Thread Emmanuel GUREGHIAN

I have just done a cvs update and the problem is solved
my thesis in on the way again, congratulations and thanks you very
much...

"Lars Gullik Bjønnes" wrote:
> 
> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> 
> | >>>>> "Emmanuel" == Emmanuel GUREGHIAN <[EMAIL PROTECTED]> writes:
> |
> | Emmanuel> Hello As I am getting back in lyx business ;-) , excuse me
> | Emmanuel> if the bug was already referenced.
> |
> | Emmanuel> I have a main document wich input other lyx documents which
> | Emmanuel> are placed in sub directories. But as soon as I have done
> | Emmanuel> one ps rendering or saved the document, the / sign which
> | Emmanuel> delimit the directory name in the input inset is changed in
> | Emmanuel> an @.
> |
> | Emmanuel> Anyone has a clue about it ?
> |
> | It is due to a change done by Lars in the insetinclude.C code (I
> | think). The relevant part of the code is
> |   // Use += to force a copy of contents (JMarc)
> |   // How does that force anything? (Lgb)
> |   string incfile(contents);
> 
> |
> | The old code was something like
> |   // Use += to force a copy of contents (JMarc)
> |   string incfile
> |   incfile += contents;
> |
> | I think this is related to a bug in lyxstring, but I am not sure about
> | that. Emmanuel, what string version do you use (what is the value of
> | USE_INCLUDED_STRING in your src/config.h file)?
> |
> | Lars, it seems to me that, at least with lyxstring, the construct you
> | use means that modifying incfile also modifies contents.
> 
> If that is true then there is a _severe_ bug in lyxstring.
> 
> Ok, found it.
> 
> The bug was in lyxstring::begin() where we don't ensure that this
> lyxstring is the sole owner of this string rep.
> 
> Check if this patch fixes the problem:
> 
> --- lyx-devel/src/support/lyxstring.C   Thu Mar 16 05:29:22 2000
> +++ lyx-devel-experiment/src/support/lyxstring.CWed May 31 19:43:43 2000@@ 
>-460,6 +460,7 @@
> 
>  lyxstring::iterator lyxstring::begin()
>  {
> +   rep = rep->get_own_copy();
>     return rep->s;
>  }
> 
> @@ -472,6 +473,7 @@
> 
>  lyxstring::iterator lyxstring::end()
>  {
> +   rep = rep->get_own_copy();
> return rep->s + rep->sz;
>  }
> 
> Lgb

-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: Problem with iputed files (Lars?)

2000-05-31 Thread Emmanuel GUREGHIAN

Jean-Marc Lasgouttes wrote:
> 
> >>>>> "Emmanuel" == Emmanuel GUREGHIAN <[EMAIL PROTECTED]> writes:
> 
> Emmanuel> Hello As I am getting back in lyx business ;-) , excuse me
> Emmanuel> if the bug was already referenced.
> 
> Emmanuel> I have a main document wich input other lyx documents which
> Emmanuel> are placed in sub directories. But as soon as I have done
> Emmanuel> one ps rendering or saved the document, the / sign which
> Emmanuel> delimit the directory name in the input inset is changed in
> Emmanuel> an @.
> 
> Emmanuel> Anyone has a clue about it ?
> 
> It is due to a change done by Lars in the insetinclude.C code (I
> think). The relevant part of the code is
> // Use += to force a copy of contents (JMarc)
> // How does that force anything? (Lgb)
> string incfile(contents);
> 
> The old code was something like
> // Use += to force a copy of contents (JMarc)
> string incfile
> incfile += contents;
> 
> I think this is related to a bug in lyxstring, but I am not sure about
> that. Emmanuel, what string version do you use (what is the value of
> USE_INCLUDED_STRING in your src/config.h file)?
> 
USE_INCLUDED_STRING was set to 1

> Lars, it seems to me that, at least with lyxstring, the construct you
> use means that modifying incfile also modifies contents.
> 
> JMarc

-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: Installation of lyx-1.1.4fix2-20.i386.rpm

2000-05-31 Thread Emmanuel GUREGHIAN

Thorsten Grothe wrote:
> 
> Hey everybody,
> 
> I got (still) problems to install lyx-1.1.4fix2-20.i386.rpm on my Suse 6.4
> system. I'm working with KDE and so I try to install it with the kpackage
> tool. The tool seams to work but after the end of the process, it happens
> nothing. I can`t find any lyx icon and just don't know how to start it. I
> searched the mailing list to find someone having the same problem but Iwas not
> successful. (tetex is installed) Can anybody please explain me what to do?
> 
> Thanks a lot!
> 
> --
> Thorsten
> 
> Sent through GMX FreeMail - http://www.gmx.net

1) SuSE manage its rpm in a different way than redhat. So what you
should do is get the suse spec
file from the lyx.spm file (it is on the last CDROM, zq* directories)
and copy it to /usr/src/package/SPECS do the same for the source file in
/usr/src/package/SOURCE and rpm --bb /usr/src/package/SPECS/lyx.spec (I
am not sure about the last one)

2) you should always start SuSEconfig when you add a apckage without
yast.
  (this is a suse related problem)

Cordially
-- 
  |\  _,,,---,,_  Emmanuel GUREGHIAN 
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Re: Problem with inputed files

2000-05-29 Thread Emmanuel GUREGHIAN

More clues about it :
- my problem seems to occure only with the AMS Book class
- following
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg04289.html 
  seems to cure the problem

Emmanuel GUREGHIAN wrote:
> 
> Hello
> 
> As I am getting back in lyx business ;-) , excuse me if the bug was
> already referenced.
> 
> I have a main document wich input other lyx documents which are placed
> in sub directories.
> But as soon as I have done one ps rendering or saved the document, the /
> sign which
> delimit the directory name in the input inset is changed in an @.
> 
> Anyone has a clue about it ?
> 
> Thanks
> 
> BTW I am using lyx 1.1.5 pre3
> --
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Problem with iputed files

2000-05-26 Thread Emmanuel GUREGHIAN

Hello

As I am getting back in lyx business ;-) , excuse me if the bug was
already referenced.

I have a main document wich input other lyx documents which are placed
in sub directories.
But as soon as I have done one ps rendering or saved the document, the /
sign which
delimit the directory name in the input inset is changed in an @.

Anyone has a clue about it ?

Thanks

BTW I am using lyx 1.1.5 pre3
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



Idea about the style listbox

2000-02-11 Thread Emmanuel GUREGHIAN

Would not it be preferable to take off the style listbox and put it 
directly in the menu on the right side.

better:
- it is more user friendly since -for me-:
- cursor is quite always on the right side of the window. 
- Furthemore the xform listbox is poorly designed.
- easier programming ?
- the toolbar is button only right now
- multi toolkit programming could be easier ?

worse:
- the menu now needs dynamic update
- philosophical (i mean GUI considerations) ?

My point of view (altought I don't program for lyx) is that 
multi-toolkit => wrappers or a meta level API above the toolkits.
If this point of view is true, I think it should be easier to
put a wrapper around the menu code than to the toolbar code.

Question number 1: Is there somebody who has understood
the text above ;-)
Question number 2: if you answered yes to question number 1
what do you think ?
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)



back with the matrix dialog

1998-12-23 Thread Emmanuel GUREGHIAN

Hello 

After making up my mind, I have tried to change the matrix dialog in
math_forms.fd
in such a way that size does not change. The side effect is that buttons
are now
on the right.

Emmanuel

P.S: I won't be on the net until the 4th of january
-- 
  |\  _,,,---,,_   Emmanuel GUREGHIAN   
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
 |,4-  ) )-,_. ,\ (  `'-'  
'---''(_/--'  `-'\_)

Magic: 13000

Internal Form Definition File
(do not change)

Number of forms: 5
Unit of measure: FL_COORD_PIXEL
SnapGrid: 2

=== FORM ===
Name: panel
Width: 290
Height: 172
Number of Objects: 16


class: FL_BOX
type: UP_BOX
box: 0 0 290 172
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 


class: FL_BUTTON
type: RETURN_BUTTON
box: 80 14 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Close 
shortcut: ^M
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: button_cb
argument: 100


class: FL_BROWSER
type: SELECT_BROWSER
box: 180 40 94 110
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_YELLOW
alignment: FL_ALIGN_TOP
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Functions
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: func_browse
callback: button_cb
argument: MM_FUNC
  h_pref: FL_OFF


class: FL_BUTTON
type: NORMAL_BUTTON
box: 10 90 50 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: 15
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Greek
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: greek
callback: button_cb
argument: MM_GREEK


class: FL_BUTTON
type: NORMAL_BUTTON
box: 10 120 50 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: 15
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: ­ Û
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: arrow
callback: button_cb
argument: MM_ARROW


class: FL_BUTTON
type: NORMAL_BUTTON
box: 60 90 50 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: 15
size: 0
lcol: FL_BLACK
label: ± ´
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: boperator
callback: button_cb
argument: MM_BOP


class: FL_BUTTON
type: NORMAL_BUTTON
box: 110 90 50 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: 15
size: 0
lcol: FL_BLACK
label: £ @
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: brelats
callback: button_cb
argument: MM_BRELATS


class: FL_BUTTON
type: NORMAL_BUTTON
box: 60 120 50 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: 15
size: 0
lcol: FL_BLACK
label: S  ò
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: varsize
callback: button_cb
argument: MM_VARSIZE


class: FL_BUTTON
type: NORMAL_BUTTON
box: 110 120 50 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_TIMESITALIC_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Misc
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: misc
callback: button_cb
argument: MM_MISC


class: FL_PIXMAPBUTTON
type: NORMAL_BUTTON
box: 130 50 30 30
boxtype: FL_UP_BOX
colors: FL_MCOL FL_BLUE
alignment: FL_ALIGN_BOTTOM
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: equation
callback: button_cb
argument: MM_EQU


class: FL_PIXMAPBUTTON
type: NORMAL_BUTTON
box: 10 15 30 30
boxtype: FL_UP_BOX
colors: FL_MCOL FL_BLUE
alignment: FL_ALIGN_BOTTOM
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: sqrt
callback: button_cb
argument: MM_SQRT


class: FL_PIXMAPBUTTON
type: NORMAL_BUTTON
box: 40 15 30 30
boxtype: FL_UP_BOX
colors: FL_MCOL FL_BLUE
alignment: FL_ALIGN_BOTTOM
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_COL1
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: frac
callback: button_cb
argument: MM_FRAC


class: FL_PIXMAPBUTTON
type: NORMAL_BUTTON
box: 10 50 30 30
boxtype: FL_UP_BOX
colors: FL_MCOL FL_BLUE
alignment: FL_ALIGN_BOTTOM
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: delim
callback: button_cb
argument: MM_DELIM

-

Proposition to modify Matrix Dialog Box

1998-12-10 Thread Emmanuel GUREGHIAN

Hello

  In the matrix dialog there are 2 xforms val-sliders for lines and the
columns :

||
| [==line-valslider==]   [centering] |
| [=colums valslider]   [center]|
||

Couldn't we redesign and make the line slider vertical
(fdesign accepts it)
it this way it seems more intuitive to me

|---|
| [===columns val slider===]|
| [|l|  |
| [|i|centering |
| [|n|center|
| [|e|  |
| [| |  |
| [|s|  |
| [|l|  |
| [|i|  |
| [|d|  |
| [|e|  |
| [|r|  |
| [|-|  |
\-

I think it is only a matter of fdesign no progrtammation is required.

Emmanuel GUREGHIAN

-- 

   |\  _,,,---,,_   Emmanuel GUREGHIAN   
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED] 
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)