texlive[52249] Master/texmf-dist: practicalreports (1oct19)

commits+karl at tug.org commits+karl at tug.org
Tue Oct 1 23:20:16 CEST 2019


Revision: 52249
          http://tug.org/svn/texlive?view=revision&revision=52249
Author:   karl
Date:     2019-10-01 23:20:16 +0200 (Tue, 01 Oct 2019)
Log Message:
-----------
practicalreports (1oct19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
    trunk/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
    trunk/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty

Modified: trunk/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex	2019-10-01 21:20:04 UTC (rev 52248)
+++ trunk/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex	2019-10-01 21:20:16 UTC (rev 52249)
@@ -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 @@
 
 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}

Modified: trunk/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty	2019-10-01 21:20:04 UTC (rev 52248)
+++ trunk/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty	2019-10-01 21:20:16 UTC (rev 52249)
@@ -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 @@
 \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



More information about the tex-live-commits mailing list