Re: sideways tables/figures

2004-12-16 Thread Jean-Marc Lasgouttes
 Edwin == Edwin Leuven [EMAIL PROTECTED] writes:

Edwin PPS trying to open a doc, lyx crashes:

What doc was that?

JMarc



Re: sideways tables/figures

2004-12-16 Thread Edwin Leuven
What doc was that?
it crashes on the attached...
regards, ed.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{mathptmx}
\usepackage[scaled=0.9]{helvet}
\usepackage{courier}
\usepackage{rotating}
\date{}
\usepackage{dcolumn}
\newcolumntype{d}{D{.}{.}{6}}

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-3.5ex [EMAIL PROTECTED] -1ex [EMAIL 
PROTECTED] -.2ex}%
   {2.3ex [EMAIL PROTECTED]
   [EMAIL PROTECTED]
[EMAIL PROTECTED]@}%
 [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
 {1.5ex [EMAIL PROTECTED] .2ex}%
 [EMAIL PROTECTED]
[EMAIL PROTECTED]@}%
 [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
 {-1em}%
 [EMAIL PROTECTED]
\end_preamble
\options a4paper
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 11
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 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


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{sidewaysfigure} 
\backslash 
centering 
\end_inset 


\layout Standard


\begin_inset Graphics
filename /home/leuven/projects/bapo2/cohort2.eps
scale 70

\end_inset 


\layout Caption

Average working time relative to full-time, by age and gender (1999-2002)
\begin_inset LatexCommand \label{fig: wtf+bapo}

\end_inset 


\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
end{sidewaysfigure}
\end_inset 


\the_end


Re: sideways tables/figures

2004-12-16 Thread Alfredo Braunstein
Edwin Leuven wrote:

 What doc was that?
 
 it crashes on the attached...

| \layoutCaption
|
| 
Averageworkingtimerelativetofull-time,byageandgender(1999-2002)

THe problem is a caption in a top paragraph. In top paragraphs the
inset_owner is not set on reading and so it crashes.


// the caption hack:
if (layout-labeltype == LABEL_SENSITIVE) {
pit_type end = paragraphs().size();
pit_type tmppit = pit;
InsetBase * in = 0;
bool isOK = false;
while (tmppit != end) {
in = pars_[tmppit].inInset();
if (in-lyxCode() == InsetBase::FLOAT_CODE ||
in-lyxCode() == InsetBase::WRAP_CODE) {


A dead easy solution is to check for inInset() != 0 before using it
A better solution is to set the owner inset of top paragraphs
A much better solution is to get rid of inset_owner.

Alfredo




Re: sideways tables/figures

2004-12-16 Thread Jean-Marc Lasgouttes
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes:

Edwin> PPS trying to open a doc, lyx crashes:

What doc was that?

JMarc



Re: sideways tables/figures

2004-12-16 Thread Edwin Leuven
What doc was that?
it crashes on the attached...
regards, ed.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{mathptmx}
\usepackage[scaled=0.9]{helvet}
\usepackage{courier}
\usepackage{rotating}
\date{}
\usepackage{dcolumn}
\newcolumntype{d}{D{.}{.}{6}}

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-3.5ex [EMAIL PROTECTED] -1ex [EMAIL 
PROTECTED] -.2ex}%
   {2.3ex [EMAIL PROTECTED]
   [EMAIL PROTECTED]
[EMAIL PROTECTED]@}%
 [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
 {1.5ex [EMAIL PROTECTED] .2ex}%
 [EMAIL PROTECTED]
[EMAIL PROTECTED]@}%
 [EMAIL PROTECTED] -1ex [EMAIL PROTECTED] 
-.2ex}%
 {-1em}%
 [EMAIL PROTECTED]
\end_preamble
\options a4paper
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 11
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 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


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{sidewaysfigure} 
\backslash 
centering 
\end_inset 


\layout Standard


\begin_inset Graphics
filename /home/leuven/projects/bapo2/cohort2.eps
scale 70

\end_inset 


\layout Caption

Average working time relative to full-time, by age and gender (1999-2002)
\begin_inset LatexCommand \label{fig: wtf+bapo}

\end_inset 


\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
end{sidewaysfigure}
\end_inset 


\the_end


Re: sideways tables/figures

2004-12-16 Thread Alfredo Braunstein
Edwin Leuven wrote:

>> What doc was that?
> 
> it crashes on the attached...

| \layoutÂCaption
|
| 
AverageÂworkingÂtimeÂrelativeÂtoÂfull-time,ÂbyÂageÂandÂgenderÂ(1999-2002)

THe problem is a caption in a top paragraph. In top paragraphs the
inset_owner is not set on reading and so it crashes.


// the caption hack:
if (layout->labeltype == LABEL_SENSITIVE) {
pit_type end = paragraphs().size();
pit_type tmppit = pit;
InsetBase * in = 0;
bool isOK = false;
while (tmppit != end) {
in = pars_[tmppit].inInset();
if (in->lyxCode() == InsetBase::FLOAT_CODE ||
in->lyxCode() == InsetBase::WRAP_CODE) {


A dead easy solution is to check for inInset() != 0 before using it
A better solution is to set the owner inset of top paragraphs
A much better solution is to get rid of inset_owner.

Alfredo




Re: sideways tables/figures

2004-12-15 Thread Georg Baum
Am Dienstag, 14. Dezember 2004 14:02 schrieb Juergen Spitzmueller:
 Georg Baum wrote:
 
  Jürgen, I thought you fixed that in the meantime?
 
 No, not yet. I haven't cvs access right now. Can you do it? You just 
have to
 remove the #if 0 conditional.

Done.

Georg
Index: src/insets/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v
retrieving revision 1.1089
diff -u -p -r1.1089 ChangeLog
--- src/insets/ChangeLog	14 Dec 2004 10:41:07 -	1.1089
+++ src/insets/ChangeLog	15 Dec 2004 20:12:59 -
@@ -1,3 +1,8 @@
+2004-12-15  Georg Baum  [EMAIL PROTECTED]
+
+	* insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
+	UNSET_ALL_LINES (from Jrgen)
+
 2004-12-14  Angus Leeming  [EMAIL PROTECTED]
 
 	* Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
Index: src/insets/insettabular.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.448
diff -u -p -r1.448 insettabular.C
--- src/insets/insettabular.C	6 Dec 2004 02:35:12 -	1.448
+++ src/insets/insettabular.C	15 Dec 2004 20:13:04 -
@@ -1458,12 +1458,10 @@ void InsetTabular::tabularFeatures(LCurs
 	case LyXTabular::SET_ALL_LINES:
 		setLines = true;
 	case LyXTabular::UNSET_ALL_LINES:
-#if 0
 		for (row_type i = sel_row_start; i = sel_row_end; ++i)
 			for (col_type j = sel_col_start; j = sel_col_end; ++j)
 tabular.setAllLines(
 	tabular.getCellNumber(i,j), setLines);
-#endif
 		break;
 
 	case LyXTabular::SET_LONGTABULAR:


Re: sideways tables/figures

2004-12-15 Thread Georg Baum
Am Dienstag, 14. Dezember 2004 14:02 schrieb Juergen Spitzmueller:
> Georg Baum wrote:
> 
> > Jürgen, I thought you fixed that in the meantime?
> 
> No, not yet. I haven't cvs access right now. Can you do it? You just 
have to
> remove the #if 0 conditional.

Done.

Georg
Index: src/insets/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v
retrieving revision 1.1089
diff -u -p -r1.1089 ChangeLog
--- src/insets/ChangeLog	14 Dec 2004 10:41:07 -	1.1089
+++ src/insets/ChangeLog	15 Dec 2004 20:12:59 -
@@ -1,3 +1,8 @@
+2004-12-15  Georg Baum  <[EMAIL PROTECTED]>
+
+	* insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
+	UNSET_ALL_LINES (from Jürgen)
+
 2004-12-14  Angus Leeming  <[EMAIL PROTECTED]>
 
 	* Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
Index: src/insets/insettabular.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.448
diff -u -p -r1.448 insettabular.C
--- src/insets/insettabular.C	6 Dec 2004 02:35:12 -	1.448
+++ src/insets/insettabular.C	15 Dec 2004 20:13:04 -
@@ -1458,12 +1458,10 @@ void InsetTabular::tabularFeatures(LCurs
 	case LyXTabular::SET_ALL_LINES:
 		setLines = true;
 	case LyXTabular::UNSET_ALL_LINES:
-#if 0
 		for (row_type i = sel_row_start; i <= sel_row_end; ++i)
 			for (col_type j = sel_col_start; j <= sel_col_end; ++j)
 tabular.setAllLines(
 	tabular.getCellNumber(i,j), setLines);
-#endif
 		break;
 
 	case LyXTabular::SET_LONGTABULAR:


Re: sideways tables/figures

2004-12-14 Thread Georg Baum
Edwin Leuven wrote:

 PS first problem:
 
 set/clear all borders in tabulars doesn't work...

Jürgen, I thought you fixed that in the meantime?


Georg


Re: sideways tables/figures

2004-12-14 Thread Georg Baum
Edwin Leuven wrote:

> PS first problem:
> 
> set/clear all borders in tabulars doesn't work...

Jürgen, I thought you fixed that in the meantime?


Georg


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
updated patch attached. have been using it the last couple of days and 
have experienced no regressions.

edwin


sideways.diff.gz
Description: application/gzip


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
You have noticed that this feature also has been added to 1.4?
nope. so the transfer will be smooth ;-)
regards, ed.


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Edwin Leuven wrote:
 nope. so the transfer will be smooth ;-)

Yes. And if you are willing to test the 1.4 version (and compare with your 
stuff), we can improve the support in the 1.5 cycle :-)

Jürgen 


Re: sideways tables/figures

2004-12-13 Thread Lars Gullik Bjønnes
Edwin Leuven [EMAIL PROTECTED] writes:

 Yes. And if you are willing to test the 1.4 version (and compare
 with your stuff), we can improve the support in the 1.5 cycle :-)

| can 1.4cvs be safely used for real work now?

I'd still wait a bit, but it is a lot better than just a few weeks
ago.

Otoh we need testing...

-- 
Lgb



Re: sideways tables/figures

2004-12-13 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen Edwin Leuven wrote:
 updated patch attached. have been using it the last couple of days
 and have experienced no regressions.

Juergen You have noticed that this feature also has been added to
Juergen 1.4?

Juergen, concerning the sideways feature, do you know about the
rotfloat.sty package, which allows to rotate all kind of floats?

JMarc


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:

 Juergen, concerning the sideways feature, do you know about the
 rotfloat.sty package, which allows to rotate all kind of floats?

I am aware that it exists, but I haven't digged into it very much. Is it
supposed to be installed on any LaTeX system? And does it provide the same
features as rotating.sty so that a switch would be possible without too
much lost?

Jürgen



Re: sideways tables/figures

2004-12-13 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen It seems to be just an extension to rotating.sty (and loads
Juergen rotating by itself). In fact, it uses the same commands
Juergen (sidewaysfigure, sidewaystable). So I'd propose to stick with
Juergen rotating for standard floats and load rotfloat instead for
Juergen nonstandard floats. Then the switch should cause no harms.
Juergen I'll put this on my agenda-1.5.

Good.

JMarc


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

 Juergen, concerning the sideways feature, do you know about the
 rotfloat.sty package, which allows to rotate all kind of floats?

Answering my own questions:

 I am aware that it exists, but I haven't digged into it very much. Is it
 supposed to be installed on any LaTeX system? 

I think it should be (at least it is included in teTeX).

 And does it provide the same 
 features as rotating.sty so that a switch would be possible without too
 much lost?

It seems to be just an extension to rotating.sty (and loads rotating by
itself). In fact, it uses the same commands (sidewaysfigure,
sidewaystable). So I'd propose to stick with rotating for standard floats
and load rotfloat instead for nonstandard floats. Then the switch should
cause no harms. I'll put this on my agenda-1.5.

Jürgen




Re: sideways tables/figures

2004-12-13 Thread Jean-Marc Lasgouttes
 Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:

Juergen Jean-Marc Lasgouttes wrote:
 Juergen, concerning the sideways feature, do you know about the
 rotfloat.sty package, which allows to rotate all kind of floats?

Juergen I am aware that it exists, but I haven't digged into it very
Juergen much. Is it supposed to be installed on any LaTeX system? 

I'm not sure but it is installed on my canonical old TeX installation
here :)

Juergen And does it provide the same features as rotating.sty so that
Juergen a switch would be possible without too much lost?

As far as I know, it uses rotating.sty and float.sty. 

Anyway, I am not saying that we should implement it right now. Just
wanting to point to it before I forget...

JMarc


Re: sideways tables/figures

2004-12-13 Thread Helge Hafting
Edwin Leuven wrote:
Yes. And if you are willing to test the 1.4 version (and compare with 
your stuff), we can improve the support in the 1.5 cycle :-)

can 1.4cvs be safely used for real work now?
ed.
It is safely testable. :-)  Configure it to add the version
number to the program name as a suffix, that way
the lyx1.4cvs binary doesn't overwrite your
good old lyx binary.
Helge Hafting


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
It is safely testable. :-) 
you must be kidding ;-)
Configure it to add the version
number to the program name as a suffix, that way
the lyx1.4cvs binary doesn't overwrite your
good old lyx binary.
that's what i did
thanks, ed.
PS first problem:
set/clear all borders in tabulars doesn't work...
PPS trying to open a doc, lyx crashes:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219886976 (LWP 2229)]
LyXText::setCounter (this=0x8656c1c, [EMAIL PROTECTED], pit=66)
at ../../lyx-devel/src/text2.C:793
793 if (in-lyxCode() == 
InsetBase::FLOAT_CODE ||
(gdb) bt
#0  LyXText::setCounter (this=0x8656c1c, [EMAIL PROTECTED], pit=66)
at ../../lyx-devel/src/text2.C:793
#1  0x08179f75 in LyXText::updateCounters (this=0x8656c1c)
at ../../lyx-devel/src/text2.C:867
#2  0x08176972 in LyXText::init (this=0x8656c1c, bv=0x5f)
at ../../lyx-devel/src/text2.C:95
#3  0x08069fe1 in BufferView::Pimpl::setBuffer (this=0x85b92a0, b=0x85b937c)
at ../../lyx-devel/src/BufferView_pimpl.C:352
#4  0x08069bf9 in BufferView::Pimpl::loadLyXFile (this=0x85b92a0, 
[EMAIL PROTECTED],
tolastfiles=true) at ../../lyx-devel/src/BufferView_pimpl.C:289
#5  0x08063d3c in BufferView::loadLyXFile (this=0x0, [EMAIL PROTECTED])
at ../../lyx-devel/src/BufferView.C:120
#6  0x0811b129 in LyXFunc::open (this=0x85b4140, [EMAIL PROTECTED])
at ../../lyx-devel/src/lyxfunc.C:1651
#7  0x081159cb in LyXFunc::dispatch (this=0x85b4140, [EMAIL PROTECTED])
at ../../lyx-devel/src/lyxfunc.C:990
#8  0x082b27a5 in lyx::frontend::QLToolbar::clicked (this=0x85dff40) at 
LyXView.h:83
#9  0x08326062 in lyx::frontend::QLToolbar::qt_invoke (this=0x85dff40, 
_id=2, _o=0x0)
at QLToolbar_moc.C:171
#10 0xb7b6352c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Edwin Leuven wrote:
 updated patch attached. have been using it the last couple of days and
 have experienced no regressions.

