Skip to content
Snippets Groups Projects
Commit 37ffc98f authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

blowup-Versionstest

parent 5244aa06
No related branches found
No related tags found
No related merge requests found
...@@ -140,21 +140,36 @@ ...@@ -140,21 +140,36 @@
\@ifundefined{changefontsizes}{% \@ifundefined{changefontsizes}{%
\ClassError{ptbposter}{% \ClassError{ptbposter}{%
Deine Version von KOMA-Script ist ungeeignet (vermutlich stark veraltet)! Your version of KOMA-Script is unsuitable\MessageBreak
(probably very outdated)!
}{% }{%
Installiere die aktuelle Version von KOMA-Script. Install the latest version of KOMA-Script.
}% }%
\@@end
}{} }{}
\ifx\PTB@target@size\@empty\else \ifx\PTB@target@size\@empty\else % Sheet scaling is necessary
\RequirePackage{blowup}[2022/09/19] \RequirePackage{blowup}
\ClassNoteNoLine{ptbposter}{% \IfPackageAtLeastTF{blowup}{2022/09/19}{%
Scaling the sheet from size `a0' to size `\PTB@target@size'}% \RequirePackage{blowup}%
\ifPTBlandscape \ClassNoteNoLine{ptbposter}{%
\blowUp{target=\PTB@target@size,landscape} Scaling the sheet from size `a0' to size `\PTB@target@size'}%
\else \ifPTBlandscape
\blowUp{target=\PTB@target@size} \blowUp{target=\PTB@target@size,landscape}
\fi \else
\blowUp{target=\PTB@target@size}
\fi
}{%
\ClassError{ptbposter}{%
You need version `2022/09/19' or newer of the \MessageBreak
`blowup' package to scale the document, but only \MessageBreak
version `\csname ver@blowup.sty\endcsname' \MessageBreak
is available
}{%
Install the latest version of `blowup'.
}%
\@@end
}
\fi \fi
\iftutex% LuaTeX oder XeTeX \iftutex% LuaTeX oder XeTeX
......
No preview for this file type
\documentclass[% \documentclass[%
,sanserif ,sanserif
%,a4paper ,a4paper
]{ptbposter} ]{ptbposter}
\usepackage[ \usepackage[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment