Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread David Martin



I have just compiled and installed 1.15fix1 under Redhat Linux 6.2
x86 with version 0.89 of the XForms library on my new laptop. About midnight
last night I discovered, much to my surprise, that an accidental
middle mouse button click over the information bar at the bottom of the
Lyx window will produce a core dump - every time, without fail. Thank
god for emergency saves I have not yet dissected the core file,
so I don't know where it is falling over, but if any of the developers
want more information I can provide it. Anybody else able to reproduce
this?
FYI I am running it under XFree86 3.3.6 with the KDE window manager
v0.14 patch level 3.
--
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND



Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread Baruch Even

On Tue, 8 Aug 2000, David Martin wrote:

 I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
 with version 0.89 of the XForms library on my new laptop. About midnight
 last night I discovered, much to my surprise, that an accidental  middle
 mouse button click over the information bar at the bottom of the Lyx
 window will produce a core dump - every time, without fail.  Thank god
 for emergency saves  I have not yet dissected the core file, so I
 don't know where it is falling over, but if any of the developers want
 more information I can provide it.  Anybody else able to reproduce this?
 
 FYI I am running it under XFree86 3.3.6 with the KDE window manager
 v0.14 patch level 3.

I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program for
it), but I don't see anything like that, a middle mouse click will just
select the info bar.

If you can provide the backtrace from the core it could help.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Problem or bug with footnotes in a description environment

2000-08-08 Thread Emanuele Gissi Alessia Franceschi

Hi,

I am tring to put a footnote at the end of a label in a "description"
environment. This does not work properly: either the footnotes shows but there
is a blank space between the label and the indice or the indice is well
positioned but the footnote does not show at all...
How to do that in a working way?

I include a little example.
I am using LyX 1.1.5fix1 on a i386 with Linux Mandrake.

Emanuele Gissi

PS A week ago, I posted a mail regarding accented characters and so on.
Thanks for the help: now, my wife and me happily use the "compose" key on our
keyboard. I also erased with a solvent the small MS-Win flag on the top of
the "compose" button ;-)

-- 
Emanuele Gissi  Alessia Franceschi
via Damiano Chiesa 20/B
60123 Ancona - Italia
tel: 0039 071 32979 - email: [EMAIL PROTECTED]
fax: 0039 071 220.2256

"L'imagination, ce n'est pas le mensonge"
[Daniel Pennac - Messieurs les enfants, ed. Gallimard, Paris, 1997]

 example.lyx.gz


Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread David Martin


Baruch Even wrote:
On Tue, 8 Aug 2000, David Martin wrote:
> I have just compiled and installed 1.15fix1 under Redhat Linux 6.2
x86
> with version 0.89 of the XForms library on my new laptop. About midnight
> last night I discovered, much to my surprise, that an accidental
middle
> mouse button click over the information bar at the bottom of the
Lyx
> window will produce a core dump - every time, without fail.
Thank god
> for emergency saves I have not yet dissected the core file,
so I
> don't know where it is falling over, but if any of the developers
want
> more information I can provide it. Anybody else able to reproduce
this?
>
> FYI I am running it under XFree86 3.3.6 with the KDE window manager
> v0.14 patch level 3.
I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program
for
it), but I don't see anything like that, a middle mouse click will
just
select the info bar.
If you can provide the backtrace from the core it could help.
After a few hours of sleep I can add that the X paste buffer must be empty
for the crash to occur. If the X paste buffer contains something
then it just pastes the contents of the buffer into the infobar (why is
it editable at all?). The traceback shows the forms library clipboard
request code to be the culprit, my amateurish guess is that it is not handling
the empty X paste buffer gracefully - but what do I know?:
(gdb) bt
#0 0x4024fd41 in __kill () from /lib/libc.so.6
#1 0x4024f9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x402510d8 in abort () at ../sysdeps/generic/abort.c:88
#3 0x812a99c in lyx::chdir (name=0x400d59d4 "\013")
at abort.C:9
#4 0x809f053 in error_handler (err_sig=11) at ../src/lyx_main.C:766
#5 0x4024fc68 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#6 0x40071a7a in gotit_cb () from /usr/lib/libforms.so.0.89
#7 0x40039551 in fl_request_clipboard () from /usr/lib/libforms.so.0.89
#8 0x40071ac1 in do_XPaste () from /usr/lib/libforms.so.0.89
#9 0x40071e5f in handle_it () from /usr/lib/libforms.so.0.89
#10 0x400788f3 in fl_handle_it () from /usr/lib/libforms.so.0.89
#11 0x400789b5 in fl_handle_object () from /usr/lib/libforms.so.0.89
#12 0x4004d59b in fl_handle_form () from /usr/lib/libforms.so.0.89
#13 0x4004e61f in do_interaction_step () from /usr/lib/libforms.so.0.89
#14 0x4004e649 in fl_treat_interaction_events () from /usr/lib/libforms.so.0.89
#15 0x4004e684 in fl_check_forms () from /usr/lib/libforms.so.0.89
#16 0x809b705 in LyXGUI::runTime (this=0x81b0928) at lyx_gui.C:596
#17 0x809c8a8 in LyX::LyX (this=0xbb44, argc=0xbb60, argv=0xbba4)
 at ../src/lyx_main.C:158
