Replace “in” in specific entries biblatex












1















I am trying to change the word "in" for specific entries. In particular, I want that all types of sources should contain the "in" except unpublished and Proceedings. Furthermore I want to change the "in" into "Künftig in" for all inproceeding Elements.



Here is a short mwe



documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}


usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}


renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}

@InProceedings{Loeschel2018,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance {textendash} An empirical analyses for German manufacturing firms},
booktitle = {Resource and Energy Economics},
year = {2018},
month = {mar},
doi = {10.1016/j.reseneeco.2018.03.001},
journal = {Resource and Energy Economics},
}

end{filecontents}
addbibresource{jobname.bib}

begin{document}
textcite{Hansen2011} textcite{Loeschel2018}
printbibliography
end{document}


I tried to redefine



renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}


by adding this line here:



ifentrytype{inproceedings}
{printtext{bibstring{Künftig in}intitlepunct}}


but that doesnt work.










share|improve this question


















  • 1





    @unpublished should normally not have an "in:" anyway. I also don't think it is safe to change all "in"s to "künftig in" for @inproceedings: What about old proceedings that have already been published? "künftig" would sound a bit odd there.

    – moewe
    Jan 8 at 13:29






  • 1





    journal is also not a field that is known to @inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and hence Loeschel2018 should be an article. @inproceedings is for articles/papers in proceedings (Tagungsband/Konferenzband).

    – moewe
    Jan 8 at 13:31






  • 1





    You may be interested in tex.stackexchange.com/q/408024/35864.

    – moewe
    Jan 8 at 13:35











  • The originally Problem was/is, that I've two articels, that are not published as they have a volume/no and pages. Only the the Journal is known. Therefore I want to change only for that type of fields the word "in" to "künftig in". I thought a quick and dirty solution might be to change the type of that entries to inproceedings and then specify the field.

    – Vala
    Jan 8 at 13:38











  • I figured as much eventually. It would certainly be a dirty solution. But I would much prefer the solution with pubstate from tex.stackexchange.com/q/408024/35864. Does that work for you?

    – moewe
    Jan 8 at 13:43


















1















I am trying to change the word "in" for specific entries. In particular, I want that all types of sources should contain the "in" except unpublished and Proceedings. Furthermore I want to change the "in" into "Künftig in" for all inproceeding Elements.



Here is a short mwe



documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}


usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}


renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}

@InProceedings{Loeschel2018,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance {textendash} An empirical analyses for German manufacturing firms},
booktitle = {Resource and Energy Economics},
year = {2018},
month = {mar},
doi = {10.1016/j.reseneeco.2018.03.001},
journal = {Resource and Energy Economics},
}

end{filecontents}
addbibresource{jobname.bib}

begin{document}
textcite{Hansen2011} textcite{Loeschel2018}
printbibliography
end{document}


I tried to redefine



renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}


by adding this line here:



ifentrytype{inproceedings}
{printtext{bibstring{Künftig in}intitlepunct}}


but that doesnt work.










share|improve this question


















  • 1





    @unpublished should normally not have an "in:" anyway. I also don't think it is safe to change all "in"s to "künftig in" for @inproceedings: What about old proceedings that have already been published? "künftig" would sound a bit odd there.

    – moewe
    Jan 8 at 13:29






  • 1





    journal is also not a field that is known to @inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and hence Loeschel2018 should be an article. @inproceedings is for articles/papers in proceedings (Tagungsband/Konferenzband).

    – moewe
    Jan 8 at 13:31






  • 1





    You may be interested in tex.stackexchange.com/q/408024/35864.

    – moewe
    Jan 8 at 13:35











  • The originally Problem was/is, that I've two articels, that are not published as they have a volume/no and pages. Only the the Journal is known. Therefore I want to change only for that type of fields the word "in" to "künftig in". I thought a quick and dirty solution might be to change the type of that entries to inproceedings and then specify the field.

    – Vala
    Jan 8 at 13:38











  • I figured as much eventually. It would certainly be a dirty solution. But I would much prefer the solution with pubstate from tex.stackexchange.com/q/408024/35864. Does that work for you?

    – moewe
    Jan 8 at 13:43
















1












1








1








I am trying to change the word "in" for specific entries. In particular, I want that all types of sources should contain the "in" except unpublished and Proceedings. Furthermore I want to change the "in" into "Künftig in" for all inproceeding Elements.



Here is a short mwe



documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}


usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}


renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}

@InProceedings{Loeschel2018,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance {textendash} An empirical analyses for German manufacturing firms},
booktitle = {Resource and Energy Economics},
year = {2018},
month = {mar},
doi = {10.1016/j.reseneeco.2018.03.001},
journal = {Resource and Energy Economics},
}

end{filecontents}
addbibresource{jobname.bib}

begin{document}
textcite{Hansen2011} textcite{Loeschel2018}
printbibliography
end{document}


I tried to redefine



renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}


by adding this line here:



ifentrytype{inproceedings}
{printtext{bibstring{Künftig in}intitlepunct}}


but that doesnt work.










share|improve this question














I am trying to change the word "in" for specific entries. In particular, I want that all types of sources should contain the "in" except unpublished and Proceedings. Furthermore I want to change the "in" into "Künftig in" for all inproceeding Elements.



Here is a short mwe



documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}


usepackage[backend=biber, style=ext-authoryear,
maxbibnames=9, maxcitenames=3, uniquelist=false, uniquename=false,
useprefix=true, giveninits=true, dashed=false
doi=false,isbn=false,url=false,
date=year]{biblatex}


renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}

usepackage{filecontents}
begin{filecontents}{jobname.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}

@InProceedings{Loeschel2018,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance {textendash} An empirical analyses for German manufacturing firms},
booktitle = {Resource and Energy Economics},
year = {2018},
month = {mar},
doi = {10.1016/j.reseneeco.2018.03.001},
journal = {Resource and Energy Economics},
}

end{filecontents}
addbibresource{jobname.bib}

begin{document}
textcite{Hansen2011} textcite{Loeschel2018}
printbibliography
end{document}


I tried to redefine



renewbibmacro{in:}{%
ifboolexpr{%
test {ifentrytype{unpublished}}%
or
test {ifentrytype{proceedings}}%
}
{}
ifentrytype{inproceedings
}
{printtext{bibstring{Künftig in}intitlepunct}}
{printtext{bibstring{in}intitlepunct}}%
}


by adding this line here:



ifentrytype{inproceedings}
{printtext{bibstring{Künftig in}intitlepunct}}


but that doesnt work.







biblatex bibliographies citing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 8 at 13:18









ValaVala

1636




1636








  • 1





    @unpublished should normally not have an "in:" anyway. I also don't think it is safe to change all "in"s to "künftig in" for @inproceedings: What about old proceedings that have already been published? "künftig" would sound a bit odd there.

    – moewe
    Jan 8 at 13:29






  • 1





    journal is also not a field that is known to @inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and hence Loeschel2018 should be an article. @inproceedings is for articles/papers in proceedings (Tagungsband/Konferenzband).

    – moewe
    Jan 8 at 13:31






  • 1





    You may be interested in tex.stackexchange.com/q/408024/35864.

    – moewe
    Jan 8 at 13:35











  • The originally Problem was/is, that I've two articels, that are not published as they have a volume/no and pages. Only the the Journal is known. Therefore I want to change only for that type of fields the word "in" to "künftig in". I thought a quick and dirty solution might be to change the type of that entries to inproceedings and then specify the field.

    – Vala
    Jan 8 at 13:38











  • I figured as much eventually. It would certainly be a dirty solution. But I would much prefer the solution with pubstate from tex.stackexchange.com/q/408024/35864. Does that work for you?

    – moewe
    Jan 8 at 13:43
















  • 1





    @unpublished should normally not have an "in:" anyway. I also don't think it is safe to change all "in"s to "künftig in" for @inproceedings: What about old proceedings that have already been published? "künftig" would sound a bit odd there.

    – moewe
    Jan 8 at 13:29






  • 1





    journal is also not a field that is known to @inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and hence Loeschel2018 should be an article. @inproceedings is for articles/papers in proceedings (Tagungsband/Konferenzband).

    – moewe
    Jan 8 at 13:31






  • 1





    You may be interested in tex.stackexchange.com/q/408024/35864.

    – moewe
    Jan 8 at 13:35











  • The originally Problem was/is, that I've two articels, that are not published as they have a volume/no and pages. Only the the Journal is known. Therefore I want to change only for that type of fields the word "in" to "künftig in". I thought a quick and dirty solution might be to change the type of that entries to inproceedings and then specify the field.

    – Vala
    Jan 8 at 13:38











  • I figured as much eventually. It would certainly be a dirty solution. But I would much prefer the solution with pubstate from tex.stackexchange.com/q/408024/35864. Does that work for you?

    – moewe
    Jan 8 at 13:43










