[OS X TeX] Re: Plain-TeX in landscape does not work in TeXlive2012

Basil Grammaticos basigram at gmail.com
Fri Oct 12 05:18:07 EDT 2012


While waiting for my subscription at the list (and being of impatient nature)
 I wrote to H. Oberdiek who 
most kindly answered and gave me the solution.

One should not use graphicxland anymore but input the file he sent me:

\newdimen\paperwidth
\newdimen\paperheight
\paperwidth=297truemm
\paperheight=210truemm

\input miniltx.tex %

\let\End at AtEndOfPackage\relax
\@ifundefined{AtEndOfPackage}{%
  \let\Org at AtEndOfPackage\AtEndOfPackage
  \csname newtoks\endcsname\AtEndOfPackage at Toks
  \global\AtEndOfPackage at Toks{}%
  \long\def\AtEndOfPackage#1{%
    \global\AtEndOfPackage at Toks\expandafter{%
      \the\AtEndOfPackage at Toks
      #1%
    }%
  }%
  \def\End at AtEndOfPackage{%
    \let\AtEndOfPackage\Org at AtEndOfPackage
    \the\AtEndOfPackage at Toks
    \global\AtEndOfPackage at Toks{}%
  }% 
}{}
\def\@ifpackageloaded#1{%
  \@ifundefined{ver@#1.sty}\@secondoftwo\@firstoftwo
}

% (not needed for TL's graphics.cfg)
\input ifpdf.sty %
\ifpdf
  \def\Gin at driver{pdftex.def}%
\else
  \def\Gin at driver{dvips.def}%
\fi

\input graphicx.sty %

\End at AtEndOfPackage
\resetatcatcode

(I called it "oberdiek" as a tribute to his kindness).

I tied it and it works




More information about the MacOSX-TeX mailing list