summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/lastpackage/lastpackage.pdfbin0 -> 254490 bytes
-rw-r--r--Master/texmf-dist/source/latex/lastpackage/lastpackage.dtx159
-rw-r--r--Master/texmf-dist/source/latex/lastpackage/lastpackage.ins29
-rw-r--r--Master/texmf-dist/tex/latex/lastpackage/lastpackage.sty27
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check3
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/lastpackage.tlpsrc0
7 files changed, 218 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/lastpackage/lastpackage.pdf b/Master/texmf-dist/doc/latex/lastpackage/lastpackage.pdf
new file mode 100644
index 00000000000..899999cb850
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lastpackage/lastpackage.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/lastpackage/lastpackage.dtx b/Master/texmf-dist/source/latex/lastpackage/lastpackage.dtx
new file mode 100644
index 00000000000..7c8bd3ca479
--- /dev/null
+++ b/Master/texmf-dist/source/latex/lastpackage/lastpackage.dtx
@@ -0,0 +1,159 @@
+% \iffalse meta-comment
+% !TeX spellcheck = en-US
+%
+% File: lastpackage.sty
+% Version: 2014/06/27 v0.1
+% Author: Matthias Pospiech
+% Email: <matthias@pospiech.eu>
+%
+% Copyright (C) 2014 by Matthias Pospiech <matthias@pospiech.eu>
+% ---------------------------------------------------------------------------
+% 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 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Matthias Pospiech.
+%
+% This work consists of the files lastpackage.dtx and lastpackage.ins
+% and the derived filebase lastpackage.sty.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{lastpackage.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{lastpackage}
+%<*package>
+ [2014/06/27 v0.1 Empty package used for executing code after this package]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{hypdoc}
+\RequirePackage[%
+ loadHyperref=true,
+ createIndexEntries=false,
+ applyLayout=true]
+{doctools} %
+%
+\usepackage{lmodern}
+
+\usepackage{lastpackage}[2014/06/27]
+
+\EnableCrossrefs % (default) Every new macro name used within a macrocode or
+ % macrocode∗ environment will produce an index entry.
+% \DisableCrossrefs % turn off this feature
+%
+% If an index is created is determined by the use of the following
+% declarations in the driver file preamble; if neither is used, no index is
+% produced.
+\PageIndex % all index entries refer to their page number
+% \CodelineIndex % index entries produced by \DescribeMacro and \DescribeEnv
+ % refer to page number but those produced by the macro
+ % environment refer to the code lines,
+ % which will be numbered automatically.
+% \CodelineNumbered % no index is created, but the code lines are numbered
+
+\RecordChanges
+
+
+\begin{document}
+ \DocInput{lastpackage.dtx}
+ \PrintChanges
+ \PrintIndex
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{0}
+%
+% \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.1}{2014/06/27}{Converted to DTX file}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+% \providecommand*{\url}{\texttt}
+% \GetFileInfo{lastpackage.dtx}
+% \title{The \textsf{lastpackage} package}
+% \author{Matthias Pospiech \\ \url{matthias@pospiech.eu}}
+% \date{\fileversion~from \filedate}
+%
+% \maketitle
+% \begin{abstract}\noindent
+% This package can be used to define the last point where some code shall be
+% executed. It does not provide any function.
+% \end{abstract}
+%
+% \section{Usage}
+% If you use the command \cs{ExecuteAfterPackage} of \package{templatetools}
+% for example as
+% \iffalse
+%<*example>
+% \fi
+\begin{lstlisting}[style=lstDemoStyleLaTeXCode]
+% load geometry after hyperref
+\ExecuteAfterPackage{hyperref}{\usepackage{geometry}}
+\end{lstlisting}
+% \iffalse
+%</example>
+% \fi
+% you could have the problem, that hyperref is not loaded and thus the package
+% geometry will only be loaded at \cs{AtEndPreamble}.
+%
+% With this package this can be changed to
+% \iffalse
+%<*example>
+% \fi
+\begin{lstlisting}[style=lstDemoStyleLaTeXCode]
+% load geometry after hyperref
+\ExecuteAfterPackage{hyperref}{\usepackage{geometry}}
+\ExecuteAfterPackage{lastpackage}
+ {\IfPackageNotLoaded{geometry}{\usepackage{geometry}}}
+\end{lstlisting}
+% \iffalse
+%</example>
+% \fi
+%
+% \StopEventually{}
+% \section{Implementation}
+%
+% \iffalse
+%<*lastpackage.sty>
+% \fi
+%
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\ProvidesPackage{lastpackage}[2014/06/27 v0.1 Empty package used for executing code after this package]
+% \end{macrocode}
+%
+% \iffalse
+%</lastpackage.sty>
+% \fi
+%
+% \Finale
+\endinput
+
diff --git a/Master/texmf-dist/source/latex/lastpackage/lastpackage.ins b/Master/texmf-dist/source/latex/lastpackage/lastpackage.ins
new file mode 100644
index 00000000000..47e8ea9b3d2
--- /dev/null
+++ b/Master/texmf-dist/source/latex/lastpackage/lastpackage.ins
@@ -0,0 +1,29 @@
+% See file 'lastpackage.dtx' for copyright and licence.
+
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+
+\usedir{tex/latex/lastpackage}
+
+\generate{
+ \file{lastpackage.sty}{\from{lastpackage.dtx}{lastpackage.sty}}
+}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* lastpackage.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file *}
+\Msg{* lastpackage.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/lastpackage/lastpackage.sty b/Master/texmf-dist/tex/latex/lastpackage/lastpackage.sty
new file mode 100644
index 00000000000..199ff4dc027
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lastpackage/lastpackage.sty
@@ -0,0 +1,27 @@
+%%
+%% This is file `lastpackage.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lastpackage.dtx (with options: `lastpackage.sty')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from lastpackage.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file lastpackage.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}[1994/12/01]
+\ProvidesPackage{lastpackage}[2014/06/27 v0.1 Empty package used for executing code after this package]
+\endinput
+%%
+%% End of file `lastpackage.sty'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 1da0c98f11e..0291acff482 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -268,7 +268,8 @@ my @TLP_working = qw(
ktv-texdata kurier
l2picfaq l2tabu l2tabu-english l2tabu-french l2tabu-italian l2tabu-spanish
l3build l3kernel l3packages l3experimental
- labbook labelcas labels labyrinth lambda-lists langcode lapdf lastpage
+ labbook labelcas labels labyrinth lambda-lists langcode
+ lapdf lastpackage lastpage
latex latex-bib-ex latex-brochure latex-course latex-doc-ptr latex-fonts
latex-git-log latex-graphics-companion latex-notes-zh-cn
latex-referenz latex-tabellen
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index eb18b1556b1..f0aef33b502 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -432,6 +432,7 @@ depend l3build
depend labbook
depend labelcas
depend labels
+depend lastpackage
depend lastpage
depend latexdemo
depend latex-tds
diff --git a/Master/tlpkg/tlpsrc/lastpackage.tlpsrc b/Master/tlpkg/tlpsrc/lastpackage.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/lastpackage.tlpsrc