Skip to content
Snippets Groups Projects
Commit 79cfd676 authored by John Swinbank's avatar John Swinbank
Browse files

Create template project

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #24253 passed
*.aux
*.bbl
*.bcf
*.blg
*.glg
*.glo
*.gls
*.ist
*.log
*.out
*.pdf
*.toc
*.run.xml
changes.tex
meta.tex
texput.log
image: registry.gitlab.com/islandoftex/images/texlive:latest
variables:
GIT_SUBMODULE_STRATEGY: normal
build:
before_script:
- apt-get update && apt-get install -y git-lfs
script:
- make
artifacts:
paths:
- "*.pdf"
[submodule "astron-texmf"]
path = astron-texmf
url = https://git.astron.nl/astron-sdc/docs/astron-texmf.git
[submodule "figures"]
path = figures
url = https://git.astron.nl/astron-sdc/docs/figures.git
Makefile 0 → 100644
DOCHANDLE=SDC-example
export TEXMFHOME ?= astron-texmf/texmf
$(DOCHANDLE).pdf: main.tex meta.tex changes.tex
xelatex -jobname=$(DOCHANDLE) main.tex
makeglossaries $(DOCHANDLE)
biber $(DOCHANDLE)
xelatex -jobname=$(DOCHANDLE) main.tex
xelatex -jobname=$(DOCHANDLE) main.tex
include astron-texmf/make/vcs-meta.make
include astron-texmf/make/changes.make
Subproject commit 0b7a2555c1cbb833d0ed782dfeabe8f1edec15f7
Subproject commit 395dbea6944ba323e242416bc06e70cbdfe21216
main.tex 0 → 100644
% documentclass{} takes the following mutually-exclusive options:
%
% note -- formats the document as a technical note.
% proposed -- formats the document as a proposed change to the baseline.
% baseline -- formats the document as part of the technical baseline.
\documentclass[note]{astron}
\input{meta}
\input{changes}
\setDocTitle{ASTRON SDC Document Example}
\setDocProgram{SDC}
\setDocAuthors{
\addPerson{John D. Swinbank}{ASTRON}{\vcsDate}
}
% These are set according to information obtained from make and git.
\setDocNumber{\docHandle}
\setDocRevision{\vcsRevision}
\setDocDate{\vcsDate}
\begin{document}
\maketitle
\printglossary[title=List of Abbreviations]
\clearpage
\section{Getting Started}
\label{sec:getting-started}
\begin{enumerate}
\item{Edit \verb|Makefile| and set \verb|DOCHANDLE| to the appropriate handle for your document.
Refer to the \href{https://support.astron.nl/confluence/display/SDCP/List+of+SDC-Series+Documents}{list of SDC series documents} which have been issued to date, and choose the next one in sequence.}
\item{Check the preamble of this file to ensure that the document title, programme, and author(s) have been set correctly.}
\item{Insert your text here.}
\item{Use the \verb|\gls| command to refer to abbreviations, like \gls{SDC}.}
\item{Use the \verb|\autocite| command to cite other documents, like \autocite{SDC-006}.}
\item{Use the \verb|\cref| command to refer to sections, tables, or other material in this document, like \cref{sec:getting-started}.}
\item{Run \verb|make| to compile the document.}
\end{enumerate}
\clearpage
\printbibliography
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment