Re: lyx-devel: Footnote bug

2001-05-14 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> it is ok to have different streams for latex,ascii,sgml, but we | Lars> should also see if we can get rid of the latex,ascii,sgml output | Lars> methods in the insets. and

Re: lyx-devel: Footnote bug

2001-05-14 Thread Peter Suetterlin
Lars Gullik Bjønnes wrote: > I'd really like to see the footnote code in the tex document stand out > a bit and thus I want the closing brace to be on a line of its own, or > last on a line. what about something like this is some text% \footnote{And here is some explanation, maybe in

Re: lyx-devel: Footnote bug

2001-05-14 Thread Juergen Vigna
> Without reading the whole thread I'd second to drop the comment signs. > My reason: I sometimes exchange TeX-files with other people not using > LyX. As soon as you do a reformat-paragraph in an external editor, the > above ends up as > a\footnote{% foo}% b > and the footnote is gone :-( W

Re: lyx-devel: Footnote bug

2001-05-14 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> it is ok to have different streams for latex,ascii,sgml, but we | Lars> should also see if we can get rid of the latex,ascii,sgml output | Lars> methods in the insets. and

Re: lyx-devel: Footnote bug

2001-05-14 Thread Peter Suetterlin
Jean-Marc Lasgouttes wrote: > > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: > Dekel> b", then the generated LaTeX code is: > a\footnote{% > foo}% > b > All leading space on a line is ignored when the previous line ends > with %. The solution is probably to avoid those extra carriage

Re: lyx-devel: Footnote bug

2001-05-14 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> it is ok to have different streams for latex,ascii,sgml, but we Lars> should also see if we can get rid of the latex,ascii,sgml output Lars> methods in the insets. and have the actuall output methods Lars> external to the inset

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> we should change the name as well. | | Lars> and it will probaly not hurt to be a bit more verbose: | | Lars> lyx::newline (or lyx::newl) (or lyx::linefeed , lyx::lf) |

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> we should change the name as well. Lars> and it will probaly not hurt to be a bit more verbose: Lars> lyx::newline (or lyx::newl) (or lyx::linefeed , lyx::lf) Anything. I have no particular idea about the names we should use

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | | Lars> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | | Lars> Lars> Note that we don't use (almost

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Lars> Note that we don't use (almost) std::endl when outputting Lars> to | Lars> streams, only w

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Note that we don't use (almost) std::endl when outputting to | Lars> streams, only when outputting to lyxerr/cerr | | Yes, but we should (or rather a lyx::endl, if you p

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Note that we don't use (almost) std::endl when outputting to Lars> streams, only when outputting to lyxerr/cerr Yes, but we should (or rather a lyx::endl, if you prefer). This would avoid all the mess about adding a \n when t

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: | | Juergen> On 11-May-2001 Lars Gullik Bjønnes wrote: | >> This is actually easy to differenciate... in InsetFoot we know how | >> many lines the footnote-body consist of. the problem

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > I think that we should handle this file format stuff at the lowest | > possible level. | | Seconded. And the solution you propose is a good one. | | There are nice examples for such specialized streams all over the web. | Simply ask altavista for '

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | On Fri, 11 May 2001, Juergen Vigna wrote: | | > | > On 11-May-2001 Jean-Marc Lasgouttes wrote: | > >> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: | > > | > > Juergen> Sure 21-26 June! (or in between for people who cannot arrive | > > Juergen

Re: lyx-devel: Footnote bug

2001-05-11 Thread Andre Poenitz
> I think that we should handle this file format stuff at the lowest > possible level. Seconded. And the solution you propose is a good one. There are nice examples for such specialized streams all over the web. Simply ask altavista for '+Dietmar Kuehl streambuf' or similar... Andre' -- And

Re: lyx-devel: Footnote bug

2001-05-11 Thread Allan Rae
On Fri, 11 May 2001, Juergen Vigna wrote: > > On 11-May-2001 Jean-Marc Lasgouttes wrote: > >> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: > > > > Juergen> Sure 21-26 June! (or in between for people who cannot arrive > > Juergen> that early or have to depart before) > > > > OK, I'll

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 11-May-2001 Jean-Marc Lasgouttes wrote: >> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: > > Juergen> Sure 21-26 June! (or in between for people who cannot arrive > Juergen> that early or have to depart before) > > OK, I'll probably not stay that long (probably 4 days). Does it

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 11-May-2001 Allan Rae wrote: > No, I'll just what the world news or at least the Italian news service. > It shouldn't be too hard to figure out which story is referring to > "drunken hackers run amok at village swimming pool" ;-) #:O) this was a good one I vote to put it in the next LDN!!!

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> Sure 21-26 June! (or in between for people who cannot arrive Juergen> that early or have to depart before) OK, I'll probably not stay that long (probably 4 days). Does it mean 21 and 26 included? JMarc

Re: lyx-devel: Footnote bug

2001-05-11 Thread Allan Rae
On Fri, 11 May 2001, Juergen Vigna wrote: > On 11-May-2001 Allan Rae wrote: > > >> The kind of danger people most enjoy is the kind they can watch from > >> a safe place. > > > > This seems strangely appropriate. > > > > I might just wait here... > > Well you would have to have really good eyes,

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 11-May-2001 Lars Gullik Bjønnes wrote: >> This is actually easy to differenciate... in InsetFoot we know how >> many lines the footnote-body consist of. the problem then is line >> length. Juergen> The problem is also that

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 11-May-2001 Jean-Marc Lasgouttes wrote: >> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: > > Juergen> No changes! We have to work, work, work!!! Well maybe we have > Juergen> some beer, wine, ... and then obviously we have the > Juergen> obligatory sightseeing tour and you know h

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 11-May-2001 Allan Rae wrote: >> The kind of danger people most enjoy is the kind they can watch from >> a safe place. > > This seems strangely appropriate. > > I might just wait here... Well you would have to have really good eyes, wouldn't you? Jürgen -- -._-._-._-._-._-._-._-._

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> No changes! We have to work, work, work!!! Well maybe we have Juergen> some beer, wine, ... and then obviously we have the Juergen> obligatory sightseeing tour and you know how that day ended Juergen> last time, don't you. If y

Re: lyx-devel: Footnote bug

2001-05-11 Thread Allan Rae
On Fri, 11 May 2001, Juergen Vigna wrote: > On 11-May-2001 Jean-Marc Lasgouttes wrote: [...] > > BTW Juergen, what are the latest plans for June? > > No changes! We have to work, work, work!!! Well maybe we have some beer, > wine, ... and then obviously we have the obligatory sightseeing tour and

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 11-May-2001 Lars Gullik Bjønnes wrote: > This is actually easy to differenciate... in InsetFoot we know how > many lines the footnote-body consist of. the problem then is line length. The problem is also that we don't know at what position we actually are on the actual line when starting out

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 11-May-2001 Jean-Marc Lasgouttes wrote: > I think we should output "aa\footnote{bb} cc" and have our own > specialized stream to output latex which is able to break lines when > needed. I have some ideas about that and this is something I'd like to > do at Bolzano. BTW Juergen, what are the l

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> I'd really like to see the footnote code in the tex document | Lars> stand out a bit and thus I want the closing brace to be on a | Lars> line of its own, or last on a lin

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I'd really like to see the footnote code in the tex document Lars> stand out a bit and thus I want the closing brace to be on a Lars> line of its own, or last on a line. That's a matter of taste, I guess. Personnally, I prefe

Re: lyx-devel: Footnote bug

2001-05-11 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 10-May-2001 Jean-Marc Lasgouttes wrote: >> All leading space on a line is ignored when the previous line ends >> with %. The solution is probably to avoid those extra carriage >> returns and comments. Do we really need them?

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | is the same as above as the footnotecode would anyway remove any leading space | before the first text-part inside the {} (correct me if I'm wrong, but I'm not | I tried it first ;) I belive current CVS fixes the problem. -- Lgb

Re: lyx-devel: Footnote bug

2001-05-11 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 10-May-2001 Jean-Marc Lasgouttes wrote: | | > All leading space on a line is ignored when the previous line ends | > with %. The solution is probably to avoid those extra carriage returns | > and comments. Do we really need them? | | Well IMO the b

Re: lyx-devel: Footnote bug

