Discussion:
sidewayspage environment in rotating package and rtflatex error
(too old to reply)
Stephen Harker
2020-06-13 19:35:56 UTC
Permalink
Starting with texlive2017 I encountered a problem with previously
working code in processing with pdflatex. As family matters and a
change in workplace had an impact on my time available I have not got
around to reporting this until now. Yesterday I constrcted a minimal
working example:

\documentclass{article}
\usepackage{topcapt, rotating}
\begin{document}

\begin{sidewaystable}
%\begin{table}
\topcaption{Brandenburg (or Hansa-Brandenburg) C.I
performance figures. }
\label{BrandenburgCIPerf}
\centering%
\begin{tabular}{rrr}
Model & C.I(Ph) & C.I(Ph) \\
Series & 26 & 27 \\
Engine & 160 hp & 160 hp \\
{} & A.D & A.D \\
\end{tabular}
%\end{table}
\end{sidewaystable}

\end{document}

When processed with pdflatex I get the error:

ERROR: pdfTeX error (\pdfsetmatrix): Unrecognized format..

--- TeX said ---
\***@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.25 \end{document}

If I replace {sidewaystable} with {table} it compiles correctly. The
workaround had always been to run latex, dvips and ps2pdf which
generates correct output.

The error continues from TexLive 2017, 2018, 2019 and 2020.
--
Stephen Harker ***@netspace.net.au
was: http://sjharker.customer.netspace.net.au/
now: http://members.iinet.net.au/~***@netspace.net.au/
or: http://members.iinet.net.au/~sjharker_nbn/
Ulrike Fischer
2020-06-13 19:48:38 UTC
Permalink
Post by Stephen Harker
Starting with texlive2017 I encountered a problem with previously
working code in processing with pdflatex. As family matters and a
change in workplace had an impact on my time available I have not got
around to reporting this until now. Yesterday I constrcted a minimal
Compiles fine for me in on windows in texlive 2020. Can you show
your log-file?
--
Ulrike Fischer
https://www.troubleshooting-tex.de/
Stephen Harker
2020-06-14 19:28:25 UTC
Permalink
Post by Ulrike Fischer
Post by Stephen Harker
Starting with texlive2017 I encountered a problem with previously
working code in processing with pdflatex. As family matters and a
change in workplace had an impact on my time available I have not got
around to reporting this until now. Yesterday I constrcted a minimal
Compiles fine for me in on windows in texlive 2020. Can you show
your log-file?
Thanks to you and Herb Schulz, in looking through the log file I found
that a patents related class also included archaic copies of some base
files and these were causing problems. I am surprised I had left them
around as they were only downloaded to answer a question of some sort,
presumably around 2017. Deleting the directory structure removed the
problem. As the original problem occured in a file based on one of the
NTG classes (artikel1.cls) I think the problem likely occurred in the
old copies of rotating and/or graphics related styles.

This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex 2020.6.13) 13 JUN 2020 21:04
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**\input test.tex
(./test.tex
(/home/sjh/ltex/patents/template/class/article.cls
Document Class: article 1999/09/10 v1.4a Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
)

Here you see an archaic article class.

\***@part=\count167
\***@section=\count168
\***@subsection=\count169
\***@subsubsection=\count170
\***@paragraph=\count171
\***@subparagraph=\count172
\***@figure=\count173
\***@table=\count174
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen134
)
(/usr/local/texlive/2020/texmf-dist/tex/latex/ltxmisc/topcapt.sty
Package: topcapt 2004/12/11 v1.2 Caption at top of float
)
(/home/sjh/ltex/patents/template/styles/rotating.sty
Package: rotating 1997/09/26, v2.13 Rotation package

Archaic Rotation package

(/home/sjh/ltex/patents/template/styles/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/home/sjh/ltex/patents/template/styles/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\***@toks@=\toks15
)
(/home/sjh/ltex/patents/template/styles/graphics.sty
Package: graphics 1999/02/16 v1.0l Standard LaTeX Graphics (DPC,SPQR)

(/home/sjh/ltex/patents/template/styles/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/home/sjh/ltex/patents/template/styles/graphics.cfg)
Package graphics Info: Driver file: pdftex.def on input line 80.

(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
))
\***@req@height=\dimen135
\***@req@width=\dimen136
)

These would occur in the artikel1.cls based document and probably are
the source of the problem as the defaults may have changed from that
date.

Removing this directory removed the problem. I am only vaguely aware of
downloading these files due to a question I was addressing briefly at
some point.
--
Stephen Harker ***@netspace.net.au
was: http://sjharker.customer.netspace.net.au/
now: http://members.iinet.net.au/~***@netspace.net.au/
or: http://members.iinet.net.au/~sjharker_nbn/
Herb Schulz
2020-06-13 22:08:20 UTC
Permalink
Post by Stephen Harker
Starting with texlive2017 I encountered a problem with previously
working code in processing with pdflatex. As family matters and a
change in workplace had an impact on my time available I have not got
around to reporting this until now. Yesterday I constrcted a minimal
\documentclass{article}
\usepackage{topcapt, rotating}
\begin{document}
\begin{sidewaystable}
%\begin{table}
\topcaption{Brandenburg (or Hansa-Brandenburg) C.I
performance figures. }
\label{BrandenburgCIPerf}
\centering%
\begin{tabular}{rrr}
Model & C.I(Ph) & C.I(Ph) \\
Series & 26 & 27 \\
Engine & 160 hp & 160 hp \\
{} & A.D & A.D \\
\end{tabular}
%\end{table}
\end{sidewaystable}
\end{document}
ERROR: pdfTeX error (\pdfsetmatrix): Unrecognized format..
--- TeX said ---
\fi \fi
l.25 \end{document}
If I replace {sidewaystable} with {table} it compiles correctly. The
workaround had always been to run latex, dvips and ps2pdf which
generates correct output.
The error continues from TexLive 2017, 2018, 2019 and 2020.
Howdy,

I have no problems typesetting the MWE you gave using a fully updated TeX
Live 2020. Use \listfiles before \documentclass and see what packages you are
using. My list is

*File List*
article.cls 2019/12/20 v1.4l Standard LaTeX document class
size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
topcapt.sty 2004/12/11 v1.2 Caption at top of float
rotating.sty 2016/08/11 v2.16d rotated objects in LaTeX
graphicx.sty 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
l3backend-pdfmode.def 2020-06-03 L3 backend support: PDF mode
supp-pdf.mkii
epstopdf-base.sty 2020-01-24 v2.11 Base part for package epstopdf
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
epstopdf.cfg
grfext.sty 2019/12/03 v1.3 Manage graphics extensions (HO)
infwarerr.sty 2019/12/03 v1.5 Providing info/warning/error messages (HO)
kvdefinekeys.sty 2019-12-19 v1.6 Define keys (HO)
***********

and you may be using an old package you have in your personal tree.

Good Luck,
Herbert Schulz
Loading...