Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DefineBibliographyStrings{english}{series = {Seradddotaddcolonspace{#1}isdot}}
- DefineBibliographyStrings{russian}{series = {Серadddotaddcolonspace{#1}isdot}}
- DeclareFieldFormat{series}{iffieldequalstr{hyphenation}{russian}{Сер}{Ser}adddotaddcolonspace{#1}isdot} %
- documentclass{memoir}
- usepackage{filecontents}
- begin{filecontents}{jobname.bib}
- @INBOOK{Inbook,
- author = {Peter Eston},
- title = {The title of the work},
- booktitle = {Book title},
- chapter = {8},
- pages = {201-213},
- publisher = {The name of the publisher},
- year = {1993},
- volume = {4},
- series = {5},
- address = {The address of the publisher},
- edition = {3},
- month = {7},
- hyphenation = {english}
- }
- @Book{avtonomova:fya,
- author = {Н. С. Автономова},
- title = {Философский язык Жака Деррида},
- year = 2011,
- publisher = {Российская политическая энциклопедия (РОССПЭН)},
- location = {М.},
- isbn = {978-5-8243-1618-6},
- series = {Российские Пропилеи},
- pagetotal = 510,
- hyphenation =russian,
- }
- end{filecontents}
- usepackage[T2A,T1]{fontenc}
- usepackage[utf8]{inputenc}[2014/04/30] %
- usepackage[english, russian]{babel}[2014/03/24]%
- usepackage[%
- backend=biber,
- bibencoding=utf8,
- style=gost-numeric,
- babel=other,
- defernumbers=true,
- sortcites=true,
- doi=true,
- ]{biblatex}[2016/09/17]
- %add Ser.: to series format
- %%% First approach
- %DefineBibliographyStrings{english}{series = {Seradddotaddcolonspace{#1}isdot}}
- %
- %DefineBibliographyStrings{russian}{series = {Серadddotaddcolonspace{#1}isdot}}
- %%% Third approach
- DeclareFieldFormat{series}{iffieldequalstr{hyphenation}{russian}{Сер}{Ser}adddotaddcolonspace{#1}isdot} % do not work
- %% Work perfectly
- %DeclareFieldFormat{series}{iffieldequalstr{pagetotal}{510}{Сер}{Ser}adddotaddcolonspace{#1}isdot} %
- addbibresource{jobname.bib}
- begin{document}
- cite{avtonomova:fya,Inbook}
- printbibliography
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement