From 62c39d72e806a4a57861c25c2db459c2fbae8cd9 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 5 Mar 2020 18:51:57 +0100 Subject: removed icite.ins and README.md from icite.dtx --- Makefile | 15 +++-- README.md | 12 +--- about.html | 7 +-- icite.dtx | 204 ++++++------------------------------------------------------- icite.ins | 11 ++-- 5 files changed, 40 insertions(+), 209 deletions(-) diff --git a/Makefile b/Makefile index e06046e..63e0b26 100644 --- a/Makefile +++ b/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)) @@ -23,9 +24,13 @@ define dosamples lualatex --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 biber $(NAME) >/dev/null @@ -42,7 +47,7 @@ $(NAME).pdf: $(NAME).dtx $(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))) @@ -51,7 +56,7 @@ samples: lualatex: lualatex --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 @@ -95,7 +100,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/README.md b/README.md index a96df41..c70816e 100644 --- a/README.md +++ b/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 for more on this. Development, Git Repository diff --git a/about.html b/about.html index bcba576..508859e 100644 --- a/about.html +++ b/about.html @@ -30,7 +30,7 @@

This release of icite consists of the following source files:

License applicable to the documentation

@@ -38,9 +38,8 @@

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. -
  3. 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.

  4. +
  5. Run 'latex icite.ins' to produce the icite.sty file.

  6. +
  7. To finish the installation you have to move the icite.sty file into 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

Browse the code

diff --git a/icite.dtx b/icite.dtx index d89d012..6bd98e8 100644 --- a/icite.dtx +++ b/icite.dtx @@ -1,189 +1,23 @@ % \iffalse meta-comment -% vim: textwidth=75 -%<*internal> -\iffalse -% -%<*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: - -- website: - -- comments, feature requests, bug reports: - - -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 . - -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 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 for more on this. - - -Development, Git Repository -=========================== - -Browse the code ---------------- - -You can browse icite repository on the web: - - -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 ---------------------------------------- - - - -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 and navigate (while logged in) -to . 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. - -% -%<*internal> -\fi -\def\nameofplainTeX{plain} -\ifx\fmtname\nameofplainTeX\else - \expandafter\begingroup -\fi -% -%<*install> -\input docstrip.tex -\keepsilent -\askforoverwritefalse -\preamble - -Copyright (C) 2019-2020 by Robert Alessi - -Please send error reports and suggestions for improvements to Robert -Alessi - -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 -. - -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 -%<*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 -% +% icite -- Indices locorum citatorum +% Copyright (C) 2016--2020 Robert Alesssi +% +% Please send error reports and suggestions for improvements to Robert +% Alessi +% +% 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 +% . % \fi % % \iffalse diff --git a/icite.ins b/icite.ins index 9b4c415..b56c742 100644 --- a/icite.ins +++ b/icite.ins @@ -1,10 +1,6 @@ %% -%% This is file `icite.ins', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% icite.dtx (with options: `install') +%% icite -- Indices locorum citatorum +%% Copyright (C) 2016--2020 Robert Alesssi %% %% Copyright (C) 2019-2020 by Robert Alessi %% @@ -35,6 +31,9 @@ \askforoverwritefalse \preamble +icite -- Indices locorum citatorum +Copyright (C) 2016--2020 Robert Alesssi + Copyright (C) 2019-2020 by Robert Alessi Please send error reports and suggestions for improvements to Robert -- cgit v1.2.3