summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-04 12:51:40 +0000
committerKarl Berry <karl@freefriends.org>2006-07-04 12:51:40 +0000
commitc0e3aff05a6b70934b9c94b6230d1a519bf6e1ab (patch)
tree01db88f5688f9dd2570bdf3771a8109fcfae80be
parentebe0c16022730f6878335a52bc7604dc0b1d96f0 (diff)
new package flippdf
git-svn-id: svn://tug.org/texlive/trunk@1765 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/tools/tpm-ctan-check2
-rw-r--r--Master/texmf-dist/doc/latex/flippdf/README25
-rw-r--r--Master/texmf-dist/doc/latex/flippdf/flippdf.pdfbin0 -> 14323 bytes
-rw-r--r--Master/texmf-dist/source/latex/flippdf/flippdf.dtx186
-rw-r--r--Master/texmf-dist/source/latex/flippdf/flippdf.ins85
-rw-r--r--Master/texmf-dist/tex/latex/flippdf/flippdf.sty55
-rw-r--r--Master/texmf-dist/tpm/flippdf.tpm29
-rw-r--r--Master/texmf/lists/flippdf8
-rw-r--r--Master/texmf/tpm/collection-latexextra.tpm1
9 files changed, 390 insertions, 1 deletions
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check
index dc8b2b2515e..8a19210cc8b 100755
--- a/Build/tools/tpm-ctan-check
+++ b/Build/tools/tpm-ctan-check
@@ -40,7 +40,7 @@ sub main
"ednotes", "elpres", "endheads", "emulateapj", "enumitem",
"etaremune", "esint",
"esint-type1", "ethiop", "europecv", "exteps",
- "featpost", "flagderiv", "floatflt", "floatrow", "flowfram",
+ "featpost", "flagderiv", "flippdf", ""floatflt", "floatrow", "flowfram",
"fltpoint", "fmtcount", "fncychap", "fontspec", "formular",
"fourier", "free-math-font-survey",
"genmisc", "glossary", "gost", "graphics", "graphicx-psmin",
diff --git a/Master/texmf-dist/doc/latex/flippdf/README b/Master/texmf-dist/doc/latex/flippdf/README
new file mode 100644
index 00000000000..cce9a10718d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/flippdf/README
@@ -0,0 +1,25 @@
+The "flippdf" package extends LaTeX making it possible to typeset a
+"mirrored" version of the document. This is sometimes required by
+publishers who want "camera-ready" documents to be printable on
+transparent films, so that one reads the pages correctly by looking
+through the film (i.e., with the unprinted side of the film towards
+his eyes. This package requires "everypage" by the same author and
+works with pdfLaTeX only.
+
+The "flippdf" package is copyright 2006 by Sergio Callegari
+<sergio.callegari@gmail.com>
+
+It comprises this README file, as well as files
+flippdf.dtx
+flippf.ins
+
+To install the package, run LaTeX on the installation script
+flipdf.ins and follow the instructions provided by the script itself.
+
+"flippdf" may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this licence,
+or any later version. The latest version of this license is at
+http://www.latex-project.org/lppl.txt and version 1.3 is part of all
+distributions of LaTeX version 2003/06/01 or later.
+
+This work has the LPPL maintenance status "author-maintained".
diff --git a/Master/texmf-dist/doc/latex/flippdf/flippdf.pdf b/Master/texmf-dist/doc/latex/flippdf/flippdf.pdf
new file mode 100644
index 00000000000..8243933f2af
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/flippdf/flippdf.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/flippdf/flippdf.dtx b/Master/texmf-dist/source/latex/flippdf/flippdf.dtx
new file mode 100644
index 00000000000..a285e1b097b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/flippdf/flippdf.dtx
@@ -0,0 +1,186 @@
+% \iffalse meta-comment
+%
+% Copyright 2006
+% Sergio Callegari <sergio.callegari@gmail.com>
+%
+% ---------------------------------------------
+% This file is part of the flippdf package,
+% a contribution to the LaTeX2e system.
+% ---------------------------------------------
+%
+% It may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License, either version 1.3 of this licence, or
+% any later version. The latest version of this license is at
+% http://www.latex-project.org/lppl.txt and version 1.3 is part
+% of all distributions of LaTeX version 2003/06/01 or later.
+%
+% This work has the LPPL maintenance status "author-maintained".
+%
+% This program consists of the files listed in the README file
+% included in the package.
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{mathptmx, helvet, courier}
+\EnableCrossrefs
+\DoNotIndex{\NeedsTeXFormat,\ProcessOptions}
+\DoNotIndex{\def,\gdef,\let,\newcommand}
+\DoNotIndex{\ProvidesPackage,\RequirePackage,\DeclareOption,\endinput}
+\DoNotIndex{\ifx,\fi,\paperwidth,\space,\strip@pt,\newif}
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{flippdf.dtx}
+\end{document}
+%</driver>
+%
+% \fi
+%
+% \CheckSum{23}
+%
+% \def\filename{flippdf.dtx}
+% \def\fileversion{1.0}
+% \def\filedate{2006/06/30}
+% \def\docdate{2006/06/30}
+%
+% \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
+% \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
+% \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
+% \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter
+% \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle
+% \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment
+%
+% \title{The \Lpack{flippdf} package\thanks{This file
+% (\texttt{\filename}) has version number \fileversion, last
+% revised \filedate.}}
+%
+% \author{%
+% Sergio Callegari\thanks{Sergio Callegari can be reached at
+% \texttt{sergio.callegar at gmail dot com}}}
+%
+% \date{\docdate}
+%
+% \maketitle
+%
+% \begin{abstract}
+% The \Lpack{pdfflip} package extends pdf\LaTeX\ making it possible
+% to typeset a ``mirrored'' version of the document. This is
+% sometimes required by publishers who want ``camera-ready''
+% documents to be printable on transparent films, so that one reads
+% the pages correctly by looking \emph{through} the film (i.e., with
+% the \emph{unprinted} side of the film towards his eyes. This
+% package requires \Lpack{everypage} by the same author and works
+% with pdf\LaTeX\ only.
+% \end{abstract}
+%
+% \section{Introduction}
+%
+% This \LaTeX\ package makes it possible to typeset a document
+% horizontally flipping its pages. This is sometimes required by
+% publishers who want ``camera-ready'' documents to be printable on
+% transparent films, so that one reads the pages correctly by looking
+% \emph{through} the film (i.e., with the \emph{unprinted} side of the
+% film towards his eyes.
+%
+% It is also possible to activate the mirroring capability on a page
+% by page basis.
+%
+% This package requires \Lpack{everypage} by the same author and works
+% with pdf\LaTeX\ only.
+%
+% \section{User interface}
+% By default, once loaded as:
+% \begin{quote}
+% |\usepackage{pdfflip}|
+% \end{quote}
+% the \Lpack{pdfflip} becomes immediately \emph{active} (i.e., starts
+% flipping horizontally every page). Conversely, by selecting the
+% \Lopt{off} option as in
+% \begin{quote}
+% |\usepackage[off]{pdfflip}|
+% \end{quote}
+% The package is loaded but remains inactive.
+%
+% \DescribeMacro{\FlipPDF}\DescribeMacro{\UnFlipPDF}
+% The |\FlipPDF| command lets one switch on page flipping. Conversely,
+% |\UnFlipPDF| switches off page flipping.
+%
+% \StopEventually {}
+%
+% \section{Implementation}
+%
+% Announce the name and version of the package, which requires
+% \LaTeXe (actually pdfLaTeX).
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{flippdf}%
+ [2006/06/30 1.0 Horizontal flipping of pages with pdfLaTeX]
+% \end{macrocode}
+%
+% Reminds the dependence on \Lpack{everypage}.
+% \begin{macrocode}
+\RequirePackage{everypage}
+% \end{macrocode}
+% \begin{macro}{\if@sc@flippdf}
+%
+% Defines a boolean variable to remember if pages are to be flipped or
+% not.
+% \begin{macrocode}
+\newif\if@sc@flippdf
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\FlipPDF}\begin{macro}{\UnFlipPDF}
+% Define the commands used to switch on and off the horizontal
+% flipping of the document pages.
+% \begin{macrocode}
+\newcommand\FlipPDF{\@sc@flippdftrue}
+\newcommand\UnFlipPDF{\@sc@flippdffalse}
+% \end{macrocode}
+% \end{macro}\end{macro}
+%
+% By default activate the flipping:
+% \begin{macrocode}
+\FlipPDF
+% \end{macrocode}
+%
+% Set up the processing of options:
+% \begin{macrocode}
+\DeclareOption{off}{\UnFlipPDF}
+\ProcessOptions
+% \end{macrocode}
+%
+% And eventually, tell \LaTeX\ to flip every page, by using the
+% \Lpack{everypage} hook:
+% \begin{macrocode}
+\AddEverypageHook{%
+ \if@sc@flippdf
+ \pdfliteral direct {-1 0 0 1 \strip@pt\paperwidth\space 0 cm}
+ \fi}
+\endinput
+% \end{macrocode}
+%
+% \Finale
+% \PrintIndex
+%
+%% \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 \~}
+\endinput
+
+%%% Local Variables:
+%%% mode: doctex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/source/latex/flippdf/flippdf.ins b/Master/texmf-dist/source/latex/flippdf/flippdf.ins
new file mode 100644
index 00000000000..97cd63c3ff7
--- /dev/null
+++ b/Master/texmf-dist/source/latex/flippdf/flippdf.ins
@@ -0,0 +1,85 @@
+%% flippdf.ins
+%% Copyright 2006
+%% Sergio Callegari <sergio.callegari@gmail.com>
+%%
+%% ---------------------------------------------
+%% This file is part of the flippdf package,
+%% a contribution to the LaTeX2e system.
+%% ---------------------------------------------
+%%
+%% It may be distributed and/or modified under the conditions of the
+%% LaTeX Project Public License, either version 1.3 of this licence, or
+%% any later version. The latest version of this license is at
+%% http://www.latex-project.org/lppl.txt and version 1.3 is part
+%% of all distributions of LaTeX version 2003/06/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This program consists of the files listed in the README file
+%% included in the package.
+%%
+%% This file will generate fast loadable files and documentation
+%% from the dtx file when run through LaTeX.
+%%
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+\input docstrip.tex
+\preamble
+This is file `flippdf.sty',
+generated with the docstrip utility.
+
+The original source files were:
+
+flippdf.dtx
+
+ IMPORTANT NOTICE:
+
+Copyright 2006
+Sergio Callegari <sergio.callegari@gmail.com>
+
+---------------------------------------------
+This file is part of the flippdf package,
+a contribution to the LaTeX2e system.
+---------------------------------------------
+
+This program consists of the files listed in the README file included
+in the package.
+
+Any modified versions of this file must be renamed with new filenames
+distinct from flippdf.sty.
+
+For distribution of the original source see the terms
+for copying and modification in the file flippdf.dtx.
+
+This generated file may be distributed as long as the
+original source files, as listed above, are part of the
+same distribution. (The sources need not necessarily be
+in the same archive or directory.)
+
+\endpreamble
+
+\keepsilent
+\Msg{*** Generating the LaTeX2e package files ***}
+\generate{\file{flippdf.sty}{\from{flippdf.dtx}{}}}
+\ReportTotals
+
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file(s) into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space flippdf.sty}
+\Msg{*}
+\Msg{*}
+\Msg{* To produce the documentation run the files ending with}
+\Msg{* `.dtx' through LaTeX (or maybe pdfLaTeX).}
+\Msg{* Process any name.idx file by:}
+\Msg{* \space\space\space\space makeindex -s gind.ist name}
+\Msg{* Process any name.glo file by:}
+\Msg{* \space\space\space\space makeindex -s gglo.ist -o name.gls name.glo}
+\Msg{* Re run through LaTeX the .dtx files as necessary}
+\Msg{*}
+\Msg{***********************************************************}
+
+\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/flippdf/flippdf.sty b/Master/texmf-dist/tex/latex/flippdf/flippdf.sty
new file mode 100644
index 00000000000..0c7dc213210
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/flippdf/flippdf.sty
@@ -0,0 +1,55 @@
+%%
+%% This is file `flippdf.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% flippdf.dtx
+%% This is file `flippdf.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% flippdf.dtx
+%%
+%% IMPORTANT NOTICE:
+%%
+%% Copyright 2006
+%% Sergio Callegari <sergio.callegari@gmail.com>
+%%
+%% ---------------------------------------------
+%% This file is part of the flippdf package,
+%% a contribution to the LaTeX2e system.
+%% ---------------------------------------------
+%%
+%% This program consists of the files listed in the README file included
+%% in the package.
+%%
+%% Any modified versions of this file must be renamed with new filenames
+%% distinct from flippdf.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file flippdf.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{flippdf}%
+ [2006/06/30 1.0 Horizontal flipping of pages with pdfLaTeX]
+\RequirePackage{everypage}
+\newif\if@sc@flippdf
+\newcommand\FlipPDF{\@sc@flippdftrue}
+\newcommand\UnFlipPDF{\@sc@flippdffalse}
+\FlipPDF
+\DeclareOption{off}{\UnFlipPDF}
+\ProcessOptions
+\AddEverypageHook{%
+ \if@sc@flippdf
+ \pdfliteral direct {-1 0 0 1 \strip@pt\paperwidth\space 0 cm}
+ \fi}
+\endinput
+%%
+%% End of file `flippdf.sty'.
diff --git a/Master/texmf-dist/tpm/flippdf.tpm b/Master/texmf-dist/tpm/flippdf.tpm
new file mode 100644
index 00000000000..e6188c7741b
--- /dev/null
+++ b/Master/texmf-dist/tpm/flippdf.tpm
@@ -0,0 +1,29 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../support/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+ <rdf:Description about="http://texlive.dante.de/texlive/Package/flippdf.zip">
+ <TPM:Name>flippdf</TPM:Name>
+ <TPM:Type>Package</TPM:Type>
+ <TPM:Date>2006/07/03 13:14:00</TPM:Date>
+ <TPM:Version></TPM:Version>
+ <TPM:Creator>karl</TPM:Creator>
+ <TPM:Title>The flippdf package.</TPM:Title>
+ <TPM:Description></TPM:Description>
+ <TPM:Author></TPM:Author>
+ <TPM:Size>25779</TPM:Size>
+ <TPM:Build/>
+ <TPM:RunFiles size="2554">
+texmf-dist/tex/latex/flippdf/flippdf.sty
+texmf-dist/tpm/flippdf.tpm
+ </TPM:RunFiles>
+ <TPM:DocFiles size="15432">
+texmf-dist/doc/latex/flippdf/README
+texmf-dist/doc/latex/flippdf/flippdf.pdf
+ </TPM:DocFiles>
+ <TPM:SourceFiles size="8811">
+texmf-dist/source/latex/flippdf/flippdf.dtx
+texmf-dist/source/latex/flippdf/flippdf.ins
+ </TPM:SourceFiles>
+ <TPM:Provides>Package/flippdf</TPM:Provides>
+ </rdf:Description>
+</rdf:RDF>
+
diff --git a/Master/texmf/lists/flippdf b/Master/texmf/lists/flippdf
new file mode 100644
index 00000000000..bb3321da3c0
--- /dev/null
+++ b/Master/texmf/lists/flippdf
@@ -0,0 +1,8 @@
+texmf-dist/doc/latex/flippdf/README
+texmf-dist/doc/latex/flippdf/flippdf.pdf
+texmf-dist/source/latex/flippdf/flippdf.dtx
+texmf-dist/source/latex/flippdf/flippdf.ins
+texmf-dist/tex/latex/flippdf/flippdf.sty
+texmf-dist/tpm/flippdf.tpm
+
+texmf/lists/flippdf
diff --git a/Master/texmf/tpm/collection-latexextra.tpm b/Master/texmf/tpm/collection-latexextra.tpm
index c990d1e0bc6..85547e347a0 100644
--- a/Master/texmf/tpm/collection-latexextra.tpm
+++ b/Master/texmf/tpm/collection-latexextra.tpm
@@ -171,6 +171,7 @@ A large collection of add-on packages for LaTeX.
<TPM:Package name="flabels"/>
<TPM:Package name="flagderiv"/>
<TPM:Package name="flashcards"/>
+ <TPM:Package name="flippdf"/>
<TPM:Package name="floatrow"/>
<TPM:Package name="flowfram"/>
<TPM:Package name="fmp"/>