Debian Codegraph @

texmf-dist/doc/latex/biblatex-shortfields/documentation/biblatex-shortfields.tex

raw
1 \documentclass{ltxdockit}[2011/03/25]
2 \usepackage{btxdockit}
3 \usepackage{fontspec}
4 \usepackage[mono=false]{libertine}
5 \usepackage{microtype}
6 \usepackage[american]{babel}
7 \usepackage[strict]{csquotes}
8 \setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
9 \usepackage{shortvrb}
10 \usepackage{pifont}
11 \usepackage{minted}
12 \usepackage{csquotes}
13
14 \setminted{breaklines}
15 \hypersetup{citecolor=black}
16 % Usefull commands
17 \newcommand{\biblatex}{biblatex\xspace}
18 \pretocmd{\bibfield}{\sloppy}{}{}
19 \pretocmd{\bibtype}{\sloppy}{}{}
20 \newcommand{\namebibstyle}[1]{\texttt{#1}}
21 % Meta-datas
22 \titlepage{%
23 title={Biblatex-shortfields},
24 subtitle={Using short version of fields},
25 email={maieul <at> maieul <dot> net},
26 author={Maïeul Rouquette},
27 revision={1.0.1},
28 date={2017/11/19},
29 url={https://git.framasoft.org/maieul/biblatex-shortfields}}
30
31 % biblatex
32
33
34 \begin{document}
35
36 \printtitlepage
37 \tableofcontents
38
39
40 \section{Aim of the package}
41
42 The \biblatex\ package provide \bibfield{shortseries} and \bibfield{shortjournal} field, but default styles didn't use them.
43
44 It also provides a mechanism to print the equivalence between short forms of fields and long fields (\cs{printbiblist}), but this mechanism does not allow to mix between different type of short fields, for example, between short forms of journal title and short forms of series title.\footnote{Cf.~\url{https://github.com/plk/biblatex/issues/317}.}
45
46 This package provides solution to these two problems:
47 \begin{itemize}
48 \item If a \bibfield{shortjournal} field is defined, it prints it instead of the \cs{journal} field.
49 \item If a \bibfield{shortseries} field is defined, it prints it instead of the \cs{series} field.
50 \item It provides a \cs{printbibshortfields} command to print a list of the sort forms of the fields.
51 \item This list also includes the \emph{claves} defined with the \emph{biblatex-claves} package \textbf{v.~1.2 or later}.
52 \end{itemize}
53
54 \section{Use}
55
56 You must load the package after the \biblatex\ package.
57 \begin{minted}{latex}
58 \usepackage[…]{biblatex}
59 \usepackage{biblatex-shortfields}
60 \end{minted}
61
62 You just need to put \cs{printbibshortfields} when you need to print the shortlist. The command take an optional argument, which could contain options in the optional argument of \cs{printbibliography}, except \opt{check} and \cs{env} options.
63
64 For example, to change the title of this list, use:
65
66 \begin{minted}{latex}
67 \printbibshortfields[title=List of shorthands]
68 \end{minted}
69
70 The equivalence between short and long form of field are determined by the entries.
71 For example, if you want to tell that \enquote{Corpus Christianorum Series Apocryphorum} is abbreviated \enquote{CCSA}, your entries in this series must contains the following fields:
72 \begin{minted}{latex}
73 @entrytype{key,
74 Fields …,
75 Series = {Corpus Christianorum Series Apocryphorum},
76 Shortseries = {CCSA}
77 }
78 \end{minted}
79
80 The only exception is for \emph{claves}, which abbreviations are determined by the mechanism used in the \emph{biblatex-claves} package.
81
82
83 See the \href{./example-biblatex-shortfields.tex}{example file}.
84
85 \section{Customization}
86
87 You can change the width devoted to the abbreviations by redefining the \cs{shortfieldswidth} length, using \cs{setlength}. Default value is 4~em.
88
89 For more customization, contact us. If your need is generic, we will add it in the package.
90
91 \section{Credits}
92
93
94
95 This package was created for Maïeul Rouquette's for Hélène Wiener's needs.\footnote{\url{http://geekographie.maieul.net/144\#forum1736}.} The original idea of the code is explained in Maïeul Rouquette's website.\footnote{\url{http://geekographie.maieul.net/99}.}
96
97
98 All issues can be submitted, in French or English, in the Framasoft's issues page\footnote{\url{https://git.framasoft.org/maieul/biblatex-shortfields/issues}.}.
99
100
101 \section{Change history}
102
103
104 \begin{changelog}
105
106 \begin{release}{1.0.1}{2017-11-19}
107 \item Compatibility with \biblatex~3.8.
108 \end{release}
109 \begin{release}{1.0.0}{2017-04-02}
110 \item First public release.
111 \end{release}
112
113 \end{changelog}
114 \end{document}