#18 0x80b8324 in main (argc=1, argv=0xbba4) at ../src/main.C:75
(gdb)
Hope this helps.
--
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND



Enumerate kludge

2000-08-08 Thread david . lomas

I'm trying to achieve this effect with enumerate:

"There are 3 options, which are:

1. Option 1

2. Option 2

and finally, under very specific circumstances:

3. Option 3

Those are all the options."

Obviously, Option 3 comes out as a new Option 1 if I just start a new
enumerate environment, and the text between options 2  3 can be nested,
as it wants to be fully left justified (its not specific to option 2).
The only way I've been able to do this so far is to replace option 3
with the rather horrible:

"\being{enumerate}
\setcounter{enumi}{2}
\item Option 3"

This works, but won't if the final option becomes option 4 for example
(unless I remember to change the \setcounter command).

So is there a standard environment type I could use for the intervening
text which would be both left justified like the normal environment and
doesn't reset the enumi counter back to 1?

A CC: by email would be most appreciated, as I only have a temporary
email address at the moment and don't want to subscribe until I have a
permanent one.

Thanks,

David.



Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread Kenward Vaughan

On Tue, Aug 08, 2000 at 09:57:16AM +0300, David Martin wrote:
 
 I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
 with version 0.89 of the XForms library on my new laptop. About midnight
 last night I discovered, much to my surprise, that an accidental  middle
 mouse button click over the information bar at the bottom of the Lyx
 window will produce a core dump - every time, without fail.  Thank god
 for emergency saves  I have not yet dissected the core file, so I
 don't know where it is falling over, but if any of the developers want
 more information I can provide it.  Anybody else able to reproduce this?
 
 FYI I am running it under XFree86 3.3.6 with the KDE window manager
 v0.14 patch level 3.

Hmm.. quick shortcut to close the app, eh?  It does the same thing on
1.1.4fix3 (I'm running Debian potato and haven't upgraded to the 1.1.5
version yet).

I don't know where to check for core dumps, sorry.  Lyx simply disappears
on me.

I'm running under Gnome/XFree 3.3.6/icewm-gnome.

Someone mentioned xforms.. here's a partial list of ldd ...

daddy:/usr/X11R6/bin# ldd lyx
libforms.so.0.89 = /usr/X11R6/lib/libforms.so.0.89 (0x40018000)
libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4 (0x400f1000)
(...)

Kenward
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--



Re: Enumerate kludge

2000-08-08 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
 
 I'm trying to achieve this effect with enumerate:
 
 "There are 3 options, which are:
 
 1. Option 1
 
 2. Option 2
 
 and finally, under very specific circumstances:
 
 3. Option 3
 
 Those are all the options."

\usepackage{mdwlist}

in latex preamble and in lyx (just a little bit tricky, but it works
...)

--- lyx text (all lines enzmerate-style!)

1. Option 1 

2. Option 2 \suspend{enumerate}ctrl-enter
 bla bla bla bla bla text ... remember that this must follow a
ctrl-enter in the line above. new lines possible with anothetr
ctrl-enter, sio that you can write what you want. ctrl-enter
the next item has the right number.\resume{enumerate}

3. Option 3

4. Option 4

--- end lyx text---

for better understanding look at the example-file

Herbert

P.S. mdwlist is part of mdwtools
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/mdwtools/


-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Enumerate kludge

2000-08-08 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
 
 I'm trying to achieve this effect with enumerate:
 
 "There are 3 options, which are:
 

sorry, the example-file ...

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 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

This is an example for mdwtools.
\layout Enumerate

Option 1
\layout Enumerate

Option 2 
\latex latex 

\backslash 
suspend{enumerate} 
\newline 

\latex default 
bla bla bla bla bla
\latex latex 
 
\latex default 
text ...
 rember that this must follow a ctrl-enter in the line above