You have noticed that this feature also has been added to 1.4?

Jürgen


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
Yes. And if you are willing to test the 1.4 version (and compare with your 
stuff), we can improve the support in the 1.5 cycle :-)
can 1.4cvs be safely used for real work now?
ed.


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
updated patch attached. have been using it the last couple of days and 
have experienced no regressions.

edwin


sideways.diff.gz
Description: application/gzip


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
You have noticed that this feature also has been added to 1.4?
nope. so the transfer will be smooth ;-)
regards, ed.


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Edwin Leuven wrote:
> nope. so the transfer will be smooth ;-)

Yes. And if you are willing to test the 1.4 version (and compare with your 
stuff), we can improve the support in the 1.5 cycle :-)

Jürgen 


Re: sideways tables/figures

2004-12-13 Thread Lars Gullik Bjønnes
Edwin Leuven <[EMAIL PROTECTED]> writes:

>> Yes. And if you are willing to test the 1.4 version (and compare
>> with your stuff), we can improve the support in the 1.5 cycle :-)
>
| can 1.4cvs be safely used for real work now?

I'd still wait a bit, but it is a lot better than just a few weeks
ago.

Otoh we need testing...

-- 
Lgb



Re: sideways tables/figures

2004-12-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Edwin Leuven wrote:
>> updated patch attached. have been using it the last couple of days
>> and have experienced no regressions.

