def format_names(self, role, as_sentence=True): """Override for german""" formatted_names = names(role, sep=', ', sep2=' und ', last_sep=' und ') if as_sentence: return sentence[formatted_names] else: return formatted_names
def format_names(self, role, as_sentence=True): formatted_names = names(role, sep=', ', sep2=' and ', last_sep=', and ') if as_sentence: return sentence(capfirst=False)[formatted_names] else: return formatted_names
def get_article_template(self, e): template = toplevel[ first_name('author'), field('title'), '/', names('author', sep=', '), '//', sentence(sep='. – ')[ tag('em')[field('journal')], date, optional[join[words['V.', field('volume')], optional[words[', Is.', field('number')]], optional[words['. – P.', pages]]]]], sentence(sep=' ')[optional[self.format_doi(e)], optional[join['(', field('note'), ')']]] ] return template
def format_names(self, role, as_sentence=True): formatted_names = names(role, sep=', ', sep2 = ' and ', last_sep=', and ') if as_sentence: return sentence(capfirst=False) [formatted_names] else: return formatted_names
def format_names(self, role, as_sentence=True): formatted_names = names(role, sep=', ', sep2 = ', ', last_sep=', ') if as_sentence: return sentence [ formatted_names ] else: return formatted_names
def format_names(self, role): return sentence(capfirst=False) [names(role, sep=', ', sep2 = ' and ', last_sep=', and ')]