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}
  \...@tempdima\ht\rot@fl...@box
  \advan...@tempdima by \dp\...@float@box
  \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}}{%
      \if...@messages
        \...@rot@twoside
  \...@mess@toks\expandafter{\the\...@mess@toks (right hand page)}%
\fi
      \fi
      \vfill
      \@@line{%
        \hskip\rotFPtop
        \rotatebox{90}{\box\...@float@box}%
        \hskip\rotFPbot
      }%
    }{%
      \if...@messages
        \...@rot@twoside
  \...@mess@toks\expandafter{\the\...@mess@toks (left hand page)}%
\fi
      \fi%
      \@@line{%
        \hskip\rotFPbot
        \rotatebox{-90}{\box\...@float@box}%
        \hskip\rotFPtop
      }%
      \vfill
    }%
    \...@message{\the\rot@m...@toks}%
  }%
  \...@dblfloat
}
\newenvironment{sidewaystable*}
               {...@rotdblfloat{table}}
               {\...@rotdblfloat}
\newenvironment{sidewaysfigure*}
               {...@rotdblfloat{figure}}
               {\...@rotdblfloat}

\def\...@thepage{\@arabi...@page}
\def\...@label#1{\@bsphack
  \...@protected@writ...@auxout}{}%
         {\string\newlabel{#1}{\...@thepage}}%
  \...@esphack}
\def\...@pageref#1#2{%
  \expandafter\ifx\csname r...@#1\endcsname\relax
    \glob...@rot@refundefinedtrue
    \def#2{0}%
  \else
    \edef#2{\csname r...@#1\endcsname}%
  \fi
}
\long\def\...@protected@write#1#2#3{%
  \begingroup
    \let\...@thepage\relax
    #2%
    \let\prote...@unexpandable@protect
    \edef\reser...@a{\write#1{#3}}%
    \reser...@a
  \endgroup
  \...@nobreak\ifvmode\nobreak\fi\fi
}
\newif...@rot@refundefined
\glob...@rot@refundefinedfalse
\newtoks\...@mess@toks
\def\rotcaption{\refstepcount...@captype\@dblar...@rotcaption\@captype}}
\long\d...@rotcaption#1[#2]#3{%
  \addcontentsline{\csname e...@#1\endcsname}{#1}{%
    \protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
  \par
  \begingroup
    \...@parboxrestore
    \normalsize
    \...@makerotcaption{\csname f...@#1\endcsname}{#3}%
  \endgroup}
  \long\d...@makerotcaption#1#2{%
    \setb...@tempboxa\hbox{#1: #2}%
    \ifdim \...@tempboxa > .8\vsize
      \rotatebox{90}{%
        \begin{minipage}{.8\textheight}#1: #2\end{minipage}%
      }%
    \else%
      \rotatebox{90}{\b...@tempboxa}%
    \fi
  \nobreak
  \hspace{12pt}%
}
\endinput
%%
%% End of file `rotating.sty'.

Reply via email to