\latex latex 
.
 
\latex default 
new lines possible with anothetr ctrl-enter, sio that you can write what
 you want.
 
\newline 
the next item has the right number.
\latex latex 

\backslash 
resume{enumerate}
\layout Enumerate

Option 3
\layout Enumerate

Option 4
\layout Standard

\the_end



Problem with crash on startup

2000-08-08 Thread Florian Cramer

I just installed Lyx 1.1.5fix1 on a notebook - in an unconventional setup
based on the "Tomakus" mini distribution - and ran into problems upon
starting the program. When I start with all debug options enabled, I get the
following messages:

[...]
Workarea event:DRAW
InitLyXLookup: X does not support this locale
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. []

Any ideas how to get rid of this behaviour?

Florian




Re: \usepackage{algorithm} and Export as TeX

2000-08-08 Thread Herbert Voss

Frank Mahler wrote:
 
 Hi there!
 
 I'm just trying to convert my thesis into pdf and recently had efforts
 using hyperref and LyX's export as TeX function (unfortunately using
 hyperref within the LyX's LaTeX preambel was unsuccessful).
 
 Funny, though, that all algorithm floats had its caption below the
 (LyX)-code and not at its top (this is the standard way and LyX produces
 DVI files that look correct, only LaTeX does not!)...
 
 Perhaps this has something to do with hyperref which does not seem to
 support algorithm references (I also need a workaround for this sooner
 or later).

can you give a short example-file?

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Floats vertical placement

2000-08-08 Thread Herbert Voss

Aleksandr Konstantinov wrote:
 
 Hello
 
   I have problem trying make picture floats in my text look pretty.
 I put them mostly at dedicated pages (using [p]). It look ok if
 page is filled. But when, for example, I have 3 pictures to place on two
 pages they are put 2 on first and 1 on second. Last picture is centered
 vertically on page. When those two pages are viewed simultaneously it
 looks
 ugly.
  I looked for solution foe whole day and found nothing (probaly looking
 in wrong
 place). Is it any way to make floats not vertically centered ?

try a

\vspace{10cm} behind caption in a new line (!)

or behind the picture, if the caption is above (also in a new line!)
the value of 10cm is only an example. the problem is that \vfill does'nt
wirk in a float.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



LyX beginner

2000-08-08 Thread Li Bing

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

 ---
See you!   __|__  ##   CSE, ASU  ##  www.public.asu.edu/~libing   ##
   _/|\_  ##   480-965-1746 (O)  ##  [EMAIL PROTECTED]__o   ##
Li Bing__7__  ##   480-965-3753 (L)  ##   _'\,_  ##
__   J##   480-829-8492 (H)  ##  (*)/_(*) ##
___/   __ \__ |
  ) _\_)_)\ __|__
 / ()/|\
  (_) / / | \_
--\___() \|




Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread David Martin



I have just compiled and installed 1.15fix1 under Redhat Linux 6.2
x86 with version 0.89 of the XForms library on my new laptop. About midnight
last night I discovered, much to my surprise, that an accidental
middle mouse button click over the information bar at the bottom of the
Lyx window will produce a core dump - every time, without fail. Thank
god for emergency saves I have not yet dissected the core file,
so I don't know where it is falling over, but if any of the developers
want more information I can provide it. Anybody else able to reproduce
this?
FYI I am running it under XFree86 3.3.6 with the KDE window manager
v0.14 patch level 3.
--
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND



Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread Baruch Even

On Tue, 8 Aug 2000, David Martin wrote:

 I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
 with version 0.89 of the XForms library on my new laptop. About midnight
 last night I discovered, much to my surprise, that an accidental  middle
 mouse button click over the information bar at the bottom of the Lyx
 window will produce a core dump - every time, without fail.  Thank god
 for emergency saves  I have not yet dissected the core file, so I
 don't know where it is falling over, but if any of the developers want
 more information I can provide it.  Anybody else able to reproduce this?
 
 FYI I am running it under XFree86 3.3.6 with the KDE window manager
 v0.14 patch level 3.

I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program for
it), but I don't see anything like that, a middle mouse click will just
select the info bar.

If you can provide the backtrace from the core it could help.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers ADD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Problem or bug with footnotes in a description environment

2000-08-08 Thread Emanuele Gissi Alessia Franceschi

Hi,

I am tring to put a footnote at the end of a label in a "description"
environment. This does not work properly: either the footnotes shows but there
is a blank space between the label and the indice or the indice is well
positioned but the footnote does not show at all...
How to do that in a working way?

