Re: Many questions (mostly layout)

1999-07-06 Thread Lars Gullik Bjønnes

Manuel Hossfeld [EMAIL PROTECTED] writes:

|  Unfortunately you are not allowed to create new types of float for
|  inside LyX. To do something like that you have to use LaTeX (ert)
|  directly.
| 
| What is "ert"? A package?

ERT is a nickname we have for the "Evil Red Text" you get when
including latex code directly into the LyX document. There exists
latex packages for making new kinds of floats, but lyx has no support
for them yet.

| Anyway (thanks to a hint from Ingo Kloecker), I´m now using the "Lyx-Code"
| environment for those small code pieces. (I think it should be pointed out
| somewhere that "Lyx-Code" is actually for source code - I always thought it was
| something similar to the "Latex" Environment..., i.e. something that does
| anything to the document "internally")

Actually Lyx-Code is something we want to get rid of in the future,
but when we do it, it will be done transparent to users. We will
probably use some kind of varbatim environment instead.

|  Your best option here is probably to manually create the titlepage in
|  a in a latex section in your document:
|  
|  \begin{titlepage}
|  ...your stuff
|  \end{titlepage}
| 
| That´s a good hint, and I already tried this. However,I stumbled upon something
| strange: I used the example you sent with your mail and added another element to
| the title page, approximately like this:
| 
| \flushright{Name of university\\Name of faculty}
| 
| It basically looks okay, but the two lines are not evenly aligned! That is,
| they´re not right-justified correctly (one of the lines is off by about the
| width of a single character).
| What might be wrong with that?

This sounds like a spurious space, but I could be wrong.

Lgb



degree symbol

1999-07-06 Thread Henk Coetzee

Hi

How do I get a degree symbol in LyX?

Thanks

Henk


-- 

Henk Coetzee
Geophysics Unit
Council for Geoscience
Private Bag X112, Pretoria, 0001, South Africa
Tel: +27-12-841-1192   Fax: +27-12-841-1424




Re: degree symbol

1999-07-06 Thread Jean-Marc Lasgouttes

 "Henk" == Henk Coetzee [EMAIL PROTECTED] writes:

Henk Hi How do I get a degree symbol in LyX?

If you use latin1 font, you should be able to just enter ``°'' (I
did it with Compose+^+0).

JMarc



Problem with french cesure

1999-07-06 Thread Emmanuel Dumas

Hi

I write this message in french, because it's a french-style problem ...

J'ai un probleme avec la cesure automatique des mots. J'ai configure
pour mon ducument: format-document-language francais. Et
systematiquement il me fait des cesures de mot au mauvais endroit
(exemple: consid-erent a la place de consi-derent). Comment fait-on pour
avoir une cesure qui respecte les regles francaise ?

Merci d'avance.

Emmanuel


-- 
Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
[EMAIL PROTECTED] http://www.cyceron.fr/~dumas/
Tel: 33 (0) 231 47 02 03



Re: Even more layout problems...

1999-07-06 Thread Jean-Marc Lasgouttes

 "Manuel" == Manuel Hossfeld [EMAIL PROTECTED] writes:

Manuel I was mildly shocked when I checked the layout on a printed
Manuel version of my thesis, and had a closer look on the footnotes:
Manuel Some footnotes do NOT appear on the page they belong to (but
Manuel isntead on the next one), and some are even "torn apart"
Manuel between pages (although not very long)!  Goodness... I´ used
Manuel to something like this with MS Word, but not with
Manuel Lyx/Latex...! Isn´t this something never should happen with
Manuel Latex?

Concerning the footnote torn apart on several pages: it is done by
LaTeX because it considers that it is not possible to show the
footnote correctly on one page. You can change this behaviour by
adding
  \interfootnotelinepenalty=1
in Layout-LaTeX_Preamble. Be warned though that the result may be
ugly (incompletely filled pages...).

JMarc



Re: customize lyxrc?

1999-07-06 Thread Jean-Marc Lasgouttes

 "Sven" == Sven Gustke [EMAIL PROTECTED] writes:

Sven Hi, in lyxrc-file there is a line like #\print_landscape_flag -t
Sven landscape and something else like #\print_file_extension
Sven .ps. Delete the # and start LyX.  Error on prompt: LyX: Unknown
Sven tag '\print_landscape_flag -t ...'  .
Sven '\print_file_extension .ps' 


