# Tag Info

## Hot answers tagged subdividing

68

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

There are several ways to have separate bibliographies by type of items cited. I'll describe here some of them, namely: With bibtex Using splitbib; using bibtopic; and using multibib With biblatex BibTeX There are several, more or less complicated solutions to separate bibliographies by type with bibtex, but that's not "automagicly" at all... Using ...

16


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", ...

15

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, ...

14

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 ...

13

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} ...

13

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 = ...

13

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 ...

13

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]{ ...

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

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 ...

12

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} ...

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, ...

11

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

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

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.

10

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 ...

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

Changing the dashed option We can achieve this by calling \AtNextBibliography{\renewbibmacro*{bbx:savehash}{}}, which redefines bbx:savehash bibmacro (the one that tells the style to save and use dashes) at the beginning of the next \printbibliography (it can be used out of the preamble). \AtNextBibliography{\renewbibmacro*{bbx:savehash}{}} Removing the ...

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

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 ...

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} ...

8

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} ...

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

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}}} ...

8

Here's a prototype using the imakeidx package. \documentclass{book} \usepackage[noautomatic,splitindex]{imakeidx} %%% Allocate enough chapter indices \count255=0 \loop\ifnum\count255<50 \advance\count255 by 1 \begingroup\edef\x{\endgroup \noexpand\makeindex[name=\number\count255 chap,title=Word index for Chapter \number\count255]}\x \repeat %%% ...

7

The easiest way to do so is to use the biblatex package! You can put libraries where you want. You should read the manual! Example: \documentclass{scrbook} \usepackage[utf8]{inputenc} \usepackage[ngerman, english]{babel} \usepackage[ style=numeric-comp, bibstyle=numeric, sorting=none, url=false, natbib=true, backend=biber ...

Only top voted, non community-wiki answers of a minimum length are eligible