1




1





@unpublished should normally not have an "in:" anyway. I also don't think it is safe to change all "in"s to "künftig in" for @inproceedings: What about old proceedings that have already been published? "künftig" would sound a bit odd there.

– moewe
Jan 8 at 13:29





@unpublished should normally not have an "in:" anyway. I also don't think it is safe to change all "in"s to "künftig in" for @inproceedings: What about old proceedings that have already been published? "künftig" would sound a bit odd there.

– moewe
Jan 8 at 13:29




1




1





journal is also not a field that is known to @inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and hence Loeschel2018 should be an article. @inproceedings is for articles/papers in proceedings (Tagungsband/Konferenzband).

– moewe
Jan 8 at 13:31





journal is also not a field that is known to @inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and hence Loeschel2018 should be an article. @inproceedings is for articles/papers in proceedings (Tagungsband/Konferenzband).

– moewe
Jan 8 at 13:31




1




1





You may be interested in tex.stackexchange.com/q/408024/35864.

– moewe
Jan 8 at 13:35





You may be interested in tex.stackexchange.com/q/408024/35864.

– moewe
Jan 8 at 13:35













The originally Problem was/is, that I've two articels, that are not published as they have a volume/no and pages. Only the the Journal is known. Therefore I want to change only for that type of fields the word "in" to "künftig in". I thought a quick and dirty solution might be to change the type of that entries to inproceedings and then specify the field.

– Vala
Jan 8 at 13:38





The originally Problem was/is, that I've two articels, that are not published as they have a volume/no and pages. Only the the Journal is known. Therefore I want to change only for that type of fields the word "in" to "künftig in". I thought a quick and dirty solution might be to change the type of that entries to inproceedings and then specify the field.

– Vala
Jan 8 at 13:38













I figured as much eventually. It would certainly be a dirty solution. But I would much prefer the solution with pubstate from tex.stackexchange.com/q/408024/35864. Does that work for you?

– moewe
Jan 8 at 13:43







I figured as much eventually. It would certainly be a dirty solution. But I would much prefer the solution with pubstate from tex.stackexchange.com/q/408024/35864. Does that work for you?

– moewe
Jan 8 at 13:43












1 Answer
1






active

oldest

votes


















2














In the comments it emerged that the idea behind the question was to cite an @article that is to appear in a particular journal, but that has no volume and page number yet.



In that case I would not abuse @incproceedings for something it was not meant for. Instead I would use pubstate as suggested in Biblatex: add "submitted to" or "to appear in" for some publications.



documentclass[ngerman]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=authoryear]{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@article{loeschel,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance},
subtitle = {An empirical analyses for {German} manufacturing firms},
pubstate = {toappearin},
journal = {Resource and Energy Economics},
date = {2018-03-23},
doi = {10.1016/j.reseneeco.2018.03.001},
}
end{filecontents*}
addbibresource{jobname.bib}

NewBibliographyString{toappearin}
NewBibliographyString{submittedto}
DefineBibliographyStrings{english}{%
toappearin = {to appear in},
submittedto = {submitted to},
}
DefineBibliographyStrings{german}{%
toappearin = {künftig in},
}

renewbibmacro*{in:}{%
ifboolexpr{not test {iffieldundef{pubstate}}
and (test {iffieldequalstr{pubstate}{toappearin}}
or test{iffieldequalstr{pubstate}{submittedto}})}
{printtext{%
printfield{pubstate}intitlepunct}%
clearfield{pubstate}}
{printtext{%
bibstring{in}intitlepunct}}}

begin{document}
cite{loeschel,sigfridsson}
printbibliography
end{document}


Löschel, Andreas, Benjamin Johannes Lutz und Shunsuke Managi (23. März 2018). „The impacts of the EU ETS on efficiency and economic performance. An empirical analyses for German manufacturing firms“. Künftig in: Resource and Energy Economics. doi: 10.1016/j.reseneeco.2018.03.001.//Sigfridsson, Emma und Ulf Ryde (1998). „Comparison of methods for deriving atomic charges from the electrostatic potential and moments“. In: Journal of Computational Chemistry 19.4, S. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P






share|improve this answer
























  • That works pretty well and definitely better than my "quick and dirty" approach :)

    – Vala
    Jan 8 at 15:09











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469154%2freplace-in-in-specific-entries-biblatex%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