I include a little example.
I am using LyX 1.1.5fix1 on a i386 with Linux Mandrake.

Emanuele Gissi

PS A week ago, I posted a mail regarding accented characters and so on.
Thanks for the help: now, my wife and me happily use the "compose" key on our
keyboard. I also erased with a solvent the small MS-Win flag on the top of
the "compose" button ;-)

-- 
Emanuele Gissi  Alessia Franceschi
via Damiano Chiesa 20/B
60123 Ancona - Italia
tel: 0039 071 32979 - email: [EMAIL PROTECTED]
fax: 0039 071 220.2256

"L'imagination, ce n'est pas le mensonge"
[Daniel Pennac - Messieurs les enfants, ed. Gallimard, Paris, 1997]

 example.lyx.gz


Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread David Martin


Baruch Even wrote:
On Tue, 8 Aug 2000, David Martin wrote:
> I have just compiled and installed 1.15fix1 under Redhat Linux 6.2
x86
> with version 0.89 of the XForms library on my new laptop. About midnight
> last night I discovered, much to my surprise, that an accidental
middle
> mouse button click over the information bar at the bottom of the
Lyx
> window will produce a core dump - every time, without fail.
Thank god
> for emergency saves I have not yet dissected the core file,
so I
> don't know where it is falling over, but if any of the developers
want
> more information I can provide it. Anybody else able to reproduce
this?
>
> FYI I am running it under XFree86 3.3.6 with the KDE window manager
> v0.14 patch level 3.
I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program
for
it), but I don't see anything like that, a middle mouse click will
just
select the info bar.
If you can provide the backtrace from the core it could help.
After a few hours of sleep I can add that the X paste buffer must be empty
for the crash to occur. If the X paste buffer contains something
then it just pastes the contents of the buffer into the infobar (why is
it editable at all?). The traceback shows the forms library clipboard
request code to be the culprit, my amateurish guess is that it is not handling
the empty X paste buffer gracefully - but what do I know?:
(gdb) bt
#0 0x4024fd41 in __kill () from /lib/libc.so.6
#1 0x4024f9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x402510d8 in abort () at ../sysdeps/generic/abort.c:88
#3 0x812a99c in lyx::chdir (name=0x400d59d4 "\013")
at abort.C:9
#4 0x809f053 in error_handler (err_sig=11) at ../src/lyx_main.C:766
#5 0x4024fc68 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#6 0x40071a7a in gotit_cb () from /usr/lib/libforms.so.0.89
#7 0x40039551 in fl_request_clipboard () from /usr/lib/libforms.so.0.89
#8 0x40071ac1 in do_XPaste () from /usr/lib/libforms.so.0.89
#9 0x40071e5f in handle_it () from /usr/lib/libforms.so.0.89
#10 0x400788f3 in fl_handle_it () from /usr/lib/libforms.so.0.89
#11 0x400789b5 in fl_handle_object () from /usr/lib/libforms.so.0.89
#12 0x4004d59b in fl_handle_form () from /usr/lib/libforms.so.0.89
#13 0x4004e61f in do_interaction_step () from /usr/lib/libforms.so.0.89
#14 0x4004e649 in fl_treat_interaction_events () from /usr/lib/libforms.so.0.89
#15 0x4004e684 in fl_check_forms () from /usr/lib/libforms.so.0.89
#16 0x809b705 in LyXGUI::runTime (this=0x81b0928) at lyx_gui.C:596
#17 0x809c8a8 in LyX::LyX (this=0xbb44, argc=0xbb60, argv=0xbba4)
 at ../src/lyx_main.C:158
#18 0x80b8324 in main (argc=1, argv=0xbba4) at ../src/main.C:75
(gdb)
Hope this helps.
--
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND



Enumerate kludge

2000-08-08 Thread david . lomas

I'm trying to achieve this effect with enumerate:

"There are 3 options, which are:

1. Option 1

2. Option 2

and finally, under very specific circumstances:

3. Option 3

Those are all the options."

Obviously, Option 3 comes out as a new Option 1 if I just start a new
enumerate environment, and the text between options 2  3 can be nested,
as it wants to be fully left justified (its not specific to option 2).
The only way I've been able to do this so far is to replace option 3
with the rather horrible:

"\being{enumerate}
\setcounter{enumi}{2}
\item Option 3"

This works, but won't if the final option becomes option 4 for example
(unless I remember to change the \setcounter command).

So is there a standard environment type I could use for the intervening
text which would be both left justified like the normal environment and
doesn't reset the enumi counter back to 1?