It should read
\print_landscape_flag "-t landscape"

I just fixed the lyxrc.example file in cvs.

JMarc



Re: BibTex citations hanging lyx

1999-07-06 Thread Benjamin Korvemaker

groan what a pain ... 

#0  0x8205ca9 in memcpy (dstpp=0x83ea5a8, srcpp=0x83cdf48, len=116300)
at ../sysdeps/generic/memcpy.c:51
#1  0x8115230 in LString::operator+= (this=0xb344, c=-1 'ÿ')
at LString.C:268
#2  0x8140312 in InsetBibtex::getKeys (this=0x83ac430) at insetbib.C:425
#3  0x80fd02b in Buffer::getBibkeyList (this=0x83a6548, delim=44 ',')
at buffer.C:3349
#4  0x8140a6c in BibitemUpdate (combox=0x83ac738) at insetbib.C:496
#5  0x813edfa in InsetCitation::Edit (this=0x83ac4e8) at insetbib.C:180
#6  0x80a8a16 in LyXFunc::Dispatch (this=0x8354530, ac=176, 
do_not_use_this_arg=0x0) at lyxfunc.C:2140
#7  0x80b7a50 in Menus::ShowInsertMenu (ob=0x834d920) at menus.C:1347
#8  0x8172f67 in fl_object_qread () at chset.C:118
#9  0x8171c96 in fl_check_forms () at chset.C:118
#10 0x804e8f5 in LyXGUI::runTime (this=0x832c9e0) at lyx_gui.C:629
#11 0x80487ef in LyX::LyX (this=0xb700, argc=0xb7a0, argv=0xb7b4)
at ../src/lyx_main.C:128
#12 0x8048206 in main (argc=1, argv=0xb7b4) at ../src/main.C:51

feof() in insetbib.C (line 408) isn't returning true because there's
an error...

(gdb) print errno
$6 = 21

21 = is a directory...

In my home directory, there's a directory called "um99".
LyX doesn't expect the file read to fail, hence it hangs.

I'm not quite sure how to put the fix in tho...

Probably something around line 405? or a better check on line 408?

403 FilePtr file(tmp,FilePtr::read);
404 char c;
405
406 // On some systems where feof() is a macro,
407 // the () after file is needed (JMarc)
408 while (! feof(file())) {
409 c = fgetc(file);

anyways... hope this helps...

Ben





Jean-Marc Lasgouttes said:
  "Benjamin" == Benjamin Korvemaker [EMAIL PROTECTED] writes:
 
 Benjamin And I've just discovered (i think), the glitch..  named
 Benjamin "um99.bib", lyx hangs..  named "um.bib", lyx parses it ok...
 Benjamin But looking at the code, I can't see why this could possibly
 Benjamin matter...
 
 Benjamin Can anyone duplicate this?
 
 I cannot duplicate it. Could you try to run lyx under gdb and see
 where/why it hangs?
 
 JMarc
 


-- 
Benjamin Korvemaker,GSB 701,(780) 492-9596,(780) 439-6780
[EMAIL PROTECTED]
 If at first you don't succeed, then skydiving isn't for you.



Re: Problem with french cesure

1999-07-06 Thread Maarten Afman

Emmanuel Dumas wrote:
 
 Hi
 
 I write this message in french, because it's a french-style problem ...
 
 J'ai un probleme avec la cesure automatique des mots. J'ai configure
 pour mon ducument: format-document-language francais. Et
 systematiquement il me fait des cesures de mot au mauvais endroit
 (exemple: consid-erent a la place de consi-derent). Comment fait-on pour
 avoir une cesure qui respecte les regles francaise ?
 
 Merci d'avance.
 
 Emmanuel
 
 --
 Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
 [EMAIL PROTECTED] http://www.cyceron.fr/~dumas/
 Tel: 33 (0) 231 47 02 03

Je suis un Hollandais, et je ne scrive pas tres bien le francais..

Votre probleme n'est pas un probleme francais mais un probleme avec votre
distribution TeX/LaTeX. J'ai decouvert la solution pour l'hollandais. Mon TeX
distribution est teTeX. Il y a un program `texconfig` avec le teTeX distribution.
Si votre TeX distribution est teTeX, les actions suivantes sont pour vous

Mais les mots francais corrects n'arrivent plus.. I will switch to English! ;-)

As root start texconfig. Go to Hyphen - LATEX. Then you will get a config file to
edit. See if the french line is uncommented, like:

% French, TWO lines!
french  frhyph.tex frhyphex.tex
=patois

Then type shift+ZZ to save and go to REHASH. Than you're set!

If this doesn't work then check if your TeX distribution has the hypenation
patterns correctly installed:

cd /usr/share/texmf/tex/generic/hyphen
ls -l

If it doesn't list the two files above but does list some other you should upgrade
to a french aware TeX!

Success

-- 
Maarten Afman

email: [EMAIL PROTECTED]
homepage:  http://delft.dyndns.org (Or somewhere else..)
_
A large number of installed systems work by fiat.  That is, they work
by being declared to work.
-- Anatol Holt



lyx for redhat linux?

1999-07-06 Thread Dai



Hello, all,

As in the subject, is there a version of lyx for redhat linux?
Where can I get it?

Thanks a lot,

Yi Dai






Re: Many questions (mostly layout)

1999-07-06 Thread Lars Gullik Bjønnes

Manuel Hossfeld [EMAIL PROTECTED] writes:

|  Unfortunately you are not allowed to create new types of float for
|  inside LyX. To do something like that you have to use LaTeX (ert)
|  directly.
| 
| What is "ert"? A package?

ERT is a nickname we have for the "Evil Red Text" you get when
including latex code directly into the LyX document. There exists
latex packages for making new kinds of floats, but lyx has no support
for them yet.

| Anyway (thanks to a hint from Ingo Kloecker), I´m now using the "Lyx-Code"
| environment for those small code pieces. (I think it should be pointed out
| somewhere that "Lyx-Code" is actually for source code - I always thought it was
| something similar to the "Latex" Environment..., i.e. something that does
| anything to the document "internally")

Actually Lyx-Code is something we want to get rid of in the future,
but when we do it, it will be done transparent to users. We will
probably use some kind of varbatim environment instead.

|  Your best option here is probably to manually create the titlepage in
|  a in a latex section in your document:
|  
|  \begin{titlepage}
|  ...your stuff
|  \end{titlepage}
| 
| That´s a good hint, and I already tried this. However,I stumbled upon something
| strange: I used the example you sent with your mail and added another element to
| the title page, approximately like this:
| 
| \flushright{Name of university\\Name of faculty}
| 
| It basically looks okay, but the two lines are not evenly aligned! That is,
| they´re not right-justified correctly (one of the lines is off by about the
| width of a single character).
| What might be wrong with that?

This sounds like a spurious space, but I could be wrong.

Lgb



degree symbol

1999-07-06 Thread Henk Coetzee

Hi

How do I get a degree symbol in LyX?

Thanks

Henk


-- 

Henk Coetzee
Geophysics Unit
Council for Geoscience
Private Bag X112, Pretoria, 0001, South Africa
Tel: +27-12-841-1192   Fax: +27-12-841-1424




Re: degree symbol

1999-07-06 Thread Jean-Marc Lasgouttes

 "Henk" == Henk Coetzee [EMAIL PROTECTED] writes:

Henk Hi How do I get a degree symbol in LyX?

If you use latin1 font, you should be able to just enter ``°'' (I
did it with Compose+^+0).

JMarc



Problem with french cesure

1999-07-06 Thread Emmanuel Dumas

Hi

I write this message in french, because it's a french-style problem ...

J'ai un probleme avec la cesure automatique des mots. J'ai configure
pour mon ducument: format-document-language francais. Et
systematiquement il me fait des cesures de mot au mauvais endroit
(exemple: consid-erent a la place de consi-derent). Comment fait-on pour
avoir une cesure qui respecte les regles francaise ?

Merci d'avance.

Emmanuel


-- 
Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
[EMAIL PROTECTED] http://www.cyceron.fr/~dumas/
Tel: 33 (0) 231 47 02 03



Re: Even more layout problems...

1999-07-06 Thread Jean-Marc Lasgouttes

 "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars The first one with having a footnote not on the correct page is
Lars because of how LyX handles Fn's in "illegal" places. inside
Lars table cells. inside floats. in sectioning headers. You could try
Lars to avoid that. (at least I think this is the problem)

Note that this particular problem (a footnote inside a list is
postponed to the end of this list, thus in next page if the list spans
several pages) will be gone in 1.0.4. [I have yet to document the
change...].

JMarc



Re: Even more layout problems...

1999-07-06 Thread Jean-Marc Lasgouttes

 "Manuel" == Manuel Hossfeld [EMAIL PROTECTED] writes:

Manuel I was mildly shocked when I checked the layout on a printed
Manuel version of my thesis, and had a closer look on the footnotes:
Manuel Some footnotes do NOT appear on the page they belong to (but
Manuel isntead on the next one), and some are even "torn apart"
Manuel between pages (although not very long)!  Goodness... I´ used
Manuel to something like this with MS Word, but not with
Manuel Lyx/Latex...! Isn´t this something never should happen with
Manuel Latex?

Concerning the footnote torn apart on several pages: it is done by
LaTeX because it considers that it is not possible to show the
footnote correctly on one page. You can change this behaviour by
adding
  \interfootnotelinepenalty=1
in Layout-LaTeX_Preamble. Be warned though that the result may be
ugly (incompletely filled pages...).

JMarc



Re: customize lyxrc?

1999-07-06 Thread Jean-Marc Lasgouttes

 "Sven" == Sven Gustke [EMAIL PROTECTED] writes:

Sven Hi, in lyxrc-file there is a line like #\print_landscape_flag -t
Sven landscape and something else like #\print_file_extension
Sven .ps. Delete the # and start LyX.  Error on prompt: LyX: Unknown
Sven tag '\print_landscape_flag -t ...'  .
Sven '\print_file_extension .ps' 


It should read
\print_landscape_flag "-t landscape"

I just fixed the lyxrc.example file in cvs.

JMarc



Re: BibTex citations hanging lyx

1999-07-06 Thread Benjamin Korvemaker

groan what a pain ... 

#0  0x8205ca9 in memcpy (dstpp=0x83ea5a8, srcpp=0x83cdf48, len=116300)
at ../sysdeps/generic/memcpy.c:51
#1  0x8115230 in LString::operator+= (this=0xb344, c=-1 'ÿ')
at LString.C:268
#2  0x8140312 in InsetBibtex::getKeys (this=0x83ac430) at insetbib.C:425
#3  0x80fd02b in Buffer::getBibkeyList (this=0x83a6548, delim=44 ',')
at buffer.C:3349
#4  0x8140a6c in BibitemUpdate (combox=0x83ac738) at insetbib.C:496
#5  0x813edfa in InsetCitation::Edit (this=0x83ac4e8) at insetbib.C:180
#6  0x80a8a16 in LyXFunc::Dispatch (this=0x8354530, ac=176, 
do_not_use_this_arg=0x0) at lyxfunc.C:2140
#7  0x80b7a50 in Menus::ShowInsertMenu (ob=0x834d920) at menus.C:1347
#8  0x8172f67 in fl_object_qread () at chset.C:118
#9  0x8171c96 in fl_check_forms () at chset.C:118
#10 0x804e8f5 in LyXGUI::runTime (this=0x832c9e0) at lyx_gui.C:629
#11 0x80487ef in LyX::LyX (this=0xb700, argc=0xb7a0, argv=0xb7b4)
at ../src/lyx_main.C:128
#12 0x8048206 in main (argc=1, argv=0xb7b4) at ../src/main.C:51

