texlive[65015] Master/texmf-dist: photobook (14nov22)
commits+karl at tug.org
commits+karl at tug.org
Mon Nov 14 21:12:32 CET 2022
Revision: 65015
http://tug.org/svn/texlive?view=revision&revision=65015
Author: karl
Date: 2022-11-14 21:12:32 +0100 (Mon, 14 Nov 2022)
Log Message:
-----------
photobook (14nov22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/photobook/Makefile
trunk/Master/texmf-dist/doc/latex/photobook/README.md
trunk/Master/texmf-dist/doc/latex/photobook/photobook.pdf
trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls
Modified: trunk/Master/texmf-dist/doc/latex/photobook/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/photobook/Makefile 2022-11-14 20:12:20 UTC (rev 65014)
+++ trunk/Master/texmf-dist/doc/latex/photobook/Makefile 2022-11-14 20:12:32 UTC (rev 65015)
@@ -58,7 +58,8 @@
VERSION = $(strip $(shell \
cat $(MODULE).cls \
| grep 'VERSION{' \
- | sed 's/.*{\(.*\)}.*/\1/'))
+ | sed 's/.*{\(.*\)}.*/\1/' \
+ | sed 's/v//'))
DATE = $(strip $(shell date "+%Y%m%d%H%M"))
COMMIT = $(strip $(shell git rev-parse HEAD))
@@ -266,10 +267,6 @@
mv manual/*.pdf .
-%.zipnote: %.zip
- zipnote $< > $@
-
-
.PHONY: dist
dist: $(DIST_FILES)
$(MD) $(DIST_DIR)
@@ -279,11 +276,32 @@
| sed 's/^\@ \([^(].*\)$$/@ \1\n@=$(MODULE)\/\1/' \
| zipnote -w $(DIST_DIR)/$(DIST_NAME).zip
-CTAN: dist
- $(MD) $(DIST_DIR)/CTAN
- cp $(DIST_DIR)/$(DIST_NAME).zip $(DIST_DIR)/CTAN/$(MODULE).zip
+# this is used to create a CTAN-compatible dist archive...
+.PHONY: ctan-dist
+ctan-dist: dist
+ cp -f $(DIST_DIR)/$(DIST_NAME).zip $(DIST_DIR)/$(MODULE).zip
+
+
+.PHONY: tag
+tag:
+ @echo "Will create and publish git tag:"
+ @echo " $(VERSION)"
+ @echo "Last 5 tags:"
+ @git tag -l '[0-9]*'\
+ | tail -n 5 \
+ | sed 's/^/ /'
+ @echo "Note that this must be done after a commit."
+ @read -p "(press any key to continue or ctrl-c to cancel)"
+ git tag "$(VERSION)"
+ git commit origin "$(VERSION)"
+
+
+#.PHONY: publish
+#publish: dist
+
+
.PHONY: all
all: pdf
Modified: trunk/Master/texmf-dist/doc/latex/photobook/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/photobook/README.md 2022-11-14 20:12:20 UTC (rev 65014)
+++ trunk/Master/texmf-dist/doc/latex/photobook/README.md 2022-11-14 20:12:32 UTC (rev 65015)
@@ -18,6 +18,12 @@
## Build / Install
+The package is available on:
+- CTAN: https://ctan.org/pkg/photobook
+- GitHub: https://github.com/flynx/photobook
+
+
+To install from source:
```shell
# get the source...
$ git clone https://github.com/flynx/photobook.git
@@ -35,7 +41,6 @@
For more info on `make` targets see the: [./Makefile](./Makefile)
-
## Authors
[Alex A. Naanou](https://github.com/flynx)
Modified: trunk/Master/texmf-dist/doc/latex/photobook/photobook.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls 2022-11-14 20:12:20 UTC (rev 65014)
+++ trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls 2022-11-14 20:12:32 UTC (rev 65015)
@@ -58,7 +58,7 @@
%%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the
%%% code and the generated docs...
-\edef\photobook at FILEVERSION{v0.1}
+\edef\photobook at FILEVERSION{v0.1.3}
\edef\photobook at FILEDATE{2021-07-28}
@@ -926,14 +926,25 @@
\else
\def\pdfpagelayout{\photobook at pdfpagelayout}\fi
% items to ignore in different layouts...
- % XXX is this the correct way to go???
\ifcoverlayout
- \setlength\coverflap{\photobook at coverflap}
+ \setlength\coverflap{
+ \ifx\coverflap\empty
+ \photobook at coverflap
+ \else
+ \coverflap \fi}
\else
\setlength\coverflap{0pt}\fi
\ifjacketlayout
- \setlength\jacketwrap{\photobook at jacketwrap}
- \setlength\jacketflap{\photobook at jacketflap}
+ \setlength\jacketwrap{
+ \ifx\jacketwrap\empty
+ \photobook at jacketwrap
+ \else
+ \jacketwrap \fi}
+ \setlength\jacketflap{
+ \ifx\jacketflap\empty
+ \photobook at jacketflap
+ \else
+ \jacketflap \fi}
\else
\setlength\jacketwrap{0pt}
\setlength\jacketflap{0pt}\fi
@@ -1803,7 +1814,6 @@
\end{inlinecell*}%
\end{turn}}
-
%% \DescribeEnv{cliptocell}
%
%% Clip content to parent cell.
@@ -3697,7 +3707,7 @@
%% \begin{minipage}{\textwidth}
%% \begin{verbatim}
%%
-%% backflap spline/vspine frontflap
+%% backflap spine/vspine frontflap
%% . backcover . frontcover .
%% v v v v v
%% +---+---------------+---+---------------+---+
@@ -3711,6 +3721,11 @@
%% \end{verbatim}
%% \end{minipage}
%%
+%% Note that when typesetting a spine with both top-down and bottom-up
+%% text it is recommended to use |topdown|/|bottomup| in |zinlinecell|'s
+%% in a normal |spine| rather than using a |vspine| and trying to rotate
+%% part of the content.
+%%
\newenvironment{frontcover}{%
\begin{cell*}{
\bleed
More information about the tex-live-commits
mailing list.