How to restrict nocite to certain reference segments
I have split my bibliography thematically in several reference segments at the end of my article. I would like to use nocite
locally inside some of the segment environments, but that seems not possible with refsegment
, it still acts globally. Here is an example:
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
citestyle=alphabetic,
bibstyle=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
usepackage{amssymb}
usepackage{amsmath}
usepackage{amsthm}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@Book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@Book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {Algebra}
}
@Book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {Algebra}
}
@Book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@Book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
nocite{*}
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
end{refsegment}
begin{refsegment}
printbibliography[keyword={Algebra},title={References on Algebra}]
end{refsegment}
printbibliography[notkeyword={complex analysis},notkeyword={Algebra},title={Other References}]
end{document}
I know that nocite
behaves locally with refsection
, but I don't want to split my .bib file in various different .bib files, and moreover, the biblatex manual says that refsegment
is the intended environment for my case :-) Indeed refsection
behaves a little funky when I use the same .bib file for different reference sections.
An ugly workaround would be to group together all nocite
reference segments after the no-nocite
reference segments, but this breaks the logical order of the topics.
Does anyone know a solution for this?
biblatex
|
show 11 more comments
I have split my bibliography thematically in several reference segments at the end of my article. I would like to use nocite
locally inside some of the segment environments, but that seems not possible with refsegment
, it still acts globally. Here is an example:
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
citestyle=alphabetic,
bibstyle=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
usepackage{amssymb}
usepackage{amsmath}
usepackage{amsthm}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@Book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@Book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {Algebra}
}
@Book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {Algebra}
}
@Book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@Book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
nocite{*}
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
end{refsegment}
begin{refsegment}
printbibliography[keyword={Algebra},title={References on Algebra}]
end{refsegment}
printbibliography[notkeyword={complex analysis},notkeyword={Algebra},title={Other References}]
end{document}
I know that nocite
behaves locally with refsection
, but I don't want to split my .bib file in various different .bib files, and moreover, the biblatex manual says that refsegment
is the intended environment for my case :-) Indeed refsection
behaves a little funky when I use the same .bib file for different reference sections.
An ugly workaround would be to group together all nocite
reference segments after the no-nocite
reference segments, but this breaks the logical order of the topics.
Does anyone know a solution for this?
biblatex
Mmh, that's interesting, I report I can reproduce the described behavior. I'm not sure it is expected. But, alas, I don't know how to solve it.
– gusbrs
Dec 1 '18 at 11:24
Sincerefsegment
s basically just add a marker (much like a keyword) to an entry and otherwise don't change anything it is sort of expected thatnocite{*}
would add all entries. In fact I have a hard time figuring out how a localnocite{*}
should work, but I might be missing something (are you usingnocite
with an argument different from*
, i.e. anocite{sigfridsson}
?). A short example document (tex.meta.stackexchange.com/q/228/3586 or tex.meta.stackexchange.com/q/4407/35864) might help me understand what is going on in more detail.
– moewe
Dec 1 '18 at 11:34
@moewe: Thanks for the reply! No, I am just using the standardnocite{*}
in basicamsart
orreport
, see my edit. Do you still need me to include a full MWE?
– M.G.
Dec 1 '18 at 11:51
Yes, please include a full MWE. I'm still struggling to understand what exactly you are after. In your example a normalcite{sigfridsson}
should behave exactly the same as anocite{*}
.
– moewe
Dec 1 '18 at 11:53
1
@gusbrs The default is notsegment=0
, instead the default is nothing at all. Similar to, say, filtering bytype=
orcategory=
. I have changed the docs (I'm currently in the process of tweaking the docs on a larger scale, so this change might be committed a little later with the other changes I have lined up).
– moewe
Dec 1 '18 at 14:17
|
show 11 more comments
I have split my bibliography thematically in several reference segments at the end of my article. I would like to use nocite
locally inside some of the segment environments, but that seems not possible with refsegment
, it still acts globally. Here is an example:
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
citestyle=alphabetic,
bibstyle=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
usepackage{amssymb}
usepackage{amsmath}
usepackage{amsthm}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@Book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@Book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {Algebra}
}
@Book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {Algebra}
}
@Book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@Book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
nocite{*}
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
end{refsegment}
begin{refsegment}
printbibliography[keyword={Algebra},title={References on Algebra}]
end{refsegment}
printbibliography[notkeyword={complex analysis},notkeyword={Algebra},title={Other References}]
end{document}
I know that nocite
behaves locally with refsection
, but I don't want to split my .bib file in various different .bib files, and moreover, the biblatex manual says that refsegment
is the intended environment for my case :-) Indeed refsection
behaves a little funky when I use the same .bib file for different reference sections.
An ugly workaround would be to group together all nocite
reference segments after the no-nocite
reference segments, but this breaks the logical order of the topics.
Does anyone know a solution for this?
biblatex
I have split my bibliography thematically in several reference segments at the end of my article. I would like to use nocite
locally inside some of the segment environments, but that seems not possible with refsegment
, it still acts globally. Here is an example:
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
citestyle=alphabetic,
bibstyle=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
usepackage{amssymb}
usepackage{amsmath}
usepackage{amsthm}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@Book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@Book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {Algebra}
}
@Book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {Algebra}
}
@Book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@Book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
nocite{*}
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
end{refsegment}
begin{refsegment}
printbibliography[keyword={Algebra},title={References on Algebra}]
end{refsegment}
printbibliography[notkeyword={complex analysis},notkeyword={Algebra},title={Other References}]
end{document}
I know that nocite
behaves locally with refsection
, but I don't want to split my .bib file in various different .bib files, and moreover, the biblatex manual says that refsegment
is the intended environment for my case :-) Indeed refsection
behaves a little funky when I use the same .bib file for different reference sections.
An ugly workaround would be to group together all nocite
reference segments after the no-nocite
reference segments, but this breaks the logical order of the topics.
Does anyone know a solution for this?
biblatex
biblatex
edited Dec 1 '18 at 12:23
moewe
88k9110337
88k9110337
asked Dec 1 '18 at 10:03
M.G.M.G.
29219
29219
Mmh, that's interesting, I report I can reproduce the described behavior. I'm not sure it is expected. But, alas, I don't know how to solve it.
– gusbrs
Dec 1 '18 at 11:24
Sincerefsegment
s basically just add a marker (much like a keyword) to an entry and otherwise don't change anything it is sort of expected thatnocite{*}
would add all entries. In fact I have a hard time figuring out how a localnocite{*}
should work, but I might be missing something (are you usingnocite
with an argument different from*
, i.e. anocite{sigfridsson}
?). A short example document (tex.meta.stackexchange.com/q/228/3586 or tex.meta.stackexchange.com/q/4407/35864) might help me understand what is going on in more detail.
– moewe
Dec 1 '18 at 11:34
@moewe: Thanks for the reply! No, I am just using the standardnocite{*}
in basicamsart
orreport
, see my edit. Do you still need me to include a full MWE?
– M.G.
Dec 1 '18 at 11:51
Yes, please include a full MWE. I'm still struggling to understand what exactly you are after. In your example a normalcite{sigfridsson}
should behave exactly the same as anocite{*}
.
– moewe
Dec 1 '18 at 11:53
1
@gusbrs The default is notsegment=0
, instead the default is nothing at all. Similar to, say, filtering bytype=
orcategory=
. I have changed the docs (I'm currently in the process of tweaking the docs on a larger scale, so this change might be committed a little later with the other changes I have lined up).
– moewe
Dec 1 '18 at 14:17
|
show 11 more comments
Mmh, that's interesting, I report I can reproduce the described behavior. I'm not sure it is expected. But, alas, I don't know how to solve it.
– gusbrs
Dec 1 '18 at 11:24
Sincerefsegment
s basically just add a marker (much like a keyword) to an entry and otherwise don't change anything it is sort of expected thatnocite{*}
would add all entries. In fact I have a hard time figuring out how a localnocite{*}
should work, but I might be missing something (are you usingnocite
with an argument different from*
, i.e. anocite{sigfridsson}
?). A short example document (tex.meta.stackexchange.com/q/228/3586 or tex.meta.stackexchange.com/q/4407/35864) might help me understand what is going on in more detail.
– moewe
Dec 1 '18 at 11:34
@moewe: Thanks for the reply! No, I am just using the standardnocite{*}
in basicamsart
orreport
, see my edit. Do you still need me to include a full MWE?
– M.G.
Dec 1 '18 at 11:51
Yes, please include a full MWE. I'm still struggling to understand what exactly you are after. In your example a normalcite{sigfridsson}
should behave exactly the same as anocite{*}
.
– moewe
Dec 1 '18 at 11:53
1
@gusbrs The default is notsegment=0
, instead the default is nothing at all. Similar to, say, filtering bytype=
orcategory=
. I have changed the docs (I'm currently in the process of tweaking the docs on a larger scale, so this change might be committed a little later with the other changes I have lined up).
– moewe
Dec 1 '18 at 14:17
Mmh, that's interesting, I report I can reproduce the described behavior. I'm not sure it is expected. But, alas, I don't know how to solve it.
– gusbrs
Dec 1 '18 at 11:24
Mmh, that's interesting, I report I can reproduce the described behavior. I'm not sure it is expected. But, alas, I don't know how to solve it.
– gusbrs
Dec 1 '18 at 11:24
Since
refsegment
s basically just add a marker (much like a keyword) to an entry and otherwise don't change anything it is sort of expected that nocite{*}
would add all entries. In fact I have a hard time figuring out how a local nocite{*}
should work, but I might be missing something (are you using nocite
with an argument different from *
, i.e. a nocite{sigfridsson}
?). A short example document (tex.meta.stackexchange.com/q/228/3586 or tex.meta.stackexchange.com/q/4407/35864) might help me understand what is going on in more detail.– moewe
Dec 1 '18 at 11:34
Since
refsegment
s basically just add a marker (much like a keyword) to an entry and otherwise don't change anything it is sort of expected that nocite{*}
would add all entries. In fact I have a hard time figuring out how a local nocite{*}
should work, but I might be missing something (are you using nocite
with an argument different from *
, i.e. a nocite{sigfridsson}
?). A short example document (tex.meta.stackexchange.com/q/228/3586 or tex.meta.stackexchange.com/q/4407/35864) might help me understand what is going on in more detail.– moewe
Dec 1 '18 at 11:34
@moewe: Thanks for the reply! No, I am just using the standard
nocite{*}
in basic amsart
or report
, see my edit. Do you still need me to include a full MWE?– M.G.
Dec 1 '18 at 11:51
@moewe: Thanks for the reply! No, I am just using the standard
nocite{*}
in basic amsart
or report
, see my edit. Do you still need me to include a full MWE?– M.G.
Dec 1 '18 at 11:51
Yes, please include a full MWE. I'm still struggling to understand what exactly you are after. In your example a normal
cite{sigfridsson}
should behave exactly the same as a nocite{*}
.– moewe
Dec 1 '18 at 11:53
Yes, please include a full MWE. I'm still struggling to understand what exactly you are after. In your example a normal
cite{sigfridsson}
should behave exactly the same as a nocite{*}
.– moewe
Dec 1 '18 at 11:53
1
1
@gusbrs The default is not
segment=0
, instead the default is nothing at all. Similar to, say, filtering by type=
or category=
. I have changed the docs (I'm currently in the process of tweaking the docs on a larger scale, so this change might be committed a little later with the other changes I have lined up).– moewe
Dec 1 '18 at 14:17
@gusbrs The default is not
segment=0
, instead the default is nothing at all. Similar to, say, filtering by type=
or category=
. I have changed the docs (I'm currently in the process of tweaking the docs on a larger scale, so this change might be committed a little later with the other changes I have lined up).– moewe
Dec 1 '18 at 14:17
|
show 11 more comments
1 Answer
1
active
oldest
votes
As mentioned in the comments, refsegment
s only add a marker to entries (much like keywords
or category
), it does not do much more. By default biblatex
does not even evaluate the marker, so an entry nocite{*}
/nocite
'd in one refsegment
will naturally appear in all other segments as well.
If you want to restrict a printbibliography
to one refsegment
, you have to use the segment
option. This might work as follows
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
newrobustcmd{mklocalfilter}[1]{%
defbibfilter{#1}{%
segment=0
or
segment=therefsegment
}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
mklocalfilter{nocitelocal}
nocite{*}
printbibliography[keyword={complex analysis},filter=nocitelocal,title={References on Complex Analysis}]
end{refsegment}
% only cited entries, please
printbibliography[keyword={algebra},segment=0,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},segment=0,title={Other References}]
end{document}
Note that segment=0
applies to all entries outside a specific refsegment
and that the bibfilter nocitelocal
is defined locally directly in the refsegment
in order to use the variable therefsegment
.
In this setup all entries that were explicitly cite
'd were cited in section=0
, but nocite{*}
happened in segment=1
. Hence restricting a bibliography to segment=0
gives all cited entries, allowing the current segment as well gives a way to locally nocite{*}
all entries.
If we look at your problem from a different angle though, it seems to me more natural to reformulate it as follows: How can I nocite
only entries with a certain keyword? Unfortunately, as Is it possible to add entries to the bibliography based on keyword using Biblatex/Biber and within the document code? and other questions on this site show, there is no universal way to do that. One has to find sly workarounds.
In your case we can apply How to split bibliography into "works cited" and "works not cited"? and come up with
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
DeclareBibliographyCategory{cited}
AtEveryCitekey{addtocategory{cited}{thefield{entrykey}}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
nocite{*}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
% all entries, cited and uncited
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
% only cited entries, please
printbibliography[keyword={algebra},category=cited,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},category=cited,title={Other References}]
end{document}
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%2f462668%2fhow-to-restrict-nocite-to-certain-reference-segments%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As mentioned in the comments, refsegment
s only add a marker to entries (much like keywords
or category
), it does not do much more. By default biblatex
does not even evaluate the marker, so an entry nocite{*}
/nocite
'd in one refsegment
will naturally appear in all other segments as well.
If you want to restrict a printbibliography
to one refsegment
, you have to use the segment
option. This might work as follows
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
newrobustcmd{mklocalfilter}[1]{%
defbibfilter{#1}{%
segment=0
or
segment=therefsegment
}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
mklocalfilter{nocitelocal}
nocite{*}
printbibliography[keyword={complex analysis},filter=nocitelocal,title={References on Complex Analysis}]
end{refsegment}
% only cited entries, please
printbibliography[keyword={algebra},segment=0,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},segment=0,title={Other References}]
end{document}
Note that segment=0
applies to all entries outside a specific refsegment
and that the bibfilter nocitelocal
is defined locally directly in the refsegment
in order to use the variable therefsegment
.
In this setup all entries that were explicitly cite
'd were cited in section=0
, but nocite{*}
happened in segment=1
. Hence restricting a bibliography to segment=0
gives all cited entries, allowing the current segment as well gives a way to locally nocite{*}
all entries.
If we look at your problem from a different angle though, it seems to me more natural to reformulate it as follows: How can I nocite
only entries with a certain keyword? Unfortunately, as Is it possible to add entries to the bibliography based on keyword using Biblatex/Biber and within the document code? and other questions on this site show, there is no universal way to do that. One has to find sly workarounds.
In your case we can apply How to split bibliography into "works cited" and "works not cited"? and come up with
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
DeclareBibliographyCategory{cited}
AtEveryCitekey{addtocategory{cited}{thefield{entrykey}}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
nocite{*}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
% all entries, cited and uncited
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
% only cited entries, please
printbibliography[keyword={algebra},category=cited,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},category=cited,title={Other References}]
end{document}
add a comment |
As mentioned in the comments, refsegment
s only add a marker to entries (much like keywords
or category
), it does not do much more. By default biblatex
does not even evaluate the marker, so an entry nocite{*}
/nocite
'd in one refsegment
will naturally appear in all other segments as well.
If you want to restrict a printbibliography
to one refsegment
, you have to use the segment
option. This might work as follows
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
newrobustcmd{mklocalfilter}[1]{%
defbibfilter{#1}{%
segment=0
or
segment=therefsegment
}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
mklocalfilter{nocitelocal}
nocite{*}
printbibliography[keyword={complex analysis},filter=nocitelocal,title={References on Complex Analysis}]
end{refsegment}
% only cited entries, please
printbibliography[keyword={algebra},segment=0,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},segment=0,title={Other References}]
end{document}
Note that segment=0
applies to all entries outside a specific refsegment
and that the bibfilter nocitelocal
is defined locally directly in the refsegment
in order to use the variable therefsegment
.
In this setup all entries that were explicitly cite
'd were cited in section=0
, but nocite{*}
happened in segment=1
. Hence restricting a bibliography to segment=0
gives all cited entries, allowing the current segment as well gives a way to locally nocite{*}
all entries.
If we look at your problem from a different angle though, it seems to me more natural to reformulate it as follows: How can I nocite
only entries with a certain keyword? Unfortunately, as Is it possible to add entries to the bibliography based on keyword using Biblatex/Biber and within the document code? and other questions on this site show, there is no universal way to do that. One has to find sly workarounds.
In your case we can apply How to split bibliography into "works cited" and "works not cited"? and come up with
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
DeclareBibliographyCategory{cited}
AtEveryCitekey{addtocategory{cited}{thefield{entrykey}}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
nocite{*}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
% all entries, cited and uncited
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
% only cited entries, please
printbibliography[keyword={algebra},category=cited,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},category=cited,title={Other References}]
end{document}
add a comment |
As mentioned in the comments, refsegment
s only add a marker to entries (much like keywords
or category
), it does not do much more. By default biblatex
does not even evaluate the marker, so an entry nocite{*}
/nocite
'd in one refsegment
will naturally appear in all other segments as well.
If you want to restrict a printbibliography
to one refsegment
, you have to use the segment
option. This might work as follows
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
newrobustcmd{mklocalfilter}[1]{%
defbibfilter{#1}{%
segment=0
or
segment=therefsegment
}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
mklocalfilter{nocitelocal}
nocite{*}
printbibliography[keyword={complex analysis},filter=nocitelocal,title={References on Complex Analysis}]
end{refsegment}
% only cited entries, please
printbibliography[keyword={algebra},segment=0,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},segment=0,title={Other References}]
end{document}
Note that segment=0
applies to all entries outside a specific refsegment
and that the bibfilter nocitelocal
is defined locally directly in the refsegment
in order to use the variable therefsegment
.
In this setup all entries that were explicitly cite
'd were cited in section=0
, but nocite{*}
happened in segment=1
. Hence restricting a bibliography to segment=0
gives all cited entries, allowing the current segment as well gives a way to locally nocite{*}
all entries.
If we look at your problem from a different angle though, it seems to me more natural to reformulate it as follows: How can I nocite
only entries with a certain keyword? Unfortunately, as Is it possible to add entries to the bibliography based on keyword using Biblatex/Biber and within the document code? and other questions on this site show, there is no universal way to do that. One has to find sly workarounds.
In your case we can apply How to split bibliography into "works cited" and "works not cited"? and come up with
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
DeclareBibliographyCategory{cited}
AtEveryCitekey{addtocategory{cited}{thefield{entrykey}}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
nocite{*}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
% all entries, cited and uncited
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
% only cited entries, please
printbibliography[keyword={algebra},category=cited,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},category=cited,title={Other References}]
end{document}
As mentioned in the comments, refsegment
s only add a marker to entries (much like keywords
or category
), it does not do much more. By default biblatex
does not even evaluate the marker, so an entry nocite{*}
/nocite
'd in one refsegment
will naturally appear in all other segments as well.
If you want to restrict a printbibliography
to one refsegment
, you have to use the segment
option. This might work as follows
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
newrobustcmd{mklocalfilter}[1]{%
defbibfilter{#1}{%
segment=0
or
segment=therefsegment
}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
begin{refsegment}
mklocalfilter{nocitelocal}
nocite{*}
printbibliography[keyword={complex analysis},filter=nocitelocal,title={References on Complex Analysis}]
end{refsegment}
% only cited entries, please
printbibliography[keyword={algebra},segment=0,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},segment=0,title={Other References}]
end{document}
Note that segment=0
applies to all entries outside a specific refsegment
and that the bibfilter nocitelocal
is defined locally directly in the refsegment
in order to use the variable therefsegment
.
In this setup all entries that were explicitly cite
'd were cited in section=0
, but nocite{*}
happened in segment=1
. Hence restricting a bibliography to segment=0
gives all cited entries, allowing the current segment as well gives a way to locally nocite{*}
all entries.
If we look at your problem from a different angle though, it seems to me more natural to reformulate it as follows: How can I nocite
only entries with a certain keyword? Unfortunately, as Is it possible to add entries to the bibliography based on keyword using Biblatex/Biber and within the document code? and other questions on this site show, there is no universal way to do that. One has to find sly workarounds.
In your case we can apply How to split bibliography into "works cited" and "works not cited"? and come up with
documentclass[10pt,a4paper,reqno]{amsart}
usepackage[
backend=biber,
%heading = references,
style=alphabetic,
sorting=anyvt,
backref=true,
backrefstyle=none,
locallabelwidth=true
]{biblatex}
DeclareBibliographyCategory{cited}
AtEveryCitekey{addtocategory{cited}{thefield{entrykey}}}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@book{Ahl,
author = {Ahlfors, L. V.},
title = {Complex Analysis, An Introduction to the Theory of Analytic Functions of One Complex Variable},
edition = {3},
publisher = {McGraw-Hill},
year = {1979},
keywords = {complex analysis}
}
@book{BerGay,
author = {Berenstein, C. A. and Gay, R.},
title = {Complex Variables, An Introduction},
publisher = {Springer},
year = {1991},
keywords = {complex analysis}
}
@book{AM,
author = {Atiyah, M. F. and MacDonald, I. G.},
title = {Introduction to Commutative Algebra},
publisher = {Addison-Wesley},
year = {1969},
keywords = {algebra}
}
@book{HoffKun,
author = {Hoffman, K. and Kunze, R.},
title = {Linear Algebra},
publisher = {Prentice-Hall},
edition = {2},
year = {1971},
keywords = {algebra}
}
@book{GrRem,
author = {Grauert, H. and Remmert, R.},
title = {Coherent Analytic Sheaves},
publisher = {Springer},
year = {1984}
}
@book{Loday,
author = {Loday, J.-L.},
title = {Cyclic Homology},
publisher = {Springer},
year = {1998},
edition = {2}
}
end{filecontents}
addbibresource{jobname.bib}
nocite{*}
begin{document}
cite{Ahl}, cite{AM}, cite{GrRem} are great books.
% all entries, cited and uncited
printbibliography[keyword={complex analysis},title={References on Complex Analysis}]
% only cited entries, please
printbibliography[keyword={algebra},category=cited,title={References on Algebra}]
% only cited entries, please
printbibliography[notkeyword={complex analysis},notkeyword={algebra},category=cited,title={Other References}]
end{document}
edited Dec 1 '18 at 13:45
answered Dec 1 '18 at 12:48
moewemoewe
88k9110337
88k9110337
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%2f462668%2fhow-to-restrict-nocite-to-certain-reference-segments%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
Mmh, that's interesting, I report I can reproduce the described behavior. I'm not sure it is expected. But, alas, I don't know how to solve it.
– gusbrs
Dec 1 '18 at 11:24
Since
refsegment
s basically just add a marker (much like a keyword) to an entry and otherwise don't change anything it is sort of expected thatnocite{*}
would add all entries. In fact I have a hard time figuring out how a localnocite{*}
should work, but I might be missing something (are you usingnocite
with an argument different from*
, i.e. anocite{sigfridsson}
?). A short example document (tex.meta.stackexchange.com/q/228/3586 or tex.meta.stackexchange.com/q/4407/35864) might help me understand what is going on in more detail.– moewe
Dec 1 '18 at 11:34
@moewe: Thanks for the reply! No, I am just using the standard
nocite{*}
in basicamsart
orreport
, see my edit. Do you still need me to include a full MWE?– M.G.
Dec 1 '18 at 11:51
Yes, please include a full MWE. I'm still struggling to understand what exactly you are after. In your example a normal
cite{sigfridsson}
should behave exactly the same as anocite{*}
.– moewe
Dec 1 '18 at 11:53
1
@gusbrs The default is not
segment=0
, instead the default is nothing at all. Similar to, say, filtering bytype=
orcategory=
. I have changed the docs (I'm currently in the process of tweaking the docs on a larger scale, so this change might be committed a little later with the other changes I have lined up).– moewe
Dec 1 '18 at 14:17