Tag Info

Hot answers tagged

78

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


21

You can create a category for each letter in the alphabet and, with \AtDataInput, add entries to each category on the basis of the sortinit field. \documentclass{book} \usepackage[style=alphabetic]{biblatex} \addbibresource{biblatex-examples.bib} \nocite{angenendt,bertram,doody,gillies} % user-level test for skipbib enabled (e.g. related entry ...


19

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


19

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


18

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


18

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


17

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


17

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


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


14

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


14

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


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


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

I'm not aware of a way to do this with nomencl. However, there are other packages which can be used. I'll give two examples, one for my package acro and one for glossaries. acro The acro package allows to assign acronyms to a class and print lists for each class (also for combined classes...). This fact can be used for the task. Entries are defined with ...


12

That should be keywords (with s!) in the bib-file: keywords={primary}


12

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


12

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


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

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.


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

Although the marking of alphabetical sections with "heading letters" is sometimes used for indexes, I have never encountered such letters in bibliographies. I suggest to only add extra spacing between alphabetical sections; with biblatex, this can be done by simply setting the \bibinitsep length to a positive value. \documentclass{book} ...


11

Here a hack of the internal bibitem: \documentclass[]{scrartcl} \usepackage[style=alphabetic]{biblatex} \makeatletter \def\blx@head@tempa{0} \def\blx@bibitem#1{% \blx@ifdata{#1} {\begingroup \blx@getdata{#1}% \blx@imc@iffieldequals{sortinit}\blx@head@tempa{}{\item[]\textbf{\thefield{sortinit}}}% ...


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

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


10

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


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


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



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