summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-02-28 22:53:20 +0000
committerKarl Berry <karl@freefriends.org>2015-02-28 22:53:20 +0000
commit3d61491bee61a97118676773211cfead38f2b17d (patch)
tree0e929ac5c90e9498f3d2ea388e546d5e5fb573bd /Master/texmf-dist
parentbede9246c636bdbafd40bf8b3469912d81050d37 (diff)
citeall (28feb15)
git-svn-id: svn://tug.org/texlive/trunk@36405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/citeall/README11
-rw-r--r--Master/texmf-dist/doc/latex/citeall/citeall.pdfbin108508 -> 100548 bytes
-rw-r--r--Master/texmf-dist/doc/latex/citeall/citeall.tex33
-rw-r--r--Master/texmf-dist/tex/latex/citeall/citeall.sty7
4 files changed, 34 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/citeall/README b/Master/texmf-dist/doc/latex/citeall/README
index 3c69cb2a7c2..ffdf025e21f 100644
--- a/Master/texmf-dist/doc/latex/citeall/README
+++ b/Master/texmf-dist/doc/latex/citeall/README
@@ -1,18 +1,19 @@
citeall --- A package to cite all entries of a bbl created with biblatex
-Version 1.0 Ulrike Fischer 2015
+Version 1.1 Ulrike Fischer 2015
LICENSE
LaTeX Project Public License
-CONTENTS
+CONTENTS
- Readme (this file)
- citeall.sty (the sty)
- citeall.tex, citeall.pdf (the docu)
-- examples-citeall.bib (and example bib-file used by the documentation
+- examples-citeall.bib (and example bib-file used by the documentation)
INSTALLATION
-Put the sty where it can be found.
+Put the sty where it can be found.
+
If you want to compile the documentation:
-put the bib-file where it can be found. \ No newline at end of file
+put the bib-file where it can be found. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/citeall/citeall.pdf b/Master/texmf-dist/doc/latex/citeall/citeall.pdf
index 5ef6f7c9019..35bcc008de4 100644
--- a/Master/texmf-dist/doc/latex/citeall/citeall.pdf
+++ b/Master/texmf-dist/doc/latex/citeall/citeall.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/citeall/citeall.tex b/Master/texmf-dist/doc/latex/citeall/citeall.tex
index 40ad48b7c07..d550b1516a1 100644
--- a/Master/texmf-dist/doc/latex/citeall/citeall.tex
+++ b/Master/texmf-dist/doc/latex/citeall/citeall.tex
@@ -1,14 +1,25 @@
% !Mode:: "TeX:DE:UTF-8:Main"
-\documentclass[]{scrartcl}
+\documentclass[DIV=12]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
+\usepackage[english]{babel}
+\usepackage[autostyle]{csquotes}
+\usepackage{microtype}
\usepackage[style=authoryear-ibid,hyperref=false]{biblatex}
\usepackage{citeall}
\usepackage{fourier}
\usepackage{ydoc-desc,tabularx}
+\usepackage{enumitem,needspace}
+\makeatletter
+\enitkv@key{enumitem}{compactsep}[true]{%
+ \divide\partopsep by 2\relax
+ \divide\topsep by 2\relax
+ \divide\itemsep by 2\relax
+ \divide\parsep by 2\relax}
+\makeatother
\addbibresource{examples-citeall.bib}
-\title{The \pkg{citeall} package, v1.0}
-\author{Ulrike Fischer}
+\title{The \pkg{citeall} package, v1.1}
+\author{Ulrike Fischer\thanks{fischer@troubleshooting-tex.de}}
\begin{document}
\maketitle
@@ -33,11 +44,11 @@ The main command of the package is called like the package and has two optional
The second optional argument sets the number of entries of the .bib (more precisely the .bbl-file) printed by \cs{citeall}. By default everything is cited.
-The first optional argument is a comma separated list.
+The first optional argument is a comma separated list.
For each entrykey in the .bbl \cs{citeall} will loop through this list and pass to each item the entrykey as last argument. By default this list consist simply of a \cs{cite} command. The items don't need to be cite commands. As the examples show you can add text and other commands.
-\begin{itemize}
-\item The last command should be something that can handle the entry key argument.
+\begin{itemize}[compactsep]
+\item The last command should be something that can handle the entry key argument.
\item If there are brackets e.g. from optional argument of a \cs{cite} you should protect them with braces.
\item If there are commas you should protect them with braces.
\item If you want to insert a paragraph break, use \cs{endgraf}
@@ -51,7 +62,7 @@ For each entrykey in the .bbl \cs{citeall} will loop through this list and pass
\verb+\citeall[][1]+ \begin{tabular}[t]{p{0.3\textwidth}}
\citeall[][1]
\end{tabular}
-
+
\noindent
\verb+\citeall[\fullcite]+\begin{tabular}[t]{p{0.7\textwidth}}
@@ -78,13 +89,17 @@ For each entrykey in the .bbl \cs{citeall} will loop through this list and pass
\citeall[{\cite[15]},\endgraf \cite]
\end{tabular}
+\section{Printing the bibliography}
+\cs{citeall} internally issues a \verb+\nocite{*}+, so \cs{printbibliography} will print all entries of the bib-file. Since version 1.1 \cs{citeall} adds all entries it cites to a category \enquote{citeall}. So if you restrict the number of citation with the second optional argument, you can also restrict the length of the bibliography with \verb+\printbibliography[category=citeall]+
+
\section{Configuration}
\DescribeMacro\citeallgroupseparator
\DescribeMacro\citeallseparator
-\DescribeMacro\citeallfinentry
+\DescribeMacro\citeallfinentry
\DescribeMacro\citealldefaultcite
-By default the item of an entry are separated by a comma and a space. This can be changed by redefining \cs{citeallseparator}. The last item is finished by \cs{citeallfinentry} (default nothing). The entries are separated by a \cs{par}, this can be changed by redefining \cs{citeallgroupseparator}.
+By default the item of an entry are separated by a comma and a space. This can be changed by redefining \cs{citeallseparator}. The last item is finished by \cs{citeallfinentry} (default nothing). The entries are separated by a \cs{par}, this can be changed by redefining \cs{citeallgroupseparator}.
+The default cite command used by \cs{citeall} is (\cs{cite}). This can be changed by redefining \cs{citealldefaultcite}.
\end{document}
diff --git a/Master/texmf-dist/tex/latex/citeall/citeall.sty b/Master/texmf-dist/tex/latex/citeall/citeall.sty
index d1c88423f7f..e547b097b1e 100644
--- a/Master/texmf-dist/tex/latex/citeall/citeall.sty
+++ b/Master/texmf-dist/tex/latex/citeall/citeall.sty
@@ -9,7 +9,7 @@
\RequirePackage{expl3,xparse}
-\ProvidesExplPackage {citeall} {2015/02/10} {1.0}
+\ProvidesExplPackage {citeall} {2015/02/27} {1.1}
{a package to test biblatex-cite commands}
\@ifpackageloaded{biblatex}{}{%
@@ -22,7 +22,7 @@
\NewDocumentCommand\citeall { O{} } {}
\tex_endinput:D}
-
+\DeclareBibliographyCategory{citeall}
% commands to hold arguments and temporary values
\clist_new:N \l_UF_citecommands_clist
@@ -53,6 +53,7 @@
\newcommand\inset[1]{}
\newcommand\keyw[1]{}
\newcommand\set[1]{}
+ \newcommand\warn[1]{}
}
% init the entry environment
@@ -72,7 +73,7 @@
||
\int_compare_p:n { \l_UF_cur_entrynum_int <= \l_UF_entrynum_int}
}
- {
+ {\addtocategory{citeall}{##1}
\clist_map_inline:Nn \l_UF_citecommands_clist
{
\int_incr:N \l_UF_temp_listitem_int