2














In the comments it emerged that the idea behind the question was to cite an @article that is to appear in a particular journal, but that has no volume and page number yet.



In that case I would not abuse @incproceedings for something it was not meant for. Instead I would use pubstate as suggested in Biblatex: add "submitted to" or "to appear in" for some publications.



documentclass[ngerman]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=authoryear]{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@article{loeschel,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance},
subtitle = {An empirical analyses for {German} manufacturing firms},
pubstate = {toappearin},
journal = {Resource and Energy Economics},
date = {2018-03-23},
doi = {10.1016/j.reseneeco.2018.03.001},
}
end{filecontents*}
addbibresource{jobname.bib}

NewBibliographyString{toappearin}
NewBibliographyString{submittedto}
DefineBibliographyStrings{english}{%
toappearin = {to appear in},
submittedto = {submitted to},
}
DefineBibliographyStrings{german}{%
toappearin = {künftig in},
}

renewbibmacro*{in:}{%
ifboolexpr{not test {iffieldundef{pubstate}}
and (test {iffieldequalstr{pubstate}{toappearin}}
or test{iffieldequalstr{pubstate}{submittedto}})}
{printtext{%
printfield{pubstate}intitlepunct}%
clearfield{pubstate}}
{printtext{%
bibstring{in}intitlepunct}}}

begin{document}
cite{loeschel,sigfridsson}
printbibliography
end{document}


Löschel, Andreas, Benjamin Johannes Lutz und Shunsuke Managi (23. März 2018). „The impacts of the EU ETS on efficiency and economic performance. An empirical analyses for German manufacturing firms“. Künftig in: Resource and Energy Economics. doi: 10.1016/j.reseneeco.2018.03.001.//Sigfridsson, Emma und Ulf Ryde (1998). „Comparison of methods for deriving atomic charges from the electrostatic potential and moments“. In: Journal of Computational Chemistry 19.4, S. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P






share|improve this answer
























  • That works pretty well and definitely better than my "quick and dirty" approach :)

    – Vala
    Jan 8 at 15:09
















2














In the comments it emerged that the idea behind the question was to cite an @article that is to appear in a particular journal, but that has no volume and page number yet.



In that case I would not abuse @incproceedings for something it was not meant for. Instead I would use pubstate as suggested in Biblatex: add "submitted to" or "to appear in" for some publications.



documentclass[ngerman]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=authoryear]{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@article{loeschel,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance},
subtitle = {An empirical analyses for {German} manufacturing firms},
pubstate = {toappearin},
journal = {Resource and Energy Economics},
date = {2018-03-23},
doi = {10.1016/j.reseneeco.2018.03.001},
}
end{filecontents*}
addbibresource{jobname.bib}

NewBibliographyString{toappearin}
NewBibliographyString{submittedto}
DefineBibliographyStrings{english}{%
toappearin = {to appear in},
submittedto = {submitted to},
}
DefineBibliographyStrings{german}{%
toappearin = {künftig in},
}

renewbibmacro*{in:}{%
ifboolexpr{not test {iffieldundef{pubstate}}
and (test {iffieldequalstr{pubstate}{toappearin}}
or test{iffieldequalstr{pubstate}{submittedto}})}
{printtext{%
printfield{pubstate}intitlepunct}%
clearfield{pubstate}}
{printtext{%
bibstring{in}intitlepunct}}}

begin{document}
cite{loeschel,sigfridsson}
printbibliography
end{document}


Löschel, Andreas, Benjamin Johannes Lutz und Shunsuke Managi (23. März 2018). „The impacts of the EU ETS on efficiency and economic performance. An empirical analyses for German manufacturing firms“. Künftig in: Resource and Energy Economics. doi: 10.1016/j.reseneeco.2018.03.001.//Sigfridsson, Emma und Ulf Ryde (1998). „Comparison of methods for deriving atomic charges from the electrostatic potential and moments“. In: Journal of Computational Chemistry 19.4, S. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P






share|improve this answer
























  • That works pretty well and definitely better than my "quick and dirty" approach :)

    – Vala
    Jan 8 at 15:09














2












2








2







In the comments it emerged that the idea behind the question was to cite an @article that is to appear in a particular journal, but that has no volume and page number yet.



In that case I would not abuse @incproceedings for something it was not meant for. Instead I would use pubstate as suggested in Biblatex: add "submitted to" or "to appear in" for some publications.