Juergen> You have noticed that this feature also has been added to
Juergen> 1.4?

Juergen, concerning the sideways feature, do you know about the
rotfloat.sty package, which allows to rotate all kind of floats?

JMarc


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote:

> Juergen, concerning the sideways feature, do you know about the
> rotfloat.sty package, which allows to rotate all kind of floats?

I am aware that it exists, but I haven't digged into it very much. Is it
supposed to be installed on any LaTeX system? And does it provide the same
features as rotating.sty so that a switch would be possible without too
much lost?

Jürgen



Re: sideways tables/figures

2004-12-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> It seems to be just an extension to rotating.sty (and loads
Juergen> rotating by itself). In fact, it uses the same commands
Juergen> (sidewaysfigure, sidewaystable). So I'd propose to stick with
Juergen> rotating for standard floats and load rotfloat instead for
Juergen> nonstandard floats. Then the switch should cause no harms.
Juergen> I'll put this on my agenda-1.5.

Good.

JMarc


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:

>> Juergen, concerning the sideways feature, do you know about the
>> rotfloat.sty package, which allows to rotate all kind of floats?

Answering my own questions:

> I am aware that it exists, but I haven't digged into it very much. Is it
> supposed to be installed on any LaTeX system? 

I think it should be (at least it is included in teTeX).

