texlive[46213] Master: blowup (4jan18)

commits+karl at tug.org commits+karl at tug.org
Fri Jan 5 00:45:00 CET 2018


Revision: 46213
          http://tug.org/svn/texlive?view=revision&revision=46213
Author:   karl
Date:     2018-01-05 00:45:00 +0100 (Fri, 05 Jan 2018)
Log Message:
-----------
blowup (4jan18)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/libexec/ctan2tds
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/blowup/
    trunk/Master/texmf-dist/doc/latex/blowup/README.md
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf
    trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex
    trunk/Master/texmf-dist/doc/latex/blowup/blowup.pdf
    trunk/Master/texmf-dist/source/latex/blowup/
    trunk/Master/texmf-dist/source/latex/blowup/blowup.dtx
    trunk/Master/texmf-dist/source/latex/blowup/blowup.ins
    trunk/Master/texmf-dist/tex/latex/blowup/
    trunk/Master/texmf-dist/tex/latex/blowup/blowup.sty
    trunk/Master/tlpkg/tlpsrc/blowup.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/blowup/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/blowup/README.md	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,9 @@
+# blowup
+The package blowup only defines the user-level macro \blowUp, which can be
+used to upscale or downscale all pages of a document. It is  similar to the
+TeX primitive \magnification but more accurate and in a user-friendly manner.
+
+Home page: https://github.com/rolfn/blowup
+
+Rolf Niepraschk, 2018-01-02
+


Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf	2018-01-04 23:45:00 UTC (rev 46213)

Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,63 @@
+
+%---------------------------
+% Rolf Niepraschk, Rolf.Niepraschk at gmx.de, 2017-07-28
+
+% lualatex blowup-test.tex
+% or
+% pdflatex blowup-test.tex
+% or
+% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps
+% or
+% vlatex blowup-test.tex
+%
+% pdfinfo blowup-test.pdf
+
+\listfiles
+\documentclass[letterpaper,twoside]{article}
+\usepackage{array,xcolor}
+
+% Only to show the source page size.
+\usepackage{eso-pic}
+\AddToShipoutPicture{%
+  \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}%
+}
+
+\renewcommand\familydefault{\sfdefault}
+\setlength\parindent{0pt}
+\pagestyle{empty}
+
+\usepackage{blowup}% Load "blowup" as last package!
+\blowUp{target=a4,pos=c}% vert. and horiz. centered (default)
+
+\begin{document}
+
+\null\vfill
+
+\huge\centering
+
+Letter-size document on A4-size paper
+
+\vfill
+
+\setlength\extrarowheight{.5ex}
+\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline
+  letter    & 216 &  279 \\
+  legal     & 216 &  356 \\
+  executive & 184 &  267 \\
+  A8        &  52 &   74 \\
+  A7        &  74 &  105 \\
+  A6        & 105 &  148 \\
+  A5        & 148 &  210 \\
+  A4        & 210 &  297 \\
+  A3        & 297 &  420 \\
+  A2        & 420 &  594 \\
+  A1        & 594 &  841 \\
+  A0        & 841 & 1189 \\ \hline
+\end{tabular}
+
+\vfill
+
+\newpage\null 2nd page\dots
+
+\end{document}
+%---------------------------


Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf	2018-01-04 23:45:00 UTC (rev 46213)

Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,63 @@
+
+%---------------------------
+% Rolf Niepraschk, Rolf.Niepraschk at gmx.de, 2017-07-28
+
+% lualatex blowup-test.tex
+% or
+% pdflatex blowup-test.tex
+% or
+% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps
+% or
+% vlatex blowup-test.tex
+%
+% pdfinfo blowup-test.pdf
+
+\listfiles
+\documentclass[a4paper,twoside]{article}
+\usepackage{array,xcolor}
+
+% Only to show the source page size.
+\usepackage{eso-pic}
+\AddToShipoutPicture{%
+  \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}%
+}
+
+\renewcommand\familydefault{\sfdefault}
+\setlength\parindent{0pt}
+\pagestyle{empty}
+
+\usepackage{blowup}% Load "blowup" as last package!
+\blowUp{target=letter,pos=outside}% outside aligned
+
+\begin{document}
+
+\null\vfill
+
+\huge\centering
+
+A4-size document on letter-size paper
+
+\vfill
+
+\setlength\extrarowheight{.5ex}
+\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline
+  letter    & 216 &  279 \\
+  legal     & 216 &  356 \\
+  executive & 184 &  267 \\
+  A8        &  52 &   74 \\
+  A7        &  74 &  105 \\
+  A6        & 105 &  148 \\
+  A5        & 148 &  210 \\
+  A4        & 210 &  297 \\
+  A3        & 297 &  420 \\
+  A2        & 420 &  594 \\
+  A1        & 594 &  841 \\
+  A0        & 841 & 1189 \\ \hline
+\end{tabular}
+
+\vfill
+
+\newpage\null 2nd page\dots
+
+\end{document}
+%---------------------------


Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf	2018-01-04 23:45:00 UTC (rev 46213)

Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,66 @@
+
+%---------------------------
+% Rolf Niepraschk, Rolf.Niepraschk at gmx.de, 2017-07-28
+
+% lualatex blowup-test.tex
+% or
+% pdflatex blowup-test.tex
+% or
+% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps
+% or
+% vlatex blowup-test.tex
+%
+% pdfinfo blowup-test.pdf
+
+\listfiles
+\documentclass[a5paper,twoside]{article}
+\usepackage{array,xcolor}
+
+% Only to show the source page size.
+\usepackage{eso-pic}
+\AddToShipoutPicture{%
+  \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}%
+}
+
+\renewcommand\familydefault{\sfdefault}
+\setlength\parindent{0pt}
+\pagestyle{empty}
+
+\usepackage{blowup}% Load "blowup" as last package!
+\blowUp{origin={143mm,202mm},target=a5,pos={o,b}}% top and outside aligned
+% or the same:
+%  \blowUp{origin=x0.966216,target=a5,pos={o,b}}% top and outside aligned
+
+\begin{document}
+
+\null\vfill
+
+\Large\centering
+
+A bit downscaled A5-size document on \mbox{A5-size paper} 
+(more space for binding)
+
+\vfill
+
+\setlength\extrarowheight{.5ex}
+\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline
+  letter    & 216 &  279 \\
+  legal     & 216 &  356 \\
+  executive & 184 &  267 \\
+  A8        &  52 &   74 \\
+  A7        &  74 &  105 \\
+  A6        & 105 &  148 \\
+  A5        & 148 &  210 \\
+  A4        & 210 &  297 \\
+  A3        & 297 &  420 \\
+  A2        & 420 &  594 \\
+  A1        & 594 &  841 \\
+  A0        & 841 & 1189 \\ \hline
+\end{tabular}
+
+\vfill
+
+\newpage\null 2nd page\,\dots
+
+\end{document}
+%---------------------------


Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf	2018-01-04 23:45:00 UTC (rev 46213)

Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,64 @@
+
+%---------------------------
+% Rolf Niepraschk, Rolf.Niepraschk at gmx.de, 2017-07-28
+
+% lualatex blowup-test.tex
+% or
+% pdflatex blowup-test.tex
+% or
+% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps
+% or
+% vlatex blowup-test.tex
+%
+% pdfinfo blowup-test.pdf
+
+\listfiles
+\documentclass[paper=a4,landscape]{scrartcl}
+\usepackage{array,xcolor}
+
+% Only to show the source page size.
+\usepackage{eso-pic}
+\AddToShipoutPicture{%
+  \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}%
+}
+
+\renewcommand\familydefault{\sfdefault}
+\setlength\parindent{0pt}
+\pagestyle{empty}
+
+\usepackage{blowup}% Load "blowup" as last package!
+\blowUp{target=a0,landscape,onepage}
+
+\begin{document}
+
+\null\vfill
+
+\Large\centering
+
+The first page of a multipage A4-size document scaled to \mbox{A0-size paper} 
+(useful for poster)
+
+\vfill
+
+\setlength\extrarowheight{.5ex}
+\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline
+  letter    & 216 &  279 \\
+  legal     & 216 &  356 \\
+  executive & 184 &  267 \\
+  A8        &  52 &   74 \\
+  A7        &  74 &  105 \\
+  A6        & 105 &  148 \\
+  A5        & 148 &  210 \\
+  A4        & 210 &  297 \\
+  A3        & 297 &  420 \\
+  A2        & 420 &  594 \\
+  A1        & 594 &  841 \\
+  A0        & 841 & 1189 \\ \hline
+\end{tabular}
+
+\vfill
+
+\newpage\null 2nd page\,\dots
+
+\end{document}
+%---------------------------


Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf	2018-01-04 23:45:00 UTC (rev 46213)

Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,23 @@
+
+\listfiles
+\documentclass[paper=b6,fontsize=11pt,twoside]{scrartcl}
+\usepackage{showframe}
+
+\newcommand*\aPage{%
+  \Huge
+  \noindent A \hfill B \hfill C 
+  \vfill
+  \noindent X \hfill Y \hfill Z \newpage}
+
+\usepackage{blowup}
+\blowUp{target=a4,pos={inside,top},noscale}
+
+\begin{document}
+
+\aPage
+\aPage
+\aPage
+\aPage
+
+\end{document}
+%---------------------------


Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/blowup/blowup.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/blowup/blowup.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/blowup/blowup.pdf	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/texmf-dist/doc/latex/blowup/blowup.pdf	2018-01-04 23:45:00 UTC (rev 46213)

