diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/citeall/README | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/citeall/citeall.pdf | bin | 100548 -> 105654 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/citeall/citeall.tex | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/citeall/examples-citeall.bib | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/citeall/citeall.sty | 90 |
5 files changed, 63 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/latex/citeall/README b/Master/texmf-dist/doc/latex/citeall/README index ffdf025e21f..fd903e3026a 100644 --- a/Master/texmf-dist/doc/latex/citeall/README +++ b/Master/texmf-dist/doc/latex/citeall/README @@ -1,5 +1,6 @@ +$UFDate: 2015-04-28 13:28:57 +0200 -- Commit: 136a632 (HEAD, tag: v1.2, master, devel) -- master$ citeall --- A package to cite all entries of a bbl created with biblatex -Version 1.1 Ulrike Fischer 2015 +Version 1.2 Ulrike Fischer 2015 LICENSE LaTeX Project Public License diff --git a/Master/texmf-dist/doc/latex/citeall/citeall.pdf b/Master/texmf-dist/doc/latex/citeall/citeall.pdf Binary files differindex 35bcc008de4..852dde03901 100644 --- a/Master/texmf-dist/doc/latex/citeall/citeall.pdf +++ b/Master/texmf-dist/doc/latex/citeall/citeall.pdf diff --git a/Master/texmf-dist/doc/latex/citeall/citeall.tex b/Master/texmf-dist/doc/latex/citeall/citeall.tex index d550b1516a1..310cd6855e3 100644 --- a/Master/texmf-dist/doc/latex/citeall/citeall.tex +++ b/Master/texmf-dist/doc/latex/citeall/citeall.tex @@ -1,4 +1,5 @@ % !Mode:: "TeX:DE:UTF-8:Main" +% $UFDate: 2015-04-28 13:27:07 +0200 -- Commit: f04431e -- master$ \documentclass[DIV=12]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} @@ -16,13 +17,16 @@ \divide\topsep by 2\relax \divide\itemsep by 2\relax \divide\parsep by 2\relax} -\makeatother +\makeatother \addbibresource{examples-citeall.bib} -\title{The \pkg{citeall} package, v1.1} +\title{The \pkg{citeall} package, v1.2} \author{Ulrike Fischer\thanks{fischer@troubleshooting-tex.de}} \begin{document} \maketitle +\section{Changes} + +Version 1.2 adapts the package to biblatex 3.0 and correct some small bugs (e.g. unwanted spaces). \section{Important} \pkg{citeall} works only together with \pkg{biblatex}. \pkg{biblatex} should be loaded before \pkg{citeall}. @@ -92,6 +96,7 @@ For each entrykey in the .bbl \cs{citeall} will loop through this list and pass \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]+ +\Needspace{8\baselineskip} \section{Configuration} \DescribeMacro\citeallgroupseparator diff --git a/Master/texmf-dist/doc/latex/citeall/examples-citeall.bib b/Master/texmf-dist/doc/latex/citeall/examples-citeall.bib index 1f4eec3acec..eb9a6a4424a 100644 --- a/Master/texmf-dist/doc/latex/citeall/examples-citeall.bib +++ b/Master/texmf-dist/doc/latex/citeall/examples-citeall.bib @@ -23,3 +23,10 @@ TITLE = {The citeall package}, YEAR = {2015}, } + +@misc{fileproblem, + AUTHOR = {Unknown, Max}, + TITLE = {A curious file name}, + YEAR = {2015}, + URL = {{\"u}ber_gang.html} + } diff --git a/Master/texmf-dist/tex/latex/citeall/citeall.sty b/Master/texmf-dist/tex/latex/citeall/citeall.sty index e547b097b1e..fa949c920d5 100644 --- a/Master/texmf-dist/tex/latex/citeall/citeall.sty +++ b/Master/texmf-dist/tex/latex/citeall/citeall.sty @@ -5,11 +5,12 @@ %% www.troubleshooting-tex.de %% Released under the LaTeX Project Public License v1.3c or later %% See http://www.latex-project.org/lppl.txt +%% $UFDate: 2015-04-28 13:27:07 +0200 -- Commit: f04431e -- master$ %% --------------------------------------------------------------- \RequirePackage{expl3,xparse} -\ProvidesExplPackage {citeall} {2015/02/27} {1.1} +\ProvidesExplPackage {citeall} {2015/04/28} {1.2} {a package to test biblatex-cite commands} \@ifpackageloaded{biblatex}{}{% @@ -25,13 +26,13 @@ \DeclareBibliographyCategory{citeall} % commands to hold arguments and temporary values -\clist_new:N \l_UF_citecommands_clist -\tl_new:N \l_UF_temp_citefunction_tl -\tl_new:N \l_UF_temp_entrykey_tl -\int_new:N \l_UF_temp_listitem_int -\int_new:N \l_UF_temp_listlength_int -\int_new:N \l_UF_entrynum_int -\int_new:N \l_UF_cur_entrynum_int +\clist_new:N \l_UFca_citecommands_clist +\tl_new:N \l_UFca_temp_citefunction_tl +\tl_new:N \l_UFca_temp_entrykey_tl +\int_new:N \l_UFca_temp_listitem_int +\int_new:N \l_UFca_temp_listlength_int +\int_new:N \l_UFca_entrynum_int +\int_new:N \l_UFca_cur_entrynum_int % formatting commands \NewDocumentCommand\citeallgroupseparator{}{\par} @@ -40,47 +41,50 @@ \NewDocumentCommand\citealldefaultcite {}{\cite} %init suitable definitions for the fields in the bbl -\cs_new:Nn \_UF_init_bblfields: - {\newcommand\true [2][]{} - \newcommand\field[3][]{} - \newcommand\name [5][]{} - \newcommand\strng[2]{}% - \renewenvironment{refsection}[1]{}{} - \newenvironment{sortlist}[2]{}{} - \renewcommand\verb{\@ifnextchar\bgroup{\@gobble}{\my@verb}} - \def\my@verb##1\endverb{} - \renewcommand\list[4][]{} - \newcommand\inset[1]{} - \newcommand\keyw[1]{} - \newcommand\set[1]{} - \newcommand\warn[1]{} +\cs_new:Nn \_UFca_init_bblfields: + {\newcommand\true [2][]{\ignorespaces} + \newcommand\field[3][]{\ignorespaces} + \newcommand\name [5][]{\ignorespaces} + \newcommand\strng[2]{\ignorespaces}% + \renewenvironment{refsection}[1]{}{\ignorespaces} + \newenvironment{sortlist}[2]{}{\ignorespaces} + %\renewcommand\verb{\@ifnextchar\bgroup{\@gobble}{\my@verb}} + \def\verb##1\endverb{\ignorespaces} + \renewcommand\list[4][]{\ignorespaces} + \newcommand\inset[1]{\ignorespaces} + \newcommand\keyw[1]{\ignorespaces} + \newcommand\set[1]{\ignorespaces} + \newcommand\warn[1]{\ignorespaces} + \renewcommand\inset[1]{\addtocategory{citeall}{##1}\ignorespaces} + \newcommand\range[2]{\ignorespaces} %for biblatex-dev } + % init the entry environment %#1=number of entries to process, if 0: process all -\cs_new:Nn \_UF_init_bblentryenv:n - {\int_set:Nn \l_UF_entrynum_int {#1} - \int_zero:N \l_UF_cur_entrynum_int +\cs_new:Nn \_UFca_init_bblentryenv:n + {\int_set:Nn \l_UFca_entrynum_int {#1} + \int_zero:N \l_UFca_cur_entrynum_int \NewDocumentEnvironment{entry} {m m m} - {\int_incr:N \l_UF_cur_entrynum_int - \tl_set:Nn \l_UF_temp_entrykey_tl {##1} - \int_zero:N \l_UF_temp_listitem_int - \int_set:Nn \l_UF_temp_listlength_int - {\clist_count:N\l_UF_citecommands_clist} + {\int_incr:N \l_UFca_cur_entrynum_int + \tl_set:Nn \l_UFca_temp_entrykey_tl {##1} + \int_zero:N \l_UFca_temp_listitem_int + \int_set:Nn \l_UFca_temp_listlength_int + {\clist_count:N\l_UFca_citecommands_clist} \bool_if:nT { - \int_compare_p:n { \l_UF_entrynum_int = 0 } + \int_compare_p:n { \l_UFca_entrynum_int = 0 } || - \int_compare_p:n { \l_UF_cur_entrynum_int <= \l_UF_entrynum_int} + \int_compare_p:n { \l_UFca_cur_entrynum_int <= \l_UFca_entrynum_int} } {\addtocategory{citeall}{##1} - \clist_map_inline:Nn \l_UF_citecommands_clist + \clist_map_variable:NNn \l_UFca_citecommands_clist \l_UFca_temp_citefunction_tl { - \int_incr:N \l_UF_temp_listitem_int - \tl_set:Nn \l_UF_temp_citefunction_tl {####1} - \l_UF_temp_citefunction_tl {\l_UF_temp_entrykey_tl} + \int_incr:N \l_UFca_temp_listitem_int + %\tl_set:Nn \l_UFca_temp_citefunction_tl {####1} + \l_UFca_temp_citefunction_tl {\l_UFca_temp_entrykey_tl} \int_compare:nNnTF - {\l_UF_temp_listitem_int}<{\l_UF_temp_listlength_int} + {\l_UFca_temp_listitem_int}<{\l_UFca_temp_listlength_int} {\citeallseparator}{\citeallfinentry} } \citeallgroupseparator @@ -94,16 +98,16 @@ \NewDocumentCommand\citeall { O{\citealldefaultcite} o} {\nocite{*} %cite all entries - \clist_set:Nn\l_UF_citecommands_clist{#1} - \clist_if_empty:NT\l_UF_citecommands_clist + \clist_set:Nn\l_UFca_citecommands_clist{#1} + \clist_if_empty:NT\l_UFca_citecommands_clist { - \clist_put_right:Nn\l_UF_citecommands_clist{\citealldefaultcite} + \clist_put_right:Nn\l_UFca_citecommands_clist{\citealldefaultcite} } \group_begin: \IfNoValueTF{#2} - {\_UF_init_bblentryenv:n{0}} - {\_UF_init_bblentryenv:n{#2}} - \_UF_init_bblfields: + {\_UFca_init_bblentryenv:n{0}} + {\_UFca_init_bblentryenv:n{#2}} + \_UFca_init_bblfields: \file_if_exist:nT {\jobname.bbl} {\file_input:n{\jobname.bbl}}% |