documentclass[ngerman]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=authoryear]{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@article{loeschel,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance},
subtitle = {An empirical analyses for {German} manufacturing firms},
pubstate = {toappearin},
journal = {Resource and Energy Economics},
date = {2018-03-23},
doi = {10.1016/j.reseneeco.2018.03.001},
}
end{filecontents*}
addbibresource{jobname.bib}

NewBibliographyString{toappearin}
NewBibliographyString{submittedto}
DefineBibliographyStrings{english}{%
toappearin = {to appear in},
submittedto = {submitted to},
}
DefineBibliographyStrings{german}{%
toappearin = {künftig in},
}

renewbibmacro*{in:}{%
ifboolexpr{not test {iffieldundef{pubstate}}
and (test {iffieldequalstr{pubstate}{toappearin}}
or test{iffieldequalstr{pubstate}{submittedto}})}
{printtext{%
printfield{pubstate}intitlepunct}%
clearfield{pubstate}}
{printtext{%
bibstring{in}intitlepunct}}}

begin{document}
cite{loeschel,sigfridsson}
printbibliography
end{document}


Löschel, Andreas, Benjamin Johannes Lutz und Shunsuke Managi (23. März 2018). „The impacts of the EU ETS on efficiency and economic performance. An empirical analyses for German manufacturing firms“. Künftig in: Resource and Energy Economics. doi: 10.1016/j.reseneeco.2018.03.001.//Sigfridsson, Emma und Ulf Ryde (1998). „Comparison of methods for deriving atomic charges from the electrostatic potential and moments“. In: Journal of Computational Chemistry 19.4, S. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P






share|improve this answer













In the comments it emerged that the idea behind the question was to cite an @article that is to appear in a particular journal, but that has no volume and page number yet.



In that case I would not abuse @incproceedings for something it was not meant for. Instead I would use pubstate as suggested in Biblatex: add "submitted to" or "to appear in" for some publications.



documentclass[ngerman]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=authoryear]{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{filecontents}
begin{filecontents*}{jobname.bib}
@article{loeschel,
author = {Andreas Löschel and Benjamin Johannes Lutz and Shunsuke Managi},
title = {The impacts of the {EU} {ETS} on efficiency and economic performance},
subtitle = {An empirical analyses for {German} manufacturing firms},
pubstate = {toappearin},
journal = {Resource and Energy Economics},
date = {2018-03-23},
doi = {10.1016/j.reseneeco.2018.03.001},
}
end{filecontents*}
addbibresource{jobname.bib}

NewBibliographyString{toappearin}
NewBibliographyString{submittedto}
DefineBibliographyStrings{english}{%
toappearin = {to appear in},
submittedto = {submitted to},
}
DefineBibliographyStrings{german}{%
toappearin = {künftig in},
}

renewbibmacro*{in:}{%
ifboolexpr{not test {iffieldundef{pubstate}}
and (test {iffieldequalstr{pubstate}{toappearin}}
or test{iffieldequalstr{pubstate}{submittedto}})}
{printtext{%
printfield{pubstate}intitlepunct}%
clearfield{pubstate}}
{printtext{%
bibstring{in}intitlepunct}}}

begin{document}
cite{loeschel,sigfridsson}
printbibliography
end{document}


Löschel, Andreas, Benjamin Johannes Lutz und Shunsuke Managi (23. März 2018). „The impacts of the EU ETS on efficiency and economic performance. An empirical analyses for German manufacturing firms“. Künftig in: Resource and Energy Economics. doi: 10.1016/j.reseneeco.2018.03.001.//Sigfridsson, Emma und Ulf Ryde (1998). „Comparison of methods for deriving atomic charges from the electrostatic potential and moments“. In: Journal of Computational Chemistry 19.4, S. 377–395. doi: 10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 8 at 14:11









moewemoewe

88k9110338




88k9110338













  • That works pretty well and definitely better than my "quick and dirty" approach :)

    – Vala
    Jan 8 at 15:09



















  • That works pretty well and definitely better than my "quick and dirty" approach :)

    – Vala
    Jan 8 at 15:09

















That works pretty well and definitely better than my "quick and dirty" approach :)

– Vala
Jan 8 at 15:09





That works pretty well and definitely better than my "quick and dirty" approach :)

– Vala
Jan 8 at 15:09


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469154%2freplace-in-in-specific-entries-biblatex%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?