added \BookType to make templates usable for non-book media too.

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-08-24 23:06:17 +03:00
parent 643a656553
commit a49fe8265a

View File

@ -93,8 +93,8 @@
%%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the
%%% code and the generated docs...
\edef\photobook@FILEVERSION{v0.1.23}
\edef\photobook@FILEDATE{2023-05-05}
\edef\photobook@FILEVERSION{v0.1.24}
\edef\photobook@FILEDATE{2023-08-24}
%% \documentclass{ltxdoc}
@ -4270,6 +4270,8 @@
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
%%%%% Basic book information
%% \DescribeMacro{BookType=<text>}
\def\BookType{book}
% XXX Document metadata -- move to globals...
% XXX Use LaTeX generic metadata...
%% \DescribeMacro{BookTitle=<text>}
@ -4296,8 +4298,8 @@
Copyright \textcopyright \ \BookYear \ \BookAuthors; All Rights Reserved.
\ifx \License \empty%
No part of this book may be reproduced in any form without written permission
of the author except for use for brief quotation in a book review.
No part of this \BookType may be reproduced in any form without written permission
of the author except for use for brief quotation in a review.
\else%
\License\fi}
@ -4307,7 +4309,7 @@
\def\BookFonts{}
%% \DescribeMacro{SoftwareNotice=<text>}
\def\SoftwareNotice{%
This book was designed and laid out using open source
This \BookType was designed and laid out using open source
\ifx \BookFonts \empty\else
fonts and\fi
software including: