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.

@unpublishedshould 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 08 '19 at 13:29journalis also not a field that is known to@inproceedings. And for all I know/just googled Resource and Energy Economics is a journal and henceLoeschel2018should be an article.@inproceedingsis for articles/papers in proceedings (Tagungsband/Konferenzband). – moewe Jan 08 '19 at 13:31pubstatefrom https://tex.stackexchange.com/q/408024/35864. Does that work for you? – moewe Jan 08 '19 at 13:43