I'm supposed to adapt this bibliography style for the japanese JSME-Journal.
I already patched the authoryear style quite a bit, but two things I can't get right:
- Place the (year) always in front of , pp. or the publisher, in case all that is not available just at the end
- What is the easiest way to get the first letter of vol. and no. uppercase?
Any ideas?
That's how far I got:
\documentclass{article}
\usepackage{filecontents}
\RequirePackage[
natbib,
style=authoryear,
maxnames = 99,
maxcitenames = 1,
uniquelist=false,
url=false,
isbn=false,
sorting=nyt,
abbreviate=true,
firstinits=true,
backend=biber,
bibencoding=utf8,
]{biblatex}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\multinamedelim}{\addspace\addcomma\addspace}
\renewcommand*{\finallistdelim}{\addspace\addcomma\addspace}
\renewcommand*{\labelnamepunct}{\addcomma\addspace}
\renewcommand*{\finentrypunct}{}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit{\addcomma\space}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}%
}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addcomma\space}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\usebibmacro{volume+number+eid}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{subtitle}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat*{booksubtitle}{#1}
\DeclareFieldFormat*{journaltitle}{#1}
\DeclareFieldFormat[periodical]{issuetitle}{#1}
\DeclareFieldFormat*{maintitle}{#1}
\DeclareFieldFormat*{number}{\bibstring{number}\addnbspace#1}
\DeclareFieldFormat*{volume}{\bibstring{jourvol}\addnbspace#1}
\renewcommand*{\labelalphaothers}{}
\renewcommand*{\intitlepunct}{}
\DefineBibliographyStrings{german}{in={}}
\DefineBibliographyStrings{english}{in={}}
\begin{filecontents*}{\jobname.bib}
@ARTICLE{Sun,
author={Yanhua Sun and Yick-Sing Ho and Lie Yu},
journal={IEEE Transactions on Magnetics},
title={Dynamic Stiffnesses of Active Magnetic Thrust Bearing Including Eddy-Current Effects},
year={2009},
month={Jan},
volume={45},
number={1},
pages={42-142},
}
@book{Moon,
title={Field Theory Handbook},
author={Moon, P. and Spencer, D.E.},
year={1961},
location={Berlin, Heidelberg},
publisher={Springer}
}
@InProceedings{Kucera,
author = {Kucera, Ladislav and Ahrens, Markus},
title = {A Model for Axial Magnetic Bearings Including Eddy Currents},
booktitle = {Third International Symposium on Magnetic Suspension Technology},
year = {1996},
volume = {45},
number = {2},
month = {Jul},
pages = {421-437},
}
\end{filecontents*}
\bibliography{\jobname.bib}
\begin{document}
\cite{Sun,Moon,Kucera}
\printbibliography
\end{document}


bibstyle=authortitleandcitestyle=authoryear. We will still need to change stuff, but the base fits better. – moewe Jul 12 '17 at 07:11;-). But for future questions you might want to keep that in mind. Even though it makes sense for you to ask these two questions at once because they belong to the same style, that does not help those trying to answer (if the only know a partial answer) nor those that seek help (if they have to find out which part of the answer addresses which question). – moewe Jul 12 '17 at 08:07