Manual bibliography, separated or multiple parts
I'm creating a manual bibliography, but it needs to be divided into sections. The solutions I thought might be applicable:
Add
textbx{"Literary works"}
,textbx{"Web references"}
, etc. betweenbibitem{}
items. This does not work, since an error is reported.Insert separate bibliographies and label them accordingly (which I don't know how to do).
Any help / other suggestions appreciated.
bibliographies subdividing naming
add a comment |
I'm creating a manual bibliography, but it needs to be divided into sections. The solutions I thought might be applicable:
Add
textbx{"Literary works"}
,textbx{"Web references"}
, etc. betweenbibitem{}
items. This does not work, since an error is reported.Insert separate bibliographies and label them accordingly (which I don't know how to do).
Any help / other suggestions appreciated.
bibliographies subdividing naming
is this in an article or a multi-chapter work? (makes a difference.)
– barbara beeton
Dec 8 '11 at 22:28
Multi-chapter work. A book (literature dissertation). Lots of footnotes and several parts in bib.
– marw
Dec 8 '11 at 22:49
add a comment |
I'm creating a manual bibliography, but it needs to be divided into sections. The solutions I thought might be applicable:
Add
textbx{"Literary works"}
,textbx{"Web references"}
, etc. betweenbibitem{}
items. This does not work, since an error is reported.Insert separate bibliographies and label them accordingly (which I don't know how to do).
Any help / other suggestions appreciated.
bibliographies subdividing naming
I'm creating a manual bibliography, but it needs to be divided into sections. The solutions I thought might be applicable:
Add
textbx{"Literary works"}
,textbx{"Web references"}
, etc. betweenbibitem{}
items. This does not work, since an error is reported.Insert separate bibliographies and label them accordingly (which I don't know how to do).
Any help / other suggestions appreciated.
bibliographies subdividing naming
bibliographies subdividing naming
edited Apr 14 '13 at 10:26
lockstep
192k53592723
192k53592723
asked Dec 8 '11 at 22:10
marwmarw
17016
17016
is this in an article or a multi-chapter work? (makes a difference.)
– barbara beeton
Dec 8 '11 at 22:28
Multi-chapter work. A book (literature dissertation). Lots of footnotes and several parts in bib.
– marw
Dec 8 '11 at 22:49
add a comment |
is this in an article or a multi-chapter work? (makes a difference.)
– barbara beeton
Dec 8 '11 at 22:28
Multi-chapter work. A book (literature dissertation). Lots of footnotes and several parts in bib.
– marw
Dec 8 '11 at 22:49
is this in an article or a multi-chapter work? (makes a difference.)
– barbara beeton
Dec 8 '11 at 22:28
is this in an article or a multi-chapter work? (makes a difference.)
– barbara beeton
Dec 8 '11 at 22:28
Multi-chapter work. A book (literature dissertation). Lots of footnotes and several parts in bib.
– marw
Dec 8 '11 at 22:49
Multi-chapter work. A book (literature dissertation). Lots of footnotes and several parts in bib.
– marw
Dec 8 '11 at 22:49
add a comment |
2 Answers
2
active
oldest
votes
Create several separate
thebibliography
environments;Redefine the
bibname
macro (for thebook
andreport
class) or therefname
macro (for thearticle
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 ofenumiv
at the end of everythebibliography
environment and resetenumiv
to the value offirstbib
at the start of the next environment.(Note, however, that if you're using
natbib
, then the counter isNAT@ctr
instead ofenumiv
.)
Because the redefinitions of bibname
/refname
take place after begin{document}
, this solution also works if one uses the babel
package.
documentclass{article}
newcounter{firstbib}
begin{document}
section{foo}
Some text cite{A01,B02,C03}.
renewcommand{refname}{Literary works}
begin{thebibliography}{9}
bibitem{A01} A. Author. emph{Alpha}. 2001.
bibitem{B02} B. Buthor. emph{Bravo}. 2002.
setcounter{firstbib}{value{enumiv}}
end{thebibliography}
renewcommand{refname}{Web references}
begin{thebibliography}{9}
setcounter{enumiv}{value{firstbib}}
bibitem{C03} C. Cuthor. emph{Charlie}. 2003.
end{thebibliography}
end{document}
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
2
Just a note that if you usenatbib
, then the counter isNAT@ctr
notenumiv
.
– mforbes
Oct 24 '13 at 8:25
add a comment |
A much easier solution is using the biblatex
package and defining a refsection
environment in the body of the chapter.
chapter{Blah}
begin{refsection}% 3rd `refsection`
end{refsection}
To print the bibliography you use:
printbibliography[section=3,title={Blah Bibliography}]
The only difference is that you have to run bibtex
for each *-blx.aux
file.
Creating bibliographies that depend on criteria is also possible.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f37649%2fmanual-bibliography-separated-or-multiple-parts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Create several separate
thebibliography
environments;Redefine the
bibname
macro (for thebook
andreport
class) or therefname
macro (for thearticle
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 ofenumiv
at the end of everythebibliography
environment and resetenumiv
to the value offirstbib
at the start of the next environment.(Note, however, that if you're using
natbib
, then the counter isNAT@ctr
instead ofenumiv
.)
Because the redefinitions of bibname
/refname
take place after begin{document}
, this solution also works if one uses the babel
package.
documentclass{article}
newcounter{firstbib}
begin{document}
section{foo}
Some text cite{A01,B02,C03}.
renewcommand{refname}{Literary works}
begin{thebibliography}{9}
bibitem{A01} A. Author. emph{Alpha}. 2001.
bibitem{B02} B. Buthor. emph{Bravo}. 2002.
setcounter{firstbib}{value{enumiv}}
end{thebibliography}
renewcommand{refname}{Web references}
begin{thebibliography}{9}
setcounter{enumiv}{value{firstbib}}
bibitem{C03} C. Cuthor. emph{Charlie}. 2003.
end{thebibliography}
end{document}
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
2
Just a note that if you usenatbib
, then the counter isNAT@ctr
notenumiv
.
– mforbes
Oct 24 '13 at 8:25
add a comment |
Create several separate
thebibliography
environments;Redefine the
bibname
macro (for thebook
andreport
class) or therefname
macro (for thearticle
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 ofenumiv
at the end of everythebibliography
environment and resetenumiv
to the value offirstbib
at the start of the next environment.(Note, however, that if you're using
natbib
, then the counter isNAT@ctr
instead ofenumiv
.)
Because the redefinitions of bibname
/refname
take place after begin{document}
, this solution also works if one uses the babel
package.
documentclass{article}
newcounter{firstbib}
begin{document}
section{foo}
Some text cite{A01,B02,C03}.
renewcommand{refname}{Literary works}
begin{thebibliography}{9}
bibitem{A01} A. Author. emph{Alpha}. 2001.
bibitem{B02} B. Buthor. emph{Bravo}. 2002.
setcounter{firstbib}{value{enumiv}}
end{thebibliography}
renewcommand{refname}{Web references}
begin{thebibliography}{9}
setcounter{enumiv}{value{firstbib}}
bibitem{C03} C. Cuthor. emph{Charlie}. 2003.
end{thebibliography}
end{document}
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
2
Just a note that if you usenatbib
, then the counter isNAT@ctr
notenumiv
.
– mforbes
Oct 24 '13 at 8:25
add a comment |
Create several separate
thebibliography
environments;Redefine the
bibname
macro (for thebook
andreport
class) or therefname
macro (for thearticle
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 ofenumiv
at the end of everythebibliography
environment and resetenumiv
to the value offirstbib
at the start of the next environment.(Note, however, that if you're using
natbib
, then the counter isNAT@ctr
instead ofenumiv
.)
Because the redefinitions of bibname
/refname
take place after begin{document}
, this solution also works if one uses the babel
package.
documentclass{article}
newcounter{firstbib}
begin{document}
section{foo}
Some text cite{A01,B02,C03}.
renewcommand{refname}{Literary works}
begin{thebibliography}{9}
bibitem{A01} A. Author. emph{Alpha}. 2001.
bibitem{B02} B. Buthor. emph{Bravo}. 2002.
setcounter{firstbib}{value{enumiv}}
end{thebibliography}
renewcommand{refname}{Web references}
begin{thebibliography}{9}
setcounter{enumiv}{value{firstbib}}
bibitem{C03} C. Cuthor. emph{Charlie}. 2003.
end{thebibliography}
end{document}
Create several separate
thebibliography
environments;Redefine the
bibname
macro (for thebook
andreport
class) or therefname
macro (for thearticle
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 ofenumiv
at the end of everythebibliography
environment and resetenumiv
to the value offirstbib
at the start of the next environment.(Note, however, that if you're using
natbib
, then the counter isNAT@ctr
instead ofenumiv
.)
Because the redefinitions of bibname
/refname
take place after begin{document}
, this solution also works if one uses the babel
package.
documentclass{article}
newcounter{firstbib}
begin{document}
section{foo}
Some text cite{A01,B02,C03}.
renewcommand{refname}{Literary works}
begin{thebibliography}{9}
bibitem{A01} A. Author. emph{Alpha}. 2001.
bibitem{B02} B. Buthor. emph{Bravo}. 2002.
setcounter{firstbib}{value{enumiv}}
end{thebibliography}
renewcommand{refname}{Web references}
begin{thebibliography}{9}
setcounter{enumiv}{value{firstbib}}
bibitem{C03} C. Cuthor. emph{Charlie}. 2003.
end{thebibliography}
end{document}
edited 3 mins ago
E.P.
8182722
8182722
answered Dec 8 '11 at 22:25
locksteplockstep
192k53592723
192k53592723
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
2
Just a note that if you usenatbib
, then the counter isNAT@ctr
notenumiv
.
– mforbes
Oct 24 '13 at 8:25
add a comment |
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
2
Just a note that if you usenatbib
, then the counter isNAT@ctr
notenumiv
.
– mforbes
Oct 24 '13 at 8:25
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
@GonzaloMedina: Excellent suggestion -- I changed my example accordingly. (And yes, I know this in principle, but totally forgot it at the moment.)
– lockstep
Dec 8 '11 at 22:41
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
...and I updated it in my document! :) Thank you, both of you. Works like charm.
– marw
Dec 8 '11 at 22:47
2
2
Just a note that if you use
natbib
, then the counter is NAT@ctr
not enumiv
.– mforbes
Oct 24 '13 at 8:25
Just a note that if you use
natbib
, then the counter is NAT@ctr
not enumiv
.– mforbes
Oct 24 '13 at 8:25
add a comment |
A much easier solution is using the biblatex
package and defining a refsection
environment in the body of the chapter.
chapter{Blah}
begin{refsection}% 3rd `refsection`
end{refsection}
To print the bibliography you use:
printbibliography[section=3,title={Blah Bibliography}]
The only difference is that you have to run bibtex
for each *-blx.aux
file.
Creating bibliographies that depend on criteria is also possible.
add a comment |
A much easier solution is using the biblatex
package and defining a refsection
environment in the body of the chapter.
chapter{Blah}
begin{refsection}% 3rd `refsection`
end{refsection}
To print the bibliography you use:
printbibliography[section=3,title={Blah Bibliography}]
The only difference is that you have to run bibtex
for each *-blx.aux
file.
Creating bibliographies that depend on criteria is also possible.
add a comment |
A much easier solution is using the biblatex
package and defining a refsection
environment in the body of the chapter.
chapter{Blah}
begin{refsection}% 3rd `refsection`
end{refsection}
To print the bibliography you use:
printbibliography[section=3,title={Blah Bibliography}]
The only difference is that you have to run bibtex
for each *-blx.aux
file.
Creating bibliographies that depend on criteria is also possible.
A much easier solution is using the biblatex
package and defining a refsection
environment in the body of the chapter.
chapter{Blah}
begin{refsection}% 3rd `refsection`
end{refsection}
To print the bibliography you use:
printbibliography[section=3,title={Blah Bibliography}]
The only difference is that you have to run bibtex
for each *-blx.aux
file.
Creating bibliographies that depend on criteria is also possible.
answered Jan 2 '12 at 10:46
user10274
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f37649%2fmanual-bibliography-separated-or-multiple-parts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
is this in an article or a multi-chapter work? (makes a difference.)
– barbara beeton
Dec 8 '11 at 22:28
Multi-chapter work. A book (literature dissertation). Lots of footnotes and several parts in bib.
– marw
Dec 8 '11 at 22:49