Debian Codegraph @

texmf-dist/doc/latex/hep-bibliography/hep-bibliography-documentation.tex

raw
1 %%
2 %% This is file `hep-bibliography-documentation.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hep-bibliography-implementation.dtx (with options: `documentation')
8 %% This is a generated file.
9 %% Copyright (C) 2019-2025 by Jan Hajer
10 %% This file may be distributed and/or modified under the
11 %% conditions of the LaTeX Project Public License, either
12 %% version 1.3c of this license or (at your option) any later
13 %% version. The latest version of this license is in:
14 %% http://www.latex-project.org/lppl.txt
15 %% and version 1.3c or later is part of all distributions of
16 %% LaTeX version 2005/12/01 or later.
17
18 \ProvidesFile{hep-bibliography-documentation.tex}[2025/09/01 v1.4 HEP-Bibliography documentation]
19 \RequirePackage[l2tabu, orthodox]{nag}
20 \documentclass{ltxdoc}
21
22 \renewcommand*\theCodelineNo{\rmfamily\tstyle\footnotesize\arabic{CodelineNo}}
23 \AtBeginEnvironment{macrocode}{\renewcommand*{\ttdefault}{clmt}}
24 \renewcommand*{\MacroFont}{\codestyle}
25 \AtBeginDocument{\DeleteShortVerb{\|}}
26 \AtBeginDocument{\MakeShortVerb{\"}}
27 \EnableCrossrefs
28 \CodelineIndex
29 \RecordChanges
30
31 \usepackage{hologo}
32
33 \usepackage[parskip,oldstyle,font=10pt]{hep-paper}
34 \bibliography{bibliography}
35 \acronym{URL}{uniform resource locator}
36
37 \GetFileInfo{hep-bibliography.sty}
38
39 \title{The \software{hep-bibliography} package\thanks{This document corresponds to \software{hep-bibliography}~\fileversion.}}
40 \subtitle{Bibliographies for high energy physics}
41 \author{Jan Hajer \email{[email protected]}}
42 \date{\filedate}
43
44 \begin{document}
45
46 \newgeometry{vscale=.8, vmarginratio=3:4, includeheadfoot, left=11em, marginparwidth=4.6cm, marginparsep=3mm, right=7em}
47
48 \maketitle
49
50 \begin{abstract}
51 The \software{hep-bibliography} package extends the \software{biblatex} package with some functionality mostly useful for high energy physics.
52 In particular it makes full use of all "bibtex" fields provided by "inspirehep.net".
53 \end{abstract}
54
55 The package can be loaded via "\usepackage{hep-bibliography}".
56
57 \DescribeMacro{\bibliography}
58 \DescribeMacro{\printbibliography}
59 The \software{biblatex} package \cite{biblatex} is loaded for bibliography management.
60 The user has to add the line "\bibliography"\marg{my.bib} to the preamble of the document and "\printbibliography" at the end of the document.
61 The bibliography is generated by \software{Biber} \cite{biber}.
62 "biblatex" is extended to be able to cope with the "collaboration" and "reportNumber" fields provided by \online{https://inspirehep.net}{inspirehep.net} and a bug in the volume number is fixed.
63 Additionally, \online{https://ctan.org}{ctan.org}, \online{https://github.com}{github.com}, \online{https://gitlab.com}{gitlab.com}, \online{https://bitbucket.org}{bitbucket.org}, \online{https://www.launchpad.net}{launchpad.net}, \online{https://sourceforge.net}{sourceforge.net}, and \online{https://hepforge.org}{hepforge.org} are valid "eprinttype"s.
64 \DescribeMacro{erratum}
65 Errata can be included using the "related" feature.
66 \begin{verbatim}
67 \article{key1,
68 ...,
69 relatedtype="erratum",
70 related="key2",
71 }
72 \article{key2,
73 ...,
74 }
75 \end{verbatim}
76
77 \printbibliography
78
79 \end{document}
80
81 \endinput
82 %%
83 %% End of file `hep-bibliography-documentation.tex'.