A CC: by email would be most appreciated, as I only have a temporary
email address at the moment and don't want to subscribe until I have a
permanent one.

Thanks,

David.



Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread Kenward Vaughan

On Tue, Aug 08, 2000 at 09:57:16AM +0300, David Martin wrote:
 
 I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
 with version 0.89 of the XForms library on my new laptop. About midnight
 last night I discovered, much to my surprise, that an accidental  middle
 mouse button click over the information bar at the bottom of the Lyx
 window will produce a core dump - every time, without fail.  Thank god
 for emergency saves  I have not yet dissected the core file, so I
 don't know where it is falling over, but if any of the developers want
 more information I can provide it.  Anybody else able to reproduce this?
 
 FYI I am running it under XFree86 3.3.6 with the KDE window manager
 v0.14 patch level 3.

Hmm.. quick shortcut to close the app, eh?  It does the same thing on
1.1.4fix3 (I'm running Debian potato and haven't upgraded to the 1.1.5
version yet).

I don't know where to check for core dumps, sorry.  Lyx simply disappears
on me.

I'm running under Gnome/XFree 3.3.6/icewm-gnome.

Someone mentioned xforms.. here's a partial list of ldd ...

daddy:/usr/X11R6/bin# ldd lyx
libforms.so.0.89 = /usr/X11R6/lib/libforms.so.0.89 (0x40018000)
libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4 (0x400f1000)
(...)

Kenward
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--



Re: Enumerate kludge

2000-08-08 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
 
 I'm trying to achieve this effect with enumerate:
 
 "There are 3 options, which are:
 
 1. Option 1
 
 2. Option 2
 
 and finally, under very specific circumstances:
 
 3. Option 3
 
 Those are all the options."

\usepackage{mdwlist}

in latex preamble and in lyx (just a little bit tricky, but it works
...)

--- lyx text (all lines enzmerate-style!)

1. Option 1 

2. Option 2 \suspend{enumerate}ctrl-enter
 bla bla bla bla bla text ... remember that this must follow a
ctrl-enter in the line above. new lines possible with anothetr
ctrl-enter, sio that you can write what you want. ctrl-enter
the next item has the right number.\resume{enumerate}

3. Option 3

4. Option 4

--- end lyx text---

for better understanding look at the example-file

Herbert

P.S. mdwlist is part of mdwtools
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/mdwtools/


-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Enumerate kludge

2000-08-08 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
 
 I'm trying to achieve this effect with enumerate:
 
 "There are 3 options, which are:
 

sorry, the example-file ...

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 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

This is an example for mdwtools.
\layout Enumerate

Option 1
\layout Enumerate

Option 2 
\latex latex 

\backslash 
suspend{enumerate} 
\newline 

\latex default 
bla bla bla bla bla
\latex latex 
 
\latex default 
text ...
 rember that this must follow a ctrl-enter in the line above
\latex latex 
.
 
\latex default 
new lines possible with anothetr ctrl-enter, sio that you can write what
 you want.
 
\newline 
the next item has the right number.
\latex latex 

\backslash 
resume{enumerate}
\layout Enumerate

Option 3
\layout Enumerate

Option 4
\layout Standard

\the_end



Problem with crash on startup

2000-08-08 Thread Florian Cramer

I just installed Lyx 1.1.5fix1 on a notebook - in an unconventional setup
based on the "Tomakus" mini distribution - and ran into problems upon
starting the program. When I start with all debug options enabled, I get the
following messages:

[...]
Workarea event:DRAW
InitLyXLookup: X does not support this locale
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. []

Any ideas how to get rid of this behaviour?

Florian




Re: \usepackage{algorithm} and Export as TeX

2000-08-08 Thread Herbert Voss

Frank Mahler wrote:
 
 Hi there!
 
 I'm just trying to convert my thesis into pdf and recently had efforts
 using hyperref and LyX's export as TeX function (unfortunately using
 hyperref within the LyX's LaTeX preambel was unsuccessful).
 
 Funny, though, that all algorithm floats had its caption below the
 (LyX)-code and not at its top (this is the standard way and LyX produces
 DVI files that look correct, only LaTeX does not!)...
 
 Perhaps this has something to do with hyperref which does not seem to
 support algorithm references (I also need a workaround for this sooner
 or later).

can you give a short example-file?

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Floats vertical placement

2000-08-08 Thread Herbert Voss

