Specifying author pseudonyms in BibLaTeX
I'm using BibLaTeX with following options:
usepackage[citestyle=numeric,style=numeric,backend=biber]{biblatex}
How do I correctly specify pseudonyms?
@misc{kent2016,
author = {Clark "Superman" Kent},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
There is a realauthor field but when I enable it with bibstyle=realauthor
, it only changes the numeric reference style and does not help otherwise.
biblatex
add a comment |
I'm using BibLaTeX with following options:
usepackage[citestyle=numeric,style=numeric,backend=biber]{biblatex}
How do I correctly specify pseudonyms?
@misc{kent2016,
author = {Clark "Superman" Kent},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
There is a realauthor field but when I enable it with bibstyle=realauthor
, it only changes the numeric reference style and does not help otherwise.
biblatex
Could you maybe explain better what you are getting now and how it is wrong? Also please share a mwe for other users to compile and understand your problem:)
– Superuser27
15 hours ago
1
What is the expected output here? WouldClark "Superman" Kent
be sorted underS
forSuperman
or underK
forKent
? What wouldtextcite
/citeauthor
show? You may also want to include a short MWE that shows what you tried so far withrealauthor
and how it did not work for you.
– moewe
15 hours ago
@Superuser27bibstyle=realauthor
overwritesstyle=numeric
. I guessbibstyle
andstyle
are the same option. There is nothing wrong, it's just a citation style that I'm not looking for.
– mike
15 hours ago
@moeweciteauthor
prints Kent and the entry is sorted under K in the references. I really don't have an expectation for the output. I want to know what the 'BibLatex way' of handling pseudonyms is, so that I can use it accordingly. Other than that, I could just leave the pseudonym in quotes as I did in the question.
– mike
15 hours ago
2
I have never used therealauthor
package, but from what I understand there is a serious limitation: It only works if a work has a single author. If there are multiple authors, it breaks. This was actually the reason I came up with my own solution. I originally had something similar with another name field, but to make it work with multiple authors, you have to use nameparts.
– Simifilm
14 hours ago
add a comment |
I'm using BibLaTeX with following options:
usepackage[citestyle=numeric,style=numeric,backend=biber]{biblatex}
How do I correctly specify pseudonyms?
@misc{kent2016,
author = {Clark "Superman" Kent},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
There is a realauthor field but when I enable it with bibstyle=realauthor
, it only changes the numeric reference style and does not help otherwise.
biblatex
I'm using BibLaTeX with following options:
usepackage[citestyle=numeric,style=numeric,backend=biber]{biblatex}
How do I correctly specify pseudonyms?
@misc{kent2016,
author = {Clark "Superman" Kent},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
There is a realauthor field but when I enable it with bibstyle=realauthor
, it only changes the numeric reference style and does not help otherwise.
biblatex
biblatex
edited 14 hours ago
mike
asked 15 hours ago
mikemike
21815
21815
Could you maybe explain better what you are getting now and how it is wrong? Also please share a mwe for other users to compile and understand your problem:)
– Superuser27
15 hours ago
1
What is the expected output here? WouldClark "Superman" Kent
be sorted underS
forSuperman
or underK
forKent
? What wouldtextcite
/citeauthor
show? You may also want to include a short MWE that shows what you tried so far withrealauthor
and how it did not work for you.
– moewe
15 hours ago
@Superuser27bibstyle=realauthor
overwritesstyle=numeric
. I guessbibstyle
andstyle
are the same option. There is nothing wrong, it's just a citation style that I'm not looking for.
– mike
15 hours ago
@moeweciteauthor
prints Kent and the entry is sorted under K in the references. I really don't have an expectation for the output. I want to know what the 'BibLatex way' of handling pseudonyms is, so that I can use it accordingly. Other than that, I could just leave the pseudonym in quotes as I did in the question.
– mike
15 hours ago
2
I have never used therealauthor
package, but from what I understand there is a serious limitation: It only works if a work has a single author. If there are multiple authors, it breaks. This was actually the reason I came up with my own solution. I originally had something similar with another name field, but to make it work with multiple authors, you have to use nameparts.
– Simifilm
14 hours ago
add a comment |
Could you maybe explain better what you are getting now and how it is wrong? Also please share a mwe for other users to compile and understand your problem:)
– Superuser27
15 hours ago
1
What is the expected output here? WouldClark "Superman" Kent
be sorted underS
forSuperman
or underK
forKent
? What wouldtextcite
/citeauthor
show? You may also want to include a short MWE that shows what you tried so far withrealauthor
and how it did not work for you.
– moewe
15 hours ago
@Superuser27bibstyle=realauthor
overwritesstyle=numeric
. I guessbibstyle
andstyle
are the same option. There is nothing wrong, it's just a citation style that I'm not looking for.
– mike
15 hours ago
@moeweciteauthor
prints Kent and the entry is sorted under K in the references. I really don't have an expectation for the output. I want to know what the 'BibLatex way' of handling pseudonyms is, so that I can use it accordingly. Other than that, I could just leave the pseudonym in quotes as I did in the question.
– mike
15 hours ago
2
I have never used therealauthor
package, but from what I understand there is a serious limitation: It only works if a work has a single author. If there are multiple authors, it breaks. This was actually the reason I came up with my own solution. I originally had something similar with another name field, but to make it work with multiple authors, you have to use nameparts.
– Simifilm
14 hours ago
Could you maybe explain better what you are getting now and how it is wrong? Also please share a mwe for other users to compile and understand your problem
:)
– Superuser27
15 hours ago
Could you maybe explain better what you are getting now and how it is wrong? Also please share a mwe for other users to compile and understand your problem
:)
– Superuser27
15 hours ago
1
1
What is the expected output here? Would
Clark "Superman" Kent
be sorted under S
for Superman
or under K
for Kent
? What would textcite
/citeauthor
show? You may also want to include a short MWE that shows what you tried so far with realauthor
and how it did not work for you.– moewe
15 hours ago
What is the expected output here? Would
Clark "Superman" Kent
be sorted under S
for Superman
or under K
for Kent
? What would textcite
/citeauthor
show? You may also want to include a short MWE that shows what you tried so far with realauthor
and how it did not work for you.– moewe
15 hours ago
@Superuser27
bibstyle=realauthor
overwrites style=numeric
. I guess bibstyle
and style
are the same option. There is nothing wrong, it's just a citation style that I'm not looking for.– mike
15 hours ago
@Superuser27
bibstyle=realauthor
overwrites style=numeric
. I guess bibstyle
and style
are the same option. There is nothing wrong, it's just a citation style that I'm not looking for.– mike
15 hours ago
@moewe
citeauthor
prints Kent and the entry is sorted under K in the references. I really don't have an expectation for the output. I want to know what the 'BibLatex way' of handling pseudonyms is, so that I can use it accordingly. Other than that, I could just leave the pseudonym in quotes as I did in the question.– mike
15 hours ago
@moewe
citeauthor
prints Kent and the entry is sorted under K in the references. I really don't have an expectation for the output. I want to know what the 'BibLatex way' of handling pseudonyms is, so that I can use it accordingly. Other than that, I could just leave the pseudonym in quotes as I did in the question.– mike
15 hours ago
2
2
I have never used the
realauthor
package, but from what I understand there is a serious limitation: It only works if a work has a single author. If there are multiple authors, it breaks. This was actually the reason I came up with my own solution. I originally had something similar with another name field, but to make it work with multiple authors, you have to use nameparts.– Simifilm
14 hours ago
I have never used the
realauthor
package, but from what I understand there is a serious limitation: It only works if a work has a single author. If there are multiple authors, it breaks. This was actually the reason I came up with my own solution. I originally had something similar with another name field, but to make it work with multiple authors, you have to use nameparts.– Simifilm
14 hours ago
add a comment |
2 Answers
2
active
oldest
votes
I am not aware of a biblatex
standard solution for pseudonyms
. Normally a name consists of the following four parts
- family (last) name
- given (first) name
- name suffix (Sr, Jr.)
- name prefix ("von part")
If you type in the name as Clark "Superman" Kent
"Superman" will just be parsed as a second given name. For many intents and purposes that probably works alright, though the result with giveninits
might be subpar.
It is possible to work out a more semantic solution with Biber's extensible name format.
The idea is to add a fifth name part, the pseudonym
. It can be treated differently from all other name parts. In the example below the pseudonym
is not used for sorting and it is only shown when the name is displayed in given-fmaily
order.
See Bibtex/Biber: how to cite an author using Ethiopian conventions? for another more involved application of the extended name format with more explanations. CJK Bibliography Problem, Biblatex-Chicago and Chicago-style citations of CJK documents #2 may also be interesting.
documentclass{article}
usepackage{filecontents}
% This defines a new data model
% that is necessary to make the new name part known to Biber.
% In a production environment one would put pseudonym.dbx where
% LaTeX can find it and would not use filecontents.
begin{filecontents*}{pseudonym.dbx}
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,pseudonym}
end{filecontents*}
begin{filecontents*}{jobname.bib}
@online{kent2016,
author = {family=Kent, given=Clark, pseudonym=Superman},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
end{filecontents*}
usepackage[style=numeric,backend=biber, datamodel=pseudonym]{biblatex}
addbibresource{biblatex-examples.bib}
addbibresource{jobname.bib}
% use name:given-pseudonym-family instead of standard name:given-family
% and add another argument {namepartpseudonym} at the end
DeclareNameFormat{given-family}{%
ifgiveninits
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiven}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}%
usebibmacro{name:andothers}}
newcommand*{mkbibcompletenamegivenpseudonymfamily}[1]{#1}
renewcommand*{mkbibnamepseudonym}{mkbibquote}
% Name formatting macro
% mostly copied from standard name:given-family
% but with the bits for #5 added
% {<family>}{<given>}{<prefix>}{<suffix>}{<pseudonym>}
newbibmacro*{name:given-pseudonym-family}[5]{%
usebibmacro{name:delim}{#2#5#3#1}%
usebibmacro{name:hook}{#2#5#3#1}%
mkbibcompletenamegivenpseudonymfamily{%
ifdefvoid{#2}
{}
{mkbibnamegiven{#2}isdotbibnamedelimd}%
ifdefvoid{#5}
{}
{mkbibnamepseudonym{#5}isdotbibnamedelimd}%
ifdefvoid{#3}
{}
{mkbibnameprefix{#3}isdot
ifprefchar
{}
{ifuseprefix{bibnamedelimc}{bibnamedelimd}}}%
mkbibnamefamily{#1}isdot
ifdefvoid{#4}{}{bibnamedelimdmkbibnamesuffix{#4}isdot}}}
begin{document}
textcite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,cicero,geer}
textcite{kent2016}
printbibliography
end{document}
The output is not spectacular
Thanks! :-) I suppose this works with multiple authors e.g.author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.
– mike
14 hours ago
2
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field likerealauthor
. Tryauthor = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added withrenewcommand*{mkbibnamepseudonym}{mkbibquote}
, wheremkbibnamepseudonym
is the analogue tomkbibnamefamily
forpseudonym
.
– moewe
14 hours ago
add a comment |
I implemented pseudonyms in my style biblatex-fiwi
. I don't think any other style supports this. I try to briefly summarise what I did.
BEWARE: THIS IS MESSY CODE, I AM SURE THIS COULD BE DONE IN A MUCH CLEANER WAY
For declaring the name, I make the distinction between the pseudonym which is the name which is normally used on the book (or whatever document it is) and the real name. For this I introduce new name parts: trueprefix,truefamily,truesuffix,truegiven
.
These have to be defined with DeclareDatamodelConstant
:
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,trueprefix,truefamily,truesuffix,truegiven}
I then defined a test whether an entry actually has a pseudonym:
newrobustcmd{ifpseudo}[2]{%
ifboolexpr{%
( not test {ifdefvoid{nameparttruefamily}} or not test
{ifdefvoid{nameparttruegiven}})}%
{#1}{#2}%
}
Now the definition of the name format has to be adapted:
DeclareNameFormat{family-given}{%
ifgiveninits
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
ifpseudo%
{usebibmacro{name:true:family-given}
{nameparttruefamily}
{nameparttruegiveni}
{nameparttrueprefix}
{nameparttruesuffix}}
{}}
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiven}%
{namepartprefix}%
{namepartsuffix}%
ifpseudo%
{usebibmacro{name:true:family-given}%
{nameparttruefamily}%
{nameparttruegiven}%
{nameparttrueprefix}%
{nameparttruesuffix}}%
{}}%
usebibmacro{name:andothers}}
Now we need the macro name:true:family-given
:
newbibmacro*{name:true:family-given}[4]{%
addthinspacebibopenbracket{=}%
ifuseprefix%
{usebibmacro{name:delim}{#3#1}%
usebibmacro{name:hook}{#3#1}%
ifdefvoid{#3}{}{%
ifcapital
{mkbibnametrueprefix{MakeCapital{#3}}isdot}%
{mkbibnametrueprefix{#3}isdot}%
}%ifpunctmark{'}{}{addhighpenspace}}%
mkbibnametruefamily{#1}isdot%
ifdefvoid{#2}
{}{addcommaaddlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}
{}{addcommaaddlowpenspacemkbibnametruesuffix{#4}isdot}}%
{usebibmacro{name:delim}{#1}%
usebibmacro{name:hook}{#1}%
mkbibnametruefamily{#1}addspaceisdot
ifdefvoid{#4}
{}
{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addcommaifdefvoid{#3}{}{addcomma}%
ifdefvoid{#2}{}{addlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}{}{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addspaceifdefvoid{#3}
{}
{addlowpenspacemkbibnametrueprefix{#3}isdot}}%
bibclosebracket
}
The actual entry for a name with a pseudonym looks like this:
@book{Blish.J:1973a,
Address = {Chicago},
Author = {given=William, family=Atheling, suffix=Jr., truefamily=Blish, truegiven=James},
Edition = {2},
Origdate = {1964},
Publisher = {Advent Publishers},
Subtitle = {Studies in Contemporary Magazine Science Fiction},
Title = {The Issue at Hand},
Year = {1973}}
The printed bibiliography looks like this with biblatex-fiwi
:
Note that I only print the real name in the bibliography and not in the in-text citation
IME there can also be problems with BibTeX GUIs. BibDesk
which I use to manage my bibliographic data has a hard time dealing with the unfamiliar name entries.
As I said: I am sure this can be done in a much neater way, but it works …
EDIT If you actually are going to use biblatex-fiwi
, simply add the true
nameparts to the name, the style will take care of the rest. But in its current form, the style is heavily geared toward German speaking humanities.
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%2f479460%2fspecifying-author-pseudonyms-in-biblatex%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
I am not aware of a biblatex
standard solution for pseudonyms
. Normally a name consists of the following four parts
- family (last) name
- given (first) name
- name suffix (Sr, Jr.)
- name prefix ("von part")
If you type in the name as Clark "Superman" Kent
"Superman" will just be parsed as a second given name. For many intents and purposes that probably works alright, though the result with giveninits
might be subpar.
It is possible to work out a more semantic solution with Biber's extensible name format.
The idea is to add a fifth name part, the pseudonym
. It can be treated differently from all other name parts. In the example below the pseudonym
is not used for sorting and it is only shown when the name is displayed in given-fmaily
order.
See Bibtex/Biber: how to cite an author using Ethiopian conventions? for another more involved application of the extended name format with more explanations. CJK Bibliography Problem, Biblatex-Chicago and Chicago-style citations of CJK documents #2 may also be interesting.
documentclass{article}
usepackage{filecontents}
% This defines a new data model
% that is necessary to make the new name part known to Biber.
% In a production environment one would put pseudonym.dbx where
% LaTeX can find it and would not use filecontents.
begin{filecontents*}{pseudonym.dbx}
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,pseudonym}
end{filecontents*}
begin{filecontents*}{jobname.bib}
@online{kent2016,
author = {family=Kent, given=Clark, pseudonym=Superman},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
end{filecontents*}
usepackage[style=numeric,backend=biber, datamodel=pseudonym]{biblatex}
addbibresource{biblatex-examples.bib}
addbibresource{jobname.bib}
% use name:given-pseudonym-family instead of standard name:given-family
% and add another argument {namepartpseudonym} at the end
DeclareNameFormat{given-family}{%
ifgiveninits
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiven}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}%
usebibmacro{name:andothers}}
newcommand*{mkbibcompletenamegivenpseudonymfamily}[1]{#1}
renewcommand*{mkbibnamepseudonym}{mkbibquote}
% Name formatting macro
% mostly copied from standard name:given-family
% but with the bits for #5 added
% {<family>}{<given>}{<prefix>}{<suffix>}{<pseudonym>}
newbibmacro*{name:given-pseudonym-family}[5]{%
usebibmacro{name:delim}{#2#5#3#1}%
usebibmacro{name:hook}{#2#5#3#1}%
mkbibcompletenamegivenpseudonymfamily{%
ifdefvoid{#2}
{}
{mkbibnamegiven{#2}isdotbibnamedelimd}%
ifdefvoid{#5}
{}
{mkbibnamepseudonym{#5}isdotbibnamedelimd}%
ifdefvoid{#3}
{}
{mkbibnameprefix{#3}isdot
ifprefchar
{}
{ifuseprefix{bibnamedelimc}{bibnamedelimd}}}%
mkbibnamefamily{#1}isdot
ifdefvoid{#4}{}{bibnamedelimdmkbibnamesuffix{#4}isdot}}}
begin{document}
textcite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,cicero,geer}
textcite{kent2016}
printbibliography
end{document}
The output is not spectacular
Thanks! :-) I suppose this works with multiple authors e.g.author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.
– mike
14 hours ago
2
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field likerealauthor
. Tryauthor = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added withrenewcommand*{mkbibnamepseudonym}{mkbibquote}
, wheremkbibnamepseudonym
is the analogue tomkbibnamefamily
forpseudonym
.
– moewe
14 hours ago
add a comment |
I am not aware of a biblatex
standard solution for pseudonyms
. Normally a name consists of the following four parts
- family (last) name
- given (first) name
- name suffix (Sr, Jr.)
- name prefix ("von part")
If you type in the name as Clark "Superman" Kent
"Superman" will just be parsed as a second given name. For many intents and purposes that probably works alright, though the result with giveninits
might be subpar.
It is possible to work out a more semantic solution with Biber's extensible name format.
The idea is to add a fifth name part, the pseudonym
. It can be treated differently from all other name parts. In the example below the pseudonym
is not used for sorting and it is only shown when the name is displayed in given-fmaily
order.
See Bibtex/Biber: how to cite an author using Ethiopian conventions? for another more involved application of the extended name format with more explanations. CJK Bibliography Problem, Biblatex-Chicago and Chicago-style citations of CJK documents #2 may also be interesting.
documentclass{article}
usepackage{filecontents}
% This defines a new data model
% that is necessary to make the new name part known to Biber.
% In a production environment one would put pseudonym.dbx where
% LaTeX can find it and would not use filecontents.
begin{filecontents*}{pseudonym.dbx}
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,pseudonym}
end{filecontents*}
begin{filecontents*}{jobname.bib}
@online{kent2016,
author = {family=Kent, given=Clark, pseudonym=Superman},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
end{filecontents*}
usepackage[style=numeric,backend=biber, datamodel=pseudonym]{biblatex}
addbibresource{biblatex-examples.bib}
addbibresource{jobname.bib}
% use name:given-pseudonym-family instead of standard name:given-family
% and add another argument {namepartpseudonym} at the end
DeclareNameFormat{given-family}{%
ifgiveninits
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiven}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}%
usebibmacro{name:andothers}}
newcommand*{mkbibcompletenamegivenpseudonymfamily}[1]{#1}
renewcommand*{mkbibnamepseudonym}{mkbibquote}
% Name formatting macro
% mostly copied from standard name:given-family
% but with the bits for #5 added
% {<family>}{<given>}{<prefix>}{<suffix>}{<pseudonym>}
newbibmacro*{name:given-pseudonym-family}[5]{%
usebibmacro{name:delim}{#2#5#3#1}%
usebibmacro{name:hook}{#2#5#3#1}%
mkbibcompletenamegivenpseudonymfamily{%
ifdefvoid{#2}
{}
{mkbibnamegiven{#2}isdotbibnamedelimd}%
ifdefvoid{#5}
{}
{mkbibnamepseudonym{#5}isdotbibnamedelimd}%
ifdefvoid{#3}
{}
{mkbibnameprefix{#3}isdot
ifprefchar
{}
{ifuseprefix{bibnamedelimc}{bibnamedelimd}}}%
mkbibnamefamily{#1}isdot
ifdefvoid{#4}{}{bibnamedelimdmkbibnamesuffix{#4}isdot}}}
begin{document}
textcite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,cicero,geer}
textcite{kent2016}
printbibliography
end{document}
The output is not spectacular
Thanks! :-) I suppose this works with multiple authors e.g.author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.
– mike
14 hours ago
2
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field likerealauthor
. Tryauthor = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added withrenewcommand*{mkbibnamepseudonym}{mkbibquote}
, wheremkbibnamepseudonym
is the analogue tomkbibnamefamily
forpseudonym
.
– moewe
14 hours ago
add a comment |
I am not aware of a biblatex
standard solution for pseudonyms
. Normally a name consists of the following four parts
- family (last) name
- given (first) name
- name suffix (Sr, Jr.)
- name prefix ("von part")
If you type in the name as Clark "Superman" Kent
"Superman" will just be parsed as a second given name. For many intents and purposes that probably works alright, though the result with giveninits
might be subpar.
It is possible to work out a more semantic solution with Biber's extensible name format.
The idea is to add a fifth name part, the pseudonym
. It can be treated differently from all other name parts. In the example below the pseudonym
is not used for sorting and it is only shown when the name is displayed in given-fmaily
order.
See Bibtex/Biber: how to cite an author using Ethiopian conventions? for another more involved application of the extended name format with more explanations. CJK Bibliography Problem, Biblatex-Chicago and Chicago-style citations of CJK documents #2 may also be interesting.
documentclass{article}
usepackage{filecontents}
% This defines a new data model
% that is necessary to make the new name part known to Biber.
% In a production environment one would put pseudonym.dbx where
% LaTeX can find it and would not use filecontents.
begin{filecontents*}{pseudonym.dbx}
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,pseudonym}
end{filecontents*}
begin{filecontents*}{jobname.bib}
@online{kent2016,
author = {family=Kent, given=Clark, pseudonym=Superman},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
end{filecontents*}
usepackage[style=numeric,backend=biber, datamodel=pseudonym]{biblatex}
addbibresource{biblatex-examples.bib}
addbibresource{jobname.bib}
% use name:given-pseudonym-family instead of standard name:given-family
% and add another argument {namepartpseudonym} at the end
DeclareNameFormat{given-family}{%
ifgiveninits
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiven}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}%
usebibmacro{name:andothers}}
newcommand*{mkbibcompletenamegivenpseudonymfamily}[1]{#1}
renewcommand*{mkbibnamepseudonym}{mkbibquote}
% Name formatting macro
% mostly copied from standard name:given-family
% but with the bits for #5 added
% {<family>}{<given>}{<prefix>}{<suffix>}{<pseudonym>}
newbibmacro*{name:given-pseudonym-family}[5]{%
usebibmacro{name:delim}{#2#5#3#1}%
usebibmacro{name:hook}{#2#5#3#1}%
mkbibcompletenamegivenpseudonymfamily{%
ifdefvoid{#2}
{}
{mkbibnamegiven{#2}isdotbibnamedelimd}%
ifdefvoid{#5}
{}
{mkbibnamepseudonym{#5}isdotbibnamedelimd}%
ifdefvoid{#3}
{}
{mkbibnameprefix{#3}isdot
ifprefchar
{}
{ifuseprefix{bibnamedelimc}{bibnamedelimd}}}%
mkbibnamefamily{#1}isdot
ifdefvoid{#4}{}{bibnamedelimdmkbibnamesuffix{#4}isdot}}}
begin{document}
textcite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,cicero,geer}
textcite{kent2016}
printbibliography
end{document}
The output is not spectacular
I am not aware of a biblatex
standard solution for pseudonyms
. Normally a name consists of the following four parts
- family (last) name
- given (first) name
- name suffix (Sr, Jr.)
- name prefix ("von part")
If you type in the name as Clark "Superman" Kent
"Superman" will just be parsed as a second given name. For many intents and purposes that probably works alright, though the result with giveninits
might be subpar.
It is possible to work out a more semantic solution with Biber's extensible name format.
The idea is to add a fifth name part, the pseudonym
. It can be treated differently from all other name parts. In the example below the pseudonym
is not used for sorting and it is only shown when the name is displayed in given-fmaily
order.
See Bibtex/Biber: how to cite an author using Ethiopian conventions? for another more involved application of the extended name format with more explanations. CJK Bibliography Problem, Biblatex-Chicago and Chicago-style citations of CJK documents #2 may also be interesting.
documentclass{article}
usepackage{filecontents}
% This defines a new data model
% that is necessary to make the new name part known to Biber.
% In a production environment one would put pseudonym.dbx where
% LaTeX can find it and would not use filecontents.
begin{filecontents*}{pseudonym.dbx}
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,pseudonym}
end{filecontents*}
begin{filecontents*}{jobname.bib}
@online{kent2016,
author = {family=Kent, given=Clark, pseudonym=Superman},
title = {Mindset of a Winner},
year = {2016},
url = {https://www.supermanhomepage.com/},
urldate = {2019-03-14}
}
end{filecontents*}
usepackage[style=numeric,backend=biber, datamodel=pseudonym]{biblatex}
addbibresource{biblatex-examples.bib}
addbibresource{jobname.bib}
% use name:given-pseudonym-family instead of standard name:given-family
% and add another argument {namepartpseudonym} at the end
DeclareNameFormat{given-family}{%
ifgiveninits
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}
{usebibmacro{name:given-pseudonym-family}
{namepartfamily}
{namepartgiven}
{namepartprefix}
{namepartsuffix}
{namepartpseudonym}}%
usebibmacro{name:andothers}}
newcommand*{mkbibcompletenamegivenpseudonymfamily}[1]{#1}
renewcommand*{mkbibnamepseudonym}{mkbibquote}
% Name formatting macro
% mostly copied from standard name:given-family
% but with the bits for #5 added
% {<family>}{<given>}{<prefix>}{<suffix>}{<pseudonym>}
newbibmacro*{name:given-pseudonym-family}[5]{%
usebibmacro{name:delim}{#2#5#3#1}%
usebibmacro{name:hook}{#2#5#3#1}%
mkbibcompletenamegivenpseudonymfamily{%
ifdefvoid{#2}
{}
{mkbibnamegiven{#2}isdotbibnamedelimd}%
ifdefvoid{#5}
{}
{mkbibnamepseudonym{#5}isdotbibnamedelimd}%
ifdefvoid{#3}
{}
{mkbibnameprefix{#3}isdot
ifprefchar
{}
{ifuseprefix{bibnamedelimc}{bibnamedelimd}}}%
mkbibnamefamily{#1}isdot
ifdefvoid{#4}{}{bibnamedelimdmkbibnamesuffix{#4}isdot}}}
begin{document}
textcite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,cicero,geer}
textcite{kent2016}
printbibliography
end{document}
The output is not spectacular
edited 14 hours ago
answered 14 hours ago
moewemoewe
93.7k10115353
93.7k10115353
Thanks! :-) I suppose this works with multiple authors e.g.author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.
– mike
14 hours ago
2
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field likerealauthor
. Tryauthor = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added withrenewcommand*{mkbibnamepseudonym}{mkbibquote}
, wheremkbibnamepseudonym
is the analogue tomkbibnamefamily
forpseudonym
.
– moewe
14 hours ago
add a comment |
Thanks! :-) I suppose this works with multiple authors e.g.author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.
– mike
14 hours ago
2
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field likerealauthor
. Tryauthor = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added withrenewcommand*{mkbibnamepseudonym}{mkbibquote}
, wheremkbibnamepseudonym
is the analogue tomkbibnamefamily
forpseudonym
.
– moewe
14 hours ago
Thanks! :-) I suppose this works with multiple authors e.g.
author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.– mike
14 hours ago
Thanks! :-) I suppose this works with multiple authors e.g.
author = {{...}, {...}}
? Also, where do you define that double quotes are used? I can't find it in the code.– mike
14 hours ago
2
2
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field like
realauthor
. Try author = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added with renewcommand*{mkbibnamepseudonym}{mkbibquote}
, where mkbibnamepseudonym
is the analogue to mkbibnamefamily
for pseudonym
.– moewe
14 hours ago
@mike Yes it does, that is one of the great advantages of using the extended name format over a separate field like
realauthor
. Try author = {Lois Lane and family=Kent, given=Clark, pseudonym=Superman and Emma Sigfridsson},
. The quotation marks are added with renewcommand*{mkbibnamepseudonym}{mkbibquote}
, where mkbibnamepseudonym
is the analogue to mkbibnamefamily
for pseudonym
.– moewe
14 hours ago
add a comment |
I implemented pseudonyms in my style biblatex-fiwi
. I don't think any other style supports this. I try to briefly summarise what I did.
BEWARE: THIS IS MESSY CODE, I AM SURE THIS COULD BE DONE IN A MUCH CLEANER WAY
For declaring the name, I make the distinction between the pseudonym which is the name which is normally used on the book (or whatever document it is) and the real name. For this I introduce new name parts: trueprefix,truefamily,truesuffix,truegiven
.
These have to be defined with DeclareDatamodelConstant
:
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,trueprefix,truefamily,truesuffix,truegiven}
I then defined a test whether an entry actually has a pseudonym:
newrobustcmd{ifpseudo}[2]{%
ifboolexpr{%
( not test {ifdefvoid{nameparttruefamily}} or not test
{ifdefvoid{nameparttruegiven}})}%
{#1}{#2}%
}
Now the definition of the name format has to be adapted:
DeclareNameFormat{family-given}{%
ifgiveninits
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
ifpseudo%
{usebibmacro{name:true:family-given}
{nameparttruefamily}
{nameparttruegiveni}
{nameparttrueprefix}
{nameparttruesuffix}}
{}}
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiven}%
{namepartprefix}%
{namepartsuffix}%
ifpseudo%
{usebibmacro{name:true:family-given}%
{nameparttruefamily}%
{nameparttruegiven}%
{nameparttrueprefix}%
{nameparttruesuffix}}%
{}}%
usebibmacro{name:andothers}}
Now we need the macro name:true:family-given
:
newbibmacro*{name:true:family-given}[4]{%
addthinspacebibopenbracket{=}%
ifuseprefix%
{usebibmacro{name:delim}{#3#1}%
usebibmacro{name:hook}{#3#1}%
ifdefvoid{#3}{}{%
ifcapital
{mkbibnametrueprefix{MakeCapital{#3}}isdot}%
{mkbibnametrueprefix{#3}isdot}%
}%ifpunctmark{'}{}{addhighpenspace}}%
mkbibnametruefamily{#1}isdot%
ifdefvoid{#2}
{}{addcommaaddlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}
{}{addcommaaddlowpenspacemkbibnametruesuffix{#4}isdot}}%
{usebibmacro{name:delim}{#1}%
usebibmacro{name:hook}{#1}%
mkbibnametruefamily{#1}addspaceisdot
ifdefvoid{#4}
{}
{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addcommaifdefvoid{#3}{}{addcomma}%
ifdefvoid{#2}{}{addlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}{}{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addspaceifdefvoid{#3}
{}
{addlowpenspacemkbibnametrueprefix{#3}isdot}}%
bibclosebracket
}
The actual entry for a name with a pseudonym looks like this:
@book{Blish.J:1973a,
Address = {Chicago},
Author = {given=William, family=Atheling, suffix=Jr., truefamily=Blish, truegiven=James},
Edition = {2},
Origdate = {1964},
Publisher = {Advent Publishers},
Subtitle = {Studies in Contemporary Magazine Science Fiction},
Title = {The Issue at Hand},
Year = {1973}}
The printed bibiliography looks like this with biblatex-fiwi
:
Note that I only print the real name in the bibliography and not in the in-text citation
IME there can also be problems with BibTeX GUIs. BibDesk
which I use to manage my bibliographic data has a hard time dealing with the unfamiliar name entries.
As I said: I am sure this can be done in a much neater way, but it works …
EDIT If you actually are going to use biblatex-fiwi
, simply add the true
nameparts to the name, the style will take care of the rest. But in its current form, the style is heavily geared toward German speaking humanities.
add a comment |
I implemented pseudonyms in my style biblatex-fiwi
. I don't think any other style supports this. I try to briefly summarise what I did.
BEWARE: THIS IS MESSY CODE, I AM SURE THIS COULD BE DONE IN A MUCH CLEANER WAY
For declaring the name, I make the distinction between the pseudonym which is the name which is normally used on the book (or whatever document it is) and the real name. For this I introduce new name parts: trueprefix,truefamily,truesuffix,truegiven
.
These have to be defined with DeclareDatamodelConstant
:
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,trueprefix,truefamily,truesuffix,truegiven}
I then defined a test whether an entry actually has a pseudonym:
newrobustcmd{ifpseudo}[2]{%
ifboolexpr{%
( not test {ifdefvoid{nameparttruefamily}} or not test
{ifdefvoid{nameparttruegiven}})}%
{#1}{#2}%
}
Now the definition of the name format has to be adapted:
DeclareNameFormat{family-given}{%
ifgiveninits
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
ifpseudo%
{usebibmacro{name:true:family-given}
{nameparttruefamily}
{nameparttruegiveni}
{nameparttrueprefix}
{nameparttruesuffix}}
{}}
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiven}%
{namepartprefix}%
{namepartsuffix}%
ifpseudo%
{usebibmacro{name:true:family-given}%
{nameparttruefamily}%
{nameparttruegiven}%
{nameparttrueprefix}%
{nameparttruesuffix}}%
{}}%
usebibmacro{name:andothers}}
Now we need the macro name:true:family-given
:
newbibmacro*{name:true:family-given}[4]{%
addthinspacebibopenbracket{=}%
ifuseprefix%
{usebibmacro{name:delim}{#3#1}%
usebibmacro{name:hook}{#3#1}%
ifdefvoid{#3}{}{%
ifcapital
{mkbibnametrueprefix{MakeCapital{#3}}isdot}%
{mkbibnametrueprefix{#3}isdot}%
}%ifpunctmark{'}{}{addhighpenspace}}%
mkbibnametruefamily{#1}isdot%
ifdefvoid{#2}
{}{addcommaaddlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}
{}{addcommaaddlowpenspacemkbibnametruesuffix{#4}isdot}}%
{usebibmacro{name:delim}{#1}%
usebibmacro{name:hook}{#1}%
mkbibnametruefamily{#1}addspaceisdot
ifdefvoid{#4}
{}
{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addcommaifdefvoid{#3}{}{addcomma}%
ifdefvoid{#2}{}{addlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}{}{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addspaceifdefvoid{#3}
{}
{addlowpenspacemkbibnametrueprefix{#3}isdot}}%
bibclosebracket
}
The actual entry for a name with a pseudonym looks like this:
@book{Blish.J:1973a,
Address = {Chicago},
Author = {given=William, family=Atheling, suffix=Jr., truefamily=Blish, truegiven=James},
Edition = {2},
Origdate = {1964},
Publisher = {Advent Publishers},
Subtitle = {Studies in Contemporary Magazine Science Fiction},
Title = {The Issue at Hand},
Year = {1973}}
The printed bibiliography looks like this with biblatex-fiwi
:
Note that I only print the real name in the bibliography and not in the in-text citation
IME there can also be problems with BibTeX GUIs. BibDesk
which I use to manage my bibliographic data has a hard time dealing with the unfamiliar name entries.
As I said: I am sure this can be done in a much neater way, but it works …
EDIT If you actually are going to use biblatex-fiwi
, simply add the true
nameparts to the name, the style will take care of the rest. But in its current form, the style is heavily geared toward German speaking humanities.
add a comment |
I implemented pseudonyms in my style biblatex-fiwi
. I don't think any other style supports this. I try to briefly summarise what I did.
BEWARE: THIS IS MESSY CODE, I AM SURE THIS COULD BE DONE IN A MUCH CLEANER WAY
For declaring the name, I make the distinction between the pseudonym which is the name which is normally used on the book (or whatever document it is) and the real name. For this I introduce new name parts: trueprefix,truefamily,truesuffix,truegiven
.
These have to be defined with DeclareDatamodelConstant
:
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,trueprefix,truefamily,truesuffix,truegiven}
I then defined a test whether an entry actually has a pseudonym:
newrobustcmd{ifpseudo}[2]{%
ifboolexpr{%
( not test {ifdefvoid{nameparttruefamily}} or not test
{ifdefvoid{nameparttruegiven}})}%
{#1}{#2}%
}
Now the definition of the name format has to be adapted:
DeclareNameFormat{family-given}{%
ifgiveninits
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
ifpseudo%
{usebibmacro{name:true:family-given}
{nameparttruefamily}
{nameparttruegiveni}
{nameparttrueprefix}
{nameparttruesuffix}}
{}}
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiven}%
{namepartprefix}%
{namepartsuffix}%
ifpseudo%
{usebibmacro{name:true:family-given}%
{nameparttruefamily}%
{nameparttruegiven}%
{nameparttrueprefix}%
{nameparttruesuffix}}%
{}}%
usebibmacro{name:andothers}}
Now we need the macro name:true:family-given
:
newbibmacro*{name:true:family-given}[4]{%
addthinspacebibopenbracket{=}%
ifuseprefix%
{usebibmacro{name:delim}{#3#1}%
usebibmacro{name:hook}{#3#1}%
ifdefvoid{#3}{}{%
ifcapital
{mkbibnametrueprefix{MakeCapital{#3}}isdot}%
{mkbibnametrueprefix{#3}isdot}%
}%ifpunctmark{'}{}{addhighpenspace}}%
mkbibnametruefamily{#1}isdot%
ifdefvoid{#2}
{}{addcommaaddlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}
{}{addcommaaddlowpenspacemkbibnametruesuffix{#4}isdot}}%
{usebibmacro{name:delim}{#1}%
usebibmacro{name:hook}{#1}%
mkbibnametruefamily{#1}addspaceisdot
ifdefvoid{#4}
{}
{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addcommaifdefvoid{#3}{}{addcomma}%
ifdefvoid{#2}{}{addlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}{}{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addspaceifdefvoid{#3}
{}
{addlowpenspacemkbibnametrueprefix{#3}isdot}}%
bibclosebracket
}
The actual entry for a name with a pseudonym looks like this:
@book{Blish.J:1973a,
Address = {Chicago},
Author = {given=William, family=Atheling, suffix=Jr., truefamily=Blish, truegiven=James},
Edition = {2},
Origdate = {1964},
Publisher = {Advent Publishers},
Subtitle = {Studies in Contemporary Magazine Science Fiction},
Title = {The Issue at Hand},
Year = {1973}}
The printed bibiliography looks like this with biblatex-fiwi
:
Note that I only print the real name in the bibliography and not in the in-text citation
IME there can also be problems with BibTeX GUIs. BibDesk
which I use to manage my bibliographic data has a hard time dealing with the unfamiliar name entries.
As I said: I am sure this can be done in a much neater way, but it works …
EDIT If you actually are going to use biblatex-fiwi
, simply add the true
nameparts to the name, the style will take care of the rest. But in its current form, the style is heavily geared toward German speaking humanities.
I implemented pseudonyms in my style biblatex-fiwi
. I don't think any other style supports this. I try to briefly summarise what I did.
BEWARE: THIS IS MESSY CODE, I AM SURE THIS COULD BE DONE IN A MUCH CLEANER WAY
For declaring the name, I make the distinction between the pseudonym which is the name which is normally used on the book (or whatever document it is) and the real name. For this I introduce new name parts: trueprefix,truefamily,truesuffix,truegiven
.
These have to be defined with DeclareDatamodelConstant
:
DeclareDatamodelConstant[type=list]{nameparts}{prefix,family,suffix,given,trueprefix,truefamily,truesuffix,truegiven}
I then defined a test whether an entry actually has a pseudonym:
newrobustcmd{ifpseudo}[2]{%
ifboolexpr{%
( not test {ifdefvoid{nameparttruefamily}} or not test
{ifdefvoid{nameparttruegiven}})}%
{#1}{#2}%
}
Now the definition of the name format has to be adapted:
DeclareNameFormat{family-given}{%
ifgiveninits
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiveni}
{namepartprefix}
{namepartsuffix}
ifpseudo%
{usebibmacro{name:true:family-given}
{nameparttruefamily}
{nameparttruegiveni}
{nameparttrueprefix}
{nameparttruesuffix}}
{}}
{usebibmacro{name:family-given}
{namepartfamily}
{namepartgiven}%
{namepartprefix}%
{namepartsuffix}%
ifpseudo%
{usebibmacro{name:true:family-given}%
{nameparttruefamily}%
{nameparttruegiven}%
{nameparttrueprefix}%
{nameparttruesuffix}}%
{}}%
usebibmacro{name:andothers}}
Now we need the macro name:true:family-given
:
newbibmacro*{name:true:family-given}[4]{%
addthinspacebibopenbracket{=}%
ifuseprefix%
{usebibmacro{name:delim}{#3#1}%
usebibmacro{name:hook}{#3#1}%
ifdefvoid{#3}{}{%
ifcapital
{mkbibnametrueprefix{MakeCapital{#3}}isdot}%
{mkbibnametrueprefix{#3}isdot}%
}%ifpunctmark{'}{}{addhighpenspace}}%
mkbibnametruefamily{#1}isdot%
ifdefvoid{#2}
{}{addcommaaddlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}
{}{addcommaaddlowpenspacemkbibnametruesuffix{#4}isdot}}%
{usebibmacro{name:delim}{#1}%
usebibmacro{name:hook}{#1}%
mkbibnametruefamily{#1}addspaceisdot
ifdefvoid{#4}
{}
{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addcommaifdefvoid{#3}{}{addcomma}%
ifdefvoid{#2}{}{addlowpenspacemkbibnametruegiven{#2}isdot}%
ifdefvoid{#4}{}{addlowpenspacemkbibnametruesuffix{#4}isdot}%
addspaceifdefvoid{#3}
{}
{addlowpenspacemkbibnametrueprefix{#3}isdot}}%
bibclosebracket
}
The actual entry for a name with a pseudonym looks like this:
@book{Blish.J:1973a,
Address = {Chicago},
Author = {given=William, family=Atheling, suffix=Jr., truefamily=Blish, truegiven=James},
Edition = {2},
Origdate = {1964},
Publisher = {Advent Publishers},
Subtitle = {Studies in Contemporary Magazine Science Fiction},
Title = {The Issue at Hand},
Year = {1973}}
The printed bibiliography looks like this with biblatex-fiwi
:
Note that I only print the real name in the bibliography and not in the in-text citation
IME there can also be problems with BibTeX GUIs. BibDesk
which I use to manage my bibliographic data has a hard time dealing with the unfamiliar name entries.
As I said: I am sure this can be done in a much neater way, but it works …
EDIT If you actually are going to use biblatex-fiwi
, simply add the true
nameparts to the name, the style will take care of the rest. But in its current form, the style is heavily geared toward German speaking humanities.
edited 14 hours ago
answered 14 hours ago
SimifilmSimifilm
2,1481322
2,1481322
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%2f479460%2fspecifying-author-pseudonyms-in-biblatex%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
Could you maybe explain better what you are getting now and how it is wrong? Also please share a mwe for other users to compile and understand your problem
:)
– Superuser27
15 hours ago
1
What is the expected output here? Would
Clark "Superman" Kent
be sorted underS
forSuperman
or underK
forKent
? What wouldtextcite
/citeauthor
show? You may also want to include a short MWE that shows what you tried so far withrealauthor
and how it did not work for you.– moewe
15 hours ago
@Superuser27
bibstyle=realauthor
overwritesstyle=numeric
. I guessbibstyle
andstyle
are the same option. There is nothing wrong, it's just a citation style that I'm not looking for.– mike
15 hours ago
@moewe
citeauthor
prints Kent and the entry is sorted under K in the references. I really don't have an expectation for the output. I want to know what the 'BibLatex way' of handling pseudonyms is, so that I can use it accordingly. Other than that, I could just leave the pseudonym in quotes as I did in the question.– mike
15 hours ago
2
I have never used the
realauthor
package, but from what I understand there is a serious limitation: It only works if a work has a single author. If there are multiple authors, it breaks. This was actually the reason I came up with my own solution. I originally had something similar with another name field, but to make it work with multiple authors, you have to use nameparts.– Simifilm
14 hours ago