From 0962f3f1b18745856196b2e2d5c992b4d0138af9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 30 Nov 2013 23:24:37 +0000 Subject: biblatex-gost (30nov13) git-svn-id: svn://tug.org/texlive/trunk@32284 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/biblatex-gost/biblatex-gost-examples.pdf | Bin 613347 -> 613271 bytes .../doc/latex/biblatex-gost/biblatex-gost.pdf | Bin 233183 -> 237793 bytes .../doc/latex/biblatex-gost/biblatex-gost.tex | 279 +++++++++++++++------ .../doc/latex/biblatex-gost/ltxdockit.cfg | 25 -- .../texmf-dist/doc/latex/biblatex-gost/russian.idf | 136 ---------- .../tex/latex/biblatex-gost/biblatex-gost.dbx | 4 + .../tex/latex/biblatex-gost/biblatex-gost.def | 5 +- .../latex/biblatex-gost/gost-alphabetic-min.bbx | 2 +- .../latex/biblatex-gost/gost-alphabetic-min.cbx | 2 +- .../tex/latex/biblatex-gost/gost-alphabetic.bbx | 2 +- .../tex/latex/biblatex-gost/gost-alphabetic.cbx | 2 +- .../latex/biblatex-gost/gost-authoryear-min.bbx | 2 +- .../latex/biblatex-gost/gost-authoryear-min.cbx | 2 +- .../tex/latex/biblatex-gost/gost-authoryear.bbx | 2 +- .../tex/latex/biblatex-gost/gost-authoryear.cbx | 2 +- .../tex/latex/biblatex-gost/gost-footnote-min.bbx | 2 +- .../tex/latex/biblatex-gost/gost-footnote-min.cbx | 2 +- .../tex/latex/biblatex-gost/gost-footnote.bbx | 2 +- .../tex/latex/biblatex-gost/gost-footnote.cbx | 2 +- .../tex/latex/biblatex-gost/gost-inline-min.bbx | 2 +- .../tex/latex/biblatex-gost/gost-inline-min.cbx | 2 +- .../tex/latex/biblatex-gost/gost-inline.bbx | 2 +- .../tex/latex/biblatex-gost/gost-inline.cbx | 2 +- .../tex/latex/biblatex-gost/gost-numeric-min.bbx | 2 +- .../tex/latex/biblatex-gost/gost-numeric-min.cbx | 2 +- .../tex/latex/biblatex-gost/gost-numeric.bbx | 2 +- .../tex/latex/biblatex-gost/gost-numeric.cbx | 2 +- .../tex/latex/biblatex-gost/gost-standard.bbx | 122 +++++---- .../tex/latex/biblatex-gost/russian-gost.lbx | 2 +- 29 files changed, 299 insertions(+), 314 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/biblatex-gost/russian.idf (limited to 'Master/texmf-dist') 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 index 4824940a4d6..c21ec68606c 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.pdf and b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost-examples.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf index 19412fbd995..c4b05060ecf 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf and b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.pdf differ 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 1080c39f503..c7540ed846f 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.tex +++ b/Master/texmf-dist/doc/latex/biblatex-gost/biblatex-gost.tex @@ -15,7 +15,6 @@ \usepackage{rotating} \usepackage{comment} \usepackage[inline]{enumitem} -\usepackage[russian]{isodate} % bug? \usepackage[backend=biber, bibstyle=gost-standard, ]{biblatex} % to receive \bbx@gost@version, etc. @@ -35,14 +34,18 @@ bibstyle=gost-standard, {http://www.ctan.org/tex-archive/macros/latex/contrib/biblatex-contrib/biblatex-gost/} \makeatletter +\usepackage{datetime} +\def\blx@gost@printdateTeX#1/#2/#3//{\formatdate{#3}{#2}{#1}} +\newcommand*{\printdateTeX}[1]{\expandafter\blx@gost@printdateTeX#1//} + \titlepage{% title={Пакет \biblatexgost}, - subtitle={Оформление библиографии по ГОСТам 7.0.5---2008 и 7.1---2003}, + subtitle={Оформление библиографии по ГОСТ 7.0.5---2008}, url={\biblatexgosthome}, author={Олег Доманов}, email={odomanov@yandex.ru}, revision={\bbx@gost@version}, - date={\bbx@gost@date}} + date={\printdateTeX{\bbx@gost@date}}} % TOC,LOT layout @@ -63,7 +66,7 @@ bibstyle=gost-standard, \hypersetup{% pdftitle={\biblatexgost Package}, - pdfsubject={Bibliography according to Russian standards GOST 7.0.5-2008, 7.1-2003}, + pdfsubject={Bibliography according to Russian standard GOST 7.0.5-2008}, pdfauthor={Oleg Domanov}, pdfkeywords={tex, latex, biblatex, bibliography, references, citation, gost, russian}} @@ -93,10 +96,12 @@ bibstyle=gost-standard, %----- \usepackage{ellipsis}% must be loaded after hyperref !! \newcommand*{\bibsty}{\texttt} -\newcommand*{\gostbibname}[1][]{ГОСТ#1 7.1---2003} -\newcommand*{\gostcitename}[1][]{ГОСТ#1 7.0.5---2008} -\newcommand*{\gostbibref}[2][]{\gostbibname[#1], п.\,#2} -\newcommand*{\gostciteref}[2][]{\gostcitename[#1], п.\,#2} +\newcommand*{\gostbibname}[1][]{ГОСТ#1 7.1---2003\xspace} +\newcommand*{\gostcitename}[1][]{ГОСТ#1 7.0.5---2008\xspace} +\newcommand*{\gostheadname}[1][]{ГОСТ#1 7.80---2000\xspace} +\newcommand*{\gostbibref}[2][]{\gostbibname[#1], п.\,#2\xspace} +\newcommand*{\gostciteref}[2][]{\gostcitename[#1], п.\,#2\xspace} +\newcommand*{\gostheadref}[2][]{\gostheadname[#1], п.\,#2\xspace} \newcommand*{\notimpl}{\footnote{Не реализовано в данной версии \biblatexgost.}} \excludecomment{notimplc} % not implemented \renewcommand*{\apxref}{\refs{прил.}{прил.}} @@ -129,12 +134,16 @@ bibstyle=gost-standard, \label{sec:int} Пакет \biblatexgost{}\fnurl{http://sourceforge.net/projects/biblatexgost/} представляет -собой набор стилей для \biblatex{}\unspace\fnurl{http://www.ctan.org/tex-archive/macros/latex/contrib/biblatex/} -и предназначен для оформления библиографии в соответствии с требованиями ГОСТов 7.0.5---2008 и -7.1---2003 (а также 7.80---2000, 7.82---2001 и др.). Пакет будет полезен прежде всего в -гуманитарных дисциплинах с высокими требованиями к оформлению библиографии, многие из -которых \bibtex не в состоянии удовлетворить (это касается в первую очередь многоязычных -библиографий, а также библиографических ссылок в сносках, использования Ibid., Op. cit. и т.\,д.). + собой набор стилей для + \biblatex{}\unspace\fnurl{http://www.ctan.org/tex-archive/macros/latex/contrib/biblatex/} + и предназначен для оформления библиографических ссылок в соответствии с требованиями + ГОСТа 7.0.5---2008 + (а также 7.1---2003, 7.80---2000, 7.82---2001 и др., см. подробнее \secref{sec:whatfor}). +Пакет будет полезен прежде всего в + гуманитарных дисциплинах с высокими требованиями к оформлению библиографии, многие из + которых \bibtex не в состоянии удовлетворить (это касается в первую очередь многоязычных + библиографий, а также библиографических ссылок в сносках, использования Ibid., Op. cit. и + т.\,д.). \subsection{Лицензия} \label{sec:lic} @@ -163,7 +172,7 @@ maintained. Для работы \biblatexgost версии \makeatletter\bbx@gost@version\makeatother\ требуются, как минимум, -\biblatex~2.8\fnurl{http://sourceforge.net/projects/biblatex/files/biblatex-2.8/} +\biblatex~2.8a\fnurl{http://sourceforge.net/projects/biblatex/files/biblatex-2.8/} и \biber~1.8\fnurl{http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/1.8/}. %(текущие версии на CTAN). Пакет не будет работать с предыдущими версиями. @@ -176,67 +185,154 @@ maintained. модификации могут оказаться значительными. Более полный список изменений см. в \Apxref{apx:changelog}. -\subsubsection*{Версия 0.9.1} +\subsubsection*{Версия 0.9.2} \begin{trivlist} -\item Переход на \biblatex~2.8 и \biber~1.8 -\end{trivlist} - -\subsubsection*{Версия 0.9} - -\begin{trivlist} -\item Переход на \biblatex~2.7 и \biber~1.7 -\item Опция \opt{related} по умолчанию установлена в \opt{true}, так же как в \biblatex -\item Обработка поля \bibfield{related} приведена в соответствие с \biblatex, - в связи с чем изменилось оформление. -\item Опция \opt{labelyear} заменена на \opt{labeldate}, в связи с изменениями - в \biblatex. -%\item Исправлена ошибка несовместимости с \texttt{polyglossia}. +\item Добавлено поле \bibfield{journalcredits} +\item Удалена настройка языка цитат, поскольку эта функция поддерживается + в \biblatex, начиная с версии 2.8a (опция \opt{language}). \end{trivlist} -\subsubsection*{Версия 0.8} - -\begin{trivlist} -\item URL в \bibtype{online} теперь выводится всегда, независимо от опций \opt{url}, \opt{biburl}, - \opt{citeurl} -\end{trivlist} - -\subsubsection*{Версия 0.7.1} +\subsubsection*{Версия 0.9.1} \begin{trivlist} -\item Изменён вывод URL (в связи с изменениями в \biblatex~2.5) +\item Переход на \biblatex~2.8 и \biber~1.8 \end{trivlist} -\subsubsection*{Версия 0.7} - -\begin{trivlist} -\item Переход на \biblatex~2.4 и \biber~1.4. Пакет не будет работать с предыдущими - версиями -\item Существенно переписаны драйверы \bibtype{thesis} и \bibtype{patent} - для оформления диссертаций и патентов, см.~\secref{sec:dissers,sec:patent} -\item В \bibtype{article} отсутствие поля \bibfield{journaltitle} означает электронную - публикацию (не выводится информация об идентифицирующем документе: - сведения об ответственности, дата, том, номер и т.\,д.) -\item Изменён перевод некоторых строк в файле локализации: <<вступительная статья>> вместо - <<введение>>, почти все строки, связанные с полем \bibfield{related}, - оформлением диссертаций и патентов, а также строки, - связанные с конкатенацией сведений об ответственности при совпадении имён. -\item Обратите внимание на проблему, связанную с сортировкой кириллических - публикаций (см.~\secref{sec:issues}) -\item Внесены небольшие изменения в оформление записей типа \bibtype{booklet}, \bibtype{misc}, - \bibtype{online}, \bibtype{periodical}, \bibtype{unpublished} -\end{trivlist} +% \subsubsection*{Версия 0.9} +% +% \begin{trivlist} +% \item Переход на \biblatex~2.7 и \biber~1.7 +% \item Опция \opt{related} по умолчанию установлена в \opt{true}, так же как в \biblatex +% \item Обработка поля \bibfield{related} приведена в соответствие с \biblatex, +% в связи с чем изменилось оформление. +% \item Опция \opt{labelyear} заменена на \opt{labeldate}, в связи с изменениями +% в \biblatex. +% %\item Исправлена ошибка несовместимости с \texttt{polyglossia}. +% \end{trivlist} +% +% \subsubsection*{Версия 0.8} +% +% \begin{trivlist} +% \item URL в \bibtype{online} теперь выводится всегда, независимо от опций \opt{url}, \opt{biburl}, +% \opt{citeurl} +% \end{trivlist} +% +% \subsubsection*{Версия 0.7.1} +% +% \begin{trivlist} +% \item Изменён вывод URL (в связи с изменениями в \biblatex~2.5) +% \end{trivlist} +% +% \subsubsection*{Версия 0.7} +% +% \begin{trivlist} +% \item Переход на \biblatex~2.4 и \biber~1.4. Пакет не будет работать с предыдущими +% версиями +% \item Существенно переписаны драйверы \bibtype{thesis} и \bibtype{patent} +% для оформления диссертаций и патентов, см.~\secref{sec:dissers,sec:patent} +% \item В \bibtype{article} отсутствие поля \bibfield{journaltitle} означает электронную +% публикацию (не выводится информация об идентифицирующем документе: +% сведения об ответственности, дата, том, номер и т.\,д.) +% \item Изменён перевод некоторых строк в файле локализации: <<вступительная статья>> вместо +% <<введение>>, почти все строки, связанные с полем \bibfield{related}, +% оформлением диссертаций и патентов, а также строки, +% связанные с конкатенацией сведений об ответственности при совпадении имён. +% \item Обратите внимание на проблему, связанную с сортировкой кириллических +% публикаций (см.~\secref{sec:issues}) +% \item Внесены небольшие изменения в оформление записей типа \bibtype{booklet}, \bibtype{misc}, +% \bibtype{online}, \bibtype{periodical}, \bibtype{unpublished} +% \end{trivlist} +% +% \subsubsection*{Версия 0.6} +% +% \begin{trivlist} +% \item Переход на \biblatex~2.1 и \biber~1.1. В основном, это связано с переходом +% на \texttt{datamodel}. +% \item Поле \bibfield{material} (общее обозначение материала) переименовано в \bibfield{media}. +% \item По умолчанию установлено \kvopt{inbookibid}{false}. +% \item По умолчанию установлено \kvopt{firstinits}{true}. +% \item Изменён перевод на русский язык некоторых строк файла локализации. +% \end{trivlist} + +\section{Назначение пакета} +\label{sec:whatfor} + +Оформление библиографии регулируется тремя основными ГОСТами: + +\newlength{\templ}\settowidth{\templ}{\gostcitename~} +\begin{itemize}[labelwidth=\templ,leftmargin=!,align=left,noitemsep] + \item[\gostcitename] Библиографическая ссылка. + \item[\gostbibname] Библиографическая запись. Библиографическое описание. + \item[\gostheadname] Библиографическая запись. Заголовок. +\end{itemize} +Помимо них используются также стандарты на сокращения, оформление электронных ресурсов и т.\,д. +Библиографическим списком называется множество библиографических записей с простой структурой. +Если структура сложная, то это множество называется библиографическим указателем + (терминологию см. в ГОСТ 7.0---99). +Пакет \biblatexgost предназначен для оформления библиографических \emph{ссылок} по \gostcitename, + но не библиографических \emph{записей} по \gostbibname и \gostheadname. +ГОСТ на ссылки использует правила оформления элементов библиографического описания из + ГОСТов на записи, однако в целом их области применения различаются. +В частности, \gostbibname утверждает о себе самом: + +\begin{quotation} +Стандарт распространяется на описание документов, которое составляется библиотеками, + органами научно-технической информации, центрами государственной библиографии, издателями, + другими библиографирующими учреждениями. + +\emph{Стандарт не распространяется на библиографические ссылки}. +\end{quotation} +То же касается \gostheadname. + +Библиографический список или указатель легко спутать со списком ссылок, который можно + иногда найти в конце книги или статьи. +Согласно \gostcitename, ссылки могут быть внутри текста, в сноске на той же странице или + за текстом (в конце документа или его части). +В последнем случае список ссылок в конце текста \emph{не является библиографическим списком}. +ГОСТ говорит об этом вполне ясно: + +\begin{quotation} +Совокупность затекстовых библиографических ссылок не является библиографическим списком или + указателем, как правило, также помещаемыми после текста документа, и имеющим самостоятельное + значение в качестве библиографического пособия. +\end{quotation} +В частности, библиографический указатель может содержать не только цитированную, но и, например, + рекомендуемую литературу. +Хотя оформление ссылок во многом сходно с оформлением записей, имеются следующие отличия: +\begin{itemize} + \item Заголовок записи в ссылке может содержать имена одного, двух или трех авторов документа. + \emph{Имена авторов, указанные в заголовке, не повторяют в сведениях об ответственности} + (согласно \gostheadref{}{5.2}, в заголовке используется только одно имя, + а согласно \gostbibref{}{5.2.6.8}, + в сведениях об ответственности обязательно приводят все имена). + \item Заголовок обязательно применяется в ссылках, содержащих записи на документы созданные + одним, двумя и тремя авторами. + \item Допускается знак точку и тире, разделяющие области библиографического описания, заменять + точкой. + \item Допускается не использовать квадратные скобки для сведений, заимствованных не из + предписанного источника информации. + \item Сокращение отдельных слов и словосочетаний применяют для всех элементов библиографической + ссылки, за исключением основного заглавия документа + (при оформлении по \gostbibname не сокращаются никакие заглавия). + \item В области физических характеристики указывают либо общий объем документа, либо сведения о + местоположении объекта ссылки в документе (при оформлении по \gostbibname указывается + физическая форма объекта, его размеры, сопроводительные материалы и пр.). +\end{itemize} -\subsubsection*{Версия 0.6} +Кроме того, хотя об этом различии нигде специально не говорится, + в \gostheadname инициалы в заголовке отделяются от фамилии запятой с пробелом, а в + \gostcitename~--- только пробелом. +К сожалению, все эти различия не так уж малы. +Например, при использовании имени редактора в качестве заголовка записи оно должно употребляться + в именительном падеже, но при этом одновременно присутствовать в сведениях + об ответственности, где требуется родительный падеж (под. ред. \textellipsis). +В \latex это непросто реализовать. -\begin{trivlist} -\item Переход на \biblatex~2.1 и \biber~1.1. В основном, это связано с переходом - на \texttt{datamodel}. -\item Поле \bibfield{material} (общее обозначение материала) переименовано в \bibfield{media}. -\item По умолчанию установлено \kvopt{inbookibid}{false}. -\item По умолчанию установлено \kvopt{firstinits}{true}. -\item Изменён перевод на русский язык некоторых строк файла локализации. -\end{trivlist} +В итоге, данный пакет \emph{не предназначен} для оформления библиографических списков или + указателей + (об ограниченной поддержке этой функции см.~\secref{sec:gostbibliography}). +Он ориентируется на авторов текстов, а не на библиографирующие учреждения. \section{Стили \biblatexgost} \label{sec:styles} @@ -557,16 +653,19 @@ ISSN серии или подсерии & issn (isbn) \\ \fielditem{bookforeword}{name}\noitemspace% \fielditem{bookafterword}{name}\noitemspace% \fielditem{bookoriglanguage}{key}\noitemspace% -\listitem{bookcredits}{literal} +\listitem{bookcredits}{literal}\noitemspace% +\listitem{journalcredits}{literal} Аналогично \bibfield{bookauthor} и \bibfield{booktitle}, эти поля -содержать переводчика, автора комментариев и т.\,д. документа, в состав которого входит -данная публикация (ГОСТ называет его идентифицирующим документом). + содержать переводчика, автора комментариев и т.\,д. документа, в состав которого входит + данная публикация (ГОСТ называет его идентифицирующим документом). Эти поля определены для записей типа -\bibtype{inbook}, \bibtype{bookinbook}, \bibtype{suppbook}, \bibtype{incollection}, -\bibtype{suppcollection}, \bibtype{inproceedings} -и \bibtype{inreference}. При использовании ссылок \texttt{crossref} или \texttt{xref} -эти поля копируются из записи, на которую указывает ссылка. + \bibtype{inbook}, \bibtype{bookinbook}, \bibtype{suppbook}, \bibtype{incollection}, + \bibtype{suppcollection}, \bibtype{inproceedings} + и \bibtype{inreference} + (за исключением \bibfield{journalcredits}, которое определено для \bibtype{article}). +При использовании ссылок \texttt{crossref} или \texttt{xref} эти поля копируются из записи, + на которую указывает ссылка. Данные поля могут использоваться, например, при описании сборников переводов классических текстов, каждый из которых имеет собственного переводчика, комментатора, автора вступительной статьи @@ -647,7 +746,7 @@ ISSN серии или подсерии & issn (isbn) \\ Заголовок библиографической записи. -Согласно ГОСТу 7.80---2000 <<Библиографическая запись. Заголовок>>, +Согласно \gostheadname <<Библиографическая запись. Заголовок>>, заголовок состоит из основной части и идентифицирующих признаков. Первая может включать: <<имя лица, наименование организации, унифицированное заглавие, обозначение документа, географическое название и т.\,д.>>, @@ -1710,6 +1809,26 @@ gost-inline & false & true \\ \newcommand*{\mkbibhdnameaffix}[1]{\mkbibhdnamelast{#1}} \end{lstlisting} +\subsection{Библиографический список} +\label{sec:gostbibliography} + +Как сказано в \secref{sec:whatfor}, пакет не предназначен для оформления библиографических + списков и указателей. +Однако ограниченная (и экспериментальная) поддержка этой функции всё же реализована. +В пакете определяется окружение \texttt{gostbibliography}, которое можно использовать следующим + образом: +\begin{lstlisting}[style=latex] + \printbibliography[env=gostbibliography,sorting=ntvy] +\end{lstlisting} +Эта команда печатает библиографический список в соответствии с \gostbibname. +Он оформляется как простой алфавитный список без нумерации, + независимо от того, какой стиль используется в документе в целом. +В качестве заголовка записей применяется автор(ы), т.\,е. + невозможно использование опций \opt{useeditor} и \opt{usetranslator}. +Это связано с тем, что они требуют вывода имён редактора и переводчика одновременно + в двух разных падежах. +В остальном учтены различия, перечисленные в \secref{sec:whatfor}. + \section{Известные проблемы} \label{sec:issues} @@ -1836,7 +1955,7 @@ event+venue+date & & & & & & & + & & & & & & & & \tabularnewline \rl byauthor & + & + & + & + & + & & & & + & + & + & + & + & +{*} & +\tabularnewline organization & & & & & & & & & & + & + & & & & \tabularnewline institution & & & & & & & & & & & & + & & & \tabularnewline -credits & + & + & + & & + & + & + & + & + & + & + & + & + & & +\tabularnewline +credits & + & + & + & + & + & + & + & + & + & + & + & + & + & & +\tabularnewline byeditor & & & & & + & + & + & + & + & + & + & & & & \tabularnewline bytranslator+others & + & + & + & + & + & + & + & & & & + & & & & \tabularnewline \rl maintitle+volumes+parts+booktitle & + & + & + & & & & & & & & & & & & \tabularnewline @@ -1846,7 +1965,7 @@ book:credits & + & + & + & & & & & & & & & & & & \tabularnewline book:byeditor & + & + & + & & & & & & & & & & & & \tabularnewline book:bytranslator+others & + & + & + & & & & & & & & & & & & \tabularnewline journal & & & & + & & & & & & & & & & & \tabularnewline -credits & & & & + & & & & & & & & & & & \tabularnewline +jour:credits & & & & + & & & & & & & & & & & \tabularnewline byeditor & & & & + & & & & & & & & & & & \tabularnewline \rl edition & + & + & & & + & + & & & & + & & & & & \tabularnewline editioncredits & + & + & & & + & + & & & & + & & & & & \tabularnewline @@ -1885,6 +2004,14 @@ pageref & + & + & + & + & + & + & + & + & + & + & + & + & + & + & +\tabularnewli \begin{changelog} +\begin{release}{0.9.2}{30-11-2013} +\item Добавлено поле \bibfield{journalcredits}\see{sec:newfields} +\item Добавлено окружение \texttt{gostbibliography} для печати библиографических + списков и указателей\see{sec:gostbibliography} +\item Удалён патч для настройки языка цитат, поскольку эта функция поддерживается + в \biblatex, начиная с версии 2.8a. +\end{release} + \begin{release}{0.9.1}{4-11-2013} \item Переход на \biblatex~2.8 и \biber~1.8.\see{sec:install} \item Исправлены ошибки несовместимости с \biblatex~2.8. diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/ltxdockit.cfg b/Master/texmf-dist/doc/latex/biblatex-gost/ltxdockit.cfg index 8d582bdccd7..8f519bf6963 100644 --- a/Master/texmf-dist/doc/latex/biblatex-gost/ltxdockit.cfg +++ b/Master/texmf-dist/doc/latex/biblatex-gost/ltxdockit.cfg @@ -85,29 +85,4 @@ \providecommand*{\textln}[1]{#1} -% title page - -\renewrobustcmd*{\printtitlepage}{% - \begingroup - \centering\titlefont - \begingroup\LARGE - \ifundef\ltd@title@url - {\ltd@title@title} - {\href{\ltd@title@url}{\ltd@title@title}}% - \par - \endgroup - \vspace{0.25\baselineskip} - \begingroup\large - \ltd@title@subtitle\par - \endgroup - \vspace{0.25\baselineskip} - \begin{multicols}{2} - \raggedleft - \ltd@title@author\par - \expandafter\email\expandafter{\ltd@title@email}\par - \raggedright - v\ltd@title@revision\par\printdateTeX{\ltd@title@date} - \end{multicols} - \endgroup} - \endinput diff --git a/Master/texmf-dist/doc/latex/biblatex-gost/russian.idf b/Master/texmf-dist/doc/latex/biblatex-gost/russian.idf deleted file mode 100644 index ec21430643e..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex-gost/russian.idf +++ /dev/null @@ -1,136 +0,0 @@ -\ProvidesFile{russian.idf} - [2010/01/03 v2.30 Language definitions for isodate package (HH)] -\let\iso@languageloaded\active -\def\month@russian{\ifcase\month\or - \cyrya\cyrn\cyrv\cyra\cyrr\cyrya - \or \cyrf\cyre\cyrv\cyrr\cyra\cyrl\cyrya - \or \cyrm\cyra\cyrr\cyrt\cyra - \or \cyra\cyrp\cyrr\cyre\cyrl\cyrya - \or \cyrm\cyra\cyrya - \or \cyri\cyryu\cyrn\cyrya - \or \cyri\cyryu\cyrl\cyrya - \or \cyra\cyrv\cyrg\cyru\cyrs\cyrt\cyra - \or \cyrs\cyre\cyrn\cyrt\cyrya\cyrb\cyrr\cyrya - \or \cyro\cyrk\cyrt\cyrya\cyrb\cyrr\cyrya - \or \cyrn\cyro\cyrya\cyrb\cyrr\cyrya - \or \cyrd\cyre\cyrk\cyra\cyrb\cyrr\cyrya\fi} -\ifthenelse{\equal{\CurrentOption}{russian}}{% - \typeout{Define commands for Russian date format} - \def\day@russian{% - \ifiso@cleanlook - \day - \else - \ifcase\day\or - 1\or 2\or 3\or 4\or 5\or - 6\or 7\or 8\or 9\or 10\or - 11\or 12\or 13\or 14\or 15\or - 16\or 17\or 18\or 19\or 20\or - 21\or 22\or 23\or 24\or 25\or - 26\or 27\or 28\or 29\or 30\or - 31% - \fi - \fi - } - \def\iso@printmonthday@russian#1#2{% - \ifthenelse{\equal{\iso@dateformat}{iso}\OR - \equal{\iso@dateformat}{TeX}}{% - \iso@printmonthday@int{#1}{#2}% - }{% - \ifthenelse{\equal{\iso@dateformat}{numeric}\OR - \equal{\iso@dateformat}{short}}{% - \ifiso@doprintday - \iso@printday{#2}/% - \fi - \iso@printmonth{#1}% - }{% - \ifthenelse{\equal{\iso@dateformat}{orig}\OR - \equal{\iso@dateformat}{shortorig}}{% - \begingroup - \edef\lday{#2}\def\day{\lday}% - \edef\lmonth{#1}\def\month{\lmonth}% - \ifiso@doprintday - \day@russian\iso@monthsep\@empty - \fi - \month@russian - \endgroup - }{}% - }% - }% - } - \def\iso@printdate@russian#1#2#3{% - \ifthenelse{\equal{\iso@dateformat}{iso}\OR - \equal{\iso@dateformat}{TeX}}{% - \iso@printdate@int{#1}{#2}{#3}% - }{% - \iso@printmonthday@russian{\number#2}{\number#3}% - \ifiso@printyear - \ifthenelse{\equal{\iso@dateformat}{orig}\OR - \equal{\iso@dateformat}{shortorig}}{% - }{% - /% - }% - \ifthenelse{\equal{\iso@dateformat}{numeric}}{% - \iso@yearfour{\number#1}% - }{% - \ifthenelse{\equal{\iso@dateformat}{orig}}{% - \iso@yearsep\iso@yearfour{\number#1}% - }{% - \ifthenelse{\equal{\iso@dateformat}{shortorig}}{% - \iso@yearsep\iso@twodigitsign\iso@yeartwo{\number#1}% - }{% - \ifthenelse{\equal{\iso@dateformat}{short}}{% - \iso@yeartwo{\number#1}% - }{}% - }% - }% - }% - \fi - }% - } - \def\iso@daterussian{% - \def\today{\iso@printdate@russian{\year}{\month}{\day}}}% - \expandafter\def\csname iso@daterange@\CurrentOption\endcsname{% - \iso@daterange@russian}% - \def\iso@daterange@russian#1#2#3#4#5#6{% - \ifthenelse{\equal{\iso@dateformat}{iso}\OR - \equal{\iso@dateformat}{TeX}}{% - \iso@daterange@int{#1}{#2}{#3}{#4}{#5}{#6}% - }{% - \ifthenelse{\equal{\number#1}{\number#4}}{% - \ifthenelse{\equal{\number#2}{\number#5}}{% - \ifiso@doprintday - \ifthenelse{\equal{\iso@dateformat}{orig}\OR - \equal{\iso@dateformat}{shortorig}}{% - \begingroup - \edef\lday{#3}\def\day{\lday}% - \day@russian - \endgroup - }{% - \iso@printday{#3}% - }% - \else - \csname iso@printmonthday@\iso@languagename\endcsname{#2}{#3}% - \fi - }{% - \csname iso@printmonthday@\iso@languagename\endcsname{#2}{#3}% - }% - }{% - \csname iso@printdate@\iso@languagename\endcsname{#1}{#2}{#3}% - }% - \iso@rangesign - \csname iso@printdate@\iso@languagename\endcsname{#4}{#5}{#6}% - }% - } - \def\iso@languagename{russian}% -}{} -\expandafter\def\csname iso@rangesign@\CurrentOption\endcsname{~to~} -\AtBeginDocument{% - \ifx\undefined\iso@daterussian\else - \def\daterussian{\iso@daterussian}% - \def\datebritish{\iso@daterussian}% - \def\dateUKrussian{\iso@daterussian}% - \fi -} -\endinput -%% -%% End of file `russian.idf'. 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 a1c7ee06599..0e5454b8378 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx @@ -58,6 +58,10 @@ heading, } +\DeclareDatamodelEntryfields[article]{ + journalcredits, +} + \DeclareDatamodelEntryfields[book,collection,proceedings,reference]{ book, books,parts,issues, 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 e651a25392f..b9ca1541085 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] % these declarations should be here, not in lbx, to be initialized for all languages \NewBibliographyString{ @@ -518,7 +518,8 @@ \DeclareDataInheritance{*}{*}{% \noinherit{heading}} \DeclareDataInheritance{periodical}{article}{% - \noinherit{endyear}\noinherit{endmonth}\noinherit{endday}} + \noinherit{endyear}\noinherit{endmonth}\noinherit{endday} + \inherit{credits}{journalcredits}} \DeclareDataInheritance{mvbook,mvcollection,mvproceedings} {book,collection,inbook,incollection,inproceedings}{% \noinherit{endyear}\noinherit{endmonth}\noinherit{endday}} 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 3e04cfac4ff..1dcb2b1752a 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 719eb1ccdf8..f8c987ccbae 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{gost-alphabetic} 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 0fdf52c3b14..c7ef68b274b 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 a7a1009ceea..8f815081104 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{alphabetic} \ExecuteBibliographyOptions{labelalpha,autocite=inline} 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 91739b97393..ff5a1b38765 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 d69ee5bf3f4..3a6e2ee4d1e 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{gost-authoryear} 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 29c729a0a4d..8cc58548d2c 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 f2a0fbb145a..96a2e3d6e95 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \ExecuteBibliographyOptions{dashed=false,citetracker=constrict,loccittracker=constrict, singletitle=false,labeldate,labeltitleyear,uniquename=init, 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 24d5de5260a..5c734643f9f 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 a0c4d6bff67..1cbb193d381 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{gost-footnote} \renewbibmacro*{cite:clearfields}{% 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 b4089c919a5..379566ca96f 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 6d54829fcc9..429919074ee 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{gost-inline} 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 6661843ee4b..27f341217b1 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 27bbda7e0cb..927c258c738 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{gost-inline} \renewbibmacro*{cite:clearfields}{% 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 fc946545777..63fcc36a62b 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 974b465fa78..1b128ac612c 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \DeclareLabelname [inbook,incollection,inproceedings,inreference,suppbook,suppcollection,suppperiodical,bookinbook] 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 df43fa8aef7..08963a6901a 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 115dba2500e..96ef73b4461 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \RequireCitationStyle{gost-numeric} 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 eb3547a6429..d7257396a9d 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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 39378e27fa2..67882c1714a 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\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-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx index ded8d97005d..b018733c05e 100644 --- a/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-gost/gost-standard.bbx @@ -1,14 +1,14 @@ \ProvidesFile{gost-standard.bbx} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] -\def\bbx@gost@date{2013/11/04} -\def\bbx@gost@version{0.9.1} +\def\bbx@gost@date{2013/11/30} +\def\bbx@gost@version{0.9.2} -\@ifpackagelater{biblatex}{2013/10/18} +\@ifpackagelater{biblatex}{2013/11/25} {} {\PackageError{biblatex} {Outdated 'biblatex' package} - {This version of 'biblatex-gost' requires biblatex v2.8 or later.\MessageBreak + {This version of 'biblatex-gost' requires biblatex v2.8a or later.\MessageBreak You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak This is a fatal error. I'm aborting now.}% \endinput} @@ -41,6 +41,8 @@ \newtoggle{cbx:eprint} \newtoggle{bbx:related:bib} \newtoggle{bbx:related:cite} +\newtoggle{bbx:gostbibliography} +\togglefalse{bbx:gostbibliography} \protected\def\blx@imc@printupdate{\csuse{mkbibrangeshort}{up}} \protected\def\blx@imc@printpubldate{\csuse{mkbibrangeshort}{publ}} @@ -257,10 +259,16 @@ % format for author is defined separately, because \mkbibnamelast, etc. cannot be % used, since they affect all names, not only headings \DeclareNameFormat{author}{% - \iffirstinits - {\usebibmacro{authorname:last-first}{#1}{#4}{#5}{#7}} - {\usebibmacro{authorname:last-first}{#1}{#3}{#5}{#7}}% - \usebibmacro{name:andothers}} + \iftoggle{bbx:gostbibliography} + {\ifnumequal{\value{listcount}}{1} + {\iffirstinits + {\usebibmacro{authorname:last-first}{#1}{#4}{#5}{#7}} + {\usebibmacro{authorname:last-first}{#1}{#3}{#5}{#7}}} + {}} + {\iffirstinits + {\usebibmacro{authorname:last-first}{#1}{#4}{#5}{#7}} + {\usebibmacro{authorname:last-first}{#1}{#3}{#5}{#7}}% + \usebibmacro{name:andothers}}} \newcommand*{\mkgostheading}[1]{\mkbibemph{#1}}%\nocorr}} \DeclareFieldFormat{heading}{% \mkgostheading{#1}\addperiod\space} @@ -366,6 +374,8 @@ \setunit{\respdelim}% \usebibmacro{byauthor}% \setunit*{\resppunct}% + \usebibmacro{credits}% + \setunit*{\resppunct}% \usebibmacro{bytranslator+others}% \setunit{\space}% \iffieldundef{journaltitle} % no journaltitle means electronic publication @@ -385,7 +395,7 @@ \usebibmacro{chapter+pages}} {\usebibmacro{journal}% \setunit{\respdelim}% - \usebibmacro{credits}% + \usebibmacro{jour:credits}% \setunit*{\resppunct}% \usebibmacro{byeditor}% \newunit\newblock @@ -424,10 +434,8 @@ \setunit*{\labelnamepunct}% \usebibmacro{maintitle+volumes+parts+title}% \setunit{\respdelim}% - \ifuseauthor - {} - {\usebibmacro{byauthor}% - \setunit*{\resppunct}}% + \usebibmacro{byauthor}% + \setunit*{\resppunct}% \usebibmacro{credits}% \setunit*{\resppunct}% \usebibmacro{byeditor}% @@ -471,10 +479,8 @@ \setunit{\subtitlepunct}% \printfield{type}% \setunit{\respdelim}% - \ifuseauthor - {} - {\usebibmacro{byauthor}% - \setunit*{\resppunct}}% + \usebibmacro{byauthor}% + \setunit*{\resppunct}% \usebibmacro{credits}% \setunit*{\resppunct}% \usebibmacro{byeditor}% @@ -570,10 +576,8 @@ \usebibmacro{chapter+pages}} {\usebibmacro{maintitle+volumes+parts+booktitle}% \setunit{\respdelim}% - \ifnamesequal{author}{bookauthor} - {} - {\usebibmacro{book:byauthor}% - \setunit*{\resppunct}}% + \usebibmacro{book:byauthor}% + \setunit*{\resppunct}% \usebibmacro{book:credits}% \setunit*{\resppunct}% \usebibmacro{book:byeditor}% @@ -781,10 +785,8 @@ \setunit{\subtitlepunct}% \printfield{type}% \setunit{\respdelim}% - \ifuseauthor - {} - {\usebibmacro{byauthor}% - \setunit*{\resppunct}}% + \usebibmacro{byauthor}% + \setunit*{\resppunct}% \usebibmacro{credits}% \newunit\newblock \printfield{version}% @@ -814,10 +816,8 @@ \setunit*{\labelnamepunct}% \usebibmacro{title}% \setunit{\respdelim}% - \ifuseauthor - {} - {\usebibmacro{byauthor}% - \setunit*{\resppunct}}% + \usebibmacro{byauthor}% + \setunit*{\resppunct}% \printlist{organization}% \setunit*{\resppunct}% \usebibmacro{credits}% @@ -1318,7 +1318,10 @@ \ifboolexpr{ test {\ifnameundef{book#1}} or - not test {\ifnamesequal{#1}{book#1}} + ( not test {\ifnamesequal{#1}{book#1}} + or + togl {bbx:gostbibliography} + ) } {#2} {#3}} @@ -1627,6 +1630,11 @@ \mkbibdatelong{}{endmonth}{endday}}}% } +\newbibmacro*{jour:credits}{% + \printlist[semicolondelim]{journalcredits}% + \clearlist{journalcredits}% +} + % processing volumes, books, parts, issues in the specified order \def\blx@gost@volsinorder#1#2{% @@ -1801,7 +1809,10 @@ \renewbibmacro*{byauthor}{% \ifboolexpr{ - test \ifuseauthor + ( test \ifuseauthor + and + not togl {bbx:gostbibliography} + ) or test {\ifnameundef{author}} } @@ -1812,7 +1823,10 @@ \ifboolexpr{ test {\ifnameundef{bookauthor}} or - test {\ifnamesequal{author}{bookauthor}} + ( test {\ifnamesequal{author}{bookauthor}} + and + not togl {bbx:gostbibliography} + ) } {} {\printnames[byauthor]{bookauthor}}} @@ -1871,7 +1885,9 @@ \usebibmacro{bbx:savehash}}% \usebibmacro{#1}% \savename{editor}{\savedclearededitor}% - \clearname{editor}} + \iftoggle{bbx:gostbibliography} + {} + {\clearname{editor}}} {\global\undef\bbx@lasthash}} \renewbibmacro*{translator}{% @@ -1891,7 +1907,9 @@ \usebibmacro{bbx:savehash}}% \usebibmacro{#1}% \savename{translator}{\savedclearedtranslator}% - \clearname{translator}} + \iftoggle{bbx:gostbibliography} + {} + {\clearname{translator}}} {\global\undef\bbx@lasthash}} \newbibmacro*{bbx:dashcheck}[2]{% @@ -2078,22 +2096,18 @@ \DeclareAutoCiteCommand{footnote}{\smartcite}{\smartcites} \DeclareAutoCiteCommand{superscript}{\supercite}{\supercites} -% changing the language of citations - -\gpreto\blx@hook@citekey{% - \ifdef\abx@field@langid - {\ifdef\blx@thelangenv - {\edef\blx@temp@langenv{\noexpand\csname\blx@thelangenv\endcsname% - {\abx@field@langid}}% - \blx@temp@langenv} - {}}% - {}} -\apptocmd{\blx@citeprint}{% - \ifdef\abx@field@langid - {\ifdef\blx@thelangenv - {\csname end\blx@thelangenv\endcsname} - {}}% - {}% -}{}{\blx@err@patch{citeprint command}} - -\endinput +\defbibenvironment{gostbibliography} + {\list + {} + {\toggletrue{bbx:gostbibliography}% + \renewcommand*{\revsdnamepunct}{\addcomma}% + \renewcommand*{\labelnamepunct}{\addperiod\space}% + \setlength{\bibitemsep}{0pt}% + \setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + {\item} + +\endinput \ No newline at end of file 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 8d55c508757..667d42b51d5 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} -[2013/11/04\space v0.9.1\space biblatex-gost styles] +[2013/11/30\space v0.9.2\space biblatex-gost styles] \InheritBibliographyExtras{russian} -- cgit v1.2.3