Debian Codegraph @

texmf-dist/doc/latex/biblatex-bookinarticle/documentation/biblatex-bookinarticle.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{graphics}
13 % Usefull commands
14 \newcommand{\biblatex}{biblatex\xspace}
15 \pretocmd{\bibfield}{\sloppy}{}{}
16 \pretocmd{\bibtype}{\sloppy}{}{}
17 \newcommand{\namebibstyle}[1]{\texttt{#1}}
18 % Meta-datas
19 \titlepage{%
20 title={Book in @article, in @incollection and in @thesis with biblatex},
21 subtitle={New data types},
22 email={maieul <at> maieul <dot> net},
23 author={Maïeul Rouquette},
24 revision={1.3.1a},
25 date={06/04/2016},
26 url={https://github.com/maieul/biblatex-bookinarticle}}
27
28 % biblatex
29 \usepackage[citestyle=verbose]{biblatex}
30 \usepackage{biblatex-bookinarticle}
31 \addbibresource{example-bookinarticle.bib}
32 \addbibresource{example-bookinincollection.bib}
33 \addbibresource{example-bookinthesis.bib}
34 \begin{document}
35
36 \printtitlepage
37 \tableofcontents
38
39 \section{Warning}
40
41 This package is deprecated and won't be maintened anymore.
42 Please use its successor, \emph{biblatex-bookinother}.
43
44 \section{Introduction}
45
46 In classical philology, it happens that ancient books are edited by modern scholar in article. So, when we refer to them, we have to not refer to the article, but, indeed, to the \emph{book which is in the article}.
47
48 This package allows to create entry which's type is \bibtype{bookinarticle}, and which are printed like this:
49
50 \begin{quotation}
51 \cite{BHG226e}
52 \end{quotation}
53
54 It also allows to create entry which's type is \bibtype{bookinincollection}, for book edited in a article of a collection:
55
56 \begin{quotation}
57 \cite{AcTiteLatin}
58 \end{quotation}
59
60 It also allows to create entry which's type is \bibtype{bookinthesis}, for book edited in a thesis:
61
62 \begin{quotation}
63 \cite{inphd:2015}
64 \end{quotation}
65
66 As for the standard \bibtype{thesis} entry type, a \bibtype{bookinthesis} can use the \bibfield{type} field which value can be \enquote{mathesis}, \enquote{phdthesis} or \enquote{candthesis}.
67
68 The package also provides \bibtype{bookinmathesis} and \bibtype{bookinphdthesis}, similar to \bibtype{bookinthesis} but the the \bibfield{type} already defined.
69
70 \section{Use}
71
72 \subsection{\bibtype{bookinarticle} Entry Type}
73
74 A new entrytype is defined: \bibtype{bookinarticle}. It uses the standard fields of a \bibfield{article}, with these changes:
75
76 \begin{itemize}
77 \item \bibfield{author} means the author of the ancient book.
78 \item \textbf{\bibfield{bookauthor} means the author of the article where the book is edited, e.g. the modern editor of the book}.
79 \item \bibfield{mainsubtitle} means the subtitle of the article where the book is edited.
80 \item \bibfield{maintitle} means the title of the article where the book is edited. In our example \enquote{Un mémoire anonyme sur saint Barnabé (BHG 226e)}.
81 \item \bibfield{pages} means the pages where the book is edited.
82 \item \bibfield{subtitle} means the subtitle of the edited book.
83 \item \bibfield{title} means the title of the edited book. In our example \enquote{Mémoire sur le saint apôtre Barnabé}.
84
85
86 \end{itemize}
87
88
89 \subsection{\bibtype{bookinincollection} Entry Type}
90
91 A new entrytype is defined: \bibtype{bookinincollection}. It uses the standard fields of a \bibfield{inincollection}, with these changes:
92
93 \begin{itemize}
94 \item \bibfield{author} means the author of the ancient book.
95 \item \textbf{\bibfield{bookauthor} means the author of the article where the book is edited, e.g. the modern editor of the book}.
96 \item \bibfield{booksubtitle} means the subtitle of the article where the book is edited.
97 \item \bibfield{booktitle} means the title of the article where the book is edited, in our example \enquote{\enquote{Non tibi proderit hec eruditio}. La versione latina degli \emph{Acta} greci del discepolo Tito}.
98 \item \bibfield{maintitle} means the title of the collection were the article is published, in our example \enquote{Suave mari magno\ldots}.
99 \item \bibfield{mainsubtitle} means the subtitle of the collection were the article is published, in our example \enquote{studi offerti dai colleghi udinesi a Ernesto Berti}.
100 \item \bibfield{pages} means the pages where the book is edited.
101 \item \bibfield{subtitle} means the subtitle of the edited book.
102 \item \bibfield{title} means the title of the edited book. In our example \enquote{Passio Sancti Titi Apostoli, Mense Ianurii die Quarto}.
103
104
105 \end{itemize}
106
107 \subsection{\bibtype{bookinthesis} Entry Type}
108
109 A new entrytype is defined: \bibtype{bookinthesis}. It uses the standard fields of a \bibfield{thesis}, with these changes:
110
111 \begin{itemize}
112 \item \bibfield{author} means the author of the ancient book.
113 \item \textbf{\bibfield{bookauthor} means the author of the thesis where the book is edited, e.g. the modern editor of the book}.
114 \item \bibfield{booksubtitle} means the subtitle of the thesis where the book is edited.
115 \item \bibfield{booktitle} means the title of the thesis where the book is edited. In our example \enquote{A Nice Title}.
116 \item \bibfield{pages} means the pages where the book is edited.
117 \item \bibfield{subtitle} means the subtitle of the edited book.
118 \item \bibfield{title} means the title of the edited book. In our example \enquote{The Ancient Text}.
119
120
121 \end{itemize}
122
123 \subsection{Crossref's use}
124
125 You can also use the Biber's crossref's facilities.
126
127 \subsubsection{For \bibtype{bookinarticle}}
128 The \bibfield{crossfield} of a \bibtype{bookinarticle} entry refers to a \bibtype{article} entry. The fields are inherited from \bibtype{article} following these rules:
129
130 \begin{itemize}
131 \item \bibfield{author} becomes \bibfield{bookauthor}.
132 \item \bibfield{title} becomes \bibfield{maintitle}.
133 \item \bibfield{subtitle} becomes \bibfield{mainsubtitle}.
134
135 \end{itemize}
136
137 See the following example:
138
139 \inputminted[breaklines]{latex}{example-bookinarticle.bib}
140
141 \subsubsection{For \bibtype{bookinincollection}}
142
143 The \bibfield{crossfield} of a \bibtype{bookinincollection} entry refers to a \bibtype{inincollection} entry. The fields are inherited from \bibtype{inincollection} following these rules:
144
145 \begin{itemize}
146 \item \bibfield{author} becomes \bibfield{bookauthor}.
147 \item \bibfield{booktitle} becomes \bibfield{maintitle}.
148 \item \bibfield{booksubtitle} becomes \bibfield{mainsubtitle}.
149 \item \bibfield{title} becomes \bibfield{booktitle}.
150 \item \bibfield{subtitle} becomes \bibfield{booksubtitle}.
151
152 \end{itemize}
153
154 See the following example:
155
156 \inputminted[breaklines]{latex}{example-bookinincollection.bib}
157
158 \subsubsection{For \bibtype{bookinthesis}}
159 The \bibfield{crossfield} of a \bibtype{bookinthesis} entry refers to a \bibtype{article} entry. The fields are inherited from \bibtype{thesis} following these rules:
160
161 \begin{itemize}
162 \item \bibfield{author} becomes \bibfield{bookauthor}.
163 \item \bibfield{title} becomes \bibfield{booktitle}.
164 \item \bibfield{subtitle} becomes \bibfield{booksubtitle}.
165
166 \end{itemize}
167
168 See the following example:
169
170 \inputminted[breaklines]{latex}{example-bookinthesis.bib}
171
172 \subsubsection{Summary}
173 The graphs~\ref{crossref} summaries the use of cross-referencing.
174
175 \begin{figure}
176 \centering
177 \IfFileExists{biblatex-bookinarticle-crossref.pdf}{%
178 \includegraphics[height=0.99\textheight]{biblatex-bookinarticle-crossref.pdf}%
179 }{}
180 \label{crossref}
181 \caption{Using crossref's mechanism with \emph{biblatex-bookinarticle}}
182 \end{figure}
183
184 \subsection{\bibtype{inarticle} entry type}
185
186 The package also provides a \bibtype{inarticle} entry type, to show a section of an article with its own title. It is like \bibtype{bookinarticle}, but the \bibtype{title} field is printed with italic, and not with quotation marks.
187
188
189 \subsection{\bibtype{inincollection} Entry Type}
190
191 The package also provides a \bibtype{inincollection} entry type, to show a section of an article of a collection with its own title. It is like \bibtype{bookinincollection}, but the \bibtype{title} field is printed with italic, and not with quotation marks.
192
193 \subsection{\bibtype{inthesis} Entry Type}
194
195 The package also provides a \bibtype{inthesis} entry type, to show a section of a thesis with its own title. It is like \bibtype{bookinthesis}, but the \bibtype{title} field is printed with italic, and not with quotation marks.
196
197 The package also provides \bibtype{inphdthesis} and \bibtype{inmathesis}, similar to \bibtype{thesis}, with the \bibfield{type} field already defined.
198
199
200 \subsection{Loading package}
201
202 The package must be loaded after the \biblatex package:
203 \begin{minted}{latex}
204 \usepackage[…]{biblatex}
205 \usepackage{biblatex-bookinarticle}
206 \end{minted}
207
208 \subsection{Customization}
209
210 The ways which \bibtype{bookinarticle}, \bibtype{bookinincollection} and \bibtype{bookinthesis} are printed are derivated from the \emph{verbose} bibliographic style. You can customize it by overriding bibliographic macros or bibliographic drivers. Look at the file \verb+biblatex-bookinarticle.sty+.
211
212 \section{Credits}
213
214 This package was created for Maïeul Rouquette's phd dissertation\footnote{\url{http://apocryphes.hypothese.org}.} in 2014. It is licensed on the \emph{\LaTeX\ Project Public License}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}.
215
216
217 All issues can be submitted, in French or English, in the GitHub issues page\footnote{\url{https://github.com/maieul/biblatex-bookinarticle/issues}.}.
218
219
220 \section{Change history}
221
222
223 \begin{changelog}
224
225
226 \begin{release}{1.3.1a}{2016-04-06}
227 \item Package deprecated and replaced by \emph{biblatex-bookinother}.
228 \end{release}
229
230 \begin{release}{1.3.1}{2016-02-24}
231 \item Fix bug added in v.1.3.0 which made some fields disappeared, even in for standard types.
232 \end{release}
233
234 \begin{release}{1.3.0}{2016-02-11}
235 \item Add \bibtype{bookinthesis} and \bibtype{inthesis} and related.
236 \end{release}
237
238 \begin{release}{1.2.0a}{2016-02-07}
239 \item Fix handbook.
240 \end{release}
241
242 \begin{release}{1.2.0}{2016-02-05}
243 \item Formate \bibfield{series}, \bibfield{volume} and \bibfield{number} fields of \bibtype{inarticle} and \bibtype{bookinarticle} entries as \bibfield{series}, \bibfield{volume} and \bibfield{number} fields of \bibtype{article} entries.
244 \end{release}
245
246 \begin{release}{1.1.2}{2015-02-05}
247 \item Use the \bibfield{shortauthor} field to define the \bibfield{labelname} field (useful for some citation style, like authortitle).
248 \end{release}
249
250 \begin{release}{1.1.1}{2014-11-03}
251 \item Delete a false and not need test in the driver.
252 \item Compatibility with biblatex-dw family's styles.
253 \end{release}
254 \begin{release}{1.1.0}{2014-10-09}
255 \item Add \bibtype{bookinincollection} and \bibtype{inincollection}.
256 \end{release}
257
258 \begin{release}{1.0.0}{2014-07-02}
259 \item First public release.
260 \end{release}
261 \end{changelog}
262 \end{document}