diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-27 23:13:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-27 23:13:47 +0000 |
commit | 83082c7f9a495b3086e74c09252c4046fdbc6a72 (patch) | |
tree | fcf54ab984c4829a916e353200e5256f0148a9ba /Master | |
parent | a5bf9cc0ee79a49577e212235a796db20edb5fe4 (diff) |
biblatex-gost (27jan17)
git-svn-id: svn://tug.org/texlive/trunk@43066 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
38 files changed, 257 insertions, 137 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.bib b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.bib index 993641f3e6c..9459744d14f 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.bib +++ b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.bib @@ -10353,3 +10353,19 @@ number = 3, pages = {305-320}, } + +@MVBook{burtsev:zsl, + author = {Бурцев, В}, + title = {За сто лет (1800—1896). Сборник по истории политических и общественных + движений в России}, + year = 1897, + editor = {В. Бурцев}, + editortype = {compiler}, + editora = {С. М. {Кравчинского (Степняка)}}, + editoratype = {collaborator}, + language = {russian}, + langid = {russian}, + parts = 2, + location = {London}, +} + diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.pdf b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.pdf Binary files differindex 6f178de85af..71dc6f2fdc0 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf Binary files differindex 1585bb536c9..44b6a10fe7f 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.tex b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.tex index 48499173e34..9b89c0b0aca 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.tex +++ b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.tex @@ -195,6 +195,13 @@ This package is maintained. точки зрения совместимости с предыдущими версиями. Более полный список изменений см. в \Apxref{apx:changelog}. +\subsubsection*{Версия 1.11} + +\begin{trivlist} +\item При заполнении поля \bibfield{major} в описании диссертаций + теперь нужно писать «экон.», «физ.-мат.» и пр. вместо «экон. наук», «физ.-мат. наук» и + пр. См.~\secref{sec:dissers}. +\end{trivlist} \subsubsection*{Версия 1.10} \begin{trivlist} @@ -626,7 +633,7 @@ This package is maintained. \textit{Параллельное заглавие} & \textendash \\%{\spotcolor paratitle} \\ \textit{Сведения, относящиеся к заглавию} & subtitle, mainsubtitle, booksubtitle, titleaddon, maintitleaddon, - booktitleaddon,\newline + booktitleaddon, type,\newline \ensuremath\langle{\spotcolor ipc}, {\spotcolor location}, {\spotcolor number}, {\spotcolor major}, {\spotcolor majorcode}\ensuremath\rangle \\ @@ -802,9 +809,15 @@ ISSN серии или подсерии & issn (isbn) \\ \fielditem{editortype}{key} -Это поле существует в \biblatex, но в \biblatexgost для него определёно новое значение: -тип редактора \bibfield{geneditor}, соответствующий общему -редактору. Он выводится в виде: \enquote{Под общ. ред.~\ldots}. +Это поле существует в \biblatex, но в \biblatexgost для него определёно два новых +значения: +\begin{itemize} +\item \bibfield{geneditor} "--- выводится в виде: \enquote{под общ. ред.~\ldots}. +\item \bibfield{editorcollaborator} "--- выводится в виде: \enquote{при ред. уч.~\ldots}. +\end{itemize} + +Обратите внимание, что в \biblatex есть также редакторская роль \bibfield{collaborator}, +которая выводится как \enquote{при уч.~\ldots}. \listitem{heading}{name} @@ -1300,14 +1313,17 @@ volsorder = {pbi}, определяет тип диссертации~--- магистерская (\opt{mathesis}), кандидатская (\opt{phdthesis}), докторская (\opt{docthesis})~--- или тип автореферата: кандидатская (\opt{phdautoref}), докторская (\opt{docautoref}). +При других значениях поля \bibfield{type}, оно выводится как есть, причём поле +\bibfield{major} (см.~ниже) игнорируются. -Для записей типа \bibtype{thesis} определены два дополнительных поля: +Для записей типа \bibtype{thesis} определены дополнительные поля: \begin{fieldlist} \fielditem{major}{literal} -Специальность в виде <<ист. наук>>, <<физ.-мат. наук>> и т.\,д. +Специальность в виде <<ист.>>, <<физ.-мат.>>, <<технических>> и т.\,д. +Выводится как, например, «дис. \textellipsis\ канд. технических наук». \fielditem{majorcode}{literal} @@ -1323,7 +1339,7 @@ volsorder = {pbi}, title = {|Религиозная политика Золотой Орды на Руси в XIII—XIV вв.|}, media = {text}, type = {phdthesis}, - major = {|ист. наук|}, + major = {|ист.|}, majorcode = {07.00.02}, titleaddon = {|защищена 22.01.02~: утв. 15.07.02|}, location = {|М.|}, @@ -1354,6 +1370,10 @@ volsorder = {pbi}, \noindent сделает \bibtype{docdisser} эквивалентным \bibtype{thesis} с установленным полем \kvopt{type}{docthesis}. +В частности, в \biblatex и \biblatexgost уже определены типы \bibtype{masterthesis} (с +типом \opt{mathesis}), \bibtype{phdthesis} (с типом \opt{phdthesis}), \bibtype{candthesis} +(с типом \opt{phdthesis}) и \bibtype{docthesis} (с типом \opt{docthesis}). + \subsection{Оформление патентов} \label{sec:patent} @@ -1564,6 +1584,20 @@ volsorder = {pbi}, \begin{optionlist} + \choitem[emdash]{blockpunct}{emdash, space} + + Разделитель блоков библиографического описания. + По умолчанию равен точке и тире с окружающими его пробелами, при значении + \kvopt{blockpunct}{space} "--- точке с пробелом. + + Опция просто устанавливает параметр \cmd{newblockpunct}. + Например, по умолчанию устанавливается: + \begin{lstlisting}[style=latex] + \renewcommand*{\newblockpunct}{% + \addperiod\addnbspace\textemdash\space\bibsentence}. + \end{lstlisting} + \vspace{-\baselineskip}Если вам нужен другой разделитель, измените его с помощью \cmd{renewcommand}. + \boolitem{citeurl,biburl}\noitemspace% \boolitem{citeisbn,bibisbn}\noitemspace% \boolitem{citedoi,bibdoi}\noitemspace% @@ -2235,13 +2269,14 @@ editor & & & & & & & & author/editor & & & & & & & & & & + & + & + & & & & +\tabularnewline \rl maintitle+volumes+parts+title & & & & & & + & + & + & & & & & & & & \tabularnewline title & + & + & + & + & + & & & & + & + & + & + & + & + & + & +\tabularnewline -type & & & & & & & & & & + & + & & + & & + & +\tabularnewline +type & & & & & & & & & & + & + & & + & & & +\tabularnewline +type+major & & & & & & & & & & & & & & & + & \tabularnewline event+venue+date & & & & & & & & + & & & & & & & & \tabularnewline translation & + & + & + & + & + & + & + & + & + & + & + & & + & + & & +\tabularnewline%not in patent \rl /\hfill byauthor & + & + & + & + & + & + & & & & + & + & + & + & + & +{*} & +\tabularnewline organization & & & & & & & & & & & + & + & & & & \tabularnewline institution & & & & & & & & & & & & & + & & & \tabularnewline -credits & + & + & + & + & + & + & + & + & + & + & + & + & + & + & & +\tabularnewline +credits & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & +\tabularnewline byeditor & & & & & & + & + & + & + & + & + & + & & & & \tabularnewline bytranslator+others & + & + & + & + & + & + & + & + & & & & + & & & & \tabularnewline \rl //\hfill maintitle+volumes+parts+booktitle & + & + & + & & & & & & & & & & & & & \tabularnewline @@ -2288,6 +2323,19 @@ pageref & + & + & + & + & + & + & + & + \label{apx:changelog} \begin{changelog} + \begin{release}{1.11}{27-01-2017} + \item Определены типы записей \bibtype{candthesis} и + \bibtype{docthesis}.\see{sec:dissers} + \item Добавлена редакторская роль \kvopt{editortype}{\{editorcollaborator\}}.\newline + Печатается в виде: «при ред. уч.».\see{sec:newfields} + \item Добавлена опция \opt{blockpunct}.\see{sec:newoptions} + \item Добавлен вывод поля \bibfield{credits} в \bibtype{thesis}. + \item В записях типа \bibtype{thesis}, если значение поля \bibfield{type} не совпадает с + заранее определёнными, то выводится как есть.\see{sec:dissers} + \item Исправлена ошибка: добавлена точка после заголовка. + \item Исправлена ошибка: не работала опция \kvopt{movenames}{false}. + \item Заменил \texttt{build.cmd} на \texttt{build.pl}. + \end{release} \begin{release}{1.10}{18-09-2016} \item Исправлено сокращение <<док.>> на <<д-ра>>. diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx index 611c373457b..a3a08302a58 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx @@ -1,3 +1,6 @@ +\ProvidesFile{biblatex-gost.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] + % Biblatex-GOST data model \DeclareDatamodelFields[type=field, datatype=range]{ diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def index e4ddb01d795..84901d3288d 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def +++ b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.def @@ -1,5 +1,5 @@ \ProvidesFile{biblatex-gost.def} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] % these declarations should be here, not in lbx, to be initialized for all languages \NewBibliographyString{ @@ -79,6 +79,7 @@ bygecompilertranin, bygecompilertranfo, bygecompilertranaf, + byeditorcollaborator, books, parts, issues, @@ -430,87 +431,6 @@ } } -\DeclareBibliographyOption{movenames}[true]{% - \gdef\blx@opt@movenames{#1}% - \ifstrequal{#1}{true} - {\DeclareStyleSourcemap{ - \maps[datatype=bibtex]{ - \map[overwrite]{ - \step[fieldsource=author, - match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, - final] - \step[fieldsource=options, - match=\regexp{(.+)}, - replace=\regexp{useauthor=false,$1}] - \step[fieldsource=options, - match=\regexp{^$}, - replace=\regexp{useauthor=false}] - } - \map{ - \step[fieldsource=author, - match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, - final] - \step[fieldset=options, fieldvalue={useauthor=false}] - } - \map[overwrite]{ - \step[fieldsource=editor, - match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, - final] - \step[fieldsource=options, - match=\regexp{(.+)}, - replace=\regexp{useeditor=false,$1}] - \step[fieldsource=options, - match=\regexp{^$}, - replace=\regexp{useeditor=false}] - } - \map{ - \step[fieldsource=editor, - match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, - final] - \step[fieldset=options, fieldvalue={useeditor=false}] - } - \map[overwrite]{ - \pertype{patent} - \step[fieldsource=options, final] - \step[fieldset=options, fieldvalue={useauthor=false,}] - \step[fieldset=options, origfieldval, append] - } - \map{ - \pertype{patent} - \step[fieldset=options, fieldvalue={useauthor=false}] - \step[fieldsource=authortype, fieldtarget=authorcountry] - \step[fieldsource=reqnumber, fieldtarget=requestnumber] - \step[fieldsource=publdate, fieldtarget=publicationdate] - \step[fieldsource=prdate, fieldtarget=prioritydate] - \step[fieldsource=prnumber, fieldtarget=prioritynumber] - \step[fieldsource=prcountry, fieldtarget=prioritycountry] - } - } - } - } - {\DeclareStyleSourcemap{ - \maps[datatype=bibtex]{ - \map[overwrite]{ - \pertype{patent} - \step[fieldsource=options, final] - \step[fieldset=options, fieldvalue={useauthor=false,}] - \step[fieldset=options, origfieldval, append] - } - \map{ - \pertype{patent} - \step[fieldset=options, fieldvalue={useauthor=false}] - \step[fieldsource=authortype, fieldtarget=authorcountry] - \step[fieldsource=reqnumber, fieldtarget=requestnumber] - \step[fieldsource=publdate, fieldtarget=publicationdate] - \step[fieldsource=prdate, fieldtarget=prioritydate] - \step[fieldsource=prnumber, fieldtarget=prioritynumber] - \step[fieldsource=prcountry, fieldtarget=prioritycountry] - } - } - } - } -} - \DeclareSortExclusion{inbook,incollection,inproceeding,bookinbook,suppbook,suppcollection,inreference} {editor,volume,maintitle} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx index c64d29f7ad7..846a58bc843 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-alphabetic-min.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-alphabetic} \AtEveryBibitem{% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx index cc5462e5644..e6e864f1256 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-alphabetic-min.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{gost-alphabetic} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.dbx index e901d2d9068..297e23c20f7 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic-min.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-alphabetic-min.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx index cbc74cbe3bb..cd8248a5c56 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-alphabetic.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-standard} \ExecuteBibliographyOptions{labelalpha,sorting=anyvt} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx index 95964ea502a..f25f60f7f21 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-alphabetic.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{alphabetic} \ExecuteBibliographyOptions{labelalpha,autocite=inline} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.dbx index e901d2d9068..c2c696b86a6 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-alphabetic.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-alphabetic.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx index cdb62e8f490..25f40c9bdf3 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-authoryear-min.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-authoryear} \AtEveryBibitem{% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx index 24d1f609372..0aab283bbd9 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-authoryear-min.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{gost-authoryear} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.dbx index e901d2d9068..2bc0b3eb0f2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear-min.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-authoryear-min.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx index bb70dc54818..e7355a9b763 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-authoryear.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-standard} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx index bc59cf32bca..d74d560b95d 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-authoryear.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \ExecuteBibliographyOptions{dashed=false,citetracker=constrict,loccittracker=constrict, dropdates=false, diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.dbx index e901d2d9068..1551e52520c 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-authoryear.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-authoryear.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx index e606882b44e..0788c1affeb 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-footnote-min.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-inline-min} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx index 89e780966d5..a9229f64b41 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-footnote-min.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{gost-footnote} \renewbibmacro*{cite:clearfields}{% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.dbx index e901d2d9068..211611b3bdd 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote-min.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-footnote-min.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx index d660488e978..deccac0dd3d 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-footnote.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-inline} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx index 8533babd4b1..acbe73fdd26 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-footnote.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{gost-inline} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.dbx index e901d2d9068..0a9d5493118 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-footnote.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-footnote.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx index 536add942fa..11b92f6fed4 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-inline-min.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-inline} \AtEveryBibitem{% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx index 7c34d1c4205..310151f2020 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-inline-min.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{gost-inline} \renewbibmacro*{cite:clearfields}{% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.dbx index e901d2d9068..6f7dcd3f9a0 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline-min.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-inline-min.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx index c63ffbb9c5a..5fb9ba682d4 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-inline.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-standard} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx index e6c9a264a11..265acee8776 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-inline.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \DeclareLabelname [inbook,incollection,inproceedings,inreference,suppbook,suppcollection,suppperiodical,bookinbook] diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.dbx index e901d2d9068..0005f4f1776 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-inline.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-inline.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx index ee32a927dd5..d866a557d7e 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-numeric-min.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-numeric} \AtEveryBibitem{% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx index 918368fa249..c76b5c9aebd 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-numeric-min.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{gost-numeric} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.dbx index e901d2d9068..9d49ae673a1 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric-min.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-numeric-min.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx index 5661580825e..dd9169f28c9 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.bbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-numeric.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireBibliographyStyle{gost-standard} \ExecuteBibliographyOptions{labelnumber,bibisbn,biburl,bibdoi,bibeprint} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx index 4984c25405c..76454b847cc 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.cbx @@ -1,5 +1,5 @@ \ProvidesFile{gost-numeric.cbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \RequireCitationStyle{numeric-comp} \ExecuteBibliographyOptions{dashed=false,citeisbn,citeurl,citedoi,citeeprint} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.dbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.dbx index e901d2d9068..b311a6aaaa2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-numeric.dbx @@ -1,4 +1,5 @@ -% Biblatex-GOST data model +\ProvidesFile{gost-numeric.dbx} +[2017/01/27\space v1.11\space biblatex-gost data model] \blx@inputonce{biblatex-gost.dbx}{biblatex-gost data model}{}{}{}{} diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx index 5cfcfb3bf40..8c5ae06648a 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx @@ -1,8 +1,8 @@ \ProvidesFile{gost-standard.bbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] -\def\bbx@gost@date{2016/09/18} -\def\bbx@gost@version{1.10} +\def\bbx@gost@date{2017/01/27} +\def\bbx@gost@version{1.11} \@ifpackagelater{biblatex}{2016/03/03} {} @@ -54,6 +54,14 @@ \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} {\renewbibmacro*{bbx:savehash}{}}} +% block punctuation = emdash / space +% \bibsentence is for vol,etc. +\DeclareBibliographyOption{blockpunct}[emdash]{% + \ifstrequal{#1}{emdash} + {\renewcommand*{\newblockpunct}{\addperiod\addnbspace\textemdash\space\bibsentence}} + {\renewcommand*{\newblockpunct}{\addperiod\space\bibsentence}} +} + \DeclareBibliographyOption{isbn}[true]{% \global\settoggle{bbx:isbn}{#1}% \global\settoggle{cbx:isbn}{#1}} @@ -109,6 +117,117 @@ \DeclareBibliographyOption{volsorder}[vbpi]{% \renewcommand*{\blx@gost@defaultorder}{#1}} +\DeclareBibliographyOption{movenames}[true]{% + \gdef\blx@opt@movenames{#1}} + +\AtEndOfPackage{% + \ifdefstring{\blx@opt@movenames}{true} + {\DeclareStyleSourcemap{ + \maps[datatype=bibtex]{ + \map[overwrite]{ + \step[fieldsource=author, + match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, + final] + \step[fieldsource=options, + match=\regexp{(.+)}, + replace=\regexp{useauthor=false,$1}] + \step[fieldsource=options, + match=\regexp{^$}, + replace=\regexp{useauthor=false}] + } + \map{ + \step[fieldsource=author, + match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, + final] + \step[fieldset=options, fieldvalue={useauthor=false}] + } + \map[overwrite]{ + \step[fieldsource=editor, + match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, + final] + \step[fieldsource=options, + match=\regexp{(.+)}, + replace=\regexp{useeditor=false,$1}] + \step[fieldsource=options, + match=\regexp{^$}, + replace=\regexp{useeditor=false}] + } + \map{ + \step[fieldsource=editor, + match=\regexp{(.+\s+and\s+){3,}|and\s+others\s*$}, + final] + \step[fieldset=options, fieldvalue={useeditor=false}] + } + \map{ + \step[typesource=candthesis,typetarget=thesis, final] + \step[fieldset=type, fieldvalue=phdthesis] + } + \map{ + \step[typesource=docthesis, typetarget=thesis, final] + \step[fieldset=type, fieldvalue=docthesis] + } + \map[overwrite]{ + \pertype{patent} + \step[fieldsource=options, final] + \step[fieldset=options, fieldvalue={useauthor=false,}] + \step[fieldset=options, origfieldval, append] + } + \map{ + \pertype{patent} + \step[fieldset=options, fieldvalue={useauthor=false}] + \step[fieldsource=authortype, fieldtarget=authorcountry] + \step[fieldsource=reqnumber, fieldtarget=requestnumber] + \step[fieldsource=publdate, fieldtarget=publicationdate] + \step[fieldsource=prdate, fieldtarget=prioritydate] + \step[fieldsource=prnumber, fieldtarget=prioritynumber] + \step[fieldsource=prcountry, fieldtarget=prioritycountry] + } + \map{ + \pertype{thesis} + \step[fieldsource=speciality, fieldtarget=major] + \step[fieldsource=specialitycode, fieldtarget=majorcode] + \step[fieldsource=number, fieldtarget=majorcode] + } + } + } + } + {\DeclareStyleSourcemap{ + \maps[datatype=bibtex]{ + \map{ + \step[typesource=candthesis,typetarget=thesis, final] + \step[fieldset=type, fieldvalue=phdthesis] + } + \map{ + \step[typesource=docthesis, typetarget=thesis, final] + \step[fieldset=type, fieldvalue=docthesis] + } + \map[overwrite]{ + \pertype{patent} + \step[fieldsource=options, final] + \step[fieldset=options, fieldvalue={useauthor=false,}] + \step[fieldset=options, origfieldval, append] + } + \map{ + \pertype{patent} + \step[fieldset=options, fieldvalue={useauthor=false}] + \step[fieldsource=authortype, fieldtarget=authorcountry] + \step[fieldsource=reqnumber, fieldtarget=requestnumber] + \step[fieldsource=publdate, fieldtarget=publicationdate] + \step[fieldsource=prdate, fieldtarget=prioritydate] + \step[fieldsource=prnumber, fieldtarget=prioritynumber] + \step[fieldsource=prcountry, fieldtarget=prioritycountry] + } + \map{ + \pertype{thesis} + \step[fieldsource=speciality, fieldtarget=major] + \step[fieldsource=specialitycode, fieldtarget=majorcode] + \step[fieldsource=number, fieldtarget=majorcode] + } + } + } + } + } + \ExecuteBibliographyOptions{ useeditor=false, usetranslator=false, @@ -120,7 +239,8 @@ volsorder=vbpi, related=true, alldates=short, - eventdate=comp} + eventdate=comp, + blockpunct=emdash} \newbibmacro*{cbx:bookibid:check}[2]{#2} @@ -241,7 +361,11 @@ \iffieldnum{edition} {\mkbibordedition{#1}\addnbspace\bibstring{edition}} {\ifcapital{\MakeCapital{#1}}{#1}\isdot}} -\DeclareFieldFormat[thesis]{type}{\ifbibstring{#1}{\bibsentence\biblstring{#1}}{#1}} +\DeclareFieldFormat[thesis]{type}{% + \ifbibstring{#1}{\biblstring{#1}% + \setunit*{\addspace}% + \printfield{major}}% + {#1}} \DeclareFieldFormat{prioritycountry}{% \ifbibxstring{\thefield{prioritycountry}} {\bibcpstring{\thefield{prioritycountry}}} @@ -318,14 +442,12 @@ \newbibmacro*{//}{% \nopunct\printtext{\addnbspace\mbox{//}\addspace}} -\renewcommand*{\labelnamepunct}{\addspace} +\renewcommand*{\labelnamepunct}{\addperiod\space} \renewcommand*{\intitlepunct}{\addspace} \renewcommand*{\finalnamedelim}{\addcomma\space} \renewcommand*{\finallistdelim}{\addcomma\space} \renewcommand*{\bibpagespunct}{\addperiod\space} \renewcommand*{\subtitlepunct}{\addcolon\space} -\renewcommand*{\newblockpunct}{% - \addperiod\addnbspace\textemdash\space\bibsentence}%block punct.,\bibsentence is for vol,etc. \newcommand*{\respdelim}{\addnbspace/\space}% delimiter before "credits" \newcommand*{\resppunct}{\addsemicolondelim}% punctuation between "credits" items @@ -1087,8 +1209,11 @@ \usebibmacro{author}% \setunit*{\labelnamepunct}% \usebibmacro{thesistitle}% - \setunit{\respdelim}% + \def\bbx@gost@respdelim{\setunit{\respdelim}}% ----- Resp starts ----- + \setrespdelim% \printnames[family-given:full]{author}% + \setunit*{\resppunct}% + \usebibmacro{credits}% \newunit\newblock \printlist[semicolondelim]{specdata}% \newunit @@ -1864,12 +1989,9 @@ {\setunit*{\addspace}% \usebibmacro{media}% \setunit*{\addcolondelim}}% - \printfield[titlecase]{subtitle}}% - \ifbibxstring{\thefield{type}} - {\bibstring{\thefield{type}}} - {\printfield{type}}% - \setunit*{\addspace}% - \printfield{major}% + \printfield[titlecase]{subtitle}}% + \setunit*{\addcolondelim}% + \printfield{type}% \setunit*{\addcolondelim}% \printfield{majorcode}}% \setunit*{\addcolondelim}% diff --git a/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx b/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx index 95681fe2326..7ed7f6f966f 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/russian-gost.lbx @@ -1,5 +1,5 @@ \ProvidesFile{russian-gost.lbx} -[2016/09/18\space v1.10\space biblatex-gost styles] +[2017/01/27\space v1.11\space biblatex-gost styles] \InheritBibliographyExtras{russian} @@ -170,6 +170,7 @@ {сост.,\addabbrvspace пер\adddot\ \lbx@sfromlang, примеч\adddotspace и предисл\adddot}}, bycompilertranaf= {{составление, перевод \lbx@lfromlang, примечания и послесловие}% {сост.,\addabbrvspace пер\adddot\ \lbx@sfromlang, примеч\adddotspace и послесл\adddot}}, + byeditorcollaborator= {{при редакторском участии}{при ред. уч\adddot}}, mediavideorecording = {{видеозапись}{видеозапись}}, mediasoundrecording = {{звукозапись}{звукозапись}}, mediagraphic = {{изоматериал}{изоматериал}}, |