Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
University of Southampton Thesis Template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UoS LaTeX Group
University of Southampton Thesis Template
Commits
93036659
Commit
93036659
authored
4 years ago
by
Edward Longman
Browse files
Options
Downloads
Patches
Plain Diff
Add prezipped quickstart options in makefile with ziptest make target
parent
3b0f0b61
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/latex/uosdocs/Makefile
+37
-5
37 additions, 5 deletions
source/latex/uosdocs/Makefile
source/latex/uosdocs/uosdocs.dtx
+3
-3
3 additions, 3 deletions
source/latex/uosdocs/uosdocs.dtx
with
40 additions
and
8 deletions
source/latex/uosdocs/Makefile
+
37
−
5
View file @
93036659
...
...
@@ -72,11 +72,24 @@ DOCDIR = "$(TEXMF)/doc/latex/$(STYLE)"
BIBDIR
=
"
$(
TEXMF
)
/bibtex/bib/
$(
STYLE
)
"
SRCDIR
=
"
$(
TEXMF
)
/source/latex/
$(
STYLE
)
"
TEMPLATEDEPS
=
figure.eps UOS.bib
ARTICLEDEPS
=
uosarticle.cls Article.tex
$(
TEMPATEDEPS
)
BOOKDEPS
=
$(
TEMPATEDEPS
)
Definitions.tex Introduction.tex Conclusions.tex AppendixA.tex
GDPDEPS
=
uosgdp.cls GDP.tex
$(
BOOKDEPS
)
GDPSUMMARYDEPS
=
uosgdpsummary.cls GDPSummary.tex
$(
TEMPATEDEPS
)
MINITHESISDEPS
=
uosminithesis.cls MiniThesis.tex
$(
BOOKDEPS
)
PROGRESSDEPS
=
uosprogress.cls Progress.tex
$(
BOOKDEPS
)
PROJECTDEPS
=
uosproject.cls Project.tex
$(
BOOKDEPS
)
REPORTDEPS
=
uosreport.cls Report.tex
$(
BOOKDEPS
)
THESISDEPS
=
uosthesis.cls Thesis.tex UoSLogo.png
$(
BOOKDEPS
)
#*====================== LATEX INSTALLATION CONFIG ==========================
LATEX
=
pdflatex
PDFTEXIFY
=
texify
--pdf
MAKEINDEX
=
makeindex
ZIP
=
7z a
-tzip
UNZIP
=
7z e
#*==================== DIFFERENT MAKE CONFIGURATIONS ========================
...
...
@@ -84,6 +97,8 @@ all: $(GENFILES) $(DOCFILES)
dist
:
$(STYLE).zip
test
:
$(GENFILES) $(TESTFILES)
UNZIPFILES
=
$(
patsubst %, unzipped/%,
$(
TESTFILES
))
ziptest
:
$(UNZIPFILES)
#* .SECONDARY used to stop it building repeatedly
#* https://stackoverflow.com/questions/2973445/
...
...
@@ -101,13 +116,30 @@ $(DOCFILES): $(STYLE).dtx
%.pdf
:
%.tex
$(
PDFTEXIFY
)
$*
.tex
unzipped/%.pdf
:
%.zip
$(
UNZIP
)
-obuild
/
$*
.zip
$(
PDFTEXIFY
)
build/
$*
.tex
-output-directory
=
"build/"
--quiet
grep
"2021/02/15 v1.3"
build/
$*
.log
cp
build/
$*
.pdf unzipped/
$*
.pdf
rm
build/
*
#*========================== ZIP REQUIREMENTS ===============================
$(STYLE).zip
:
$(GENFILES) $(DOCFILES)
$(
MAKE
)
clean
zip
$@
$(
SRCFILES
)
$(
GENFILES
)
$(
DOCFILES
)
Article.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
ARTICLEDEPS
)
GDP.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
GDPDEPS
)
GDPSummary.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
GDPSUMMARYDEPS
)
MiniThesis.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
MINITHESISDEPS
)
Progress.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
PROGRESSDEPS
)
Project.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
PROJECTDEPS
)
Report.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
REPORTDEPS
)
Thesis.zip
:
$(GENFILES) $(DOCFILES)
$(
ZIP
)
$@
$(
THESISDEPS
)
#*============================= CLEAN TYPES =================================
clean
:
...
...
This diff is collapsed.
Click to expand it.
source/latex/uosdocs/uosdocs.dtx
+
3
−
3
View file @
93036659
...
...
@@ -28,7 +28,7 @@
\ProvidesFile{uosdocs.drv}
%</driver>
%<*thesis|minithesis|progress|project|report|article|gdp|gdpsummary|driver>
[202
0
/0
9
/1
6
v1.
2
[202
1
/0
2
/1
5
v1.
3
%</thesis|minithesis|progress|project|report|article|gdp|gdpsummary|driver>
%<thesis|minithesis|progress|project|report|article|gdp|gdpsummary> LaTeX document class]
% \end{macrocode}
...
...
@@ -1265,9 +1265,9 @@
%<*thesis|minithesis|progress|project|report|gdp>
\chapter*{\addmaterialname
%</thesis|minithesis|progress|project|report|gdp>
%<*article>
%<*article
|gdpsummary
>
\section*{\addmaterialname
%</article>
%</article
|gdpsummary
>
\@mkboth{
\MakeUppercase\addmaterialname}{\MakeUppercase\addmaterialname}}
\@starttoc{lom}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment