diff --git a/example/Makefile b/example/Makefile index 88c63c87991fd2b420ade0159fdaf0fda7d5bd7f..1a00b968d33219015654f4e7c3fc950a61d4040d 100644 --- a/example/Makefile +++ b/example/Makefile @@ -11,6 +11,8 @@ endif $(DOCNAME).pdf: $(DOCNAME).tex meta.tex xelatex $(DOCNAME) makeglossaries $(DOCNAME) + biber $(DOCNAME) + xelatex $(DOCNAME) xelatex $(DOCNAME) .FORCE: diff --git a/example/example.tex b/example/example.tex index 6a13ec39d860d06838c8af5f548fd3d04d2ada6c..ea35022d794f98041be21a03f1b43c1346368978 100644 --- a/example/example.tex +++ b/example/example.tex @@ -11,6 +11,7 @@ \setDocChangeRecord{ \addChangeRecord{1.0}{2020-11-15}{Initial release} \addChangeRecord{2.0}{2020-11-18}{Add list of abbreviations} + \addChangeRecord{3.0}{2020-11-18}{Add list of references} } \setDocAuthors{ @@ -40,9 +41,13 @@ \setglossarystyle{altlist} \printglossary[title=List of abbreviations] \clearpage +\printbibliography +\clearpage Check that abbreviations are working properly: \gls{SDC}, \gls{SKA}. +Check that citations are working properly: \autocite{SDC-001}, \autocite{SDC-002}. + \section{First section} Lorem ipsum dolor sit amet, consectetur adipiscing elit. diff --git a/texmf/bibtex/bib/astron.bib b/texmf/bibtex/bib/astron.bib new file mode 100644 index 0000000000000000000000000000000000000000..16c713b67b16cdb7e0d65f4eb19e1377df8cbe7b --- /dev/null +++ b/texmf/bibtex/bib/astron.bib @@ -0,0 +1,12 @@ +% General ASTRON documents + +@TechReport{2020-Kruithof-Vision, + author = "Gert {Kruithof}", + title = "Vision on {LOFAR} and the {SDC}", + institution = "ASTRON", + year = 2020, + month = "jan", + day = 30, + version = 1, + url = {https://edu.nl/afu73}, +} diff --git a/texmf/bibtex/bib/lofar.bib b/texmf/bibtex/bib/lofar.bib new file mode 100644 index 0000000000000000000000000000000000000000..c3c5531f647095c4db37b06a4fbbc291843d31a3 --- /dev/null +++ b/texmf/bibtex/bib/lofar.bib @@ -0,0 +1,12 @@ +% LOFAR and LOFAR2.0 documents + +@TechReport{2020-Gunst-SDC-L2-Architecture, + author = "A.W. {Gunst} and H. {Holties} and R. {Pizzo} and J.D. {Mol}", + title = "Architectural Design of {SDC} and {LOFAR2.0} Interaction", + institution = "ASTRON", + year = 2020, + month = sep, + day = 16, + version = 1.2, + url = {https://edu.nl/xfa7k}, +} diff --git a/texmf/bibtex/bib/sdc.bib b/texmf/bibtex/bib/sdc.bib new file mode 100644 index 0000000000000000000000000000000000000000..a778aa0fc29597af3f49e62f75d79b893f4449b9 --- /dev/null +++ b/texmf/bibtex/bib/sdc.bib @@ -0,0 +1,37 @@ +% SDC-series documents + +@TechReport{SDC-001, + author = "John D. {Swinbank} and Jasper {Annyas}", + title = "{SDC} Software Maintenance in an Agile Environment", + institution = "ASTRON", + year = 2020, + version = draft, + url = {https://git.astron.nl/swinbank/doc-sdc-001} +} + +@TechReport{SDC-002, + author = "John D. {Swinbank}", + title = "{ASTRON Science Data Centre} Program Management Plan", + institution = "ASTRON", + year = 2020, + version = draft, + url = {https://git.astron.nl/swinbank/doc-sdc-002} +} + +@TechReport{SDC-003, + author = "John D. {Swinbank}", + title = "{FuSE} Project Management Plan", + institution = "ASTRON", + year = 2020, + version = draft, + url = {https://git.astron.nl/swinbank/doc-sdc-003} +} + +@TechReport{SDC-004, + author = "John D. {Swinbank}", + title = "{ASTRON Science Data Centre} Vision", + institution = "ASTRON", + year = 2020, + version = draft, + url = {https://git.astron.nl/swinbank/doc-sdc-004} +} diff --git a/texmf/ls-R b/texmf/ls-R index c9e1b40b3d156963eb7def0d1f3c03ee6714ae84..2d4c1a5970c65573aed412902172ec958b9390cf 100644 --- a/texmf/ls-R +++ b/texmf/ls-R @@ -1,9 +1,18 @@ % ls-R -- filename database for kpathsea; do not change this line. ./: .: +bibtex ls-R tex +./bibtex: +bib + +./bibtex/bib: +astron.bib +lofar.bib +sdc.bib + ./tex: latex @@ -12,6 +21,6 @@ latex astron ./tex/latex/astron: -astron-acronyms.tex +astron-abbreviations.tex astron-logo.pdf astron.cls diff --git a/texmf/tex/latex/astron/astron.cls b/texmf/tex/latex/astron/astron.cls index e51b5a7e3a868cac7ecc03741f327bfd38fc9eaf..bb91c63eb4dabf2b21fc8343d13eb126ee762e1d 100644 --- a/texmf/tex/latex/astron/astron.cls +++ b/texmf/tex/latex/astron/astron.cls @@ -15,6 +15,7 @@ \setlength{\sideMargin}{2cm} \RequirePackage[absolute]{textpos} +\RequirePackage{biblatex} \RequirePackage{fancyhdr} \RequirePackage{geometry} \RequirePackage[pdfborder={0 0 0}]{hyperref} @@ -26,6 +27,14 @@ \RequirePackage{parskip} \RequirePackage{tabularx} +% Standard bibliography files included in this package +\addbibresource{astron.bib} +\addbibresource{lofar.bib} +\addbibresource{sdc.bib} + +% No need for a fancy font for the URL +\urlstyle{same} + \geometry{tmargin=\topMargin, bmargin=\bottomMargin, lmargin=\sideMargin,