Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
lOn Fri, May 03, 2002 at 04:28:16PM +0200, Lars Gullik Bjønnes wrote: > | And the explanation (if I'm not mistaken) is as follows: > | The \begin{figure} causes TeX to go into restricted vertical mode, so > | the space after \begin{figure} is ignored. > | The space after the 'x' appears right befo

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Herbert Voss
Lars Gullik Bjønnes wrote: >>>There is no difference between the two! >>> > | And the explanation (if I'm not mistaken) is as follows: > | The \begin{figure} causes TeX to go into restricted vertical mode, so > | the space after \begin{figure} is ignored. > | The space after the 'x' appears right

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Fri, May 03, 2002 at 04:43:19PM +0300, Dekel Tsur wrote: >> On Fri, May 03, 2002 at 03:04:26PM +0200, Lars Gullik Bjønnes wrote: >> > The version with the '%'s is read by latex as: >> > >> > "Hello. >> > \begin{figure}x\end{figure} >> > Bar." >> > >>

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
On Fri, May 03, 2002 at 04:43:19PM +0300, Dekel Tsur wrote: > On Fri, May 03, 2002 at 03:04:26PM +0200, Lars Gullik Bjønnes wrote: > > The version with the '%'s is read by latex as: > > > > "Hello. > > \begin{figure}x\end{figure} > > Bar." > > > > and the other is read as > > > > "Hello. > > \

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
On Fri, May 03, 2002 at 03:04:26PM +0200, Lars Gullik Bjønnes wrote: > This is where you are wrong... > > The version with the '%'s is read by latex as: > > "Hello. > \begin{figure}x\end{figure} > Bar." > > and the other is read as > > "Hello. > \begin{figure} > x > \end{figure} > Bar." > >

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
On Fri, May 03, 2002 at 02:32:06PM +0200, Jean-Marc Lasgouttes wrote: > > > > No, the 1.2.0 behavior is wrong! Note that text in my example is > > "Hello. Hello." namely there is a space before the second 'H'. > > In the 1.2.0 output, there is no space between the sentences. > > > > The only pla

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Fri, May 03, 2002 at 02:37:19PM +0200, Lars Gullik Bjønnes wrote: >> Does endfloat like this: >> >> Hello. >> \begin{figure}% >> x% >> \end{figure} >> Bar. > | Yes, but both % chars has no effect, so we can just write | Hello. | \begin{figure} | x | \

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
On Fri, May 03, 2002 at 02:37:19PM +0200, Lars Gullik Bjønnes wrote: > Does endfloat like this: > > Hello. > \begin{figure}% > x% > \end{figure} > Bar. Yes, but both % chars has no effect, so we can just write Hello. \begin{figure} x \end{figure} Bar.

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | Suppose that I have a paragraph that contains the string "Foo.", a float, | and then string " Bar." The figure contains a single letter. > | The 1.1.6 output is | Hello. | \begin{figure} | x | \end{figure} | Bar. > | The 1.2.0 output is | Hello.\begin{fi

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Jean-Marc Lasgouttes
Dekel Tsur wrote: >>Yes, but this is a case where 1.1.6 had a broken behaviour. Figure >>floats should not output anything at the point where they are >>inserted. Keeping output identical to 1.1.6 is not som holy grail. > > > No, the 1.2.0 behavior is wrong! Note that text in my example is > "He

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Herbert Voss
On Fri, 3 May 2002, Dekel Tsur wrote: > Suppose that I have a paragraph that contains the string "Foo.", a float, > and then string " Bar." The figure contains a single letter. > > The 1.1.6 output is > Hello. > \begin{figure} > x > \end{figure} > Bar. > > The 1.2.0 output is > Hello.\begin{figu

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
On Fri, May 03, 2002 at 02:20:05PM +0200, Jean-Marc Lasgouttes wrote: > Dekel Tsur wrote: > > The 1.2.0 format is bad bacuase: > > 1) It is not compatible with endfloat.sty > > Indeed. > > > 2) It is ugly when read by a human. > > Indeed. > > > 3) The DVI output is different than in 1.1.6: > >

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Jean-Marc Lasgouttes
Dekel Tsur wrote: > The 1.2.0 format is bad bacuase: > 1) It is not compatible with endfloat.sty Indeed. > 2) It is ugly when read by a human. Indeed. > 3) The DVI output is different than in 1.1.6: > In 1.1.6 the result is 'Hello. Hello.', while in 1.2.0 the result is > 'Hello.Hello'. > Once

Re: [PATCH] Re: Conflict with endfloat

2002-05-03 Thread Dekel Tsur
Suppose that I have a paragraph that contains the string "Foo.", a float, and then string " Bar." The figure contains a single letter. The 1.1.6 output is Hello. \begin{figure} x \end{figure} Bar. The 1.2.0 output is Hello.\begin{figure}% x\end{figure}% Bar. The 1.2.0 format is bad bacuase:

Re: [PATCH] Re: Conflict with endfloat

2002-05-01 Thread Andre Poenitz
On Tue, Apr 30, 2002 at 03:27:47PM +0200, Herbert Voss wrote: > please apply together with small changes to insetgraphics. > [...] > if (!opts.empty() && !message.empty()) > - before += ("[" + opts + ',' + message); > + before += ("[%\n" + opts + ',' + message); In