> And does it provide the same 
> features as rotating.sty so that a switch would be possible without too
> much lost?

It seems to be just an extension to rotating.sty (and loads rotating by
itself). In fact, it uses the same commands (sidewaysfigure,
sidewaystable). So I'd propose to stick with rotating for standard floats
and load rotfloat instead for nonstandard floats. Then the switch should
cause no harms. I'll put this on my agenda-1.5.

Jürgen




Re: sideways tables/figures

2004-12-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Jean-Marc Lasgouttes wrote:
>> Juergen, concerning the sideways feature, do you know about the
>> rotfloat.sty package, which allows to rotate all kind of floats?

Juergen> I am aware that it exists, but I haven't digged into it very
Juergen> much. Is it supposed to be installed on any LaTeX system? 

I'm not sure but it is installed on my canonical old TeX installation
here :)

Juergen> And does it provide the same features as rotating.sty so that
Juergen> a switch would be possible without too much lost?

As far as I know, it uses rotating.sty and float.sty. 

Anyway, I am not saying that we should implement it right now. Just
wanting to point to it before I forget...

JMarc


Re: sideways tables/figures

2004-12-13 Thread Helge Hafting
Edwin Leuven wrote:
Yes. And if you are willing to test the 1.4 version (and compare with 
your stuff), we can improve the support in the 1.5 cycle :-)

