summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-01 21:20:16 +0000
committerKarl Berry <karl@freefriends.org>2019-10-01 21:20:16 +0000
commit6621e36996b4d5fbfa4c42318eebc45a57ea9cfe (patch)
tree11a89ddb3e2fff39214056d23f51a2e280d418ee /Master
parent8c8ae0642411e4edad8745f7b63cd893f9c1fbe2 (diff)
practicalreports (1oct19)
git-svn-id: svn://tug.org/texlive/trunk@52249 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdfbin182466 -> 183898 bytes
-rw-r--r--Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex13
-rw-r--r--Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty11
3 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
index 70784e70d87..6aee7762b14 100644
--- a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
+++ b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
index f16cc4299bf..de97a6c2f80 100644
--- a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
+++ b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
@@ -14,8 +14,8 @@
\vspace*{\fill}
\begin{center}
{\Huge Practical Reports Documentation}\\[0.5cm]
-{\Large Version: 2.0.1}\\[0.4cm]
-{\Large Date: $26^{th}$ of September 2019}\\[0.2cm]
+{\Large Version: 2.0.2}\\[0.4cm]
+{\Large Date: $1^{st}$ of October 2019}\\[0.2cm]
{\small Author: Justin Cawood}
\end{center}
\vspace*{\fill}
@@ -312,6 +312,15 @@ Tables can be shifted.
The $\backslash$goodfoot macro will do the footer for you in the form "Page x of n". The page mus be set to fancy first though using the $\backslash$setpagefancy macro.
+\subsection{Join Multiple Reports}
+To combine multiple pdf files together into one single pdf file use the macro $\backslash$joinreports\{\}. You don't need the file extension just list all the pdf files that you wish to join as follows.
+
+$\backslash$joinreports\{pdf\_1, pdf\_2, pdf\_3, pdf\_4, .....\}.
+
+This macro should be used in a new tex file because the pdf files will be joined as one file with the name of the tex file this macro is used in.
+
+The pdf files being joined must be in the same directory as the tex file this macro is used in.
+
\section{Appendices}
\subsection{Appendix A - List of Figures}
diff --git a/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty b/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
index 174892e9026..d574797bcfb 100644
--- a/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
+++ b/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
@@ -2,8 +2,8 @@
%%License: LPPL 1.3c
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{practicalreports}[26/09/2019 v2.0.1 Practical Report Package]
-\RequirePackage{mathtools, array, longtable, scrextend, float, fancyhdr, lastpage, tikzducks}
+\ProvidesPackage{practicalreports}[01/10/2019 v2.0.2 Practical Report Package]
+\RequirePackage{mathtools, array, longtable, scrextend, float, fancyhdr, lastpage, tikzducks, pdfpages, pgffor}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -187,8 +187,13 @@ tshirt=brown!50!black, jacket=brown!30!gray, speech={of},bubblecolour=cyan!20!wh
\end{tikzpicture}
}
}
-
+}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make sure yor filenames are all one word, this can include underscores and each report is separated by a comma.
+\newcommand{\joinreports}[1]{
+\foreach \report in {#1} {
+\includepdfmerge{\report, -}
+}
} \ No newline at end of file