summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/navydocs
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-06 20:32:03 +0000
committerKarl Berry <karl@freefriends.org>2016-07-06 20:32:03 +0000
commit257e240d1440f847d71bb47619bdc83966a62b5c (patch)
treee37e07a3a8e3eb214c827c9cf5dfea9998df6584 /Master/texmf-dist/doc/latex/navydocs
parenta694d0d69a58f22441618e5928c32b7f1c0d0189 (diff)
navydocs (6jul16)
git-svn-id: svn://tug.org/texlive/trunk@41643 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/navydocs')
-rw-r--r--Master/texmf-dist/doc/latex/navydocs/Makefile95
-rw-r--r--Master/texmf-dist/doc/latex/navydocs/README.txt43
-rw-r--r--Master/texmf-dist/doc/latex/navydocs/graphics/navy-logo-102.pngbin0 -> 464217 bytes
-rw-r--r--Master/texmf-dist/doc/latex/navydocs/navydocs.pdfbin0 -> 658201 bytes
-rw-r--r--Master/texmf-dist/doc/latex/navydocs/sampleNavyReport.tex82
5 files changed, 220 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/navydocs/Makefile b/Master/texmf-dist/doc/latex/navydocs/Makefile
new file mode 100644
index 00000000000..fa754963b00
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/navydocs/Makefile
@@ -0,0 +1,95 @@
+PACKAGE = navydocs
+########################################################################
+## LaTeX2e Makefile
+##
+## Update the following defines for your local configuration,
+##
+CONTRIB = /usr/share/texmf/tex/latex/misc
+##
+CP = cp
+DVIPS = dvips -t letter
+GZIP = gzip
+LATEX = latex
+MAKEINDEX = makeindex
+PDFLATEX = pdflatex
+PS2PDF = ps2pdf
+RM = rm
+TAR = tar
+########################################################################
+## make [all] Generates the style (.sty) file, the doc and
+## test files (.ps) and cleans up the directory.
+## make [un]install Install or uninstall the style (.sty) file from
+## the CONTRIB area.
+## make [very]clean Clean out various auxillary files. "veryclean"
+## cleans out more stuff.
+########################################################################
+## make dvi Generate the *.dvi version of the documentation.
+## make [full]ps Generate the documentation. The "fullps" version
+## adds the change log and the cross-references.
+## make idx Generate the change log and the cross-references
+## (for fullps -- requires MAKEINDEX).
+## make sty Generate the style (.sty) file.
+## make pdf Generate the *.pdf version of the documentation.
+########################################################################
+## make test Runs test program(s).
+## make distribtion Builds a distribution (.tar.gz) file.
+########################################################################
+
+all: pdf test clean
+
+install: sty
+ $(CP) $(PACKAGE).sty $(CONTRIB)
+uninstall: ; -$(RM) -f $(CONTRIB)/$(PACKAGE).sty
+clean: ; -$(RM) -f *.dvi *.log *.aux *.lof *.lot *.lom *.toc
+ -$(RM) -f *.idx *.ind *.glo *.gls *.ilg *.out *~
+veryclean: clean
+ -$(RM) -f *.sty *.cls *.ps *.pdf *.gz *pk ltxdoc.cfg
+
+dvi: $(PACKAGE).dvi
+fullps: dvi idx ps
+idx: $(PACKAGE).ind $(PACKAGE).gls
+ $(LATEX) $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).dtx
+ps: $(PACKAGE).ps
+sty: $(PACKAGE).sty
+pdf: fullps
+ $(PS2PDF) $(PACKAGE).ps > $(PACKAGE).pdf
+
+test: $(PACKAGE).sty
+ $(LATEX) sample298.tex
+ $(LATEX) sample298.tex
+ $(DVIPS) -o sample298.ps sample298.dvi
+
+distribution: ; mkdir $(PACKAGE)
+ $(CP) -p Makefile $(PACKAGE).pdf $(PACKAGE)
+ $(CP) -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE)
+ $(TAR) -cvf $(PACKAGE).tar ./$(PACKAGE)
+ $(RM) -rf $(PACKAGE)
+ $(GZIP) -9 $(PACKAGE).tar
+
+
+$(PACKAGE).aux: $(PACKAGE).dtx $(PACKAGE).sty
+ $(LATEX) $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).dtx
+
+$(PACKAGE).dvi: $(PACKAGE).dtx $(PACKAGE).sty $(PACKAGE).aux
+ $(LATEX) $(PACKAGE).dtx
+ $(LATEX) $(PACKAGE).dtx
+
+$(PACKAGE).glo: $(PACKAGE).dtx $(PACKAGE).sty
+ $(LATEX) $(PACKAGE).dtx
+
+$(PACKAGE).gls: $(PACKAGE).glo
+ -$(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
+
+$(PACKAGE).idx: $(PACKAGE).dtx $(PACKAGE).sty
+ $(LATEX) $(PACKAGE).dtx
+
+$(PACKAGE).ind: $(PACKAGE).idx
+ -$(MAKEINDEX) -s gind.ist $(PACKAGE).idx
+
+$(PACKAGE).ps: $(PACKAGE).dvi
+ $(DVIPS) -o $(PACKAGE).ps $(PACKAGE).dvi
+
+$(PACKAGE).sty: $(PACKAGE).dtx $(PACKAGE).ins
+ $(LATEX) $(PACKAGE).ins
diff --git a/Master/texmf-dist/doc/latex/navydocs/README.txt b/Master/texmf-dist/doc/latex/navydocs/README.txt
new file mode 100644
index 00000000000..b95612ab6d1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/navydocs/README.txt
@@ -0,0 +1,43 @@
+navydocs package
+----------------
+
+Author
+------
+Peter Andrew Rochford
+Acorn Science & Innovation, Inc.
+1616 Anderson Road, Suite 213
+McLean, VA 22102, USA
+email: prochford@acornsi.com
+
+Purpose
+-------
+
+The navydocs package provides an easy means for creating title pages
+and the following supplementary material pages used in technical reports
+by United States Navy organizations. These pages are generated by specifying
+the page content via a set of commands and then calling a macro to create
+the page at its occurence in the document. The package in its current form
+provides a title page and a technical components page as used by the
+Carderock Division at the Naval Surface Warfare Center (Carderock/NSWC).
+The macros provided within the package can be easily copied and modified
+to support formats used by other Navy organizations. The navydocs package
+is provided in the hope that it proves useful to other Navy organizations,
+with users contributing macros for their organizations. Please email to
+the author any new macros for title pages or supplementary material so
+they can be added to the navydocs package.
+
+License
+-------
+Copyright (C) 2016 Peter Andrew Rochford.
+
+The navydocs package may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, version 1.3c
+(LPPL, 2008-05-04) of this license or (at your option) any later version.
+The latest version of this license can be found at:
+ https://latex-project.org/lppl/
+
+The navydocs package is distributed in the hope that it will be
+useful, but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed
+or implied, including, but not limited to, the implied warranties of
+MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX
+Project Public License for more details.
diff --git a/Master/texmf-dist/doc/latex/navydocs/graphics/navy-logo-102.png b/Master/texmf-dist/doc/latex/navydocs/graphics/navy-logo-102.png
new file mode 100644
index 00000000000..c3407aaba44
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/navydocs/graphics/navy-logo-102.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/navydocs/navydocs.pdf b/Master/texmf-dist/doc/latex/navydocs/navydocs.pdf
new file mode 100644
index 00000000000..c26ae2adc8d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/navydocs/navydocs.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/navydocs/sampleNavyReport.tex b/Master/texmf-dist/doc/latex/navydocs/sampleNavyReport.tex
new file mode 100644
index 00000000000..f51c916519a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/navydocs/sampleNavyReport.tex
@@ -0,0 +1,82 @@
+%%
+%% This is file `sampleNavyReport.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% navydocs.dtx (with options: `sample')
+%%
+%% Copyright (C) 2016 Peter Andrew Rochford.
+%%
+%% This file is NOT the source for sampleNavyReport, because almost all comments
+%% have been stripped from it. It is NOT the preferred form of sampleNavyReport
+%% for making modifications to it.
+%%
+%% Therefore you can NOT redistribute and/or modify THIS file. You can
+%% however redistribute the complete source package (Makefile, navydocs.dtx
+%% and navydocs.ins) and/or modify it under the terms of the LaTeX Project
+%% Public License, either version 1.3c of this license or (at your option)
+%% any later version. The latest version of this license can be found at:
+%% https://latex-project.org/lppl/
+%%
+%% The navydocs package is distributed in the hope that it will be useful,
+%% but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed or
+%% implied, including, but not limited to, the implied warranties of
+%% MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX
+%% Project Public License for more details.
+%%
+\documentclass[twoside]{article}
+\usepackage[margin=0.75in]{geometry} % set margins to 0.75 in
+\usepackage{lipsum} % required to produce dummy text
+\usepackage{navydocs}
+
+\setlength{\marginparwidth}{64pt}
+\setlength{\parindent}{5ex}
+\setlength{\paperwidth}{8.5in}
+\setlength{\textwidth}{6.5in}
+\setlength{\oddsidemargin}{0in}
+\setlength{\evensidemargin}{0in}
+
+\begin{document}
+
+\NavyDivision{Navy Division, Navy Center}
+\NavyDivisionLocation{City, State Zip-Code}
+\NavyReportNumber{XXXXXXXX/XX-0123-45}
+\NavyReportDate{Month Year}
+\NavyReportType{Navy Directorate \\
+ Research and Development Report}
+\NavyReportTitle{Mathematical Model Version 2:\\
+ A Long Detailed Title \\
+ Spanning Multiple Lines (if desired)}
+\NavyAuthor{Author Name}
+
+\NavyMarginTitle{
+ \NavyReportNumber{} Mathematical Model Version 2: \\
+ \hphantom{\NavyReportNumber{}} A Long Detailed Title Spanning Multiple Lines (if desired)
+}
+
+\NavyFormID{NDW-DTRC 5602/51 (Rev. 7-93)}
+
+\NavyTitlePage
+
+\pagenumbering{roman}
+
+\MakeCarderockDivPage
+
+\tableofcontents
+\cleardoublepage
+\pagenumbering{arabic}
+\setcounter{page}{1}
+
+\section{Introduction}
+
+\lipsum[1]
+
+\section{Conclusion}
+
+\lipsum[2]
+
+\end{document}
+\endinput
+%%
+%% End of file `sampleNavyReport.tex'.