Compare commits

..

2 Commits

Author SHA1 Message Date
164fdab6a5 added \BookType to make templates usable for non-book media too (fixed).
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-08-24 23:08:28 +03:00
a49fe8265a added \BookType to make templates usable for non-book media too.
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-08-24 23:06:17 +03:00

View File

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