Re: rotating package and float sideways tables

2009-03-29 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
 Robin already responded, and promised to put a new version on CTAN this
 weekend:

 http://groups.google.de/group/comp.text.tex/browse_thread/thread/b294c3790b
d49a92

 It seems that adding \RequirePackage{color} is a workaround for the time
 being (I haven't checked that).

FYI a new version has been uploaded to CTAN. It should be part of the TeXLive 
and MikTeX updates shortly.

Jürgen


Re: rotating package and float sideways tables

2009-03-29 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
 Robin already responded, and promised to put a new version on CTAN this
 weekend:

 http://groups.google.de/group/comp.text.tex/browse_thread/thread/b294c3790b
d49a92

 It seems that adding \RequirePackage{color} is a workaround for the time
 being (I haven't checked that).

FYI a new version has been uploaded to CTAN. It should be part of the TeXLive 
and MikTeX updates shortly.

Jürgen


Re: rotating package and float sideways tables

2009-03-29 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> Robin already responded, and promised to put a new version on CTAN this
> weekend:
>
> http://groups.google.de/group/comp.text.tex/browse_thread/thread/b294c3790b
>d49a92
>
> It seems that adding \RequirePackage{color} is a workaround for the time
> being (I haven't checked that).

FYI a new version has been uploaded to CTAN. It should be part of the TeXLive 
and MikTeX updates shortly.

Jürgen


Re: rotating package and float sideways tables

2009-03-28 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
  I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I
  submitted a bug report to comp.text.tex, because Robin Fairbairns (the
  package maintainer) is actively participating that newsgroup.

 Thanks, I was about to report it too. You can also send Robin a direct mail
 when you find bugs. (The last time he fixed a bug I reported within two
 days, so perhaps the fixed version is even part of the next MiKTeX update
 round on Monday.)

Robin already responded, and promised to put a new version on CTAN this 
weekend:

http://groups.google.de/group/comp.text.tex/browse_thread/thread/b294c3790bd49a92

It seems that adding \RequirePackage{color} is a workaround for the time being 
(I haven't checked that).

Jürgen


Re: rotating package and float sideways tables

2009-03-28 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
  I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I
  submitted a bug report to comp.text.tex, because Robin Fairbairns (the
  package maintainer) is actively participating that newsgroup.

 Thanks, I was about to report it too. You can also send Robin a direct mail
 when you find bugs. (The last time he fixed a bug I reported within two
 days, so perhaps the fixed version is even part of the next MiKTeX update
 round on Monday.)

Robin already responded, and promised to put a new version on CTAN this 
weekend:

http://groups.google.de/group/comp.text.tex/browse_thread/thread/b294c3790bd49a92

It seems that adding \RequirePackage{color} is a workaround for the time being 
(I haven't checked that).

Jürgen


Re: rotating package and float sideways tables

2009-03-28 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> > I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I
> > submitted a bug report to comp.text.tex, because Robin Fairbairns (the
> > package maintainer) is actively participating that newsgroup.
>
> Thanks, I was about to report it too. You can also send Robin a direct mail
> when you find bugs. (The last time he fixed a bug I reported within two
> days, so perhaps the fixed version is even part of the next MiKTeX update
> round on Monday.)

Robin already responded, and promised to put a new version on CTAN this 
weekend:

http://groups.google.de/group/comp.text.tex/browse_thread/thread/b294c3790bd49a92

It seems that adding \RequirePackage{color} is a workaround for the time being 
(I haven't checked that).

Jürgen


Re: rotating package and float sideways tables

2009-03-27 Thread Piero Faustini
Uwe Stöhr uwesto...@... writes:

 I just run update MiKTeX's update and can still successfully compile the 
EmbeddedObjects manual. Can 
 you just run MiKTeX's update again on your machine and the restart LyX?
 If this doesn't help, can you please send me an example LyX file?

You're right, it isn't a problem of sideways float, only with  the \sideways 
command introduced by the rotate table/cell checkboxes, which worked just 
perfect beofre my MikTeX update. 99% sure the problem is the rotating package, 
but I still didn't try to restore the old version.
here's how I reproduce it:
make a new doc: enter a 2x2 table and apply the rotate table by 90° option in 
the table options, or just a rotate cell and try to compile:

The dialog tells me:
A box was supposed to be here.
 \begin{sideways}
 
I was expecting to see \hbox or \vbox or \copy or \box or
something like that. So you might find something missing in
your output. But keep trying; you can fix this later.

If you can't reproduce the error, tell me please.
Thanks
Piero





Re: rotating package and float sideways tables

2009-03-27 Thread Florian Rubach

Piero Faustini schrieb:

Uwe Stöhr uwesto...@... writes:

  
I just run update MiKTeX's update and can still successfully compile the 

EmbeddedObjects manual. Can 
  

you just run MiKTeX's update again on your machine and the restart LyX?
If this doesn't help, can you please send me an example LyX file?



You're right, it isn't a problem of sideways float, only with  the \sideways 
command introduced by the rotate table/cell checkboxes, which worked just 
perfect beofre my MikTeX update. 99% sure the problem is the rotating package, 
but I still didn't try to restore the old version.

here's how I reproduce it:
make a new doc: enter a 2x2 table and apply the rotate table by 90° option in 
the table options, or just a rotate cell and try to compile:


The dialog tells me:
A box was supposed to be here.
 \begin{sideways}
 
I was expecting to see \hbox or \vbox or \copy or \box or

something like that. So you might find something missing in
your output. But keep trying; you can fix this later.

If you can't reproduce the error, tell me please.
Thanks
Piero


Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before 
updating the rotating-package by MiKTeX's update wizard, afterwards it 
produces the error described above.


Greetings,
Florian


Re: rotating package and float sideways tables

2009-03-27 Thread Piero Faustini
Florian Rubach florian.rub...@... writes:

 
 Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before 
 updating the rotating-package by MiKTeX's update wizard, afterwards it 
 produces the error described above.
 

I still use 1.6.1





Re: rotating package and float sideways tables

2009-03-27 Thread Jürgen Spitzmüller
Piero Faustini wrote:
 You're right, it isn't a problem of sideways float, only with  the
 \sideways command introduced by the rotate table/cell checkboxes, which
 worked just perfect beofre my MikTeX update. 99% sure the problem is the
 rotating package, but I still didn't try to restore the old version.
 here's how I reproduce it:
 make a new doc: enter a 2x2 table and apply the rotate table by 90°
 option in the table options, or just a rotate cell and try to compile:

 The dialog tells me:
 A box was supposed to be here.
  \begin{sideways}
  
 I was expecting to see \hbox or \vbox or \copy or \box or
 something like that. So you might find something missing in
 your output. But keep trying; you can fix this later.

 If you can't reproduce the error, tell me please.

I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I 
submitted a bug report to comp.text.tex, because Robin Fairbairns (the package 
maintainer) is actively participating that newsgroup.

Jürgen


Re: rotating package and float sideways tables

2009-03-27 Thread Uwe Stöhr

Jürgen Spitzmüller schrieb:

I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I 
submitted a bug report to comp.text.tex, because Robin Fairbairns (the package 
maintainer) is actively participating that newsgroup.


Thanks, I was about to report it too. You can also send Robin a direct mail when you find bugs. (The 
last time he fixed a bug I reported within two days, so perhaps the fixed version is even part of 
the next MiKTeX update round on Monday.)


regards Uwe


Re: rotating package and float sideways tables

2009-03-27 Thread Piero Faustini
Uwe Stöhr uwesto...@... writes:

 I just run update MiKTeX's update and can still successfully compile the 
EmbeddedObjects manual. Can 
 you just run MiKTeX's update again on your machine and the restart LyX?
 If this doesn't help, can you please send me an example LyX file?

You're right, it isn't a problem of sideways float, only with  the \sideways 
command introduced by the rotate table/cell checkboxes, which worked just 
perfect beofre my MikTeX update. 99% sure the problem is the rotating package, 
but I still didn't try to restore the old version.
here's how I reproduce it:
make a new doc: enter a 2x2 table and apply the rotate table by 90° option in 
the table options, or just a rotate cell and try to compile:

The dialog tells me:
A box was supposed to be here.
 \begin{sideways}
 
I was expecting to see \hbox or \vbox or \copy or \box or
something like that. So you might find something missing in
your output. But keep trying; you can fix this later.

If you can't reproduce the error, tell me please.
Thanks
Piero





Re: rotating package and float sideways tables

2009-03-27 Thread Florian Rubach

Piero Faustini schrieb:

Uwe Stöhr uwesto...@... writes:

  
I just run update MiKTeX's update and can still successfully compile the 

EmbeddedObjects manual. Can 
  

you just run MiKTeX's update again on your machine and the restart LyX?
If this doesn't help, can you please send me an example LyX file?



You're right, it isn't a problem of sideways float, only with  the \sideways 
command introduced by the rotate table/cell checkboxes, which worked just 
perfect beofre my MikTeX update. 99% sure the problem is the rotating package, 
but I still didn't try to restore the old version.

here's how I reproduce it:
make a new doc: enter a 2x2 table and apply the rotate table by 90° option in 
the table options, or just a rotate cell and try to compile:


The dialog tells me:
A box was supposed to be here.
 \begin{sideways}
 
I was expecting to see \hbox or \vbox or \copy or \box or

something like that. So you might find something missing in
your output. But keep trying; you can fix this later.

If you can't reproduce the error, tell me please.
Thanks
Piero


Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before 
updating the rotating-package by MiKTeX's update wizard, afterwards it 
produces the error described above.


Greetings,
Florian


Re: rotating package and float sideways tables

2009-03-27 Thread Piero Faustini
Florian Rubach florian.rub...@... writes:

 
 Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before 
 updating the rotating-package by MiKTeX's update wizard, afterwards it 
 produces the error described above.
 

I still use 1.6.1





Re: rotating package and float sideways tables

2009-03-27 Thread Jürgen Spitzmüller
Piero Faustini wrote:
 You're right, it isn't a problem of sideways float, only with  the
 \sideways command introduced by the rotate table/cell checkboxes, which
 worked just perfect beofre my MikTeX update. 99% sure the problem is the
 rotating package, but I still didn't try to restore the old version.
 here's how I reproduce it:
 make a new doc: enter a 2x2 table and apply the rotate table by 90°
 option in the table options, or just a rotate cell and try to compile:

 The dialog tells me:
 A box was supposed to be here.
  \begin{sideways}
  
 I was expecting to see \hbox or \vbox or \copy or \box or
 something like that. So you might find something missing in
 your output. But keep trying; you can fix this later.

 If you can't reproduce the error, tell me please.

I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I 
submitted a bug report to comp.text.tex, because Robin Fairbairns (the package 
maintainer) is actively participating that newsgroup.

Jürgen


Re: rotating package and float sideways tables

2009-03-27 Thread Uwe Stöhr

Jürgen Spitzmüller schrieb:

I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I 
submitted a bug report to comp.text.tex, because Robin Fairbairns (the package 
maintainer) is actively participating that newsgroup.


Thanks, I was about to report it too. You can also send Robin a direct mail when you find bugs. (The 
last time he fixed a bug I reported within two days, so perhaps the fixed version is even part of 
the next MiKTeX update round on Monday.)


regards Uwe


Re: rotating package and float sideways tables

2009-03-27 Thread Piero Faustini
Uwe Stöhr  writes:

> I just run update MiKTeX's update and can still successfully compile the 
EmbeddedObjects manual. Can 
> you just run MiKTeX's update again on your machine and the restart LyX?
> If this doesn't help, can you please send me an example LyX file?

You're right, it isn't a problem of sideways float, only with  the \sideways 
command introduced by the rotate table/cell checkboxes, which worked just 
perfect beofre my MikTeX update. 99% sure the problem is the rotating package, 
but I still didn't try to restore the old version.
here's how I reproduce it:
make a new doc: enter a 2x2 table and apply the "rotate table by 90°" option in 
the table options, or just a "rotate cell" and try to compile:

The dialog tells me:
"A  was supposed to be here."
" \begin{sideways}
 
I was expecting to see \hbox or \vbox or \copy or \box or
something like that. So you might find something missing in
your output. But keep trying; you can fix this later."

If you can't reproduce the error, tell me please.
Thanks
Piero





Re: rotating package and float sideways tables

2009-03-27 Thread Florian Rubach

Piero Faustini schrieb:

Uwe Stöhr  writes:

  
I just run update MiKTeX's update and can still successfully compile the 

EmbeddedObjects manual. Can 
  

you just run MiKTeX's update again on your machine and the restart LyX?
If this doesn't help, can you please send me an example LyX file?



You're right, it isn't a problem of sideways float, only with  the \sideways 
command introduced by the rotate table/cell checkboxes, which worked just 
perfect beofre my MikTeX update. 99% sure the problem is the rotating package, 
but I still didn't try to restore the old version.

here's how I reproduce it:
make a new doc: enter a 2x2 table and apply the "rotate table by 90°" option in 
the table options, or just a "rotate cell" and try to compile:


The dialog tells me:
"A  was supposed to be here."
" \begin{sideways}
 
I was expecting to see \hbox or \vbox or \copy or \box or

something like that. So you might find something missing in
your output. But keep trying; you can fix this later."

If you can't reproduce the error, tell me please.
Thanks
Piero


Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before 
updating the rotating-package by MiKTeX's update wizard, afterwards it 
produces the error described above.


Greetings,
Florian


Re: rotating package and float sideways tables

2009-03-27 Thread Piero Faustini
Florian Rubach  writes:

> 
> Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before 
> updating the rotating-package by MiKTeX's update wizard, afterwards it 
> produces the error described above.
> 

I still use 1.6.1





Re: rotating package and float sideways tables

2009-03-27 Thread Jürgen Spitzmüller
Piero Faustini wrote:
> You're right, it isn't a problem of sideways float, only with  the
> \sideways command introduced by the rotate table/cell checkboxes, which
> worked just perfect beofre my MikTeX update. 99% sure the problem is the
> rotating package, but I still didn't try to restore the old version.
> here's how I reproduce it:
> make a new doc: enter a 2x2 table and apply the "rotate table by 90°"
> option in the table options, or just a "rotate cell" and try to compile:
>
> The dialog tells me:
> "A  was supposed to be here."
> " \begin{sideways}
>  
> I was expecting to see \hbox or \vbox or \copy or \box or
> something like that. So you might find something missing in
> your output. But keep trying; you can fix this later."
>
> If you can't reproduce the error, tell me please.

I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I 
submitted a bug report to comp.text.tex, because Robin Fairbairns (the package 
maintainer) is actively participating that newsgroup.

Jürgen


Re: rotating package and float sideways tables

2009-03-27 Thread Uwe Stöhr

Jürgen Spitzmüller schrieb:

I can reproduce it with rotating 2.16 (and not with rotating 2.15c). So I 
submitted a bug report to comp.text.tex, because Robin Fairbairns (the package 
maintainer) is actively participating that newsgroup.


Thanks, I was about to report it too. You can also send Robin a direct mail when you find bugs. (The 
last time he fixed a bug I reported within two days, so perhaps the fixed version is even part of 
the next MiKTeX update round on Monday.)


regards Uwe


rotating package and float sideways tables

2009-03-26 Thread Piero Faustini
I just run my MikTex monthly updating and I found out that since it updated the 
rotating package, I can't no more compile documents with a sideways floating 
table (didn't check with different sideways floating objects). And since I 
dont' know how to downgrade the package (well, I don't know where to find the 
old package files), I put this warning here, maybe someone can help me.
Thanks
Piero





Re: rotating package and float sideways tables

2009-03-26 Thread Uwe Stöhr

Piero Faustini schrieb:

I just run my MikTex monthly updating and I found out that since it updated the 
rotating package, I can't no more compile documents with a sideways floating 
table (didn't check with different sideways floating objects).


I just run update MiKTeX's update and can still successfully compile the EmbeddedObjects manual. Can 
you just run MiKTeX's update again on your machine and the restart LyX?

If this doesn't help, can you please send me an example LyX file?

Afterwards you can replace the rotating.sty file with the attached old one.

regards Uwe
%%
%% This is file `rotating.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rotating.dtx  (with options: `package')
%% Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. All
%% rights reserved.  Permission is granted to to customize the
%% declarations in this file to serve the needs of your installation.
%% However, no permission is granted to distribute a modified version of
%% this file under its original name.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rotating}%
[2008/10/05 v2.15c
  rotated objects in LaTeX%
]% $Id: rotating.dtx,v 1.15 2008/10/05 18:31:01 rf10 Exp $
\DeclareOption{clockwise}{%
 \AtBeginDocument{\setkeys{Grot}{units=360}}%
}
\DeclareOption{counterclockwise}{%
 \AtBeginDocument{\setkeys{Grot}{units=-360}}%
}
\declareoption{anticlockwise}{...@counterclockwise}
\DeclareOption{figuresleft}{%
  \...@rot@twosidefalse
  \def\...@lr{0}%
}
\DeclareOption{figuresright}{%
 \...@rot@twosidefalse
 \def\...@lr{-1}%
}
\newif\if...@messages
\DeclareOption{quiet}{%
  \...@messagesfalse
  \let\...@message\@gobble % pro tem -- should suppress altogether
}
\DeclareOption{log}{%
  \...@messagestrue
  \def\...@message{\packageinfo{rotating}}%
}
\DeclareOption{chatter}{%
  \...@messagestrue
  \def\...@message{\packagewarning{rotating}}%
}
\newif...@rot@twoside
\...@twoside
  \...@rot@twosidetrue
\else
  \...@rot@twosidefalse
\fi
\def\...@lr{-1}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}}
\ExecuteOptions{clockwise,quiet}
\ProcessOptions
\RequirePackage{graphicx}
\RequirePackage{ifthen}
\def\rotdriver#1{\makeatletter\input{#1.def}\makeatother}
\newcounte...@tfl@t}
\setcounte...@tfl@t}{0}
\newskip\rotFPtop \rotfpto...@fptop
\newskip\rotFPbot \rotfpbo...@fpbot
\def\sideways{%
  \g...@setangle{90}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endsideways{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \g...@box
}
\def\turn#1{%
  \g...@setangle{#1}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endturn{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \g...@box
}
\def\rotate#1{%
  \g...@setangle{#1}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endrotate{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \wd...@\dp0\z@\ht0\z@
  \g...@box
}
\def\turnbox#1#2{%
  \g...@setangle{#1}%
  \setbo...@\hbox{{#2}}%
  \g...@x\z@\g...@y\z@
  \wd...@\dp0\z@\ht0\z@
  \g...@box
}
\newsavebox\...@float@box
\d...@rotfloat#1{%
  \...@ifnextchar[%
{...@xrotfloat{#1}}%
{\ed...@tempa{\noexpand\@xrotfloat{#1}[\csname f...@#1\endcsname]}\@tempa}%
}
\d...@xrotfloat#1[#2]{%
  \...@float{#1}[#2]%
  \begin{lrbox}\...@float@box
  \begin{minipage}\textheight
 }
\def\...@rotfloat{%
   \end{minipage}\end{lrbox}%
   \stepcounte...@tfl@t}%
   \...@label{rf\ther@t...@t}%
   \...@pageref{rf\ther@t...@t}{\r@@page}%
   \ed...@tempa{adding sideways \...@captype\space on page \R@@page\space}
   \...@mess@toks\expandafte...@tempa}
   \wd\...@float@box\z@
   \ht\...@float@box\z@
   \dp\...@float@box\z@
   \vbox to \textheight{%
\setkeys{Grot}{units=360}%
\...@rot@twoside
\else
  \let\R@@page\...@lr
\fi
\ifthenelse{\isodd{\R@@page}}{%
  \...@rot@twoside
\...@mess@toks\expandafter{\the\...@mess@toks (right hand page)}%
  \fi
  \vfill
  \@@line{%
\hskip\rotFPtop
\rotatebox{90}{\box\...@float@box}%
\hskip\rotFPbot
  }%
}{%
  \...@rot@twoside
\...@mess@toks\expandafter{\the\...@mess@toks (left hand page)}%
  \fi
  \@@line{%
\hskip\rotFPbot
\rotatebox{-90}{\box\...@float@box}%
\hskip\rotFPtop
  }%
  \vfill
}%
\...@message{\the\rot@m...@toks}
  }%
  \...@float
}
\def\sidewaysfigur...@rotfloat{figure}}
\let\endsidewaysfigure\...@rotfloat
\def\sidewaystabl...@rotfloat{table}}
\let\endsidewaystable\...@rotfloat
\d...@rotdblfloat{%
  \...@twocolumn\expandafter\@rotdbflt\else\expandaft...@rotfloat\fi
}
\d...@rotdbflt#1{\@ifnextchar...@rotxdblfloat{#1}}{\@rotxdblfloat{#1}[tp]}}
\d...@rotxdblfloat#1[#2]{%
  \...@float{#1}[#2]%
  \hsize\textwidth\linewidth\textwidth
  \begin{lrbox}\...@float@box
  \begin{minipage}\textheight
}
\def\...@rotdblfloat{%
  \end{minipage}\end{lrbox}%
  \stepcounte...@tfl@t}%
  \...@label{rf\ther@t...@t}%
  \...@pageref{rf\ther@t...@t}{\r@@page}%
  \ed...@tempa{adding sideways \...@captype\space on page \R@@page\space}
  \...@mess@toks\expandafte...@tempa}
  

rotating package and float sideways tables

2009-03-26 Thread Piero Faustini
I just run my MikTex monthly updating and I found out that since it updated the 
rotating package, I can't no more compile documents with a sideways floating 
table (didn't check with different sideways floating objects). And since I 
dont' know how to downgrade the package (well, I don't know where to find the 
old package files), I put this warning here, maybe someone can help me.
Thanks
Piero





Re: rotating package and float sideways tables

2009-03-26 Thread Uwe Stöhr

Piero Faustini schrieb:

I just run my MikTex monthly updating and I found out that since it updated the 
rotating package, I can't no more compile documents with a sideways floating 
table (didn't check with different sideways floating objects).


I just run update MiKTeX's update and can still successfully compile the EmbeddedObjects manual. Can 
you just run MiKTeX's update again on your machine and the restart LyX?

If this doesn't help, can you please send me an example LyX file?

Afterwards you can replace the rotating.sty file with the attached old one.

regards Uwe
%%
%% This is file `rotating.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rotating.dtx  (with options: `package')
%% Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. All
%% rights reserved.  Permission is granted to to customize the
%% declarations in this file to serve the needs of your installation.
%% However, no permission is granted to distribute a modified version of
%% this file under its original name.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rotating}%
[2008/10/05 v2.15c
  rotated objects in LaTeX%
]% $Id: rotating.dtx,v 1.15 2008/10/05 18:31:01 rf10 Exp $
\DeclareOption{clockwise}{%
 \AtBeginDocument{\setkeys{Grot}{units=360}}%
}
\DeclareOption{counterclockwise}{%
 \AtBeginDocument{\setkeys{Grot}{units=-360}}%
}
\declareoption{anticlockwise}{...@counterclockwise}
\DeclareOption{figuresleft}{%
  \...@rot@twosidefalse
  \def\...@lr{0}%
}
\DeclareOption{figuresright}{%
 \...@rot@twosidefalse
 \def\...@lr{-1}%
}
\newif\if...@messages
\DeclareOption{quiet}{%
  \...@messagesfalse
  \let\...@message\@gobble % pro tem -- should suppress altogether
}
\DeclareOption{log}{%
  \...@messagestrue
  \def\...@message{\packageinfo{rotating}}%
}
\DeclareOption{chatter}{%
  \...@messagestrue
  \def\...@message{\packagewarning{rotating}}%
}
\newif...@rot@twoside
\...@twoside
  \...@rot@twosidetrue
\else
  \...@rot@twosidefalse
\fi
\def\...@lr{-1}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}}
\ExecuteOptions{clockwise,quiet}
\ProcessOptions
\RequirePackage{graphicx}
\RequirePackage{ifthen}
\def\rotdriver#1{\makeatletter\input{#1.def}\makeatother}
\newcounte...@tfl@t}
\setcounte...@tfl@t}{0}
\newskip\rotFPtop \rotfpto...@fptop
\newskip\rotFPbot \rotfpbo...@fpbot
\def\sideways{%
  \g...@setangle{90}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endsideways{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \g...@box
}
\def\turn#1{%
  \g...@setangle{#1}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endturn{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \g...@box
}
\def\rotate#1{%
  \g...@setangle{#1}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endrotate{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \wd...@\dp0\z@\ht0\z@
  \g...@box
}
\def\turnbox#1#2{%
  \g...@setangle{#1}%
  \setbo...@\hbox{{#2}}%
  \g...@x\z@\g...@y\z@
  \wd...@\dp0\z@\ht0\z@
  \g...@box
}
\newsavebox\...@float@box
\d...@rotfloat#1{%
  \...@ifnextchar[%
{...@xrotfloat{#1}}%
{\ed...@tempa{\noexpand\@xrotfloat{#1}[\csname f...@#1\endcsname]}\@tempa}%
}
\d...@xrotfloat#1[#2]{%
  \...@float{#1}[#2]%
  \begin{lrbox}\...@float@box
  \begin{minipage}\textheight
 }
\def\...@rotfloat{%
   \end{minipage}\end{lrbox}%
   \stepcounte...@tfl@t}%
   \...@label{rf\ther@t...@t}%
   \...@pageref{rf\ther@t...@t}{\r@@page}%
   \ed...@tempa{adding sideways \...@captype\space on page \R@@page\space}
   \...@mess@toks\expandafte...@tempa}
   \wd\...@float@box\z@
   \ht\...@float@box\z@
   \dp\...@float@box\z@
   \vbox to \textheight{%
\setkeys{Grot}{units=360}%
\...@rot@twoside
\else
  \let\R@@page\...@lr
\fi
\ifthenelse{\isodd{\R@@page}}{%
  \...@rot@twoside
\...@mess@toks\expandafter{\the\...@mess@toks (right hand page)}%
  \fi
  \vfill
  \@@line{%
\hskip\rotFPtop
\rotatebox{90}{\box\...@float@box}%
\hskip\rotFPbot
  }%
}{%
  \...@rot@twoside
\...@mess@toks\expandafter{\the\...@mess@toks (left hand page)}%
  \fi
  \@@line{%
\hskip\rotFPbot
\rotatebox{-90}{\box\...@float@box}%
\hskip\rotFPtop
  }%
  \vfill
}%
\...@message{\the\rot@m...@toks}
  }%
  \...@float
}
\def\sidewaysfigur...@rotfloat{figure}}
\let\endsidewaysfigure\...@rotfloat
\def\sidewaystabl...@rotfloat{table}}
\let\endsidewaystable\...@rotfloat
\d...@rotdblfloat{%
  \...@twocolumn\expandafter\@rotdbflt\else\expandaft...@rotfloat\fi
}
\d...@rotdbflt#1{\@ifnextchar...@rotxdblfloat{#1}}{\@rotxdblfloat{#1}[tp]}}
\d...@rotxdblfloat#1[#2]{%
  \...@float{#1}[#2]%
  \hsize\textwidth\linewidth\textwidth
  \begin{lrbox}\...@float@box
  \begin{minipage}\textheight
}
\def\...@rotdblfloat{%
  \end{minipage}\end{lrbox}%
  \stepcounte...@tfl@t}%
  \...@label{rf\ther@t...@t}%
  \...@pageref{rf\ther@t...@t}{\r@@page}%
  \ed...@tempa{adding sideways \...@captype\space on page \R@@page\space}
  \...@mess@toks\expandafte...@tempa}
  

rotating package and float sideways tables

2009-03-26 Thread Piero Faustini
I just run my MikTex monthly updating and I found out that since it updated the 
"rotating" package, I can't no more compile documents with a sideways floating 
table (didn't check with different sideways floating objects). And since I 
dont' know how to downgrade the package (well, I don't know where to find the 
old package files), I put this warning here, maybe someone can help me.
Thanks
Piero





Re: rotating package and float sideways tables

2009-03-26 Thread Uwe Stöhr

Piero Faustini schrieb:

I just run my MikTex monthly updating and I found out that since it updated the 
"rotating" package, I can't no more compile documents with a sideways floating 
table (didn't check with different sideways floating objects).


I just run update MiKTeX's update and can still successfully compile the EmbeddedObjects manual. Can 
you just run MiKTeX's update again on your machine and the restart LyX?

If this doesn't help, can you please send me an example LyX file?

Afterwards you can replace the rotating.sty file with the attached old one.

regards Uwe
%%
%% This is file `rotating.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rotating.dtx  (with options: `package')
%% Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. All
%% rights reserved.  Permission is granted to to customize the
%% declarations in this file to serve the needs of your installation.
%% However, no permission is granted to distribute a modified version of
%% this file under its original name.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rotating}%
[2008/10/05 v2.15c
  rotated objects in LaTeX%
]% $Id: rotating.dtx,v 1.15 2008/10/05 18:31:01 rf10 Exp $
\DeclareOption{clockwise}{%
 \AtBeginDocument{\setkeys{Grot}{units=360}}%
}
\DeclareOption{counterclockwise}{%
 \AtBeginDocument{\setkeys{Grot}{units=-360}}%
}
\declareoption{anticlockwise}{...@counterclockwise}
\DeclareOption{figuresleft}{%
  \...@rot@twosidefalse
  \def\...@lr{0}%
}
\DeclareOption{figuresright}{%
 \...@rot@twosidefalse
 \def\...@lr{-1}%
}
\newif\if...@messages
\DeclareOption{quiet}{%
  \...@messagesfalse
  \let\...@message\@gobble % pro tem -- should suppress altogether
}
\DeclareOption{log}{%
  \...@messagestrue
  \def\...@message{\packageinfo{rotating}}%
}
\DeclareOption{chatter}{%
  \...@messagestrue
  \def\...@message{\packagewarning{rotating}}%
}
\newif...@rot@twoside
\...@twoside
  \...@rot@twosidetrue
\else
  \...@rot@twosidefalse
\fi
\def\...@lr{-1}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}}
\ExecuteOptions{clockwise,quiet}
\ProcessOptions
\RequirePackage{graphicx}
\RequirePackage{ifthen}
\def\rotdriver#1{\makeatletter\input{#1.def}\makeatother}
\newcounte...@tfl@t}
\setcounte...@tfl@t}{0}
\newskip\rotFPtop \rotfpto...@fptop
\newskip\rotFPbot \rotfpbo...@fpbot
\def\sideways{%
  \g...@setangle{90}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endsideways{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \g...@box
}
\def\turn#1{%
  \g...@setangle{#1}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endturn{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \g...@box
}
\def\rotate#1{%
  \g...@setangle{#1}%
  \setbo...@\hbox\bgroup\ignorespaces}
\def\endrotate{%
  \unskip\egroup
  \g...@x\z@
  \g...@y\z@
  \wd...@\dp0\z@\ht0\z@
  \g...@box
}
\def\turnbox#1#2{%
  \g...@setangle{#1}%
  \setbo...@\hbox{{#2}}%
  \g...@x\z@\g...@y\z@
  \wd...@\dp0\z@\ht0\z@
  \g...@box
}
\newsavebox\...@float@box
\d...@rotfloat#1{%
  \...@ifnextchar[%
{...@xrotfloat{#1}}%
{\ed...@tempa{\noexpand\@xrotfloat{#1}[\csname f...@#1\endcsname]}\@tempa}%
}
\d...@xrotfloat#1[#2]{%
  \...@float{#1}[#2]%
  \begin{lrbox}\...@float@box
  \begin{minipage}\textheight
 }
\def\...@rotfloat{%
   \end{minipage}\end{lrbox}%
   \stepcounte...@tfl@t}%
   \...@label{rf\ther@t...@t}%
   \...@pageref{rf\ther@t...@t}{\r@@page}%
   \ed...@tempa{adding sideways \...@captype\space on page \R@@page\space}
   \...@mess@toks\expandafte...@tempa}
   \wd\...@float@box\z@
   \ht\...@float@box\z@
   \dp\...@float@box\z@
   \vbox to \textheight{%
\setkeys{Grot}{units=360}%
\...@rot@twoside
\else
  \let\R@@page\...@lr
\fi
\ifthenelse{\isodd{\R@@page}}{%
  \...@rot@twoside
\...@mess@toks\expandafter{\the\...@mess@toks (right hand page)}%
  \fi
  \vfill
  \@@line{%
\hskip\rotFPtop
\rotatebox{90}{\box\...@float@box}%
\hskip\rotFPbot
  }%
}{%
  \...@rot@twoside
\...@mess@toks\expandafter{\the\...@mess@toks (left hand page)}%
  \fi
  \@@line{%
\hskip\rotFPbot
\rotatebox{-90}{\box\...@float@box}%
\hskip\rotFPtop
  }%
  \vfill
}%
\...@message{\the\rot@m...@toks}
  }%
  \...@float
}
\def\sidewaysfigur...@rotfloat{figure}}
\let\endsidewaysfigure\...@rotfloat
\def\sidewaystabl...@rotfloat{table}}
\let\endsidewaystable\...@rotfloat
\d...@rotdblfloat{%
  \...@twocolumn\expandafter\@rotdbflt\else\expandaft...@rotfloat\fi
}
\d...@rotdbflt#1{\@ifnextchar...@rotxdblfloat{#1}}{\@rotxdblfloat{#1}[tp]}}
\d...@rotxdblfloat#1[#2]{%
  \...@float{#1}[#2]%
  \hsize\textwidth\linewidth\textwidth
  \begin{lrbox}\...@float@box
  \begin{minipage}\textheight
}
\def\...@rotdblfloat{%
  \end{minipage}\end{lrbox}%
  \stepcounte...@tfl@t}%
  \...@label{rf\ther@t...@t}%
  \...@pageref{rf\ther@t...@t}{\r@@page}%
  \ed...@tempa{adding sideways \...@captype\space on page \R@@page\space}
  \...@mess@toks\expandafte...@tempa}