Aleksandr Konstantinov wrote:
 
 Hello
 
   I have problem trying make picture floats in my text look pretty.
 I put them mostly at dedicated pages (using [p]). It look ok if
 page is filled. But when, for example, I have 3 pictures to place on two
 pages they are put 2 on first and 1 on second. Last picture is centered
 vertically on page. When those two pages are viewed simultaneously it
 looks
 ugly.
  I looked for solution foe whole day and found nothing (probaly looking
 in wrong
 place). Is it any way to make floats not vertically centered ?

try a

\vspace{10cm} behind caption in a new line (!)

or behind the picture, if the caption is above (also in a new line!)
the value of 10cm is only an example. the problem is that \vfill does'nt
wirk in a float.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



LyX beginner

2000-08-08 Thread Li Bing

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

 ---
See you!   __|__  ##   CSE, ASU  ##  www.public.asu.edu/~libing   ##
   _/|\_  ##   480-965-1746 (O)  ##  [EMAIL PROTECTED]__o   ##
Li Bing__7__  ##   480-965-3753 (L)  ##   _'\,_  ##
__   J##   480-829-8492 (H)  ##  (*)/_(*) ##
___/   __ \__ |
  ) _\_)_)\ __|__
 / ()/|\
  (_) / / | \_
--\___() \|




Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread David Martin


 
I have just compiled and installed 1.15fix1 under Redhat Linux 6.2
x86 with version 0.89 of the XForms library on my new laptop. About midnight
last night I discovered, much to my surprise, that an accidental 
middle mouse button click over the information bar at the bottom of the
Lyx window will produce a core dump - every time, without fail.  Thank
god for emergency saves  I have not yet dissected the core file,
so I don't know where it is falling over, but if any of the developers
want more information I can provide it.  Anybody else able to reproduce
this?
FYI I am running it under XFree86 3.3.6 with the KDE window manager
v0.14 patch level 3.
-- 
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND
 


Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread Baruch Even

On Tue, 8 Aug 2000, David Martin wrote:

> I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
> with version 0.89 of the XForms library on my new laptop. About midnight
> last night I discovered, much to my surprise, that an accidental  middle
> mouse button click over the information bar at the bottom of the Lyx
> window will produce a core dump - every time, without fail.  Thank god
> for emergency saves  I have not yet dissected the core file, so I
> don't know where it is falling over, but if any of the developers want
> more information I can provide it.  Anybody else able to reproduce this?
> 
> FYI I am running it under XFree86 3.3.6 with the KDE window manager
> v0.14 patch level 3.

I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program for
it), but I don't see anything like that, a middle mouse click will just
select the info bar.

If you can provide the backtrace from the core it could help.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers AD site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Problem or bug with footnotes in a description environment

2000-08-08 Thread Emanuele Gissi & Alessia Franceschi

Hi,

I am tring to put a footnote at the end of a label in a "description"
environment. This does not work properly: either the footnotes shows but there
is a blank space between the label and the indice or the indice is well
positioned but the footnote does not show at all...
How to do that in a working way?

I include a little example.
I am using LyX 1.1.5fix1 on a i386 with Linux Mandrake.

Emanuele Gissi

PS A week ago, I posted a mail regarding accented characters and so on.
Thanks for the help: now, my wife and me happily use the "compose" key on our
keyboard. I also erased with a solvent the small MS-Win flag on the top of
the "compose" button ;-)

-- 
Emanuele Gissi & Alessia Franceschi
via Damiano Chiesa 20/B
60123 Ancona - Italia
tel: 0039 071 32979 - email: [EMAIL PROTECTED]
fax: 0039 071 220.2256

"L'imagination, ce n'est pas le mensonge"
[Daniel Pennac - Messieurs les enfants, ed. Gallimard, Paris, 1997]

 example.lyx.gz


Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread David Martin


