diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-14 23:22:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-14 23:22:27 +0000 |
commit | d548766ecfd76daa886ae9698415f0145e2ff63d (patch) | |
tree | ba48e85ffebc37e3f658bb641249fb8d09fc384d /Master/texmf-dist/source | |
parent | 2362e8022f74eec7134aec013420424799122a48 (diff) |
usebib 1.0a (13apr12)
git-svn-id: svn://tug.org/texlive/trunk@25969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/usebib/usebib.dtx | 27 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/usebib/usebib.ins | 2 |
2 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/usebib/usebib.dtx b/Master/texmf-dist/source/latex/usebib/usebib.dtx index 6d32d5d41c6..4909210f1f6 100644 --- a/Master/texmf-dist/source/latex/usebib/usebib.dtx +++ b/Master/texmf-dist/source/latex/usebib/usebib.dtx @@ -30,7 +30,7 @@ %<package>\NeedsTeXFormat{LaTeX2e}[2008/04/05] %<package>\ProvidesPackage{usebib} %<*package> - [2012/03/17 v1.0 Reusing bib files] + [2012/04/13 v1.0a Reusing bib files] %</package> % %<*driver> @@ -66,6 +66,7 @@ % Right brace \} Tilde \~} % % +% \changes{v1.0a}{2012/04/13}{Corrected macro names in the doc} % \changes{v1.0}{2012/03/17}{Initial version} % % \GetFileInfo{usebib.dtx} @@ -123,7 +124,7 @@ %\begin{verbatim} % \newbibfield{annotation} %\end{verbatim} -% and say in the document |\usebibdata{xyz}{annotation}|. It's also +% and say in the document |\usebibentry{xyz}{annotation}|. It's also % possible to say |\newbibfield{author}|, but as author names are % input in a very peculiar way, the result would be at least % questionable in the vast majority of cases. This command should @@ -140,11 +141,11 @@ % % \subsection{Document commands} % -% \DescribeMacro{\usebibdata} -% The main document command is |\usebibdata| which requires two +% \DescribeMacro{\usebibentry} +% The main document command is |\usebibentry| which requires two % arguments, the bibliography key and the field name: % \begin{flushleft} -% |\usebibdata{|\meta{key}|}{|\meta{field}|}| +% |\usebibentry{|\meta{key}|}{|\meta{field}|}| % \end{flushleft} % The \meta{key} is what's used in the argument to |\cite| (or % variations thereof) and \meta{field} can be |title|, |year|, |note| @@ -152,8 +153,8 @@ % fields. So, in order to get in the document the referenced item's % title one can say %\begin{verbatim} -% In the book ``\usebibdata{newton1687}{title}''~\cite{newton1687}, -% published in~\usebibdata{newton1687}{year}, Newton +% In the book ``\usebibentry{newton1687}{title}''~\cite{newton1687}, +% published in~\usebibentry{newton1687}{year}, Newton % describes the Law of Universal Gravitation %\end{verbatim} % to get the text @@ -174,17 +175,17 @@ % } %\end{verbatim} % Unknown keys and missing values trigger errors: so -% |\usebibdata{newton1687}{isbn}| would result in the error +% |\usebibentry{newton1687}{isbn}| would result in the error %\begin{verbatim} % Undefined key `newton1687' or empty value for `isbn' %\end{verbatim} % Unsupported fields will be ignored and print nothing. % -% \DescribeMacro{\usebibdataurl} +% \DescribeMacro{\usebibentryurl} % If the |.bib| entry has a |url| field, its value can be obtained % with % \begin{flushleft} -% |\usebibdataurl{|\meta{key}|}| +% |\usebibentryurl{|\meta{key}|}| % \end{flushleft} % \begin{trivlist}\footnotesize\item % When \textsf{hyperref} is not loaded, this is equivalent to calling @@ -192,7 +193,7 @@ % character \verb+|+, this call will produce wrong results and % one can specify a different delimiter % \begin{flushleft} -% |\usebibdata[!]{|\meta{key}|}| +% |\usebibentry[!]{|\meta{key}|}| % \end{flushleft} % where, of course, the optional argument is a character not appearing % in the URL. This optional argument is not needed when @@ -228,8 +229,8 @@ % Note also that all the bibliographic data are loaded in memory, so % large |.bib| files could exceed \TeX{} capacity. % -% Don't ever try typing |\usebibdata{foo}{url}|: you've been -% warned. There's |\usebibdataurl{foo}| for this. +% Don't ever try typing |\usebibentry{foo}{url}|: you've been +% warned. There's |\usebibentryurl{foo}| for this. % % Finally, the package requires $\varepsilon$-\TeX, which shouldn't be % a problem, nowadays. diff --git a/Master/texmf-dist/source/latex/usebib/usebib.ins b/Master/texmf-dist/source/latex/usebib/usebib.ins index ca0b53f03fc..03e742074a2 100644 --- a/Master/texmf-dist/source/latex/usebib/usebib.ins +++ b/Master/texmf-dist/source/latex/usebib/usebib.ins @@ -1,4 +1,4 @@ -% Copyright (C) 2011 by Enrico Gregorio +% Copyright (C) 2012 by Enrico Gregorio % <Enrico dot Gregorio at univr dot it> % ------------------------------------------------------- % |