summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-05 22:21:04 +0000
committerKarl Berry <karl@freefriends.org>2022-04-05 22:21:04 +0000
commit481cfd9f9274914c4eca89c43335cf3ecc6c3cbd (patch)
tree911fdf5f9d3da160514f48e3e32f6bad4b1390b0
parent4c6781299b7ccd2769b41e5fcbb75c8f451e1061 (diff)
checkcites (22mar22)
git-svn-id: svn://tug.org/texlive/trunk@62954 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/checkcites/checkcites.lua27
-rw-r--r--Master/texmf-dist/doc/support/checkcites/README13
-rw-r--r--Master/texmf-dist/doc/support/checkcites/checkcites-doc.pdfbin288397 -> 290255 bytes
-rw-r--r--Master/texmf-dist/doc/support/checkcites/checkcites-doc.tex33
-rwxr-xr-xMaster/texmf-dist/scripts/checkcites/checkcites.lua27
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
6 files changed, 54 insertions, 47 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/checkcites/checkcites.lua b/Build/source/texk/texlive/linked_scripts/checkcites/checkcites.lua
index 6191ca284ab..1ab7b9fa6d0 100755
--- a/Build/source/texk/texlive/linked_scripts/checkcites/checkcites.lua
+++ b/Build/source/texk/texlive/linked_scripts/checkcites/checkcites.lua
@@ -1,7 +1,8 @@
#!/usr/bin/env texlua
-- -----------------------------------------------------------------
-- checkcites.lua
--- Copyright 2012, 2019, Enrico Gregorio, Paulo Roberto Massa Cereda
+-- Copyright 2012, 2019, Enrico Gregorio, Paulo Cereda
+-- Copyright 2022, Enrico Gregorio, Island of TeX
--
-- This work may be distributed and/or modified under the conditions
-- of the LaTeX Project Public License, either version 1.3 of this
@@ -14,11 +15,11 @@
-- and version 1.3 or later is part of all distributions of LaTeX
-- version 2005/12/01 or later.
--
--- This work has the LPPL maintenance status `maintained'. the
--- current maintainers of this work are the original authors. This
+-- This work has the LPPL maintenance status `maintained'. The
+-- current maintainers of this work are the Island of TeX. This
-- work consists of the file checkcites.lua.
--
--- Project repository: http://github.com/cereda/checkcites
+-- Project repository: https://gitlab.com/islandoftex/checkcites
-- -----------------------------------------------------------------
-- Checks if the table contains the element.
@@ -387,7 +388,7 @@ backends.biber = function(lines, _)
end
else
hit = string.match(line, '^%s*<bcf:datasource type="file" ' ..
- 'datatype="%w+">(.+)</bcf:datasource>$')
+ 'datatype="%w+" glob="false">(.+)</bcf:datasource>$')
if hit then
parts = split(hit, '[^,%s]+')
for _, v in ipairs(parts) do
@@ -485,10 +486,9 @@ print("| _| | -_| _| '_| _| | _| -_|_ -|")
print("|___|_|_|___|___|_,_|___|_|_| |___|___|")
print()
print(wrap('checkcites.lua -- a reference ' ..
- 'checker script (v2.4)', 74))
- print(wrap('Copyright (c) 2012, 2019, ' ..
- 'Enrico Gregorio, Paulo ' ..
- 'Roberto Massa Cereda', 74))
+ 'checker script (v2.5)', 74))
+ print(wrap('Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda', 74))
+ print(wrap('Copyright (c) 2022, Enrico Gregorio, Island of TeX', 74))
end
-- Operation namespace
@@ -670,8 +670,8 @@ local function checkcites(args)
if keys['version'] or keys['help'] then
if keys['version'] then
print()
- print(wrap('checkcites.lua, version 2.4 (dated September ' ..
- '3, 2019)', 74))
+ print(wrap('checkcites.lua, version 2.5 (dated March ' ..
+ '22, 2022)', 74))
print(pad('-', 74))
print(wrap('You can find more details about this ' ..
@@ -679,13 +679,12 @@ local function checkcites(args)
'in the official source code repository:', 74))
print()
- print('https://github.com/cereda/checkcites')
+ print('https://gitlab.com/islandoftex/checkcites')
print()
print(wrap('The checkcites.lua script is licensed ' ..
'under the LaTeX Project Public License, ' ..
- 'version 1.3. The current maintainers ' ..
- 'are the original authors.', 74))
+ 'version 1.3.', 74))
else
print()
print(wrap('Usage: ' .. args[0] .. ' [ [ --all | --unused | ' ..
diff --git a/Master/texmf-dist/doc/support/checkcites/README b/Master/texmf-dist/doc/support/checkcites/README
index c673a232006..2b52dc0bbde 100644
--- a/Master/texmf-dist/doc/support/checkcites/README
+++ b/Master/texmf-dist/doc/support/checkcites/README
@@ -1,13 +1,14 @@
-checkcites.lua -- Version 2.4 from September 3, 2019.
-=====================================================
+checkcites.lua -- Version 2.5 from March 22, 2022
+=================================================
License
-------
-Copyright (c) 2012, 2019 Enrico Gregorio, Paulo Roberto Massa Cereda
+Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda
+Copyright (c) 2022, Enrico Gregorio, Island of TeX
- Enrico dot Gregorio at univr dot it
-- cereda at users dot sf dot net
+- https://gitlab.com/islandoftex
This script is licensed under the LaTeX Project Public License.
If you want to support LaTeX development by a donation, the best
@@ -92,6 +93,8 @@ time checkcites also looks for bibliography data, in the form of
extract the bibliography data and add them to a table. Again, no duplicate
values are allowed. Stick with this backend if you are using BibLaTeX with
the default options or with the 'backend=biber' option explicitly set.
+It is important to note, however, that the 'glob=true' option is not
+supported yet.
Open a terminal and run checkcites:
@@ -146,4 +149,4 @@ That is it, folks!
Official code repository
------------------------
-http://github.com/cereda/checkcites
+http://gitlab.com/islandoftex/checkcites
diff --git a/Master/texmf-dist/doc/support/checkcites/checkcites-doc.pdf b/Master/texmf-dist/doc/support/checkcites/checkcites-doc.pdf
index 3fac0e83099..4265f238220 100644
--- a/Master/texmf-dist/doc/support/checkcites/checkcites-doc.pdf
+++ b/Master/texmf-dist/doc/support/checkcites/checkcites-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/checkcites/checkcites-doc.tex b/Master/texmf-dist/doc/support/checkcites/checkcites-doc.tex
index 5de54fbd997..a0a976d6b05 100644
--- a/Master/texmf-dist/doc/support/checkcites/checkcites-doc.tex
+++ b/Master/texmf-dist/doc/support/checkcites/checkcites-doc.tex
@@ -15,12 +15,12 @@
\usepackage[svgnames]{xcolor}
\usepackage[colorlinks, linkcolor={blue}, urlcolor={blue}]{hyperref}
-\usepackage{tcolorbox}
+\usepackage[breakable]{tcolorbox}
\tcbuselibrary{listings}
\newcommand{\checkcites}{\texttt{checkcites}}
\newcommand{\email}[1]{\small\texttt{#1}}
-\newcommand{\version}{Version 2.4 from September 3, 2019.}
+\newcommand{\version}{Version 2.5 from March 22, 2022.}
\newenvironment{infoblock}[1]
{\par\addvspace{\medskipamount}
@@ -34,8 +34,8 @@
\title{The \checkcites\footnote{\version}\ \ script}
\author{%
- Enrico Gregorio\\\email{Enrico dot Gregorio at univr dot it}\\[3ex]
- Paulo Roberto Massa Cereda\\\email{cereda at users dot sf dot net}%
+ Enrico Gregorio\\\email{Enrico.Gregorio@univr.it}\\[3ex]
+ Island of \TeX\\\email{https://gitlab.com/islandoftex}%
}
\date{}
@@ -103,7 +103,8 @@ citation table contains no duplicate values. At the same time
script will extract the bibliography data and add them to a table.
Again, no duplicate values are allowed. Stick with this backend if
you are using Bib\LaTeX\ with the default options or with the
-\verb|backend=biber| option explicitly set.
+\verb|backend=biber| option explicitly set. It is important to note,
+however, that the \verb|glob=true| option is not supported yet.
\end{description}
\begin{infoblock}{Attention!}
@@ -150,7 +151,7 @@ sample bibliography file \verb|example.bib|, with five fictional
entries.
\begin{tcblisting}{colframe=DarkTurquoise,coltitle=black,listing only,
- title=Bibliography file, fonttitle=\bfseries,
+ title=Bibliography file, fonttitle=\bfseries, breakable,
listing options={columns=fullflexible,basicstyle=\ttfamily}}
@BOOK{foo:2012a,
title = {My Title One},
@@ -227,8 +228,9 @@ $ checkcites
| _| | -_| _| '_| _| | _| -_|_ -|
|___|_|_|___|___|_,_|___|_|_| |___|___|
-checkcites.lua -- a reference checker script (v2.4)
-Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Roberto Massa Cereda
+checkcites.lua -- a reference checker script (v2.5)
+Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda
+Copyright (c) 2022, Enrico Gregorio, Island of TeX
--------------------------------------------------------------------------
I am sorry, but you have not provided any command line argument, including
@@ -263,8 +265,9 @@ $ checkcites --help
| _| | -_| _| '_| _| | _| -_|_ -|
|___|_|_|___|___|_,_|___|_|_| |___|___|
-checkcites.lua -- a reference checker script (v2.1)
-Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Roberto Massa Cereda
+checkcites.lua -- a reference checker script (v2.5)
+Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda
+Copyright (c) 2022, Enrico Gregorio, Island of TeX
Usage: checkcites.lua [ [ --all | --unused | --undefined ] [ --backend
<arg> ] <file> [ <file 2> ... <file n> ] | --help | --version ]
@@ -324,8 +327,9 @@ $ checkcites document.aux
| _| | -_| _| '_| _| | _| -_|_ -|
|___|_|_|___|___|_,_|___|_|_| |___|___|
-checkcites.lua -- a reference checker script (v2.4)
-Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Roberto Massa Cereda
+checkcites.lua -- a reference checker script (v2.5)
+Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda
+Copyright (c) 2022, Enrico Gregorio, Island of TeX
Great, I found 4 citations in 1 file. I also found 1 bibliography file. Let
me check this file and extract the references. Please wait a moment.
@@ -465,8 +469,9 @@ $ checkcites --backend biber document.bcf
| _| | -_| _| '_| _| | _| -_|_ -|
|___|_|_|___|___|_,_|___|_|_| |___|___|
-checkcites.lua -- a reference checker script (v2.4)
-Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Roberto Massa Cereda
+checkcites.lua -- a reference checker script (v2.5)
+Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda
+Copyright (c) 2022, Enrico Gregorio, Island of TeX
Great, I found 4 citations in 1 file. I also found 1 bibliography file. Let
me check this file and extract the references. Please wait a moment.
diff --git a/Master/texmf-dist/scripts/checkcites/checkcites.lua b/Master/texmf-dist/scripts/checkcites/checkcites.lua
index 6191ca284ab..1ab7b9fa6d0 100755
--- a/Master/texmf-dist/scripts/checkcites/checkcites.lua
+++ b/Master/texmf-dist/scripts/checkcites/checkcites.lua
@@ -1,7 +1,8 @@
#!/usr/bin/env texlua
-- -----------------------------------------------------------------
-- checkcites.lua
--- Copyright 2012, 2019, Enrico Gregorio, Paulo Roberto Massa Cereda
+-- Copyright 2012, 2019, Enrico Gregorio, Paulo Cereda
+-- Copyright 2022, Enrico Gregorio, Island of TeX
--
-- This work may be distributed and/or modified under the conditions
-- of the LaTeX Project Public License, either version 1.3 of this
@@ -14,11 +15,11 @@
-- and version 1.3 or later is part of all distributions of LaTeX
-- version 2005/12/01 or later.
--
--- This work has the LPPL maintenance status `maintained'. the
--- current maintainers of this work are the original authors. This
+-- This work has the LPPL maintenance status `maintained'. The
+-- current maintainers of this work are the Island of TeX. This
-- work consists of the file checkcites.lua.
--
--- Project repository: http://github.com/cereda/checkcites
+-- Project repository: https://gitlab.com/islandoftex/checkcites
-- -----------------------------------------------------------------
-- Checks if the table contains the element.
@@ -387,7 +388,7 @@ backends.biber = function(lines, _)
end
else
hit = string.match(line, '^%s*<bcf:datasource type="file" ' ..
- 'datatype="%w+">(.+)</bcf:datasource>$')
+ 'datatype="%w+" glob="false">(.+)</bcf:datasource>$')
if hit then
parts = split(hit, '[^,%s]+')
for _, v in ipairs(parts) do
@@ -485,10 +486,9 @@ print("| _| | -_| _| '_| _| | _| -_|_ -|")
print("|___|_|_|___|___|_,_|___|_|_| |___|___|")
print()
print(wrap('checkcites.lua -- a reference ' ..
- 'checker script (v2.4)', 74))
- print(wrap('Copyright (c) 2012, 2019, ' ..
- 'Enrico Gregorio, Paulo ' ..
- 'Roberto Massa Cereda', 74))
+ 'checker script (v2.5)', 74))
+ print(wrap('Copyright (c) 2012, 2019, Enrico Gregorio, Paulo Cereda', 74))
+ print(wrap('Copyright (c) 2022, Enrico Gregorio, Island of TeX', 74))
end
-- Operation namespace
@@ -670,8 +670,8 @@ local function checkcites(args)
if keys['version'] or keys['help'] then
if keys['version'] then
print()
- print(wrap('checkcites.lua, version 2.4 (dated September ' ..
- '3, 2019)', 74))
+ print(wrap('checkcites.lua, version 2.5 (dated March ' ..
+ '22, 2022)', 74))
print(pad('-', 74))
print(wrap('You can find more details about this ' ..
@@ -679,13 +679,12 @@ local function checkcites(args)
'in the official source code repository:', 74))
print()
- print('https://github.com/cereda/checkcites')
+ print('https://gitlab.com/islandoftex/checkcites')
print()
print(wrap('The checkcites.lua script is licensed ' ..
'under the LaTeX Project Public License, ' ..
- 'version 1.3. The current maintainers ' ..
- 'are the original authors.', 74))
+ 'version 1.3.', 74))
else
print()
print(wrap('Usage: ' .. args[0] .. ' [ [ --all | --unused | ' ..
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index c720d11bafb..51a0ab75cd5 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1933,6 +1933,7 @@ $standardtex
'captdef', '^..[^s].*\.sty', # not miscdoc.sty
'carlisle', '\.sty|\.ltx',
'cartonaugh', '\.lua|' . $standardtex,
+ 'checkcites', 'NULL', # all in scripts
'chemfig', '(t-)?chemfig(-lewis)?.tex|' . $standardtex,
'chemformula', '\.sty$', # not chemformula-manual.cls
'chemstyle', '\.jdf|' . $standardtex,