2001-05-11 Thread Juergen Vigna
On 10-May-2001 Jean-Marc Lasgouttes wrote: > All leading space on a line is ignored when the previous line ends > with %. The solution is probably to avoid those extra carriage returns > and comments. Do we really need them? Well IMO the best solution is to return to the code as it was before s

Re: lyx-devel: Footnote bug

2001-05-10 Thread Dekel Tsur
On Thu, May 10, 2001 at 05:09:28PM +0200, Lars Gullik Bj?nnes wrote: > Are you saying that > > "a\\footnote{% > foo}\n > b" > > equals: > > "a\\footnote{foot} b" > > ? Yes.

Re: lyx-devel: Footnote bug

2001-05-10 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Thu, May 10, 2001 at 04:50:24PM +0200, Lars Gullik Bj?nnes wrote: | > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > | > | > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: | > | | > | Dekel> No the problem is footnote specific. If I have

Re: lyx-devel: Footnote bug

2001-05-10 Thread Dekel Tsur
On Thu, May 10, 2001 at 04:50:24PM +0200, Lars Gullik Bj?nnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > | > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: > | > | Dekel> No the problem is footnote specific. If I have "a\footnote{foo} > | Dekel> b", then the generated L

Re: lyx-devel: Footnote bug

2001-05-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | | Lars> > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: | | | Lars> Dekel> No the problem is footnote specific.

Re: lyx-devel: Footnote bug

2001-05-10 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: > > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > Lars> > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: | | > Lars> Dekel> No the problem is footnote specific. If I have > Lars> "

Re: lyx-devel: Footnote bug

2001-05-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: | | Lars> Dekel> No the problem is footnote specific. If I have Lars> "a\footnote{foo} | Dekel> b", then the gener

Re: lyx-devel: Footnote bug

2001-05-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: | | Dekel> No the problem is footnote specific. If I have "a\footnote{foo} | Dekel> b", then the generated LaTeX code is: | | a\footnote{% | foo}% | b will a\footnote{% foo} b work cor

Re: lyx-devel: Footnote bug

2001-05-10 Thread Andre Poenitz
> a\footnote{% > foo}% > b > > For some reason, the space before the 'b' is ignored, so the dvi shows 'a^1b'. > This also happen for example in the following latex code (the dvi shows 'ab': > a{}% The reason are standard TeX syntax rules: Any leading whitespace in a line is ignored as well as e

Re: lyx-devel: Footnote bug

2001-05-10 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> No the problem is footnote specific. If I have "a\footnote{foo} Dekel> b", then the generated LaTeX code is: a\footnote{% foo}% b Dekel> For some reason, the space before the 'b' is ignored, so the Dekel> dvi shows 'a^1b'. This als

Re: lyx-devel: Footnote bug

2001-05-10 Thread Garst R. Reese
Lars Gullik Bjønnes wrote: > > Michael Schmitt <[EMAIL PROTECTED]> writes: > > | Hi, > | > | if you insert a footnote between two words, the words are concatenated in the > | dvi output even though there is a space after the footnote in the > | lyx document. > > what lyx version? > > with CVS

Re: lyx-devel: Footnote bug

2001-05-10 Thread Dekel Tsur
On Thu, May 10, 2001 at 12:12:03PM +0200, Lars Gullik Bj?nnes wrote: > | dvi output even though there is a space after the footnote in the > | lyx document. > with CVS version footnotes should be no different from any other kind > of inset. so if this bug is there we have it for all insets not ju

Re: lyx-devel: Footnote bug

2001-05-10 Thread Michael Schmitt
Hi Lars, the LyX version I use is about three days old (Kayvan's Binary). Michael -- == Michael Schmittphone: +49 451 500 3725 Institute for Telematics secretary: +49 451 500 3

Re: lyx-devel: Footnote bug

2001-05-10 Thread Lars Gullik Bjønnes
Michael Schmitt <[EMAIL PROTECTED]> writes: | Hi, | | if you insert a footnote between two words, the words are concatenated in the | dvi output even though there is a space after the footnote in the | lyx document. what lyx version? with CVS version footnotes should be no different from any o

lyx-devel: Footnote bug

2001-05-10 Thread Michael Schmitt
Hi, if you insert a footnote between two words, the words are concatenated in the dvi output even though there is a space after the footnote in the lyx document. Michael PS: What is the current status of the "natbib" branch? Is it still maintained? -- =