Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain corporate authors in biblatex correctly #93

Merged
merged 3 commits into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions src/bibliography.tex
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,9 @@ \subsection{Citing commands}
\end{example}

Another set of commands allows us to extract specific information from
the bibliographic entry, and use the information directly in the text. This is includes commands such as \csi{citeauthor},
\csi{citetitle}, \csi{citeyear}, \csi{citedate}, \csi{citeurl}.
the bibliographic entry, and use the information directly in the text. This
includes commands such as \csi{citeauthor}, \csi{citetitle}, \csi{citeyear},
\csi{citedate}, \csi{citeurl}.

\begin{example}[standalone,
biber,
Expand Down Expand Up @@ -553,20 +554,28 @@ \subsection{Citing commands}

\subsection{More about entries}

\hologo{biber} uses ``and'' as a separator in author entries. To prevent
this behaviour, enclose ``and'' in curly brackets
\hologo{biber} uses \enquote{and} as a separator in certain entries. To prevent
this behaviour, enclose \enquote{and} in curly brackets
\begin{minted}{bibtex}
@book{kru,
author = {Kruger {and} sons}
publisher = {Kruger {and} sons}
}
\end{minted}
The same trick may be useful when \hologo{biber} changes capitalisation, even
though it shouldn't.
though it shouldn't. On top of this \hologo{biber} splits author entries into
smaller bits which are then used elsewhere. So in \autoref{lst:bibfile} the
name Jane Diviner is split into the first name Jane and the surname Diviner.
When you don't want this, enclose the entire name in braces
\begin{minted}{bibtex}
@book{kru,
author = {{Kruger brothers}}
}
\end{minted}

When writing about certain subject it often happens that the same author or
publishing company released several books. In order to reuse the information in
several entries in the \eei{.bib} file, a special entry \cargv{xdata} is available. It may be used
like this
several entries in the \eei{.bib} file, a special entry \cargv{xdata} is
available. It may be used like this

\begin{example}[standalone,
biber,
Expand All @@ -578,8 +587,8 @@ \subsection{More about entries}
\begin{filecontents}{example2.bib}
%!hideend
@xdata{krugers,
author = {Kruger {and} sons},
publisher = {Krugers Inc.},
author = {{Kruger brothers}},
publisher = {Kruger {and} sons},
location = {Paris}
}

Expand All @@ -604,3 +613,4 @@ \subsection{More about entries}
\printbibliography
\end{document}
\end{example}

Loading