summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/crop
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-06-06 03:02:31 +0000
committerNorbert Preining <norbert@preining.info>2020-06-06 03:02:31 +0000
commit527cbc8280407d055d185ad11f79b81b032eec7e (patch)
treeded40afa49ba9d7d482919c81250692def244b71 /macros/latex/contrib/crop
parentf51a463b880756f6a989cac367c3d99fb1373719 (diff)
CTAN sync 202006060302
Diffstat (limited to 'macros/latex/contrib/crop')
-rw-r--r--macros/latex/contrib/crop/Makefile17
-rw-r--r--macros/latex/contrib/crop/README41
-rw-r--r--macros/latex/contrib/crop/crop.dtx14
3 files changed, 32 insertions, 40 deletions
diff --git a/macros/latex/contrib/crop/Makefile b/macros/latex/contrib/crop/Makefile
index 6b48c0902e..3f0ebd7860 100644
--- a/macros/latex/contrib/crop/Makefile
+++ b/macros/latex/contrib/crop/Makefile
@@ -1,14 +1,18 @@
NAME=crop
-ARCHIVE_NAME=$(NAME).tar.gz
-ARCHIVE_CONTENTS=$(NAME).dtx $(NAME).pdf Makefile README $(NAME).ins $(NAME).sty
+VERSION=`cat VERSION`
+ARCHIVE_NAME=$(NAME).zip
+ARCHIVE_CONTENTS=$(NAME).dtx $(NAME).pdf Makefile README $(NAME).ins
-all: $(NAME).sty $(NAME).pdf
+all: $(NAME).sty $(NAME).pdf VERSION
archive: $(ARCHIVE_CONTENTS)
rm -rf $(NAME)/
mkdir $(NAME)/
cp $(ARCHIVE_CONTENTS) $(NAME)/
- tar -czf $(ARCHIVE_NAME) $(NAME)
+ zip -r $(ARCHIVE_NAME) $(NAME)
+
+$(NAME).dtx: $(NAME).dtx.in
+ nancy $(NAME).dtx.in . > $(NAME).dtx
$(NAME).pdf: $(NAME.dtx)
latexmk $(NAME).dtx
@@ -18,3 +22,8 @@ $(NAME).sty: $(NAME).ins
$(NAME).ins:
pdflatex $(NAME).dtx
+
+release: archive
+ git diff --exit-code && \
+ git tag -a -m "Release tag" "v$(VERSION)" && \
+ git push && git push --tags
diff --git a/macros/latex/contrib/crop/README b/macros/latex/contrib/crop/README
index 704e46daf8..7bec48a74e 100644
--- a/macros/latex/contrib/crop/README
+++ b/macros/latex/contrib/crop/README
@@ -1,28 +1,12 @@
-crop.sty
-========
-
-provides different forms of cropmarks for
-trimming paper stacks, for camera alignment and
-for visualizing the page dimensions.
-There are options for centering the page with
-respect to some physical paper size, for marking
-the vertical and horizontal middle axis, for
-mounting pages on a physical sheet, for
-reflecting and inverting the whole document or
-printing it upside-down, and for suppressing
-either text or graphics output.
-
-
-author = "Melchior FRANZ"
-maintainer = "Reuben Thomas"
-version = "1.10.1"
-date = "04 Jun 2020"
-URL = "https://github.com/rrthomas/crop/"
-email = "rrt@sc3d.org"
-codetable = "ISO/ASCII"
-keywords = "cropmarks, frame, mirror, rotate, invert"
-supported = "yes"
+crop
+====
+This package provides different forms of cropmarks for trimming paper
+stacks, for camera alignment and for visualizing the page dimensions. There
+are options for centering the page with respect to some physical paper size,
+for marking the vertical and horizontal middle axis, for mounting pages on a
+physical sheet, for reflecting and inverting the whole document or printing
+it upside-down, and for suppressing either text or graphics output.
COPYRIGHT NOTICE
@@ -32,9 +16,8 @@ under the terms of the LaTeX Project Public License as specified
in the file macros/latex/base/lppl.txt on any CTAN archive server.
+Extracting the package & processing the documentation
+=====================================================
-Installation
-============
-
-The package is supplied ready to install: just copy crop.sty and crop.pdf to
-suitable directories.
+Run "make" to get the style file and the documentation, then install
+crop.sty and crop.pdf in appropriate directories.
diff --git a/macros/latex/contrib/crop/crop.dtx b/macros/latex/contrib/crop/crop.dtx
index 15e8f04c6f..678c235931 100644
--- a/macros/latex/contrib/crop/crop.dtx
+++ b/macros/latex/contrib/crop/crop.dtx
@@ -27,15 +27,15 @@
%% ====================================================================
%% @LaTeX-package-file{
%% author = "Melchior FRANZ",
-%% version = "1.10.1",
-%% date = "04 Jun 2020",
+%% version = "1.10.2",
+%% date = "05 Jun 2020",
%% filename = "crop.dtx",
%% address = "Melchior FRANZ
%% Rieder Hauptstrasse 52
%% A-5212 SCHNEEGATTERN
%% AUSTRIA",
-%% URL = "https://github.com/drehscheibe/crop/",
-%% email = "mfranz@aon.at",
+%% URL = "https://github.com/rrthomas/crop/",
+%% email = "rrt@sc3d.org",
%% codetable = "ISO/ASCII",
%% keywords = "cropmarks, frame, mirror, rotate, invert",
%% supported = "yes",
@@ -74,8 +74,8 @@
%
%
%<*driver>
-\def\fileversion{1.10.1}
-\def\filedate{2020/06/04g}
+\def\fileversion{1.10.2}
+\def\filedate{2020/06/05}
\documentclass{ltxdoc}
\usepackage{hyperref}
\hypersetup{
@@ -2234,4 +2234,4 @@
%
% ^^A \PrintChanges
% ^^A vim:ts=4:sw=4:et:cindent
-% \Finale ^^A.E.I.O.U.^^
+% \Finale ^^A.E.I.O.U.^^ \ No newline at end of file