texlive[71833] Master/texmf-dist: photobook (18jul24)

commits+karl at tug.org commits+karl at tug.org
Thu Jul 18 22:34:33 CEST 2024


Revision: 71833
          https://tug.org/svn/texlive?view=revision&revision=71833
Author:   karl
Date:     2024-07-18 22:34:33 +0200 (Thu, 18 Jul 2024)
Log Message:
-----------
photobook (18jul24)

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	2024-07-18 09:36:59 UTC (rev 71832)
+++ trunk/Master/texmf-dist/doc/latex/photobook/Makefile	2024-07-18 20:34:33 UTC (rev 71833)
@@ -85,8 +85,7 @@
 
 # markdown dialect...
 #
-# XXX still needs some tweaking...
-MD_FORMAT ?= markdown_github
+MD_FORMAT ?= gfm
 
 
 # debug output...
@@ -173,26 +172,11 @@
 # 			- |..|	- verbatim does not work...
 # 			- ||	- parts of doc omitted...
 #			- verbatim blocks get merged sometimes...
+#			- does not resolve \jobname in include...
 #			- ...
 #		...not sure if this can be tweaked...
-#%.md: %.tex
-#	pandoc -t $(MD_FORMAT) -s $< -o $@
-
-# XXX EXPERIMENTAL...
-# XXX revise:
-#		...for this to work we need to replace:
-#			\documentclass{ltxdoc}
-#		to:
-#			\documentclass[markdownextra]{internet}
-# XXX install the internet class...
-#			https://github.com/loopspace/latex-to-internet
-#		...needs testing...
 %.md: %.tex
-	cat $< \
-		| sed 's/documentclass{ltxdoc}/documentclass[markdownextra]{internet}/' \
-		> $<.tmp
-	mv $<{.tmp,}
-	$(TEX) $< $(STDERR)
+	pandoc -t $(MD_FORMAT) -s $< -o $@
 
 
 # meta-section...

Modified: trunk/Master/texmf-dist/doc/latex/photobook/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/photobook/README.md	2024-07-18 09:36:59 UTC (rev 71832)
+++ trunk/Master/texmf-dist/doc/latex/photobook/README.md	2024-07-18 20:34:33 UTC (rev 71833)
@@ -28,7 +28,7 @@
 
 The `photobook` document class requires a set of modules to be installed
 for it to function, the full list is included in the docs and can be 
-printed by calling:
+generated and printed by calling:
 ```shell
 $ make depends
 ```
@@ -39,7 +39,8 @@
 
 # Documentation
 
-Pre-built documentation can be found on 
+Pre-built documentation can be found in the 
+[Github releases](https://github.com/flynx/photobook/releases/latest) or on
 [CTAN](http://mirrors.ctan.org/macros/latex/contrib/photobook/photobook.pdf).
 
 
@@ -69,7 +70,7 @@
 
 ## Notes
 
-- The main refetence is inline with the source [photobook.cls](./photobook.cls) 
+- The main reference is maintained inline with the source [photobook.cls](./photobook.cls) 
   thus it is both human-readable next to the code it documents and is 
   used to build the `photobook.pdf`.
   Extracting the documentation source (`photobook*.tex`) is done 

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	2024-07-18 09:36:59 UTC (rev 71832)
+++ trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls	2024-07-18 20:34:33 UTC (rev 71833)
@@ -92,8 +92,8 @@
 
 %%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the 
 %%%		code and the generated docs...
-\edef\photobook at FILEVERSION{v0.1.29}
-\edef\photobook at FILEDATE{2023-08-24}
+\edef\photobook at FILEVERSION{v0.1.30}
+\edef\photobook at FILEDATE{2024-07-18}
 
 
 %% \documentclass{ltxdoc}
@@ -248,26 +248,27 @@
 %% \begin{minipage}{\textwidth}
 %% \begin{verbatim}
 %%
+%%   <-------------------------------------------------> paperwidth
 %%   <---> bleed                                   <---> bleed
-%%                                                 
-%%   + - - - - - - - - - - - - - - - - - - - - - - + - +   ^
-%%   .                                             .   .   | bleed
-%%   .   +-----------------------------------------+-----  v   .   .  ---
-%%   .   |                           ^       .  .  =   .
-%%   .   |   .   .   .   .   .   .   |   .   .  .  =   .               ^
-%%   .   |<-- blockwidth ------------------------->=   .               |
-%%   .   |   .                       |   .   .  .  =   .               |
-%%   .   |                           |       .  .  =   .       textheight
-%%   .   |   .             Page      |   .   .  .  =   .               |
-%%   .   |                      blockheight  .  .  =   .               |
-%%   .   |   .                       |   .   .  <--> bindingoffset     |
-%%   .   |                           |       .  .  =   .               |
-%%   .   |   .   .   .   .   .   .   |   .   <--> gutteroffset         v
-%%   .   |                           v       .  .  =   .
-%%   .   +-----------------------------------------+-----  ^   .   .  ---
-%%   .   .                                         .   .   | bleed
-%%   + - - - - - - - - - - - - - - - - - - - - - - + - +   v
-%%       .                                         .
+%%                                                              paperheight v
+%%   + - - - - - - - - - - - - - - - - - - - - - - + - +   ^   .   .   .   ---
+%%   .                                             .   .   | bleed          .
+%%   .   +-----------------------------------------+-----  v   .   .  ---    
+%%   .   |                           ^       .  .  =   .                    .
+%%   .   |   .   .   .   .   .   .   |   .   .  .  =   .               ^     
+%%   .   |<-- blockwidth ------------------------->=   .               |    .
+%%   .   |   .                       |   .   .  .  =   .               |     
+%%   .   |                           |       .  .  =   .       textheight   .
+%%   .   |   .             Page      |   .   .  .  =   .               |     
+%%   .   |                      blockheight  .  .  =   .               |    .
+%%   .   |   .                       |   .   .  <--> bindingoffset     |     
+%%   .   |                           |       .  .  =   .               |    .
+%%   .   |   .   .   .   .   .   .   |   .   <--> gutteroffset         v     
+%%   .   |                           v       .  .  =   .                    .
+%%   .   +-----------------------------------------+-----  ^   .   .  ---    
+%%   .   .                                         .   .   | bleed          .
+%%   + - - - - - - - - - - - - - - - - - - - - - - + - +   v   .   .   .   ---
+%%       .                                         .                        ^
 %%       |   <-- textwidth -------------->    .    |
 %%                                                 ^ gutter
 %%
@@ -278,6 +279,9 @@
 %% account for |\gutteroffset|, namely macros that do not display content 
 %% with bleeds.
 %%
+%% Also note that bleeds are included in \href{https://ctan.org/pkg/geometry}{geometry}'s 
+%% |\paperwidth| and |\paperheight|.
+%%
 % NOTE: if blockwidth/blockheight are set they will force recalculations 
 %		and overriding of the paperwidth/paperheight if they were changed
 %		by the user code anywhere between \documentclass[..]{photobook}



More information about the tex-live-commits mailing list.