Hot answers tagged subdividing
56
One learns something new about biblatex every day. :-)
\documentclass{article}
\usepackage[defernumbers=true]{biblatex}
\DeclareBibliographyCategory{cited}
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
...
18
The multind package provides simple and straightforward multiple indexing.
You tag each \makeindex, \index and \printindex command with a file name, and indexing commands are written to (or read from) the name with the appropriate (.idx or .ind) extension appended. To create a “general” and an “authors” index, one might write:
\usepackage{multind}
...
17
You can also stick with endnotes. Each time you use \theendnotes, all endnotes that were stored previously will be put there. So just write \theendnotes at the end of each chapter.
\documentclass{report}
\usepackage{endnotes}
\begin{document}
\chapter{First}
Testing.\endnote{First test.}
\theendnotes
\setcounter{endnote}{0}
\chapter{Next}
...
16
The pagenote package allows for endnotes ("pagenotes") at the end of each chapter.
\documentclass{book}
\usepackage{pagenote}
\makepagenote
\renewcommand*{\notedivision}{\section*{\notesname\ to chapter~\thechapter}}
\renewcommand*{\pagenotesubhead}[2]{}
\begin{document}
\chapter{bla}
\section{blubb}
Some text.\pagenote{The first endnote.}
...
15
You can use the refsection environment and the section option of \printbibliography to select a reference section. A little example:
\begin{filecontents*}{biblio.bib}
@book{goossens93,
author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
title = "The {LaTeX} Companion",
year = "1993",
publisher = "Addison-Wesley",
...
13
Use biblatex and its refsection feature. Note that entries cited both in the main text and the appendix will be included in both bibliographies.
\documentclass{article}
\usepackage{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, ...
12
This is not currently possible. However the functionality for this is implemented in biber already and will be made visible through biblatex in the near future. This will allow you to specify different sorting not only for each refsection but for multiple bibliography lists in the same refsection.
This is now possible with biblatex 2.x and biber 1.x:
...
12
OK. Here's an example (apologies for just ripping off part of my own bibliography, rather than coming up with witty fake bibliography items):
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{biblatextest.bib}
@ARTICLE{walley00,
author = {Peter Walley},
title = {Towards a unified theory of imprecise probabilities},
journal = ...
12
The script provided in the multibib documentation is Unix-based, so we will have troubles running it in Windows. In the script, there's also another command running inside single quotes - basename $file .aux - which returns the full path for $file (which is the current element in the for loop).
The solution is to manually run these commands in the following ...
11
This is best done using biber's sequential source mapping feature which allows you to modify the data as a stream as it's processed, without actually changing the source files:
\documentclass{article}
\usepackage{biblatex}
\addbibresource{test.bib}
\DeclareSourcemap{
\maps[datatype=bibtex, overwrite=true]{
\map{
\step[fieldset=keywords, ...
10
Please refer to Section 3.10.3 Multiple Bibliographies of the biblatex documentation. The basic idea is to use the refsection environment for each bibliographical unit and the \printbibliography command inside each refsection environment. Notice that you will have to compile (through bibTeX, for example) the auxiliary .aux files that will be created for ...
10
Good question. :-) One the one hand, section 3.6.2 of the biblatex manual mentions
mixing a numerical subbibliography
with one or more subbibliographies
using a different scheme (e. g.,
author-title or author-year).
On the other hand, according to section 3.1.1, style, bibstyle and citestyle are load-time options, i.e. they must be specified when ...
10
This is now implemented in Biber 0.9.8. Here is how to deal with your question. Given the sample file:
\begin{filecontents}{\jobname-primary.bib}
@BOOK{hectic,
AUTHOR = {Henry Hectic},
TITLE = {How Horticulturalists Howl},
PUBLISHER = {Honorary Books: Henage},
YEAR = {2000}
}
\end{filecontents}
...
10
Use the refsection instead of the refsegment environment. Quoting section 3.6.5 of the manual:
The difference between a refsection and a refsegment environment
is that the former creates labels which are local to the environment
whereas the latter provides a target for the segment filter of
\printbibliography without affecting the labels. They will ...
10
Since you don't seem interested in the location list, you could change the location counter to section and define a glossary style that checks if the current section is in the location list. You'll probably want to neaten the glossary, but here's an example:
\documentclass{article}
\usepackage{datatool-base}
\usepackage[counter=section,xindy]{glossaries}
...
10
Here's a solution with the biblatex package. The following shows how to do it. Make sure you run bibtex on all auxiliary files, all *[0-9]-blx.aux files.
\documentclass{article}
\usepackage{filecontents}
\usepackage{biblatex}
\begin{filecontents}{myrefs.bib}
@Book{Knuth:1990,
author = {Knuth, Donald E.},
title = {The {\TeX}book},
year ...
9
As you don't like to use BibTeX, here's a solution simply using the standard bibliography environment.
You could use the \item command to insert headings or text into a bibliography, for example:
\documentclass{article}
\begin{document}
\begin{thebibliography}{KnuthXX}
\item[]\hspace{-\labelwidth}\hspace{-\labelsep}\textbf{Required}:
...
9
One problem with multind is that the index heading(s) will not be formatted corresponding to your other chapter (or section) headings but simply with \Large\bf.
If you want multiple indexes that respect the general formatting of your document class (and also work with other than the standard classes), use the splitidx package.
9
I couldn't reproduce the behaviour you described -- try my example below. If it works for you, then you have to find out the differences to your setup/bib-file etc. In any case, there's no need to mix type and nottype in the optional argument of \printbibliography, so you shouldn't do it.
\documentclass{article}
\usepackage{biblatex}
...
9
Create several separate thebibliography environments;
Redefine the \bibname macro (for the book and report class) or the \refname macro (for the article class) before every environment as desired;
To achieve unambiguous numbering of your bibitems, define a new counter (say, firstbib), use this counter to save the value of enumiv at the end of every ...
9
You could give the bibunits package a try. Assuming that (i) you wish to use the plain bibliography style in the main part of the document and the unsrt style in the appendix area and (ii) all bib entries are contained in a file named mybib.bib, the bibunits-relevant structure of your LaTeX file might look something like this:
\documentclass{book}
...
9
If you want to do this using biber, I'd recommend using the sourcemap feature, it's cleaner than adding a category via an index format. This alters the input stream (without altering the .bib file) so that the keyword "knuth" is added to all works with matching "Knuth" as the author, which you can then filter on:
\DeclareSourcemap{
\maps[datatype=bibtex]{
...
8
\documentclass{book}
...
\usepackage{makeidx}
\makeindex
...
\begin{document}
...
text\index{abc@{\ty abc}} and other text...
...
\printindex
\end{document}
This should work and, apart from \usepackage instead of an option to \documentstyle has always been the method also in LaTeX209.
Check what the undefined command is, it would be very strange if it ...
8
As you're "on a deadline", switching to biblatex is somewhat risky. Instead, use multibib as shown in the following MWE (it works with the unsrt style). Optionally, use the resetlabels package option.
Note: Unless you're using tools like latexmk, compile the example with
(pdf)latex <filename>
bibtex <filename>
bibtex further
(pdf)latex ...
7
It seems that you are using the chapterbib package to produce your multiple bibliographies. The error messages that you are getting suggests that you are not compiling your document correctly.
I'll explain how to compile your document with a simple example; I'll assume that your main document is called test.tex and looks like this:
\documentclass{report}
...
7
You can do that with the splitbib package, but that's not "automagicly" at all... you have to define a bibliographic category and manually add the corresponding itens to it, something like this:
\begin{category}[A]{First category}
\SBentries{entry1,entry4}
\end{category}
Check the splitbib documentation at CTAN
However, you can do this quite ...
7
you should maybe have a look at \usepackage{imakeidx}
\documentclass{article}
\usepackage[english]{babel}
\usepackage{imakeidx}
\makeindex
\makeindex[name=authors,title=Authors,columns=3]
\usepackage{natbib}
\makeindex
\begin{document}
\citeindextrue
This is a text with few references, e.g. \cite{Doreian05} or \Citet{Doreian05}.\\
...
7
Here is another solution which is more automated:
\documentclass[]{scrreprt}
\usepackage[autostyle]{csquotes}
\usepackage[
backend=biber,
% refsection=chapter,
refsegment=chapter,
sorting=none,
style=numeric
]{biblatex}
%\defbibheading{subbibliography}{%
% \section*{References for Section~\ref{refsection:\therefsection}}}
...
7
Under your keyword filter approach with biblatex, superficial adjustments to the labelnumber field (such as adding the suffix a or b and resetting the secondary entry count) can be made by redefining the labelnumber format. Here's an example.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
...
7
Use \nocite to "cite" the publications in the order you want.
\documentclass{article}
\usepackage[sorting=none]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@misc{C03,
keywords = ...
Only top voted, non community-wiki answers of a minimum length are eligible