Re: [PATCH] Re: Conflict with endfloat

2002-05-01 Thread Rod Pinna
Looking at the export from 1.16 fix 4, and 1.2.0pre4 (without the patch), I see the following from 1.1.6 %% LyX 1.1 created this file. For more info, see http://www.lyx.org/. \begin{document} This is a test with a float. \begin{figure} {\centering \includegraphics{graphs/overall-spring/spring-

Re: [PATCH] Re: Conflict with endfloat

2002-05-01 Thread Herbert Voss
Rod Pinna wrote: > Herbert et al, > > Just checked the patch. For endfloat to work, it needs the following > > os << "\n\\end{" << tmptype << "}\n"; > > rather than > > os << "\\end{" << tmptype << "}%\n"; > > which was the original line. > > i.e. end{float}\n, rather than end{float}% yes

Re: [PATCH] Re: Conflict with endfloat

2002-05-01 Thread Rod Pinna
Herbert et al, Just checked the patch. For endfloat to work, it needs the following os << "\n\\end{" << tmptype << "}\n"; rather than os << "\\end{" << tmptype << "}%\n"; which was the original line. i.e. end{float}\n, rather than end{float}% No other change appear necessary. I also check u

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > | we have an environment: > > | \begin{...} ... any stuff \end{...} > > | or > > | \begin{...} > | ... any stuff > | \end{...} > > Yes. > And your point is? I prefer the last one. as a "inlined" one: ...text...% \begin{...} any stuff \end[...}% ...text .

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Dekel Tsur
On Tue, Apr 30, 2002 at 11:21:02PM +0200, Lars Gullik Bjønnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | On Tue, Apr 30, 2002 at 04:02:18PM +0200, Lars Gullik Bjønnes wrote: > >> > >> would endfloat work with: > >> > >> ... > >> \include{}% > >> \end{float} > > > | Yes. > | But what

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Dekel Tsur <[EMAIL PROTECTED]> writes: >> | On Tue, Apr 30, 2002 at 04:02:18PM +0200, Lars Gullik Bjønnes >> wrote: >> would endfloat work with: ... \include{}% \end{float} >> | Yes. >> | But what

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | On Tue, Apr 30, 2002 at 04:02:18PM +0200, Lars Gullik Bjønnes wrote: > >>>would endfloat work with: >>> >>>... >>>\include{}% >>>\end{float} >>> > | Yes. > | But what is the purpose of the % char ? > | In > | \include{} >

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Tue, Apr 30, 2002 at 04:02:18PM +0200, Lars Gullik Bjønnes wrote: >> >> would endfloat work with: >> >> ... >> \include{}% >> \end{float} > | Yes. | But what is the purpose of the % char ? | In | \include{} | \end{float} > | , I think that the space b

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Dekel Tsur
On Tue, Apr 30, 2002 at 04:02:18PM +0200, Lars Gullik Bjønnes wrote: > > would endfloat work with: > > ... > \include{}% > \end{float} Yes. But what is the purpose of the % char ? In \include{} \end{float} , I think that the space between \include{} and \end{float} (i.e. the \n char) has no af

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Rod Pinna
Just for information, here are some cut down bits. The first is exported from lyx-1.2.0-pre4, and doesn't work, the working one is below. -- restraint is increased and secondly, the deformation zone moves away from the restrained end.\begin{figure}% \inclu

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Rod Pinna
Lars, Just checked. Endfloat works with text text text.\begin{figure}% \includegraphics[ ]{} \includegraphics[]{} \caption{} \end{figure} The only thing I changed from the tex exported from lyx was \caption{}\end{figure}% Rod On Tue, 30 Apr 2002, Lars Gullik [iso-8859-1] Bjønnes wrote:

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Herbert Voss <[EMAIL PROTECTED]> writes: >> | Rod Pinna wrote: >> Hi all, This is *possibly* an endfloat bug, but it seems to be caused by a change in the sytax outputted by 1.2.0 For floats, the new fo

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > > | Rod Pinna wrote: > >>>Hi all, >>>This is *possibly* an endfloat bug, but it seems to be caused by a >>>change >>>in the sytax outputted by 1.2.0 >>>For floats, the new format is text text text \begin{figure}% >>>\includ

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Rod Pinna
Lars, > I am not convinced that this is what we want. > Have we sent a buf repor to the endfloat maintainer? > should we have a '%' at the '\include{}'? > Does this happen with even the recent versions of endfloat? Just downloaded endfloat from CTAN, and the current version documentation is date

Re: [PATCH] Re: Conflict with endfloat

2002-04-30 Thread Lars Gullik Bjønnes
Herbert Voss <[EMAIL PROTECTED]> writes: | Rod Pinna wrote: > >> Hi all, >> This is *possibly* an endfloat bug, but it seems to be caused by a >> change >> in the sytax outputted by 1.2.0 >> For floats, the new format is text text text \begin{figure}% >> \include{}\end{figure}% >> Endfloat demand

[PATCH] Re: Conflict with endfloat

2002-04-30 Thread Herbert Voss
Rod Pinna wrote: > Hi all, > > This is *possibly* an endfloat bug, but it seems to be caused by a change > in the sytax outputted by 1.2.0 > > For floats, the new format is > > text text text \begin{figure}% > \include{}\end{figure}% > > Endfloat demands > text text text \begin{figure}% > \