From 32d5ba3c79cf7c50bc3c0e1e1f0285e10cca8c82 Mon Sep 17 00:00:00 2001
From: Mark Wooding <mdw@distorted.org.uk>
Date: Thu, 26 May 2016 09:26:09 +0100
Subject: [PATCH] Add some files for manually testing the typeset license
 files.

---
 .gitignore                |  14 +++++
 latex-licence-test.tex    |  11 ++++
 texinfo-licence-test.texi | 153 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 178 insertions(+)
 create mode 100644 latex-licence-test.tex
 create mode 100644 texinfo-licence-test.texi

diff --git a/.gitignore b/.gitignore
index 3d77201..9828376 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,17 @@ missing
 install-sh
 acinclude.m4
 config
+*.aux
+*.cp
+*.dvi
+*.fn
+*.info
+*.ky
+*.log
+*.out
+*.pdf
+*.pg
+*.ps
+*.toc
+*.tp
+*.vr
diff --git a/latex-licence-test.tex b/latex-licence-test.tex
new file mode 100644
index 0000000..e7b4c96
--- /dev/null
+++ b/latex-licence-test.tex
@@ -0,0 +1,11 @@
+\documentclass[a4paper, article]{strayman}
+\usepackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
+
+\begin{document}
+\include{gpl-2.0}
+\include{gpl-3.0}
+\include{agpl-3.0}
+\include{lgpl-2.0}
+\include{lgpl-2.1}
+\include{lgpl-3.0}
+\end{document}
diff --git a/texinfo-licence-test.texi b/texinfo-licence-test.texi
new file mode 100644
index 0000000..e90f25d
--- /dev/null
+++ b/texinfo-licence-test.texi
@@ -0,0 +1,153 @@
+\input texinfo @c -*-texinfo-*-
+@c
+@c test licences
+@c
+@c (c) 2016 Mark Wooding
+@c
+
+@c ----- Standard boilerplate -----------------------------------------------
+
+@c %**start of header
+@setfilename texinfo-licence-test.info
+@settitle Licence test
+@setchapternewpage odd
+@footnotestyle end
+@paragraphindent 0
+@iftex
+@input texinice
+@afourpaper
+@end iftex
+@c %**end of header
+
+@c ----- Useful macros ------------------------------------------------------
+
+@set version 1.0
+
+@c ----- Copyright matters --------------------------------------------------
+
+@c --- The `Info' version ---
+
+@ifinfo
+
+This file documents nothing much version
+@value{version}.
+
+Copyright (c) 2016 Mark Wooding
+
+Permission is granted to make and distribute verbatim copies of this
+manual provided the copyright notice and this permission notice are
+preserved on all copies.
+
+@ignore
+Permission is granted to process this file through TeX and print the
+results, provided the printed document carries a copying permission
+notice identical to this one except for the removal of this paragraph
+(this paragraph not being relevant to the printed manual).
+
+@end ignore
+Permission is granted to copy and distribute modified versions of this
+manual under the conditions for verbatim copying, provided also that the
+sections entitled `Copying' and `GNU General Public License' are
+included exactly as in the original, and provided that the entire
+resulting derived work is distributed under the terms of a permission
+notice identical to this one.
+
+Permission is granted to copy and distribute translations of this manual
+into another language, under the above conditions for modified versions,
+except that this permission notice may be stated in a translation
+approved by the copyright holder.
+
+@end ifinfo
+
+@c --- Printed title page ---
+
+@titlepage
+
+@title Licence test
+@subtitle Test inclusion of the various licence files
+@author Mark Wooding
+@page
+
+@vskip 0pt plus 1filll
+
+Copyright @copyright{} 2016 Mark Wooding
+
+Permission is granted to make and distribute verbatim copies of this
+manual provided the copyright notice and this permission notice are
+preserved on all copies.
+
+Permission is granted to copy and distribute modified versions of this
+manual under the conditions for verbatim copying, provided also that the
+sections entitled `Copying' and `GNU General Public License' are
+included exactly as in the original, and provided that the entire
+resulting derived work is distributed under the terms of a permission
+notice identical to this one.
+
+Permission is granted to copy and distribute translations of this manual
+into another language, under the above conditions for modified versions,
+except that this permission notice may be stated in a translation
+approved by the copyright holder.
+
+@end titlepage
+
+
+@c --------------------------------------------------------------------------
+@ifinfo
+@node Top, GPL-2, (dir), (dir)
+@top Licence test
+
+@menu
+* GPL-2::                       
+* GPL-3::                       
+* AGPL-3::                      
+* LGPL-2::                      
+* LGPL-2.1::                    
+* LGPL-3::                      
+* Introduction::                
+@end menu
+
+@end ifinfo
+
+@c --------------------------------------------------------------------------
+@node GPL-2, GPL-3, Top, Top
+@unnumbered The GNU General Public License, version 2.0
+
+@include gpl-2.0.texi
+
+@c --------------------------------------------------------------------------
+@node GPL-3, AGPL-3, GPL-2, Top
+@unnumbered The GNU General Public License, version 3.0
+
+@include gpl-3.0.texi
+
+@c --------------------------------------------------------------------------
+@node AGPL-3, LGPL-2, GPL-3, Top
+@unnumbered The GNU Affero General Public License, version 3.0
+
+@include agpl-3.0.texi
+
+@c --------------------------------------------------------------------------
+@node LGPL-2, LGPL-2.1, AGPL-3, Top
+@unnumbered The GNU Library General Public License, version 2.0
+
+@include lgpl-2.0.texi
+
+@c --------------------------------------------------------------------------
+@node LGPL-2.1, LGPL-3, LGPL-2, Top
+@unnumbered The GNU Lesser General Public License, version 2.1
+
+@include lgpl-2.1.texi
+
+@c --------------------------------------------------------------------------
+@node LGPL-3, Introduction, LGPL-2.1, Top
+@unnumbered The GNU Lesser General Public License, version 3.0
+
+@include lgpl-3.0.texi
+
+@c --------------------------------------------------------------------------
+@node Introduction,  , LGPL-3, Top
+@unnumbered Introduction
+
+@c --------------------------------------------------------------------------
+@contents
+@bye
-- 
2.11.0

