summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/icite
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-06 03:02:13 +0000
committerNorbert Preining <norbert@preining.info>2020-03-06 03:02:13 +0000
commit6749f197f068ccc7a12ea95ee2bbfca4942c1b13 (patch)
tree342471ae07db5de9207c0f05716ffdc5a22b9bef /macros/latex/contrib/icite
parent898048513951b471a492afa23e46112d14bcb236 (diff)
CTAN sync 202003060302
Diffstat (limited to 'macros/latex/contrib/icite')
-rw-r--r--macros/latex/contrib/icite/Makefile37
-rw-r--r--macros/latex/contrib/icite/README.md12
-rw-r--r--macros/latex/contrib/icite/icite.dtx206
-rw-r--r--macros/latex/contrib/icite/icite.ins68
-rw-r--r--macros/latex/contrib/icite/icite.pdfbin223753 -> 223759 bytes
-rw-r--r--macros/latex/contrib/icite/samples/icite-biblatex.pdfbin60981 -> 60983 bytes
-rw-r--r--macros/latex/contrib/icite/samples/icite-minimal.pdfbin42316 -> 42316 bytes
-rw-r--r--macros/latex/contrib/icite/samples/icite-nobiblatex.pdfbin57463 -> 57465 bytes
8 files changed, 113 insertions, 210 deletions
diff --git a/macros/latex/contrib/icite/Makefile b/macros/latex/contrib/icite/Makefile
index e06046ec57..01c10eb740 100644
--- a/macros/latex/contrib/icite/Makefile
+++ b/macros/latex/contrib/icite/Makefile
@@ -4,6 +4,7 @@ PWD = $(shell pwd)
VERS = $(shell ltxfileinfo -v $(NAME).dtx|sed -e 's/^v//')
LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL)
UTREE = $(shell kpsewhich --var-value TEXMFHOME)
+CMP = lualatex-dev
exts := md bib ins dtx html
texsamples := $(basename $(wildcard $(PWD)/samples/*.tex))
@@ -14,44 +15,48 @@ findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)")
# $(if $(wildcard $(PWD)/TMP/$(notdir $1).bcf),biber $(PWD)/TMP/$(notdir $1),)
define dosamples
- lualatex --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
- lualatex --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
+ $(CMP) --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
+ $(CMP) --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
if [ -f $(PWD)/TMP/$(notdir $1)-primary.idx ]; \
then texindy -M $(PWD)/TMP/$(notdir $1).xdy $(PWD)/TMP/$(notdir $1)-primary.idx >/dev/null; fi
if [ -f $(PWD)/TMP/$(notdir $1).bcf ]; then biber $(PWD)/TMP/$(notdir $1) >/dev/null; fi
- lualatex --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
- lualatex --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
+ $(CMP) --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
+ $(CMP) --output-dir=$(PWD)/TMP --shell-escape $1 >/dev/null
endef
-all: $(NAME).pdf
+sty: clean
+ $(CMP) $(NAME).ins
+
+all: clean sty $(NAME).pdf
# test -e README.md || exit 0
-$(NAME).pdf: $(NAME).dtx
+
+$(NAME).pdf: clean sty $(NAME).dtx
@ echo "Make documentation..."
- lualatex --shell-escape --recorder --interaction=batchmode $(NAME).dtx >/dev/null
+ $(CMP) --shell-escape --recorder --interaction=batchmode $(NAME).dtx >/dev/null
biber $(NAME) >/dev/null
- lualatex --shell-escape --recorder --interaction=batchmode $(NAME).dtx >/dev/null
+ $(CMP) --shell-escape --recorder --interaction=batchmode $(NAME).dtx >/dev/null
if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi
if [ -f $(NAME).idx ]; then makeindex -q -s gind.ist -o $(NAME).ind $(NAME).idx; fi
if [ -f loccit.idx ]; then texindy -M icite.xdy loccit.idx >/dev/null; fi
if [ -f primary.idx ]; then texindy -M icite.xdy primary.idx >/dev/null; fi
- lualatex --shell-escape --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null
- lualatex --shell-escape --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null
+ $(CMP) --shell-escape --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null
+ $(CMP) --shell-escape --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null
@ echo "Make sample files..."
if [ ! -d $(PWD)/TMP ]; then mkdir $(PWD)/TMP; fi
cp $(PWD)/samples/*.bib $(PWD)/TMP
$(foreach file,$(texsamples), $(call dosamples, $(file)))
mv TMP/*.pdf samples/
-samples:
+samples: clean sty
if [ ! -d $(PWD)/TMP ]; then mkdir $(PWD)/TMP; fi
cp $(PWD)/samples/*.bib $(PWD)/TMP
$(foreach file,$(texsamples), $(call dosamples, $(file)))
mv TMP/*.pdf samples/
lualatex:
- lualatex --shell-escape --recorder --interaction=batchmode $(NAME).dtx >/dev/null
+ $(CMP) --shell-escape --recorder --interaction=batchmode $(NAME).dtx >/dev/null
-clean: lualatex
+clean:
rm -f $(NAME).bib $(PWD)/TMP/*.bib
rm -rf .backup
find -iname "*~" -or -iname "*.pdf" | xargs rm -rf
@@ -70,9 +75,10 @@ inst: uninst all
cp $(NAME).dtx $(UTREE)/source/latex/$(NAME)
cp $(NAME).sty $(UTREE)/tex/latex/$(NAME)
cp $(NAME).pdf $(UTREE)/doc/latex/$(NAME)
+ cp -r samples/ $(UTREE)/doc/latex/$(NAME)
local: uninst
- lualatex $(NAME).ins
+ $(CMP) $(NAME).ins
mkdir -p $(UTREE)/{tex,source,doc}/latex/$(NAME)
cp $(NAME).sty $(UTREE)/tex/latex/$(NAME)
@@ -84,6 +90,7 @@ install: all
sudo cp $(NAME).dtx $(LOCAL)/source/latex/$(NAME)
sudo cp $(NAME).sty $(LOCAL)/tex/latex/$(NAME)
sudo cp $(NAME).pdf $(LOCAL)/doc/latex/$(NAME)
+ cp -r samples/ $(LOCAL)/doc/latex/$(NAME)
uninstall:
rm -rf $(LOCAL)/{tex,source,doc}/latex/$(NAME)
@@ -95,7 +102,7 @@ zip: all
package: distclean all
mkdir $(NAME)/
- cp Makefile README.md $(NAME).{dtx,pdf} $(NAME)/
+ cp Makefile README.md $(NAME).{ins,dtx,pdf} $(NAME)/
cp -r samples/ $(NAME)/
mkdir -p tex/latex/$(NAME)/
cp $(NAME).sty tex/latex/$(NAME)/
diff --git a/macros/latex/contrib/icite/README.md b/macros/latex/contrib/icite/README.md
index a96df41d83..c70816e42b 100644
--- a/macros/latex/contrib/icite/README.md
+++ b/macros/latex/contrib/icite/README.md
@@ -46,9 +46,7 @@ This release of icite consists of the following source files:
- `icite.dtx`
-- `icite.ins` (As this file can be generated from `icite.dtx`, it is
- not included in CTAN repository, but it is included in the git
- repository mentioned below for easier installation.)
+- `icite.ins`
- `Makefile`
@@ -66,14 +64,10 @@ a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
Installation
============
-1. If `icite` was downloaded from CTAN, run `'lualatex --shell-escape
- icite.dtx'` to produce the `icite.sty` file.
-
- If `icite` was downloaded from the git repository mentioned above,
- Run `'latex icite.ins'` to produce the `icite.sty` file.
+1. Run `'latex icite.ins'` to produce the `icite.sty` file.
2. To finish the installation you have to move the `icite.sty` file into
- a directory where LaTeX can find them. See the FAQ on `texfaq.org`
+ a directory where LaTeX can find it. See the FAQ on `texfaq.org`
at <https://texfaq.org/FAQ-inst-wlcf> for more on this.
Development, Git Repository
diff --git a/macros/latex/contrib/icite/icite.dtx b/macros/latex/contrib/icite/icite.dtx
index d89d01299d..62c3eacbe0 100644
--- a/macros/latex/contrib/icite/icite.dtx
+++ b/macros/latex/contrib/icite/icite.dtx
@@ -1,189 +1,23 @@
% \iffalse meta-comment
-% vim: textwidth=75
-%<*internal>
-\iffalse
-%</internal>
-%<*readme>
----
-author:
-- Robert Alessi
-title: 'The icite package – README file'
----
-
-Overview
-========
-
-`icite` is designed to produce from BibTeX or BibLaTeX bibliographical
-databases the different indices of authors and works cited which are
-called _indices locorum citatorum_. It relies on a specific
-`\icite` command and can operate with either BibTeX or BibLaTeX.
-
-License and disclamer
-=====================
-
-icite – Indices locorum citatorum
-
-Copyright ⓒ 2019--2020 Robert Alessi
-
-Please send error reports and suggestions for improvements to Robert
-Alessi:
-
-- email: <alessi@robertalessi.net>
-
-- website: <http://www.robertalessi.net/icite>
-
-- comments, feature requests, bug reports:
- <https://gitlab.com/ralessi/icite/issues>
-
-This program is free software: you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the
-Free Software Foundation, either version 3 of the License, or (at your
-option) any later version.
-
-This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
-Public License for more details.
-
-You should have received a copy of the GNU General Public License along
-with this program. If not, see <http://www.gnu.org/licenses/>.
-
-This release of icite consists of the following source files:
-
-- `icite.dtx`
-
-- `icite.ins` (As this file can be generated from `icite.dtx`, it is
- not included in CTAN repository, but it is included in the git
- repository mentioned below for easier installation.)
-
-- `Makefile`
-
-License applicable to the documentation
----------------------------------------
-
-Copyright ⓒ 2019--2020 Robert Alessi
-
-The documentation file `icite.pdf` that is generated from the
-`icite.dtx` source file is licensed under the Creative Commons
-Attribution-ShareAlike 4.0 International License. To view a copy of this
-license, visit <http://creativecommons.org/licenses/by-sa/4.0/> or send
-a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
-
-Installation
-============
-
-1. If `icite` was downloaded from CTAN, run `'lualatex --shell-escape
- icite.dtx'` to produce the `icite.sty` file.
-
- If `icite` was downloaded from the git repository mentioned above,
- Run `'latex icite.ins'` to produce the `icite.sty` file.
-
-2. To finish the installation you have to move the `icite.sty` file into
- a directory where LaTeX can find them. See the FAQ on `texfaq.org`
- at <https://texfaq.org/FAQ-inst-wlcf> for more on this.
-
-
-Development, Git Repository
-===========================
-
-Browse the code
----------------
-
-You can browse icite repository on the web:
-<http://git.robertalessi.net/icite>
-
-From this page, you can download all the releases of `icite`. For
-instructions on how to install `icite`, please see above.
-
-Comments, Feature requests, Bug Reports
----------------------------------------
-
-<https://gitlab.com/ralessi/icite/issues>
-
-Download the repository
------------------------
-
-`icite` development is facilitated by git, a distributed version
-control system. You will need to install git (most GNU/Linux
-distributions package it in their repositories).
-
-Use this command to download the repository
-
- git clone http://git.robertalessi.net/icite
-
-A new directory named icite will have been created, containing
-`icite`.
-
-Git hosting
------------
-
-Make an account on <https://gitlab.com> and navigate (while logged in)
-to <https://gitlab.com/ralessi/icite>. Click *Fork* and you will
-have in your account your own repository of `icite` where you will
-be able to make whatever changes you like to.
-
-%</readme>
-%<*internal>
-\fi
-\def\nameofplainTeX{plain}
-\ifx\fmtname\nameofplainTeX\else
- \expandafter\begingroup
-\fi
-%</internal>
-%<*install>
-\input docstrip.tex
-\keepsilent
-\askforoverwritefalse
-\preamble
-
-Copyright (C) 2019-2020 by Robert Alessi <alessi@robertalessi.net>
-
-Please send error reports and suggestions for improvements to Robert
-Alessi <alessi@robertalessi.net>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see
-<http://www.gnu.org/licenses/>.
-
-This work consists of the file icite.dtx, icite.ins and a Makefile.
-Running "make" generates the derived files README.md, icite.pdf and icite.sty.
-Running "make inst" installs the files in the user's TeX tree.
-Running "make install" installs the files in the local TeX tree.
-
-\endpreamble
-
-\usedir{tex/latex/icite}
-\generate{
- \file{\jobname.sty}{\from{\jobname.dtx}{package}}
-}
-%</install>
-%<install>\endbatchfile
-%<*internal>
-\usedir{source/latex/icite}
-\generate{
- \file{\jobname.ins}{\from{\jobname.dtx}{install}}
-}
-\nopreamble\nopostamble
-\usedir{doc/latex/icite}
-\generate{
- \file{README.md}{\from{\jobname.dtx}{readme}}
-}
-\ifx\fmtname\nameofplainTeX
- \expandafter\endbatchfile
-\else
- \expandafter\endgroup
-\fi
-%</internal>
+% icite -- Indices locorum citatorum
+% Copyright (C) 2019--2020 Robert Alesssi
+%
+% Please send error reports and suggestions for improvements to Robert
+% Alessi <alessi@robertalessi.net>
+%
+% This program is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful, but
+% WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see
+% <http://www.gnu.org/licenses/>.
% \fi
%
% \iffalse
@@ -193,7 +27,7 @@ Running "make install" installs the files in the local TeX tree.
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{icite}
%<*package>
- [2020/02/29 v1.3 Make Indices locorum citatorum]
+ [2020/03/05 v1.3a Make Indices locorum citatorum]
%</package>
%<*driver>
\documentclass{ltxdoc}
diff --git a/macros/latex/contrib/icite/icite.ins b/macros/latex/contrib/icite/icite.ins
new file mode 100644
index 0000000000..d29cefb400
--- /dev/null
+++ b/macros/latex/contrib/icite/icite.ins
@@ -0,0 +1,68 @@
+%%
+%% icite -- Indices locorum citatorum
+%%
+%% Copyright (C) 2019--2020 by Robert Alessi <alessi@robertalessi.net>
+%%
+%% Please send error reports and suggestions for improvements to Robert
+%% Alessi <alessi@robertalessi.net>
+%%
+%% This program is free software: you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published by
+%% the Free Software Foundation, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful, but
+%% WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%% General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program. If not, see
+%% <http://www.gnu.org/licenses/>.
+%%
+%% This work consists of the file icite.dtx, icite.ins and a Makefile.
+%% Running "make" generates the derived files README.md, icite.pdf and icite.sty.
+%% Running "make inst" installs the files in the user's TeX tree.
+%% Running "make install" installs the files in the local TeX tree.
+%%
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+\preamble
+
+icite -- Indices locorum citatorum
+
+Copyright (C) 2019--2020 by Robert Alessi <alessi@robertalessi.net>
+
+Please send error reports and suggestions for improvements to Robert
+Alessi <alessi@robertalessi.net>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see
+<http://www.gnu.org/licenses/>.
+
+This work consists of the file icite.dtx, icite.ins and a Makefile.
+Running "make" generates the derived files README.md, icite.pdf and icite.sty.
+Running "make inst" installs the files in the user's TeX tree.
+Running "make install" installs the files in the local TeX tree.
+
+\endpreamble
+
+\usedir{tex/latex/icite}
+\generate{
+ \file{\jobname.sty}{\from{\jobname.dtx}{package}}
+}
+\endbatchfile
+\endinput
+%%
+%% End of file `icite.ins'.
diff --git a/macros/latex/contrib/icite/icite.pdf b/macros/latex/contrib/icite/icite.pdf
index a39837d7c0..b9f8afd4bd 100644
--- a/macros/latex/contrib/icite/icite.pdf
+++ b/macros/latex/contrib/icite/icite.pdf
Binary files differ
diff --git a/macros/latex/contrib/icite/samples/icite-biblatex.pdf b/macros/latex/contrib/icite/samples/icite-biblatex.pdf
index 54154eb06f..3ca04b72d4 100644
--- a/macros/latex/contrib/icite/samples/icite-biblatex.pdf
+++ b/macros/latex/contrib/icite/samples/icite-biblatex.pdf
Binary files differ
diff --git a/macros/latex/contrib/icite/samples/icite-minimal.pdf b/macros/latex/contrib/icite/samples/icite-minimal.pdf
index 13b201c4d8..ef4e68fceb 100644
--- a/macros/latex/contrib/icite/samples/icite-minimal.pdf
+++ b/macros/latex/contrib/icite/samples/icite-minimal.pdf
Binary files differ
diff --git a/macros/latex/contrib/icite/samples/icite-nobiblatex.pdf b/macros/latex/contrib/icite/samples/icite-nobiblatex.pdf
index 7f524bb7ec..a0ed69e2c3 100644
--- a/macros/latex/contrib/icite/samples/icite-nobiblatex.pdf
+++ b/macros/latex/contrib/icite/samples/icite-nobiblatex.pdf
Binary files differ