Property changes on: trunk/Master/texmf-dist/doc/latex/blowup/blowup.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/blowup/blowup.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/blowup/blowup.dtx	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/blowup/blowup.dtx	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,465 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2007, 2018-
+% Rolf Niepraschk, Rolf.Niepraschk at gmx.de
+% 
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2003/12/01 or later.
+% 
+% This work has the LPPL maintenance status "author-maintained".
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{blowup.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{blowup}[2018/01/02 1.0 Document Scaling (RN)]
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{array,longtable}
+\IfFileExists{ragged2e.sty}{%
+  \usepackage{ragged2e}}{\let\RaggedRight=\raggedright}
+\newcommand{\m}[1]{\mbox{$\langle$\it #1\/$\rangle$}}
+\renewcommand{\arg}[1]{{\ttfamily\string{}\m{#1}{\ttfamily\string}}}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+  \DocInput{blowup.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{504}
+%
+% \CharacterTable
+%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%   Digits        \0\1\2\3\4\5\6\7\8\9
+%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%   Dollar        \$     Percent       \%     Ampersand     \&
+%   Acute accent  \'     Left paren    \(     Right paren   \)
+%   Asterisk      \*     Plus          \+     Comma         \,
+%   Minus         \-     Point         \.     Solidus       \/
+%   Colon         \:     Semicolon     \;     Less than     \<
+%   Equals        \=     Greater than  \>     Question mark \?
+%   Commercial at \@     Left bracket  \[     Backslash     \\
+%   Right bracket \]     Circumflex    \^     Underscore    \_
+%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%   Right brace   \}     Tilde         \~}
+%
+%
+% \changes{v0.1a}{2007/08/14}{Initial version. (RN)}
+%
+% \GetFileInfo{blowup.dtx}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+% 
+% \newcommand\afterheading{\par\nobreak\@afterheading}
+% \newcolumntype{P}[1]{>{\RaggedRight\hspace{0pt}}p{#1}}
+% 
+%
+% \title{The \textsf{blowup} package\thanks{This document
+%   corresponds to \textsf{blowup}~\fileversion, dated \filedate.}}
+% \author{Rolf Niepraschk \\ \texttt{Rolf.Niepraschk at gmx.de}}
+%
+% \maketitle
+% 
+%    \begin{abstract}
+%       \noindent
+%       This package only defines the user-level macro \cmd{\blowUp}, 
+%       which can be used to upscale or downscale all pages 
+%       of a document. It is 
+%       similar to the \TeX\ primitive \cmd{\magnification} but more 
+%       accurate and in a user-friendly manner. \cmd{\blowUp} 
+%       may be useful for the creation of posters from a normal-sized 
+%       document and for many kinds of fine adjustments of a ready 
+%       typesetted document (e.\,g., minor changes of scaling and 
+%       position of the pages). 
+%    \end{abstract}
+%
+%    \tableofcontents
+%
+% \section{Usage}
+% Load the package after other packages that affect the paper size 
+% (e.\,g., \textsf{geometry} and \textsf{hyperref}). 
+% Then call the macro \cmd{\blowUp} before |\begin{document}| to scale 
+% the document. \par \medskip \noindent
+%  |\usepackage{blowup}| \par \noindent
+%  \cmd{\blowUp}\arg{key=value} \par \noindent
+%  \vspace{-\baselineskip}
+%  \setlength\extrarowheight{.2ex}
+%  \begin{longtable}{@{}lP{.75\linewidth}@{}}
+%    \multicolumn{1}{@{}l}{\textbf{key}} & 
+%    \multicolumn{1}{l@{}}{\textbf{value}} \tabularnewline \hline 
+%    target    & The final paper size: \tabularnewline
+%              & |letter|, |legal|, |executive| or a paper size from the 
+%              ISO/DIN paper series A, B, C, D 
+%              (e.\,g., |a8|, |c7|,..., |b1|, |a0|) or a pair of dimensions
+%              in curly brackets (e.\,g., |paper={925mm,1225mm}|) or the 
+%              letter `x' followed by a scaling factor 
+%              (e.\,g., |paper=x1.414213|). \tabularnewline[.4\baselineskip]
+%    origin    & The paper size of the source document; no scaling to the target 
+%              size. \tabularnewline
+%              & |letter|, |legal|, |executive| or a paper size from the 
+%              ISO/DIN paper series A, B, C, D 
+%              (e.\,g., |a8|, |c7|,..., |b1|, |a0|) or a pair of dimensions
+%              in curly brackets (e.\,g., |paper={925mm,1225mm}|) or the 
+%              letter `x' followed by a scaling factor 
+%              (e.\,g., |paper=x1.414213|). \tabularnewline[.4\baselineskip]
+%    landscape & Exchanges paperwidth and paperheight: \tabularnewline
+%              & |true| (the same as no value) or |false|. \tabularnewline[.4\baselineskip]
+%    noscale   & No scaling of the original paper size: \tabularnewline
+%              & |true| (the same as no value) or |false|. \tabularnewline[.4\baselineskip]
+%    pos       & Position of the page on the paper: \tabularnewline
+%              & |left| or |right|, |inside| or |outside|, |top| or |bottom| 
+%              (only the first letter is significant; default is 
+%              centering), or
+%              a pair of dimensions in curly brackets which means the offset  
+%              from the lower left or lower outside corner of the final paper. 
+%              Only meaningful for |noscale=true| and up-scaled paper 
+%              size. \tabularnewline[.4\baselineskip]
+%    onepage   & Suppresses the second page and all following pages: \tabularnewline 
+%              & |true| (the same as no value) or |false|. \tabularnewline
+%              & Useful for creating a one-side paper like a poster.
+%  \end{longtable}
+%  \vspace{0\baselineskip}
+%  See also the example documents |blowup-ex?.tex|.
+%
+%    \section{Required Packages} 
+%
+%    The \textsf{blowup} package requires the following packages: 
+%    \textsf{atbegshi}, \textsf{graphics}, \textsf{keyval}, and 
+%    \textsf{typearea}.
+%
+% \StopEventually{\PrintChanges\PrintIndex}
+%
+% \section{Implementation}
+%
+%    \begin{macrocode}
+%<*package>
+%    \end{macrocode}
+%  Load some packages for utility macros. 
+%    \begin{macrocode}
+\RequirePackage{atbegshi,keyval,graphics}
+\@ifpackageloaded{typearea}{}{%
+  \newcommand*\BL at save@dimen[1]{%
+    \@ifundefined{BL@#1}{%
+      \expandafter\newlength\csname BL@#1\endcsname}{}%
+    \csname BL@#1\endcsname\csname #1\endcsname
+    \g at addto@macro\BL at restore@dimens{%
+      \csname #1\endcsname\csname BL@#1\endcsname}%
+  }%
+  \newcommand*\BL at restore@dimens{}%
+%    \end{macrocode}
+% Some dimensions changed by \textsf{typearea} must be saved and restored.
+%    \begin{macrocode}
+  \BL at save@dimen{textwidth}%
+  \BL at save@dimen{textheight}%
+  \BL at save@dimen{evensidemargin}%
+  \BL at save@dimen{oddsidemargin}%
+  \BL at save@dimen{topmargin}%
+  \BL at save@dimen{headheight}%
+  \BL at save@dimen{headsep}%
+  \BL at save@dimen{topskip}%
+  \BL at save@dimen{footskip}%
+  \BL at save@dimen{baselineskip}%
+%    \end{macrocode}
+% \changes{v0.1j}{2008/11/14}{Undefine \cmd{\l at addto@macro}. (RN)}
+% Prevent an error if \cmd{\l at addto@macro} is already defined.
+%    \begin{macrocode}
+  \let\l at addto@macro=\relax
+  \RequirePackage{typearea}%
+  \BL at restore@dimens
+  \let\BL at save@dimen=\relax
+  \let\BL at restore@dimens=\relax
+}
+\providecommand*\vb at xt@{\vbox to}
+%    \end{macrocode}
+% \begin{macro}{\tPaperWidth}
+% \begin{macro}{\tPaperHeight}
+% The size of the scaled pages.
+%    \begin{macrocode}
+\newlength\tPaperWidth  \tPaperWidth=\paperwidth
+\newlength\tPaperHeight \tPaperHeight=\paperheight
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\oPaperWidth}
+% \begin{macro}{\oPaperHeight}
+% The size of the original pages.
+%    \begin{macrocode}
+\newlength\oPaperWidth  \oPaperWidth=\z@
+\newlength\oPaperHeight \oPaperHeight=\z@
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+%    \begin{macrocode}
+\newcommand*\BL at resize[1]{#1}
+%    \end{macrocode}
+% \begin{macro}{\BL at scalePage}
+% Scales the output box to the dimension of the new paper size.
+%    \begin{macrocode}
+\newcommand*\BL at scalePage{%
+  \setbox\AtBeginShipoutBox=\vbox{%
+    \vskip1in\moveright1in\box\AtBeginShipoutBox}%
+  \setbox\AtBeginShipoutBox=\hb at xt@\paperwidth{%
+    \box\AtBeginShipoutBox\hss}%
+  \setbox\AtBeginShipoutBox=\vb at xt@\paperheight{%
+    \box\AtBeginShipoutBox\vss}%
+  \ifBL at noscale\else
+    \ifdim\oPaperWidth>\z@
+      \setbox\AtBeginShipoutBox=\hbox{\resizebox{\oPaperWidth}{\oPaperHeight}%
+        {\box\AtBeginShipoutBox}}%
+    \else
+      \def\BL at resize##1{\resizebox{\tPaperWidth}{!}{##1}}%
+      \setbox\@tempboxa=\hbox{\BL at resize{\copy\AtBeginShipoutBox}}%
+      \ifdim\ht\@tempboxa>\tPaperHeight
+        \def\BL at resize##1{\resizebox{!}{\tPaperHeight}{##1}}%
+      \fi
+    \fi
+  \fi
+  \setbox\@tempboxa=\vb at xt@\tPaperHeight{%
+    \kern\z@\BL at t
+    \hb at xt@\tPaperWidth{\BL at l\BL at resize{\box\AtBeginShipoutBox}\BL at r}%
+    \BL at b\kern\z@
+  }%
+  \setbox\AtBeginShipoutBox=\vbox{%
+    \vskip-1in\moveright-1in\box\@tempboxa}%
+}
+%    \end{macrocode}
+% \end{macro}
+%    \begin{macrocode}
+\newcommand\BL at tempa{}
+\newcommand\BL at tempb{}
+\newcommand*\BL at strip@comma{}
+\def\BL at strip@comma#1,{#1}
+%    \end{macrocode}
+% \begin{macro}{\BL at is@dimen at pair}
+% The parameter two will be executed if the first parameter is 
+% a comma-separated pair of two dimensions. If not the parameter three 
+% will be executed.
+%    \begin{macrocode}
+\newcommand*\BL at is@dimen at pair[1]{%
+  \expandafter\BL@@is at dimen@pair#1,\@nil
+}
+\newcommand*\BL@@is at dimen@pair{}
+\def\BL@@is at dimen@pair#1,#2\@nil{%
+  \edef\BL at tempa{#1}\edef\BL at tempb{#2}%
+  \@tempswafalse
+  \ifx\BL at tempb\@empty\else
+    \edef\BL at tempb{\expandafter\BL at strip@comma\BL at tempb}%
+    \ifdimen{\BL at tempa}{%
+      \ifdimen{\BL at tempb}{\@tempswatrue}{}%
+    }{}%
+  \fi
+  \if at tempswa
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi
+}
+%    \end{macrocode}
+% \end{macro}
+%    \begin{macrocode}
+\newcommand*\BL at strip@x{}
+\def\BL at strip@x#1x{#1}
+%    \end{macrocode}
+% \begin{macro}{\BL at is@factor}
+% The parameter two will be executed if the first parameter is the 
+% small letter x (`times') immediately followed by a number. If not 
+% the parameter three will be executed.
+%    \begin{macrocode}
+\newcommand*\BL at is@factor[1]{%
+  \expandafter\BL@@is at factor#1x\@nil
+}
+\newcommand*\BL@@is at factor{}
+\def\BL@@is at factor#1x#2\@nil{%
+  \edef\BL at tempa{#2}%
+  \@tempswafalse
+  \ifx\BL at tempa\@empty\else
+    \edef\BL at tempa{\expandafter\BL at strip@x\BL at tempa}%
+    \ifdimen{\BL at tempa pt}{\@tempswatrue}{}%
+  \fi
+  \if at tempswa
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi
+}
+%    \end{macrocode}
+% \end{macro}
+% \begin{macro}{\BL at getDimens}
+% Sets the two dimen registers (|#2| and |#3|) according to parameter |#1|.
+%    \begin{macrocode}
+\newcommand*\BL at getDimens[3]{%
+  \BL at is@dimen at pair{#1}{%
+    \global#2=\BL at tempa\relax
+    \global#3=\BL at tempb\relax
+  }{%
+    \BL at is@factor{#1}{%
+      \global#2=\BL at tempa\paperwidth
+      \global#3=\BL at tempa\paperheight
+    }{%
+      \begingroup
+        \KOMAoptions{paper=portrait,paper=#1}%
+        \global#2=\paperwidth
+        \global#3=\paperheight
+      \endgroup
+    }%
+  }%
+}
+%    \end{macrocode}
+% \end{macro}
+% The key-value definitions for \cmd{\blowUp}.
+%    \begin{macrocode}
+\define at key{BL@}{origin}{%
+  \BL at getDimens{#1}{\oPaperWidth}{\oPaperHeight}%
+}
+\define at key{BL@}{target}{%
+  \BL at getDimens{#1}{\tPaperWidth}{\tPaperHeight}%
+}
+\newif\ifBL at noscale \BL at noscalefalse
+\define at key{BL@}{noscale}[true]{%
+  \csname BL at noscale#1\endcsname
+}
+\newcommand*\BL at l{}
+\newcommand*\BL at r{}
+\newcommand*\BL at i{}
+\newcommand*\BL at o{}
+\newcommand*\BL at t{}
+\newcommand*\BL at b{}
+%    \end{macrocode}
+% \begin{macro}{\BL at setPos}
+% Modify the macros \cmd{\BL at l}, \cmd{\BL at r} (\cmd{\BL at i}, \cmd{\BL at o}), 
+% \cmd{\BL at t}, and \cmd{\BL at b} for positioning the page on the paper.
+%    \begin{macrocode}
+\newcommand\BL at setPos[1]{%
+  \def\BL at l{\hss}\def\BL at r{\hss}%
+  \def\BL at o{\hss}\def\BL at i{\hss}%
+  \def\BL at t{\vss}\def\BL at b{\vss}%
+  \BL at is@dimen at pair{#1}{%
+    \edef\BL at b{\vskip\BL at tempb}%
+    \if at twoside
+      \edef\BL at l{\noexpand\ifodd\value{page}%
+        \hskip\BL at tempa\noexpand\else\hss\noexpand\fi}%
+      \edef\BL at r{\noexpand\ifodd\value{page}%
+        \hss\noexpand\else\hskip\BL at tempa\noexpand\fi}%
+    \else
+      \edef\BL at l{\hskip\BL at tempa}%
+    \if
+  }{%
+    \@for\BL at tempa:=#1\do{%
+%    \end{macrocode}
+%  Extract the first letter.
+%    \begin{macrocode}
+      \edef\BL at tempb{\expandafter\@car\BL at tempa\@nil}%
+      \expandafter\let\csname BL@\BL at tempb \endcsname\relax
+    }%
+    \if at twoside
+      \ifx\BL at i\relax
+        \def\BL at r{\ifodd\value{page}\hss\else\relax\fi}%
+        \def\BL at l{\ifodd\value{page}\relax\else\hss\fi}%
+      \fi
+      \ifx\BL at o\relax
+        \def\BL at l{\ifodd\value{page}\hss\else\relax\fi}%
+        \def\BL at r{\ifodd\value{page}\relax\else\hss\fi}%
+      \fi
+    \else
+      \let\BL at l=\BL at o
+      \let\BL at r=\BL at i
+    \fi
+  }%
+}
+%    \end{macrocode}
+% \end{macro}
+%    \begin{macrocode}
+\define at key{BL@}{pos}{%
+  \BL at setPos{#1}%
+}
+\newif\ifBL at landscape \BL at landscapefalse
+\define at key{BL@}{landscape}[true]{%
+  \csname BL at landscape#1\endcsname
+}
+\newcommand*\BL at pageInit{}
+\define at key{BL@}{onepage}[true]{%
+  \csname if#1\endcsname
+    \def\BL at pageInit{\gdef\shipout{\setbox\@tempboxa=}}%
+  \fi
+}
+%    \end{macrocode}
+% \begin{macro}{\blowUp}
+% The only user-level macro.
+%    \begin{macrocode}
+\newcommand*\blowUp[1]{%
+  \setkeys{BL@}{#1}%
+  \ifBL at landscape
+    \@tempdima=\tPaperWidth
+    \global\tPaperWidth=\tPaperHeight
+    \global\tPaperHeight=\@tempdima
+  \fi
+  \AtBeginShipout{\BL at scalePage}%
+  \gdef\blowUp##1{%
+    \PackageWarning{blowup}{Only the first call of `\string\blowUp'
+      \MessageBreak is effective}}%
+}
+%    \end{macrocode}
+% \end{macro}
+%    \begin{macrocode}
+\AtBeginShipout{\BL at pageInit}
+\@onlypreamble\blowUp
+\AtBeginDocument{%
+  \BL at pagesize@specials{\tPaperWidth}{\tPaperHeight}%
+}
+%    \end{macrocode}
+% \begin{macro}{\BL at pagesize@specials}
+% Write pagesize informations to the output file. Depends on \TeX\ 
+% compiler or driver.
+%    \begin{macrocode}
+\RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex} 
+\newcommand*\BL at pagesize@specials[2]{}
+\ifluatex
+  \PackageInfo{blowup}{Generating code for LuaTeX}%
+  \@ifundefined{pagewidth}{%
+    \def\BL at pagesize@specials#1#2{\pdfpagewidth=#1 \pdfpageheight=#2}%
+  }{%
+    \def\BL at pagesize@specials#1#2{\pagewidth=#1 \pageheight=#2}% 
+  }
+\else
+  \ifxetex
+    \PackageInfo{blowup}{Generating code for XeTeX}%
+    \def\BL at pagesize@specials#1#2{\@tempdima=#1 \@tempdimb=#2 %
+      \AtBeginDvi{\special{papersize=\the\@tempdima,\the\@tempdimb}}%
+      \pdfpagewidth=#1 \pdfpageheight=#2}%
+  \else
+    \ifvtex
+      \PackageInfo{blowup}{Generating code for VTeX}%
+      \def\BL at pagesize@specials#1#2{\mediawidth=#1 \mediaheight=#2}%
+    \else
+      \ifpdf
+        \PackageInfo{blowup}{Generating code for pdfTeX}%
+        \def\BL at pagesize@specials#1#2{\pdfpagewidth=#1 \pdfpageheight=#2}%
+      \else
+        \PackageInfo{blowup}{Generating code for dvips}%
+        \def\BL at pagesize@specials#1#2{\@tempdima=#1 \@tempdimb=#2 %
+          \AtBeginDvi{\special{papersize=\the\@tempdima,\the\@tempdimb}}}%      
+      \fi
+    \fi    
+  \fi
+\fi
+%    \end{macrocode}
+% \end{macro}
+%    \begin{macrocode}
+%</package>
+%    \end{macrocode}
+%
+% \Finale
+%\endinput


Property changes on: trunk/Master/texmf-dist/source/latex/blowup/blowup.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/blowup/blowup.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/blowup/blowup.ins	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/blowup/blowup.ins	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,59 @@
+%%
+%% Copyright (C) 2007, 2017-
+%% Rolf Niepraschk, Rolf.Niepraschk at gmx.de
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%   http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "author-maintained".
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/blowup}
+
+\preamble
+                    
+   Copyright (C) 2007, 2017-
+   Rolf Niepraschk, Rolf.Niepraschk at gmx.de
+
+   This work may be distributed and/or modified under the
+   conditions of the LaTeX Project Public License, either version 1.3
+   of this license or (at your option) any later version.
+   The latest version of this license is in
+     http://www.latex-project.org/lppl.txt
+   and version 1.3 or later is part of all distributions of LaTeX
+   version 2003/12/01 or later.
+
+   This work has the LPPL maintenance status "author-maintained".
+
+\endpreamble
+
+\keepsilent
+\askforoverwritefalse
+
+\generate{
+  \file{blowup.sty}{\from{blowup.dtx}{package}}
+}
+
+\obeyspaces
+\Msg{****************************************************************}
+\Msg{*                                                              *}
+\Msg{* To finish the installation you have to move the following    *}
+\Msg{* file into a directory searched by TeX:                       *}
+\Msg{*                                                              *}
+\Msg{*     blowup.sty                                               *}
+\Msg{*                                                              *}
+\Msg{* To produce the documentation run the file blowup.dtx         *}
+\Msg{* through LaTeX.                                               *}
+\Msg{*                                                              *}
+\Msg{* Happy TeXing!                                                *}
+\Msg{*                                                              *}
+\Msg{****************************************************************}
+
+\endbatchfile

Added: trunk/Master/texmf-dist/tex/latex/blowup/blowup.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/blowup/blowup.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/blowup/blowup.sty	2018-01-04 23:45:00 UTC (rev 46213)
@@ -0,0 +1,255 @@
+%%
+%% This is file `blowup.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% blowup.dtx  (with options: `package')
+%% 
+%%    Copyright (C) 2007, 2017-
+%%    Rolf Niepraschk, Rolf.Niepraschk at gmx.de
+%% 
+%%    This work may be distributed and/or modified under the
+%%    conditions of the LaTeX Project Public License, either version 1.3
+%%    of this license or (at your option) any later version.
+%%    The latest version of this license is in
+%%      http://www.latex-project.org/lppl.txt
+%%    and version 1.3 or later is part of all distributions of LaTeX
+%%    version 2003/12/01 or later.
+%% 
+%%    This work has the LPPL maintenance status "author-maintained".
+%% 
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{blowup}[2018/01/02 1.0 Document Scaling (RN)]
+\RequirePackage{atbegshi,keyval,graphics}
+\@ifpackageloaded{typearea}{}{%
+  \newcommand*\BL at save@dimen[1]{%
+    \@ifundefined{BL@#1}{%
+      \expandafter\newlength\csname BL@#1\endcsname}{}%
+    \csname BL@#1\endcsname\csname #1\endcsname
+    \g at addto@macro\BL at restore@dimens{%
+      \csname #1\endcsname\csname BL@#1\endcsname}%
+  }%
+  \newcommand*\BL at restore@dimens{}%
+  \BL at save@dimen{textwidth}%
+  \BL at save@dimen{textheight}%
+  \BL at save@dimen{evensidemargin}%
+  \BL at save@dimen{oddsidemargin}%
+  \BL at save@dimen{topmargin}%
+  \BL at save@dimen{headheight}%
+  \BL at save@dimen{headsep}%
+  \BL at save@dimen{topskip}%
+  \BL at save@dimen{footskip}%
+  \BL at save@dimen{baselineskip}%
+  \let\l at addto@macro=\relax
+  \RequirePackage{typearea}%
+  \BL at restore@dimens
+  \let\BL at save@dimen=\relax
+  \let\BL at restore@dimens=\relax
+}
+\providecommand*\vb at xt@{\vbox to}
+\newlength\tPaperWidth  \tPaperWidth=\paperwidth
+\newlength\tPaperHeight \tPaperHeight=\paperheight
+\newlength\oPaperWidth  \oPaperWidth=\z@
+\newlength\oPaperHeight \oPaperHeight=\z@
+\newcommand*\BL at resize[1]{#1}
+\newcommand*\BL at scalePage{%
+  \setbox\AtBeginShipoutBox=\vbox{%
+    \vskip1in\moveright1in\box\AtBeginShipoutBox}%
+  \setbox\AtBeginShipoutBox=\hb at xt@\paperwidth{%
+    \box\AtBeginShipoutBox\hss}%
+  \setbox\AtBeginShipoutBox=\vb at xt@\paperheight{%
+    \box\AtBeginShipoutBox\vss}%
+  \ifBL at noscale\else
+    \ifdim\oPaperWidth>\z@
+      \setbox\AtBeginShipoutBox=\hbox{\resizebox{\oPaperWidth}{\oPaperHeight}%
+        {\box\AtBeginShipoutBox}}%
+    \else
+      \def\BL at resize##1{\resizebox{\tPaperWidth}{!}{##1}}%
+      \setbox\@tempboxa=\hbox{\BL at resize{\copy\AtBeginShipoutBox}}%
+      \ifdim\ht\@tempboxa>\tPaperHeight
+        \def\BL at resize##1{\resizebox{!}{\tPaperHeight}{##1}}%
+      \fi
+    \fi
+  \fi
+  \setbox\@tempboxa=\vb at xt@\tPaperHeight{%
+    \kern\z@\BL at t
+    \hb at xt@\tPaperWidth{\BL at l\BL at resize{\box\AtBeginShipoutBox}\BL at r}%
+    \BL at b\kern\z@
+  }%
+  \setbox\AtBeginShipoutBox=\vbox{%
+    \vskip-1in\moveright-1in\box\@tempboxa}%
+}
+\newcommand\BL at tempa{}
+\newcommand\BL at tempb{}
+\newcommand*\BL at strip@comma{}
+\def\BL at strip@comma#1,{#1}
+\newcommand*\BL at is@dimen at pair[1]{%
+  \expandafter\BL@@is at dimen@pair#1,\@nil
+}
+\newcommand*\BL@@is at dimen@pair{}
+\def\BL@@is at dimen@pair#1,#2\@nil{%
+  \edef\BL at tempa{#1}\edef\BL at tempb{#2}%
+  \@tempswafalse
+  \ifx\BL at tempb\@empty\else
+    \edef\BL at tempb{\expandafter\BL at strip@comma\BL at tempb}%
+    \ifdimen{\BL at tempa}{%
+      \ifdimen{\BL at tempb}{\@tempswatrue}{}%
+    }{}%
+  \fi
+  \if at tempswa
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi
+}
+\newcommand*\BL at strip@x{}
+\def\BL at strip@x#1x{#1}
+\newcommand*\BL at is@factor[1]{%
+  \expandafter\BL@@is at factor#1x\@nil
+}
+\newcommand*\BL@@is at factor{}
+\def\BL@@is at factor#1x#2\@nil{%
+  \edef\BL at tempa{#2}%
+  \@tempswafalse
+  \ifx\BL at tempa\@empty\else
+    \edef\BL at tempa{\expandafter\BL at strip@x\BL at tempa}%
+    \ifdimen{\BL at tempa pt}{\@tempswatrue}{}%
+  \fi
+  \if at tempswa
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi
+}
+\newcommand*\BL at getDimens[3]{%
+  \BL at is@dimen at pair{#1}{%
+    \global#2=\BL at tempa\relax
+    \global#3=\BL at tempb\relax
+  }{%
+    \BL at is@factor{#1}{%
+      \global#2=\BL at tempa\paperwidth
+      \global#3=\BL at tempa\paperheight
+    }{%
+      \begingroup
+        \KOMAoptions{paper=portrait,paper=#1}%
+        \global#2=\paperwidth
+        \global#3=\paperheight
+      \endgroup
+    }%
+  }%
+}
+\define at key{BL@}{origin}{%
+  \BL at getDimens{#1}{\oPaperWidth}{\oPaperHeight}%
+}
+\define at key{BL@}{target}{%
+  \BL at getDimens{#1}{\tPaperWidth}{\tPaperHeight}%
+}
+\newif\ifBL at noscale \BL at noscalefalse
+\define at key{BL@}{noscale}[true]{%
+  \csname BL at noscale#1\endcsname
+}
+\newcommand*\BL at l{}
+\newcommand*\BL at r{}
+\newcommand*\BL at i{}
+\newcommand*\BL at o{}
+\newcommand*\BL at t{}
+\newcommand*\BL at b{}
+\newcommand\BL at setPos[1]{%
+  \def\BL at l{\hss}\def\BL at r{\hss}%
+  \def\BL at o{\hss}\def\BL at i{\hss}%
+  \def\BL at t{\vss}\def\BL at b{\vss}%
+  \BL at is@dimen at pair{#1}{%
+    \edef\BL at b{\vskip\BL at tempb}%
+    \if at twoside
+      \edef\BL at l{\noexpand\ifodd\value{page}%
+        \hskip\BL at tempa\noexpand\else\hss\noexpand\fi}%
+      \edef\BL at r{\noexpand\ifodd\value{page}%
+        \hss\noexpand\else\hskip\BL at tempa\noexpand\fi}%
+    \else
+      \edef\BL at l{\hskip\BL at tempa}%
+    \if
+  }{%
+    \@for\BL at tempa:=#1\do{%
+      \edef\BL at tempb{\expandafter\@car\BL at tempa\@nil}%
+      \expandafter\let\csname BL@\BL at tempb \endcsname\relax
+    }%
+    \if at twoside
+      \ifx\BL at i\relax
+        \def\BL at r{\ifodd\value{page}\hss\else\relax\fi}%
+        \def\BL at l{\ifodd\value{page}\relax\else\hss\fi}%
+      \fi
+      \ifx\BL at o\relax
+        \def\BL at l{\ifodd\value{page}\hss\else\relax\fi}%
+        \def\BL at r{\ifodd\value{page}\relax\else\hss\fi}%
+      \fi
+    \else
+      \let\BL at l=\BL at o
+      \let\BL at r=\BL at i
+    \fi
+  }%
+}
+\define at key{BL@}{pos}{%
+  \BL at setPos{#1}%
+}
+\newif\ifBL at landscape \BL at landscapefalse
+\define at key{BL@}{landscape}[true]{%
+  \csname BL at landscape#1\endcsname
+}
+\newcommand*\BL at pageInit{}
+\define at key{BL@}{onepage}[true]{%
+  \csname if#1\endcsname
+    \def\BL at pageInit{\gdef\shipout{\setbox\@tempboxa=}}%
+  \fi
+}
+\newcommand*\blowUp[1]{%
+  \setkeys{BL@}{#1}%
+  \ifBL at landscape
+    \@tempdima=\tPaperWidth
+    \global\tPaperWidth=\tPaperHeight
+    \global\tPaperHeight=\@tempdima
+  \fi
+  \AtBeginShipout{\BL at scalePage}%
+  \gdef\blowUp##1{%
+    \PackageWarning{blowup}{Only the first call of `\string\blowUp'
+      \MessageBreak is effective}}%
+}
+\AtBeginShipout{\BL at pageInit}
+\@onlypreamble\blowUp
+\AtBeginDocument{%
+  \BL at pagesize@specials{\tPaperWidth}{\tPaperHeight}%
+}
+\RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex}
+\newcommand*\BL at pagesize@specials[2]{}
+\ifluatex
+  \PackageInfo{blowup}{Generating code for LuaTeX}%
+  \@ifundefined{pagewidth}{%
+    \def\BL at pagesize@specials#1#2{\pdfpagewidth=#1 \pdfpageheight=#2}%
+  }{%
+    \def\BL at pagesize@specials#1#2{\pagewidth=#1 \pageheight=#2}%
+  }
+\else
+  \ifxetex
+    \PackageInfo{blowup}{Generating code for XeTeX}%
+    \def\BL at pagesize@specials#1#2{\@tempdima=#1 \@tempdimb=#2 %
+      \AtBeginDvi{\special{papersize=\the\@tempdima,\the\@tempdimb}}%
+      \pdfpagewidth=#1 \pdfpageheight=#2}%
+  \else
+    \ifvtex
+      \PackageInfo{blowup}{Generating code for VTeX}%
+      \def\BL at pagesize@specials#1#2{\mediawidth=#1 \mediaheight=#2}%
+    \else
+      \ifpdf
+        \PackageInfo{blowup}{Generating code for pdfTeX}%
+        \def\BL at pagesize@specials#1#2{\pdfpagewidth=#1 \pdfpageheight=#2}%
+      \else
+        \PackageInfo{blowup}{Generating code for dvips}%
+        \def\BL at pagesize@specials#1#2{\@tempdima=#1 \@tempdimb=#2 %
+          \AtBeginDvi{\special{papersize=\the\@tempdima,\the\@tempdimb}}}%
+      \fi
+    \fi
+  \fi
+\fi
+\endinput
+%%
+%% End of file `blowup.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/blowup/blowup.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2018-01-04 23:45:00 UTC (rev 46213)
@@ -113,7 +113,7 @@
     bigfoot bigints binarytree binomexp biochemistry-colors biocon biolett-bst
     bitelist bitpattern bizcard
     blacklettert1 blindtext blkarray
-    blochsphere block blockdraw_mp bloques blox
+    blochsphere block blockdraw_mp bloques blowup blox
     bnumexpr bodegraph bohr boisik bold-extra
     boites boldtensors bondgraph bondgraphs
     bookcover bookdb bookest bookhands booklet

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2018-01-04 23:45:00 UTC (rev 46213)
@@ -188,7 +188,6 @@
  'bitfield',    "die 'skipping, obsolete on CTAN'",
  'blanks',      "die 'skipping, unknown license (and c.1992)'",
  'blockdraw_mp',"&MAKEflatten",
- 'blowup',	"die 'skipping, obsolete on CTAN per author'",
  'blu',         "die 'skipping, too old'",
  'bnf-plain',   "die 'skipping, unknown license (and c.1992)'",
  'bookhands',   "&MAKEwilson",

Added: trunk/Master/tlpkg/tlpsrc/blowup.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2018-01-04 23:43:51 UTC (rev 46212)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2018-01-04 23:45:00 UTC (rev 46213)
@@ -88,6 +88,7 @@
 depend blindtext
 depend blkarray
 depend block
+depend blowup
 depend bnumexpr
 depend boites
 depend bold-extra



More information about the tex-live-commits mailing list