feof() in insetbib.C (line 408) isn't returning true because there's
an error...

(gdb) print errno
$6 = 21

21 = is a directory...

In my home directory, there's a directory called "um99".
LyX doesn't expect the file read to fail, hence it hangs.

I'm not quite sure how to put the fix in tho...

Probably something around line 405? or a better check on line 408?

403 FilePtr file(tmp,FilePtr::read);
404 char c;
405
406 // On some systems where feof() is a macro,
407 // the () after file is needed (JMarc)
408 while (! feof(file())) {
409 c = fgetc(file);

anyways... hope this helps...

Ben





Jean-Marc Lasgouttes said:
  "Benjamin" == Benjamin Korvemaker [EMAIL PROTECTED] writes:
 
 Benjamin And I've just discovered (i think), the glitch..  named
 Benjamin "um99.bib", lyx hangs..  named "um.bib", lyx parses it ok...
 Benjamin But looking at the code, I can't see why this could possibly
 Benjamin matter...
 
 Benjamin Can anyone duplicate this?
 
 I cannot duplicate it. Could you try to run lyx under gdb and see
 where/why it hangs?
 
 JMarc
 


-- 
Benjamin Korvemaker,GSB 701,(780) 492-9596,(780) 439-6780
[EMAIL PROTECTED]
 If at first you don't succeed, then skydiving isn't for you.



Re: Problem with french cesure

1999-07-06 Thread Maarten Afman

Emmanuel Dumas wrote:
 
 Hi
 
 I write this message in french, because it's a french-style problem ...
 
 J'ai un probleme avec la cesure automatique des mots. J'ai configure
 pour mon ducument: format-document-language francais. Et
 systematiquement il me fait des cesures de mot au mauvais endroit
 (exemple: consid-erent a la place de consi-derent). Comment fait-on pour
 avoir une cesure qui respecte les regles francaise ?
 
 Merci d'avance.
 
 Emmanuel
 
 --
 Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
 [EMAIL PROTECTED] http://www.cyceron.fr/~dumas/
 Tel: 33 (0) 231 47 02 03

Je suis un Hollandais, et je ne scrive pas tres bien le francais..

Votre probleme n'est pas un probleme francais mais un probleme avec votre
distribution TeX/LaTeX. J'ai decouvert la solution pour l'hollandais. Mon TeX
distribution est teTeX. Il y a un program `texconfig` avec le teTeX distribution.
Si votre TeX distribution est teTeX, les actions suivantes sont pour vous

Mais les mots francais corrects n'arrivent plus.. I will switch to English! ;-)

As root start texconfig. Go to Hyphen - LATEX. Then you will get a config file to
edit. See if the french line is uncommented, like:

% French, TWO lines!
french  frhyph.tex frhyphex.tex
=patois

Then type shift+ZZ to save and go to REHASH. Than you're set!

If this doesn't work then check if your TeX distribution has the hypenation
patterns correctly installed:

cd /usr/share/texmf/tex/generic/hyphen
ls -l

If it doesn't list the two files above but does list some other you should upgrade
to a french aware TeX!

Success

-- 
Maarten Afman

email: [EMAIL PROTECTED]
homepage:  http://delft.dyndns.org (Or somewhere else..)
_
A large number of installed systems work by fiat.  That is, they work
by being declared to work.
-- Anatol Holt



lyx for redhat linux?

1999-07-06 Thread Dai



Hello, all,

As in the subject, is there a version of lyx for redhat linux?
Where can I get it?

Thanks a lot,

Yi Dai






Re: Many questions (mostly layout)

1999-07-06 Thread Lars Gullik Bjønnes

Manuel Hossfeld <[EMAIL PROTECTED]> writes:

| > Unfortunately you are not allowed to create new types of float for
| > inside LyX. To do something like that you have to use LaTeX (ert)
| > directly.
| 
| What is "ert"? A package?

ERT is a nickname we have for the "Evil Red Text" you get when
including latex code directly into the LyX document. There exists
latex packages for making new kinds of floats, but lyx has no support
for them yet.

| Anyway (thanks to a hint from Ingo Kloecker), I´m now using the "Lyx-Code"
| environment for those small code pieces. (I think it should be pointed out
| somewhere that "Lyx-Code" is actually for source code - I always thought it was
| something similar to the "Latex" Environment..., i.e. something that does
| anything to the document "internally")

Actually Lyx-Code is something we want to get rid of in the future,
but when we do it, it will be done transparent to users. We will
probably use some kind of varbatim environment instead.

| > Your best option here is probably to manually create the titlepage in
| > a in a latex section in your document:
| > 
| > \begin{titlepage}
| > ...your stuff
| > \end{titlepage}
| 
| That´s a good hint, and I already tried this. However,I stumbled upon something
| strange: I used the example you sent with your mail and added another element to
| the title page, approximately like this:
| 
| \flushright{Name of university\\Name of faculty}
| 
| It basically looks okay, but the two lines are not evenly aligned! That is,
| they´re not right-justified correctly (one of the lines is off by about the
| width of a single character).
| What might be wrong with that?

This sounds like a spurious space, but I could be wrong.

Lgb



degree symbol

1999-07-06 Thread Henk Coetzee

Hi

How do I get a degree symbol in LyX?

Thanks

Henk


-- 

Henk Coetzee
Geophysics Unit
Council for Geoscience
Private Bag X112, Pretoria, 0001, South Africa
Tel: +27-12-841-1192   Fax: +27-12-841-1424




Re: degree symbol

1999-07-06 Thread Jean-Marc Lasgouttes

> "Henk" == Henk Coetzee <[EMAIL PROTECTED]> writes:

Henk> Hi How do I get a degree symbol in LyX?

If you use latin1 font, you should be able to just enter ``°'' (I
did it with Compose+^+0).

JMarc



Problem with french cesure

1999-07-06 Thread Emmanuel Dumas

Hi

I write this message in french, because it's a french-style problem ...

J'ai un probleme avec la cesure automatique des mots. J'ai configure
pour mon ducument: format->document->language francais. Et
systematiquement il me fait des cesures de mot au mauvais endroit
(exemple: consid-erent a la place de consi-derent). Comment fait-on pour
avoir une cesure qui respecte les regles francaise ?

Merci d'avance.

Emmanuel


-- 
Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
[EMAIL PROTECTED] http://www.cyceron.fr/~dumas/
Tel: 33 (0) 231 47 02 03



Re: Even more layout problems...

1999-07-06 Thread Jean-Marc Lasgouttes

> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> The first one with having a footnote not on the correct page is
Lars> because of how LyX handles Fn's in "illegal" places. inside
Lars> table cells. inside floats. in sectioning headers. You could try
Lars> to avoid that. (at least I think this is the problem)

Note that this particular problem (a footnote inside a list is
postponed to the end of this list, thus in next page if the list spans
several pages) will be gone in 1.0.4. [I have yet to document the
change...].

JMarc



Re: Even more layout problems...

1999-07-06 Thread Jean-Marc Lasgouttes

> "Manuel" == Manuel Hossfeld <[EMAIL PROTECTED]> writes:

Manuel> I was mildly shocked when I checked the layout on a printed
Manuel> version of my thesis, and had a closer look on the footnotes:
Manuel> Some footnotes do NOT appear on the page they belong to (but
Manuel> isntead on the next one), and some are even "torn apart"
Manuel> between pages (although not very long)!  Goodness... I´ used
Manuel> to something like this with MS Word, but not with
Manuel> Lyx/Latex...! Isn´t this something never should happen with
Manuel> Latex?

Concerning the footnote torn apart on several pages: it is done by
LaTeX because it considers that it is not possible to show the
footnote correctly on one page. You can change this behaviour by
adding
  \interfootnotelinepenalty=1
in Layout->LaTeX_Preamble. Be warned though that the result may be
ugly (incompletely filled pages...).

JMarc



Re: customize lyxrc?

1999-07-06 Thread Jean-Marc Lasgouttes

> "Sven" == Sven Gustke <[EMAIL PROTECTED]> writes:

Sven> Hi, in lyxrc-file there is a line like #\print_landscape_flag -t
Sven> landscape and something else like #\print_file_extension
Sven> .ps. Delete the # and start LyX.  Error on prompt: LyX: Unknown
Sven> tag '\print_landscape_flag -t ...'  .
Sven> '\print_file_extension .ps' 


It should read
\print_landscape_flag "-t landscape"

I just fixed the lyxrc.example file in cvs.

JMarc



Re: BibTex citations hanging lyx

1999-07-06 Thread Benjamin Korvemaker

 what a pain ... 

#0  0x8205ca9 in memcpy (dstpp=0x83ea5a8, srcpp=0x83cdf48, len=116300)
at ../sysdeps/generic/memcpy.c:51
#1  0x8115230 in LString::operator+= (this=0xb344, c=-1 'ÿ')
at LString.C:268
#2  0x8140312 in InsetBibtex::getKeys (this=0x83ac430) at insetbib.C:425
#3  0x80fd02b in Buffer::getBibkeyList (this=0x83a6548, delim=44 ',')
at buffer.C:3349
#4  0x8140a6c in BibitemUpdate (combox=0x83ac738) at insetbib.C:496
#5  0x813edfa in InsetCitation::Edit (this=0x83ac4e8) at insetbib.C:180
#6  0x80a8a16 in LyXFunc::Dispatch (this=0x8354530, ac=176, 
do_not_use_this_arg=0x0) at lyxfunc.C:2140
#7  0x80b7a50 in Menus::ShowInsertMenu (ob=0x834d920) at menus.C:1347
#8  0x8172f67 in fl_object_qread () at chset.C:118
#9  0x8171c96 in fl_check_forms () at chset.C:118
#10 0x804e8f5 in LyXGUI::runTime (this=0x832c9e0) at lyx_gui.C:629
#11 0x80487ef in LyX::LyX (this=0xb700, argc=0xb7a0, argv=0xb7b4)
at ../src/lyx_main.C:128
#12 0x8048206 in main (argc=1, argv=0xb7b4) at ../src/main.C:51