Baruch Even wrote:
On Tue, 8 Aug 2000, David Martin wrote:
> I have just compiled and installed 1.15fix1 under Redhat Linux 6.2
x86
> with version 0.89 of the XForms library on my new laptop. About midnight
> last night I discovered, much to my surprise, that an accidental 
middle
> mouse button click over the information bar at the bottom of the
Lyx
> window will produce a core dump - every time, without fail. 
Thank god
> for emergency saves  I have not yet dissected the core file,
so I
> don't know where it is falling over, but if any of the developers
want
> more information I can provide it.  Anybody else able to reproduce
this?
>
> FYI I am running it under XFree86 3.3.6 with the KDE window manager
> v0.14 patch level 3.
I don't have 1.1.5fix1 installed (I use 1.1.6cvs, since I also program
for
it), but I don't see anything like that, a middle mouse click will
just
select the info bar.
If you can provide the backtrace from the core it could help.
After a few hours of sleep I can add that the X paste buffer must be empty
for the crash to occur.  If the X paste buffer contains something
then it just pastes the contents of the buffer into the infobar (why is
it editable at all?).  The traceback shows the forms library clipboard
request code to be the culprit, my amateurish guess is that it is not handling
the empty X paste buffer gracefully - but what do I know?:
(gdb) bt
#0  0x4024fd41 in __kill () from /lib/libc.so.6
#1  0x4024f9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x402510d8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x812a99c in lyx::chdir (name=0x400d59d4 "àÊ\013")
at abort.C:9
#4  0x809f053 in error_handler (err_sig=11) at ../src/lyx_main.C:766
#5  0x4024fc68 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#6  0x40071a7a in gotit_cb () from /usr/lib/libforms.so.0.89
#7  0x40039551 in fl_request_clipboard () from /usr/lib/libforms.so.0.89
#8  0x40071ac1 in do_XPaste () from /usr/lib/libforms.so.0.89
#9  0x40071e5f in handle_it () from /usr/lib/libforms.so.0.89
#10 0x400788f3 in fl_handle_it () from /usr/lib/libforms.so.0.89
#11 0x400789b5 in fl_handle_object () from /usr/lib/libforms.so.0.89
#12 0x4004d59b in fl_handle_form () from /usr/lib/libforms.so.0.89
#13 0x4004e61f in do_interaction_step () from /usr/lib/libforms.so.0.89
#14 0x4004e649 in fl_treat_interaction_events () from /usr/lib/libforms.so.0.89
#15 0x4004e684 in fl_check_forms () from /usr/lib/libforms.so.0.89
#16 0x809b705 in LyXGUI::runTime (this=0x81b0928) at lyx_gui.C:596
#17 0x809c8a8 in LyX::LyX (this=0xbb44, argc=0xbb60, argv=0xbba4)
    at ../src/lyx_main.C:158
#18 0x80b8324 in main (argc=1, argv=0xbba4) at ../src/main.C:75
(gdb)
Hope this helps.
-- 
David C Martin ([EMAIL PROTECTED])
Materials Engineering Laboratory,
Mechanical Engineering Department,
University of Oulu
PO Box 4200
Oulun Yliopisto 90014 FINLAND
 


Enumerate kludge

2000-08-08 Thread david . lomas

I'm trying to achieve this effect with enumerate:

"There are 3 options, which are:

1. Option 1

2. Option 2

and finally, under very specific circumstances:

3. Option 3

Those are all the options."

Obviously, Option 3 comes out as a new Option 1 if I just start a new
enumerate environment, and the text between options 2 & 3 can be nested,
as it wants to be fully left justified (its not specific to option 2).
The only way I've been able to do this so far is to replace option 3
with the rather horrible:

"\being{enumerate}
\setcounter{enumi}{2}
\item Option 3"

This works, but won't if the final option becomes option 4 for example
(unless I remember to change the \setcounter command).

So is there a standard environment type I could use for the intervening
text which would be both left justified like the normal environment and
doesn't reset the enumi counter back to 1?

A CC: by email would be most appreciated, as I only have a temporary
email address at the moment and don't want to subscribe until I have a
permanent one.

Thanks,

David.



Re: Surefire method to crash Lyx 1.15fix1

2000-08-08 Thread Kenward Vaughan

On Tue, Aug 08, 2000 at 09:57:16AM +0300, David Martin wrote:
> 
> I have just compiled and installed 1.15fix1 under Redhat Linux 6.2 x86
> with version 0.89 of the XForms library on my new laptop. About midnight
> last night I discovered, much to my surprise, that an accidental  middle
> mouse button click over the information bar at the bottom of the Lyx
> window will produce a core dump - every time, without fail.  Thank god
> for emergency saves  I have not yet dissected the core file, so I
> don't know where it is falling over, but if any of the developers want
> more information I can provide it.  Anybody else able to reproduce this?
> 
> FYI I am running it under XFree86 3.3.6 with the KDE window manager
> v0.14 patch level 3.

Hmm.. quick shortcut to close the app, eh?  It does the same thing on
1.1.4fix3 (I'm running Debian potato and haven't upgraded to the 1.1.5
version yet).

I don't know where to check for core dumps, sorry.  Lyx simply disappears
on me.

I'm running under Gnome/XFree 3.3.6/icewm-gnome.

Someone mentioned xforms.. here's a partial list of ldd ...

