On 5/24/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
Bo Peng schrieb:
> Strangely, float can be one or more of *tbph but floatplacement can
> only be one or more of tbp.
I don't see this.
\begin{lstlisting}[float,floatplacement=!h]
compiles fine here and also
\begin{lstlisting}[float,floatplacement=tbph]
'Compiles fine here' does not have to mean the parameter is valid and
is effective. You can put whatever you want there (etc wq) and
listings will not complain.
When you are on it, we need to suport the "!" option. Currently the listings
dialog prevents to
insert the exclamation mark character.
The same here. I do not think ! is honored.
> Currently, lyx outputs
> float,floatplacement=xxx (x be tbph), and this patch changes to
> float=xxx (x be *tbph).
Why, the current output is correct?
The current output is wrong because floatplacement=h is not supposed
to work, only float=h does. The same goes to *.
Cheers,
Bo