feof() in insetbib.C (line 408) isn't returning true because there's
an error...

(gdb) print errno
$6 = 21

21 => is a directory...

In my home directory, there's a directory called "um99".
LyX doesn't expect the file read to fail, hence it hangs.

I'm not quite sure how to put the fix in tho...

Probably something around line 405? or a better check on line 408?

403 FilePtr file(tmp,FilePtr::read);
404 char c;
405
406 // On some systems where feof() is a macro,
407 // the () after file is needed (JMarc)
408 while (! feof(file())) {
409 c = fgetc(file);

anyways... hope this helps...

Ben





Jean-Marc Lasgouttes said:
> > "Benjamin" == Benjamin Korvemaker <[EMAIL PROTECTED]> writes:
> 
> Benjamin> And I've just discovered (i think), the glitch..  named
> Benjamin> "um99.bib", lyx hangs..  named "um.bib", lyx parses it ok...
> Benjamin> But looking at the code, I can't see why this could possibly
> Benjamin> matter...
> 
> Benjamin> Can anyone duplicate this?
> 
> I cannot duplicate it. Could you try to run lyx under gdb and see
> where/why it hangs?
> 
> JMarc
> 


-- 
Benjamin Korvemaker,GSB 701,(780) 492-9596,(780) 439-6780
[EMAIL PROTECTED]
 If at first you don't succeed, then skydiving isn't for you.



Re: Problem with french cesure

1999-07-06 Thread Maarten Afman

Emmanuel Dumas wrote:
> 
> Hi
> 
> I write this message in french, because it's a french-style problem ...
> 
> J'ai un probleme avec la cesure automatique des mots. J'ai configure
> pour mon ducument: format->document->language francais. Et
> systematiquement il me fait des cesures de mot au mauvais endroit
> (exemple: consid-erent a la place de consi-derent). Comment fait-on pour
> avoir une cesure qui respecte les regles francaise ?
> 
> Merci d'avance.
> 
> Emmanuel
> 
> --
> Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
> [EMAIL PROTECTED] http://www.cyceron.fr/~dumas/
> Tel: 33 (0) 231 47 02 03

Je suis un Hollandais, et je ne scrive pas tres bien le francais..

Votre probleme n'est pas un probleme francais mais un probleme avec votre
distribution TeX/LaTeX. J'ai decouvert la solution pour l'hollandais. Mon TeX
distribution est teTeX. Il y a un program `texconfig` avec le teTeX distribution.
Si votre TeX distribution est teTeX, les actions suivantes sont pour vous

Mais les mots francais corrects n'arrivent plus.. I will switch to English! ;-)

As root start texconfig. Go to Hyphen -> LATEX. Then you will get a config file to
edit. See if the french line is uncommented, like:

% French, TWO lines!
french  frhyph.tex frhyphex.tex
=patois

Then type shift+ZZ to save and go to REHASH. Than you're set!

If this doesn't work then check if your TeX distribution has the hypenation
patterns correctly installed:

cd /usr/share/texmf/tex/generic/hyphen
ls -l

If it doesn't list the two files above but does list some other you should upgrade
to a french aware TeX!

Success

-- 
Maarten Afman

email: [EMAIL PROTECTED]
homepage:  http://delft.dyndns.org (Or somewhere else..)
_
A large number of installed systems work by fiat.  That is, they work
by being declared to work.
-- Anatol Holt



lyx for redhat linux?

1999-07-06 Thread Dai



Hello, all,

As in the subject, is there a version of lyx for redhat linux?
Where can I get it?

Thanks a lot,

Yi Dai