can 1.4cvs be safely used for real work now?
ed.
It is safely testable. :-)  Configure it to add the version
number to the program name as a suffix, that way
the "lyx1.4cvs" binary doesn't overwrite your
good old "lyx" binary.
Helge Hafting


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
It is safely testable. :-) 
you must be kidding ;-)
Configure it to add the version
number to the program name as a suffix, that way
the "lyx1.4cvs" binary doesn't overwrite your
good old "lyx" binary.
that's what i did
thanks, ed.
PS first problem:
set/clear all borders in tabulars doesn't work...
PPS trying to open a doc, lyx crashes:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219886976 (LWP 2229)]
LyXText::setCounter (this=0x8656c1c, [EMAIL PROTECTED], pit=66)
at ../../lyx-devel/src/text2.C:793
793 if (in->lyxCode() == 
InsetBase::FLOAT_CODE ||
(gdb) bt
#0  LyXText::setCounter (this=0x8656c1c, [EMAIL PROTECTED], pit=66)
at ../../lyx-devel/src/text2.C:793
#1  0x08179f75 in LyXText::updateCounters (this=0x8656c1c)
at ../../lyx-devel/src/text2.C:867
#2  0x08176972 in LyXText::init (this=0x8656c1c, bv=0x5f)
at ../../lyx-devel/src/text2.C:95
#3  0x08069fe1 in BufferView::Pimpl::setBuffer (this=0x85b92a0, b=0x85b937c)
at ../../lyx-devel/src/BufferView_pimpl.C:352
#4  0x08069bf9 in BufferView::Pimpl::loadLyXFile (this=0x85b92a0, 
[EMAIL PROTECTED],
tolastfiles=true) at ../../lyx-devel/src/BufferView_pimpl.C:289
#5  0x08063d3c in BufferView::loadLyXFile (this=0x0, [EMAIL PROTECTED])
at ../../lyx-devel/src/BufferView.C:120
#6  0x0811b129 in LyXFunc::open (this=0x85b4140, [EMAIL PROTECTED])
at ../../lyx-devel/src/lyxfunc.C:1651
#7  0x081159cb in LyXFunc::dispatch (this=0x85b4140, [EMAIL PROTECTED])
at ../../lyx-devel/src/lyxfunc.C:990
#8  0x082b27a5 in lyx::frontend::QLToolbar::clicked (this=0x85dff40) at 
LyXView.h:83
#9  0x08326062 in lyx::frontend::QLToolbar::qt_invoke (this=0x85dff40, 
_id=2, _o=0x0)
at QLToolbar_moc.C:171
#10 0xb7b6352c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3


Re: sideways tables/figures

2004-12-13 Thread Juergen Spitzmueller
Edwin Leuven wrote:
> updated patch attached. have been using it the last couple of days and
> have experienced no regressions.

You have noticed that this feature also has been added to 1.4?

Jürgen


Re: sideways tables/figures

2004-12-13 Thread Edwin Leuven
Yes. And if you are willing to test the 1.4 version (and compare with your 
stuff), we can improve the support in the 1.5 cycle :-)
can 1.4cvs be safely used for real work now?
ed.


sideways tables/figures

2004-12-10 Thread Edwin Leuven
since i use it all the time, i've hacked together elementary support for 
sideways tables/figures for the stable tree. it's not perfect yet but it 
seems to be working for me.

in case anyone is interested in using it, patch attached.
regards, edwin.


sideways.diff.gz
Description: application/gzip


sideways tables/figures

2004-12-10 Thread Edwin Leuven
since i use it all the time, i've hacked together elementary support for 
sideways tables/figures for the stable tree. it's not perfect yet but it 
seems to be working for me.

in case anyone is interested in using it, patch attached.
regards, edwin.


sideways.diff.gz
Description: application/gzip