diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/faq-biblio.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/faq-biblio.tex | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/faq-biblio.tex b/Master/texmf-dist/doc/generic/FAQ-en/faq-biblio.tex index e23a5a512fd..9bece3e6f2d 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/faq-biblio.tex +++ b/Master/texmf-dist/doc/generic/FAQ-en/faq-biblio.tex @@ -1,4 +1,4 @@ -% $Id: faq-biblio.tex,v 1.12 2012/02/11 10:14:41 rf10 Exp rf10 $ +% $Id: faq-biblio.tex,v 1.14 2012/11/10 14:25:12 rf10 Exp rf10 $ \section{Bibliographies and citations} @@ -671,15 +671,12 @@ To create a bibliography for your document, you need to perform a sequence of steps, some of which seem a bit odd. If you choose to use \BibTeX{}, the sequence is: -First: you need a \BibTeX{} bibliography file (a \extension{bib} file)~--- see -\nothtml{``creating a \BibTeX{} file'' (\Qref[question]{}{Q-buildbib}).} -\begin{htmlversion} -``\Qref[question]{creating a \BibTeX{} file}{Q-buildbib}''. -\end{htmlversion} +First: you need a \BibTeX{} bibliography file (a \extension{bib} +file)~--- see \Qref*[question]{``creating a \BibTeX{} file''}{Q-buildbib}. Second: you must write your \LaTeX{} document to include a declaration of the `style' of bibliography, citations, and a reference to the -bibliography file mentioned in the step 1. So we may have a \LaTeX{} +bibliography file mentioned above. So we may have a \LaTeX{} file containing: \begin{quote} \begin{verbatim} @@ -835,10 +832,35 @@ The package \Package{bibunits} ties bibliographies to logical units within the document: the package will deal with chapters and sections (as defined by \LaTeX{} itself) and also defines a \environment{bibunit} environment so that users can select their own structuring. + +\Qref*{The \Package{biblatex} package}{Q-biblatex}, with +\ProgName{biber}, provides a similar facility; enclose the text for +which you want a local bibliography in a \environment{refsection} +environment, and place a \csx{printbibliography} command as the last +thing in that environment: +\begin{quote} +\begin{verbatim} +\begin{refsection} +\chapter{First chapter} +\section{Foo} +Some text \cite{this} +with citations \cite{that}. +\printbibliography +\end{refsection} +\end{verbatim} +\end{quote} +Then process with \latex{} (of whatever flavour) and use +\ProgName{biber} to process the bibliography output. Note that +\csx{printbibliography} can take an optional argument +\pkgoption{heading=bib title} to provide the bibliography with a +(sub)section title. \begin{ctanrefs} -\item[chapterbib.sty]distributed as part of \CTANref{cite}[chapterbib] +\item[biber]\CTANref{biber} +\item[biblatex]\CTANref{biblatex} \item[bibunits.sty]\CTANref{bibunits} +\item[chapterbib.sty]distributed as part of \CTANref{cite}[chapterbib] \end{ctanrefs} +\LastEdit{2013-01-04} \Question[Q-multbib]{Multiple bibliographies?} |