daddy:/usr/X11R6/bin# ldd lyx
libforms.so.0.89 => /usr/X11R6/lib/libforms.so.0.89 (0x40018000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x400f1000)
(...)

Kenward
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--



Re: Enumerate kludge

2000-08-08 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
> 
> I'm trying to achieve this effect with enumerate:
> 
> "There are 3 options, which are:
> 
> 1. Option 1
> 
> 2. Option 2
> 
> and finally, under very specific circumstances:
> 
> 3. Option 3
> 
> Those are all the options."

\usepackage{mdwlist}

in latex preamble and in lyx (just a little bit tricky, but it works
...)

--- lyx text (all lines enzmerate-style!)

1. Option 1 

2. Option 2 \suspend{enumerate}
 bla bla bla bla bla text ... remember that this must follow a
ctrl-enter in the line above. new lines possible with anothetr
ctrl-enter, sio that you can write what you want. 
the next item has the right number.\resume{enumerate}

3. Option 3

4. Option 4

--- end lyx text---

for better understanding look at the example-file

Herbert

P.S. mdwlist is part of mdwtools
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/mdwtools/


-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Enumerate kludge

2000-08-08 Thread Herbert Voss

[EMAIL PROTECTED] wrote:
> 
> I'm trying to achieve this effect with enumerate:
> 
> "There are 3 options, which are:
> 

sorry, the example-file ...

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 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

This is an example for mdwtools.
\layout Enumerate

Option 1
\layout Enumerate

Option 2 
\latex latex 

\backslash 
suspend{enumerate} 
\newline 

\latex default 
bla bla bla bla bla
\latex latex 
 
\latex default 
text ...
 rember that this must follow a ctrl-enter in the line above
\latex latex 
.
 
\latex default 
new lines possible with anothetr ctrl-enter, sio that you can write what
 you want.
 
\newline 
the next item has the right number.
\latex latex 

\backslash 
resume{enumerate}
\layout Enumerate

Option 3
\layout Enumerate

Option 4
\layout Standard

\the_end



Problem with crash on startup

2000-08-08 Thread Florian Cramer

I just installed Lyx 1.1.5fix1 on a notebook - in an unconventional setup
based on the "Tomakus" mini distribution - and ran into problems upon
starting the program. When I start with all debug options enabled, I get the
following messages:

[...]
Workarea event:DRAW
InitLyXLookup: X does not support this locale
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. []

Any ideas how to get rid of this behaviour?

Florian




Re: \usepackage{algorithm} and "Export as TeX"

2000-08-08 Thread Herbert Voss

Frank Mahler wrote:
> 
> Hi there!
> 
> I'm just trying to convert my thesis into pdf and recently had efforts
> using hyperref and LyX's export as TeX function (unfortunately using
> hyperref within the LyX's LaTeX preambel was unsuccessful).
> 
> Funny, though, that all algorithm floats had its caption below the
> (LyX)-code and not at its top (this is the standard way and LyX produces
> DVI files that look correct, only LaTeX does not!)...
> 
> Perhaps this has something to do with hyperref which does not seem to
> support algorithm references (I also need a workaround for this sooner
> or later).

can you give a short example-file?

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Floats vertical placement

2000-08-08 Thread Herbert Voss

Aleksandr Konstantinov wrote:
> 
> Hello
> 
>   I have problem trying make picture floats in my text look pretty.
> I put them mostly at dedicated pages (using [p]). It look ok if
> page is filled. But when, for example, I have 3 pictures to place on two
> pages they are put 2 on first and 1 on second. Last picture is centered
> vertically on page. When those two pages are viewed simultaneously it
> looks
> ugly.
>  I looked for solution foe whole day and found nothing (probaly looking
> in wrong
> place). Is it any way to make floats not vertically centered ?

try a

\vspace{10cm} behind caption in a new line (!)

or behind the picture, if the caption is above (also in a new line!)
the value of 10cm is only an example. the problem is that \vfill does'nt
wirk in a float.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



LyX beginner

2000-08-08 Thread Li Bing

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

 ---
See you!   __|__  ##   CSE, ASU  ##  www.public.asu.edu/~libing   ##
   _/|\_  ##   480-965-1746 (O)  ##  [EMAIL PROTECTED]__o   ##
Li Bing__7__  ##   480-965-3753 (L)  ##   _'\<,_  ##
__   J##   480-829-8492 (H)  ##  (*)/_(*) ##
___/   __ \__ |
  ) _\_)_)\ __|__
 / ()/|\
  (_) / / | \_
--\___() \|